]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
c3b2053512995abc05275dfe75298fc24940af8f
[thirdparty/glibc.git] / ChangeLog
1 2016-04-07 Florian Weimer <fweimer@redhat.com>
2
3 * misc/hsearch_r.c: Include <limits.h>.
4
5 2016-04-07 Florian Weimer <fweimer@redhat.com>
6
7 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
8
9 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
10
11 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12 (MEMCPY_SYMBOL): New.
13 (MEMPCPY_SYMBOL): Likewise.
14 (MEMMOVE_CHK_SYMBOL): Likewise.
15 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
16 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
17 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
18 Provide alias for memcpy in libc.a and ld.so.
19
20 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
21
22 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
23 (MEMSET_CHK_SYMBOL): New. Define if not defined.
24 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
25 Disabled fro now.
26 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
27 symbols. Properly check USE_MULTIARCH on __memset symbols.
28
29 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
30
31 * benchtests/Makefile (string-benchset): Add memcpy-large,
32 memmove-large and memset-large.
33 * benchtests/bench-memcpy-large.c: New file.
34 * benchtests/bench-memmove-large.c: Likewise.
35 * benchtests/bench-memmove-large.c: Likewise.
36 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
37
38 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
39
40 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
41 32-bit displacement to avoid long nop between instructions.
42
43 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
44
45 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
46 a comment on VMOVU and VMOVA.
47
48 2016-04-04 Florian Weimer <fweimer@redhat.com>
49
50 [BZ #19633]
51 Use specified locale for number formatting in strfmon_l.
52 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
53 (__nl_lookup_word): New inline functions.
54 * include/printf.h (__print_fp_l): Declare.
55 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
56 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
57 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
58 (___printf_fp): New function.
59 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
60 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
61 * stdlib/tst-strfmon_l.c (do_test): New test.
62 * stdlib/Makefile (tests): Add kt.
63 (LOCALES): Build additional locales.
64 (tst-strfmon_l.out): Require locales.
65
66 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
67
68 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
69 if not in libc.
70 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
71 Likewise.
72 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
73 Likewise.
74 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
75 Likewise.
76
77 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
78
79 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
80 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
81 with unaligned_erms.
82 (__memmove_erms): Skip if source == destination.
83 (__memmove_unaligned_erms): Don't check source == destination
84 first.
85
86 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
87
88 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
89 bit_arch_Fast_Copy_Backward for Intel Core proessors.
90
91 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
92
93 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
94 * string/strspn.c (strspn): Likewise.
95
96 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
97
98 * benchtests/bench-memset.c (do_test): Support 64-byte
99 alignment.
100 (test_main): Test 64-byte alignment.
101
102 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
103
104 * benchtests/bench-memmove.c (test_main): Test 64-byte
105 alignment.
106
107 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
108
109 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
110
111 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
112
113 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
114 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
115 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
116
117 * string/strpbrk.c (strpbrk): Rewrite function.
118 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
119 (__strpbrk_c2): Likewise.
120 (__strpbrk_c3): Likewise.
121 * string/string-inlines.c
122 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
123 Likewise.
124 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
125 Likewise.
126
127 * string/strspn.c (strcspn): Rewrite function.
128 * string/bits/string2.h (strspn): Use __builtin_strcspn.
129 (__strspn_c1): Remove inline function.
130 (__strspn_c2): Likewise.
131 (__strspn_c3): Likewise.
132 * string/string-inlines.c
133 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
134 compatibility symbol.
135 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
136 Likewise.
137 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
138 Likewise.
139 * string/string-inlines.c: Include generic version.
140
141 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
142 Adhemerval Zanella <adhemerval.zanella@linaro.org>
143
144 * string/Version (libc): Add GLIBC_2.24.
145 * string/strcspn.c (strcspn): Rewrite function.
146 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
147 (__strcspn_c1): Remove inline function.
148 (__strcspn_c2): Likewise.
149 (__strcspn_c3): Likewise.
150 * string/string-inline.c
151 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
152 compatibility symbol.
153 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
154 Likewise.
155 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
156 Likewise.
157 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
158
159 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
160
161 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
162 Use ahi instead of aghi to adjust stack pointer.
163
164 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
165
166 [BZ #19853]
167 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
168 TEST to take significant digits as second parameter.
169 [TEST]: Redefine in terms of TEST_N taking 30
170 significant digits.
171 (do_test): Add test case to demonstrate precision
172 failure in the ldbl-128ibm printf.
173 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
174 (__mpn_extract_long_double): Carry 7 extra intermediate
175 bits of precision to aide computing difference when
176 signs differ.
177
178 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
179
180 [BZ #19881]
181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
182 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
183 memset-avx512-unaligned-erms.
184 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
185 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
186 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
187 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
188 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
189 __memset_sse2_unaligned_erms, __memset_erms,
190 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
191 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
192 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
193 file.
194 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
195 Likewise.
196 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
197 Likewise.
198 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
199 Likewise.
200
201 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
202
203 [BZ #19776]
204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
205 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
206 memmove-avx512-unaligned-erms.
207 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
208 (__libc_ifunc_impl_list): Test
209 __memmove_chk_avx512_unaligned_2,
210 __memmove_chk_avx512_unaligned_erms,
211 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
212 __memmove_chk_sse2_unaligned_2,
213 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
214 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
215 __memmove_avx512_unaligned_erms, __memmove_erms,
216 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
217 __memcpy_chk_avx512_unaligned_2,
218 __memcpy_chk_avx512_unaligned_erms,
219 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
220 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
221 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
222 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
223 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
224 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
225 __mempcpy_chk_avx512_unaligned_erms,
226 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
227 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
228 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
229 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
230 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
231 __mempcpy_erms.
232 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
233 file.
234 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
235 Likwise.
236 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
237 Likwise.
238 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
239 Likwise.
240
241 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
242
243 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
244 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
245 (La_s390_64_regs): Likewise.
246 (La_s390_32_retval): Append vector register lrv_v24.
247 (La_s390_64_retval): Likeweise.
248 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
249 Handle extended structs La_s390_32_regs and La_s390_32_retval.
250 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
251 Handle extended structs La_s390_64_regs and La_s390_64_retval.
252
253 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
254
255 [BZ #19916]
256 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
257 to create a non-vector/vector version for _dl_runtime_resolve and
258 _dl_runtime_profile. Move implementation to ...
259 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
260 (_dl_runtime_resolve) Save and restore fpr/vrs.
261 (_dl_runtime_profile) Save and restore vrs and fix some issues
262 if _dl_call_pltexit is called.
263 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
264 Choose the correct resolver function if running on a machine with vx.
265 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
266 to create a non-vector/vector version for _dl_runtime_resolve and
267 _dl_runtime_profile. Move implementation to ...
268 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
269 (_dl_runtime_resolve) Save and restore fpr/vrs.
270 (_dl_runtime_profile) Save and restore vrs and fix some issues
271 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
272 Choose the correct resolver function if running on a machine with vx.
273
274 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
275
276 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
277
278 2016-03-31 Florian Weimer <fweimer@redhat.com>
279
280 [BZ #19509]
281 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
282 skip_map != NULL.
283 * elf/tst-dlsym-error.c: New file.
284 * elf/Makefile (tests): Add tst-dlsym-error.
285 (tst-dlsym-error): Link against libdl.
286
287 2016-03-29 Joseph Myers <joseph@codesourcery.com>
288
289 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
290 (__ASSUME_FUTIMESAT): Remove macro.
291 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
292
293 2016-03-29 Florian Weimer <fweimer@redhat.com>
294
295 [BZ #19879]
296 CVE-2016-3075
297 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
298 copy name.
299
300 2016-03-29 Florian Weimer <fweimer@redhat.com>
301
302 [BZ #19837]
303 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
304 error if parse_line fails.
305
306 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
307
308 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
309 (index_cpu_ERMS): Likewise.
310 (reg_ERMS): Likewise.
311
312 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
313
314 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
315 PER_LINUX_FDPIC): Add.
316
317 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
318
319 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
320 memcpy-avx512-no-vzeroupper.
321 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
322 to ...
323 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
324 (MEMCPY): Don't define.
325 (MEMCPY_CHK): Likewise.
326 (MEMPCPY): Likewise.
327 (MEMPCPY_CHK): Likewise.
328 (MEMPCPY_CHK): Renamed to ...
329 (__mempcpy_chk_avx512_no_vzeroupper): This.
330 (MEMPCPY_CHK): Renamed to ...
331 (__mempcpy_chk_avx512_no_vzeroupper): This.
332 (MEMCPY_CHK): Renamed to ...
333 (__memmove_chk_avx512_no_vzeroupper): This.
334 (MEMCPY): Renamed to ...
335 (__memmove_avx512_no_vzeroupper): This.
336 (__memcpy_avx512_no_vzeroupper): New alias.
337 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
338
339 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
340
341 [BZ #18858]
342 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
343 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
344 and mempcpy-avx512-no-vzeroupper.
345 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
346 New.
347 (MEMPCPY): Likewise.
348 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
349 (MEMPCPY_CHK): New.
350 (MEMPCPY): Likewise.
351 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
352 (MEMPCPY): Likewise.
353 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
354 (MEMPCPY): Likewise.
355 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
356 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
357 Likewise.
358 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
359 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
360
361 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
362 Amit Pawar <Amit.Pawar@amd.com>
363
364 [BZ #19583]
365 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
366 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
367 processors. Set Fast_Copy_Backward for AMD Excavator
368 processors.
369 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
370 New.
371 (index_arch_Fast_Unaligned_Copy): Likewise.
372 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
373 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
374
375 2016-03-25 Florian Weimer <fweimer@redhat.com>
376
377 [BZ #19791]
378 * resolv/res_send.c (close_and_return_error): New function.
379 (send_dg): Initialize *resplen2 after reopen failure. Call
380 close_and_return_error for error returns. On error paths without
381 __res_iclose, initialze *resplen2 explicitly. Update comment for
382 successful return.
383
384 2016-03-25 Florian Weimer <fweimer@redhat.com>
385
386 [BZ# 19860]
387 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
388 zero if the compiler does not provide the AVX512F bit.
389
390 2016-03-24 Joseph Myers <joseph@codesourcery.com>
391
392 [BZ #19848]
393 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
394 from 8 to 4.
395 (__ieee754_powl): Compare integer exponent against 4 not 8.
396 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
397 from 8 to 4.
398 (__ieee754_powl): Compare integer exponent against 4 not 8.
399 * math/auto-libm-test-in: Add more tests of pow.
400 * math/auto-libm-test-out: Regenerated.
401 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
403
404 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
405
406 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
407 Make code unconditional.
408 [!__NR_utimensat]: Remove conditional code.
409 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
410 Make code unconditional.
411 [!__NR_utimensat]: Remove conditional code.
412 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
413 Make code unconditional.
414 [!__NR_utimensat]: Remove conditional code.
415
416 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
417
418 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
419 Make code unconditional.
420
421 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
422
423 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
424 call-clobbered %eax on retry path.
425 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
426
427 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
428
429 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
430 Don't set %rcx twice before "rep movsb".
431
432 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
433
434 [BZ #19583]
435 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
436 inline. Check family before setting family, model and
437 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
438 bits here.
439 (init_cpu_features): Replace HAS_CPU_FEATURE and
440 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
441 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
442 for Intel processors with usable AVX2. Call get_common_indeces
443 for other processors with family == NULL.
444 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
445 (CPU_FEATURES_ARCH_P): Likewise.
446 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
447 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
448
449 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
450
451 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
452 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
453 $(shared-thread-library) instead of hardcoding the path to libpthread.
454
455 2016-03-22 Joseph Myers <joseph@codesourcery.com>
456
457 * sysdeps/unix/sysv/linux/kernel-features.h
458 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
459 * sysdeps/unix/sysv/linux/getdents.c
460 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
461 [!have_no_getdents64_defined]: Likewise.
462 (__GETDENTS): Remove __have_no_getdents64 conditional.
463
464 2016-03-21 Joseph Myers <joseph@codesourcery.com>
465
466 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
467 Remove macro.
468 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
469 <kernel-features.h>.
470 (signalfd) [__NR_signalfd4]: Make code unconditional.
471 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
472
473 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
474
475 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
476 style.
477
478 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
479
480 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
481 (__pthread_enable_asynccancel): Use JUMPTARGET to call
482 __pthread_unwind.
483 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
484 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
485 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
486 (__condvar_cleanup1): Likewise.
487
488 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
489
490 [BZ #19822]
491 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
492 move it to the final $@ location.
493
494 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
495
496 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
497 access where posix_spawn success and pid argument is null.
498 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
499 success case.
500
501 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
502
503 * sysdeps/mach/hurd/i386/c++-types.data: New file.
504
505 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
506
507 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
508 and __fcntl.
509 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
510 __fcntl only.
511 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
512 adding attribute_hidden to __open and __fcntl.
513
514 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
515 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
516 depend on libc-modules.h,
517 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
518
519 2016-03-17 Joseph Myers <joseph@codesourcery.com>
520
521 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
522 Remove macro.
523 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
524 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
525 entry.
526
527 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
528 Remove macro.
529 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
530 include <kernel-features.h>.
531 [!__ASSUME_FALLOCATE]: Remove conditional code.
532 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
533
534 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
535
536 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
537 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
538 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
539 (_ZGVdN4v_cos_avx2): Likewise.
540 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
541 (_ZGVdN4v_cos): Likewise.
542 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
543 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
544 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
545 (_ZGVdN4v_exp_avx2): Likewise.
546 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
547 (_ZGVdN4v_exp): Likewise.
548 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
549 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
550 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
551 (_ZGVdN4v_log_avx2): Likewise.
552 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
553 (_ZGVdN4v_log): Likewise.
554 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
555 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
556 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
557 (_ZGVdN4vv_pow_avx2): Likewise.
558 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
559 (_ZGVdN4vv_pow): Likewise.
560 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
561 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
562 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
563 (_ZGVdN4v_sin_avx2): Likewise.
564 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
565 (_ZGVdN4v_sin): Likewise.
566 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
567 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
568 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
569 (_ZGVdN4vvv_sincos_avx2): Likewise.
570 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
571 (_ZGVdN4vvv_sincos): Likewise.
572 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
573 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
574 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
575 (_ZGVbN4v_cosf_sse4): Likewise.
576 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
577 (_ZGVdN8v_cosf_avx2): Likewise.
578 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
579 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
580 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
581 (_ZGVbN4v_expf_sse4): Likewise.
582 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
583 (_ZGVdN8v_expf_avx2): Likewise.
584 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
585 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
586 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
587 (_ZGVbN4v_logf_sse4): Likewise.
588 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
589 (_ZGVdN8v_logf_avx2): Likewise.
590 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
591 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
592 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
593 (_ZGVbN4vv_powf_sse4): Likewise.
594 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
595 (_ZGVdN8vv_powf_avx2): Likewise.
596 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
597 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
598 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
599 (_ZGVbN4vvv_sincosf_sse4): Likewise.
600 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
601 (_ZGVdN8vvv_sincosf_avx2): Likewise.
602 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
603 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
604 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
605 (_ZGVbN4v_sinf_sse4): Likewise.
606 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
607 (_ZGVdN8v_sinf_avx2): Likewise.
608 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
609 Use JUMPTARGET to call callee.
610 (WRAPPER_IMPL_SSE2_ff): Likewise.
611 (WRAPPER_IMPL_SSE2_fFF): Likewise.
612 (WRAPPER_IMPL_AVX): Likewise.
613 (WRAPPER_IMPL_AVX_ff): Likewise.
614 (WRAPPER_IMPL_AVX_fFF): Likewise.
615 (WRAPPER_IMPL_AVX512): Likewise.
616 (WRAPPER_IMPL_AVX512_ff): Likewise.
617 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
618 Likewise.
619 (WRAPPER_IMPL_SSE2_ff): Likewise.
620 (WRAPPER_IMPL_SSE2_fFF): Likewise.
621 (WRAPPER_IMPL_AVX): Likewise.
622 (WRAPPER_IMPL_AVX_ff): Likewise.
623 (WRAPPER_IMPL_AVX_fFF): Likewise.
624 (WRAPPER_IMPL_AVX512): Likewise.
625 (WRAPPER_IMPL_AVX512_ff): Likewise.
626 (WRAPPER_IMPL_AVX512_fFF): Likewise.
627
628 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
629
630 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
631 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
632 qualifier.
633 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
634 internal_function qualifiers.
635
636 2016-03-15 Carlos O'Donell <carlos@redhat.com>
637
638 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
639 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
640 * math/atest-exp.c (exp_mpn): Mark chk unused.
641 * math/atest-exp2.c (exp_mpn): Likwise.
642 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
643 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
644
645 2016-03-15 Joseph Myers <joseph@codesourcery.com>
646
647 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
648 Remove macro.
649 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
650 <kernel-features.h>.
651 [__NR_ppoll]: Make code unconditional.
652 [!__ASSUME_PPOLL]: Remove conditional code.
653
654 * sysdeps/unix/sysv/linux/kernel-features.h
655 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
656 (__ASSUME_ACCEPT4): Likewise.
657 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
658 Define.
659 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
660 Likewise.
661 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
662 Likewise.
663 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
664 Likewise.
665 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
666 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
667 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
668 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
669 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
670 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
671 * sysdeps/unix/sysv/linux/arm/kernel-features.h
672 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
673 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
674 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
675 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
676 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
677 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
678 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
679 * sysdeps/unix/sysv/linux/i386/kernel-features.h
680 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
681 Likewise.
682 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
683 Likewise.
684 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
685 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
686 0x040300].
687 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
688 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
689 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
690 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
691 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
692 0x030300].
693 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
694 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
695 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
696 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
697 0x040300].
698 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
699 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
700 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
701 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
702 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
703 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
704 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
705 0x030300].
706 * sysdeps/unix/sysv/linux/mips/kernel-features.h
707 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
708 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
709 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
710 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
711 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
712 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
713 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
714 * sysdeps/unix/sysv/linux/s390/kernel-features.h
715 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
716 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
717 0x040300].
718 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
719 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
720 * sysdeps/unix/sysv/linux/sh/kernel-features.h
721 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
722 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
723 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
724 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
725 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
726 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
727 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
728 * sysdeps/unix/sysv/linux/tile/kernel-features.h
729 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
730 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
731 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
732 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
733 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
734 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
735 Likewise.
736 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
737 Likewise.
738
739 2016-03-15 Andreas Schwab <schwab@suse.de>
740
741 [BZ #19257]
742 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
743 statp->_u._ext.nscount as loop count.
744
745 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
746
747 * math/test-signgam-finite-c99.c: Also #undef
748 __LIBC_INTERNAL_MATH_INLINES.
749 * math/test-signgam-main.c: Likewise.
750
751 2016-03-14 Joseph Myers <joseph@codesourcery.com>
752
753 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
754 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
755 (MADV_FREE): Likewise.
756 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
757 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
758 EPOLLEXCLUSIVE.
759
760 2016-03-14 Carlos O'Donell <carlos@redhat.com>
761
762 * timezone/README: Remove mention of checktab.awk. Mention wiki
763 SharedSourceFiles.
764
765 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
766
767 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
768 WUNTRACED.
769
770 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
771
772 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
773 order to match the type of p when calling atomic_exchange_acq().
774
775 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
776
777 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
778 cfi_offset calls.
779 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
780 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
781 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
782 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
783 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
784
785 2016-03-10 Carlos O'Donell <carlos@redhat.com>
786
787 * timezone/checktab.awk: Removed.
788
789 2016-03-10 Joseph Myers <joseph@codesourcery.com>
790
791 * manual/math.texi (Errors in Math Functions): Document relaxed
792 accuracy goals for IBM long double.
793 * math/libm-test.inc (test_exceptions): Always allow spurious
794 "underflow" and "inexact" exceptions for IBM long double.
795
796 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
797
798 [BZ #19762]
799 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
800 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
801 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
802 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
803 (bit_arch_*): This for feature array.
804 (bit_*): Renamed to ...
805 (bit_cpu_*): This for cpu array.
806 (index_*): Renamed to ...
807 (index_arch_*): This for feature array.
808 (index_*): Renamed to ...
809 (index_cpu_*): This for cpu array.
810 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
811 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
812 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
813 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
814 bit_##name with index_cpu_##name and bit_cpu_##name.
815 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
816 bit_##name with index_arch_##name and bit_arch_##name.
817
818 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
819
820 [BZ #19792]
821 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
822 Terminate FDE before return label.
823
824 2016-03-09 Joseph Myers <joseph@codesourcery.com>
825
826 [BZ #19790]
827 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
828 (rintl): Define as macro.
829 [USE_AS_NEARBYINTL] (__rintl): Likewise.
830 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
831 of fesetround. Ensure results are evaluated before end of scope.
832 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
833 USE_AS_NEARBYINTL and include s_rintl.c.
834 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
835 Disable exception traps in new environment.
836 (libc_feholdsetround_ppc_ctx): Likewise.
837
838 2016-03-08 Roland McGrath <roland@hack.frob.com>
839
840 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
841 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
842 (tst_audit10_aux) [__AVX512F__]: ... here.
843
844 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
845
846 * include/sys/auxv.h: New file.
847
848 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
849
850 [BZ #19759]
851 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
852
853 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
854
855 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
856 operand modifier.
857 (feclearexcept): Likewise.
858
859 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
860
861 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
862 to reflect the entire 32-bit HWCAP.
863 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
864 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
865
866 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
867
868 [BZ #19783]
869 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
870 $(test-via-rtld-prefix).
871 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
872
873 2016-03-08 Florian Weimer <fweimer@redhat.com>
874
875 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
876 union wait. Report any non-zero exit status as error.
877
878 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
879
880 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
881 configured with --enable-hardcoded-path-in-tests.
882
883 2016-03-08 Joseph Myers <joseph@codesourcery.com>
884
885 [BZ #19677]
886 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
887 (__ieee754_remainderl): Put zero low parts in canonical form.
888 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
889 file. Based on
890 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
891 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
892 with wrapper round test-fmodrem-ldbl-128ibm.c.
893 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
894 file.
895 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
896 Likewise.
897 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
898 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
899
900 2016-03-07 Florian Weimer <fweimer@redhat.com>
901
902 [BZ #19610]
903 * elf/ldconfig.c (opt_link): Update comment.
904 (options): Update help string for option -X.
905 (search_dir): Unlink stale symbolic link only if updating symbolic
906 links.
907 * elf/tst-ldconfig-X.sh: New file.
908 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
909 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
910
911 2016-03-07 Andreas Schwab <schwab@suse.de>
912
913 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
914 needed arguments.
915
916 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
917
918 [BZ #15333]
919 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
920 to lstat64.
921
922 2016-03-07 Florian Weimer <fweimer@redhat.com>
923
924 * libio/filedoalloc.c (isatty): Remove.
925 (local_isatty): Add comment. Call __isatty directly.
926 (_IO_file_doallocate): Update comment. Assume _LIBC.
927 * libio/wfiledoalloc.c (isatty): Remove.
928 (_IO_wfile_doallocate): Update comment.
929
930 2016-03-07 Florian Weimer <fweimer@redhat.com>
931
932 [BZ #19269]
933 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
934 tst-audit4-aux.o.
935 (tst-audit10): Depend on tst-audit10-aux.o.
936 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
937 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
938 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
939 instead of inline AVX code.
940 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
941 instead of inline AVX512 code.
942 * sysdeps/x86_64/tst-audit4-aux.c: New file
943 * sysdeps/x86_64/tst-audit10-aux.c: New file
944
945 [BZ #19648]
946 * test-skeleton.c (main): Do not set RLIMIT_DATA.
947
948 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
949
950 [BZ #14750]
951 [BZ #10354]
952 [BZ #18433]
953 * include/sched.h (__clone): Add hidden prototype.
954 (__clone2): Likewise.
955 * include/unistd.h (__dup): Likewise.
956 * posix/Makefile (tests): Add tst-spawn2.
957 * posix/tst-spawn2.c: New file.
958 * sysdeps/posix/dup.c (__dup): Add hidden definition.
959 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
960 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
961 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
962 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
963 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
964 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
965 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
966 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
967 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
968 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
970 Likewise.
971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
972 Likewise.
973 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
974 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
975 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
976 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
977 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
978 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
979 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
980 * sysdeps/unix/sysv/linux/nptl-signals.h
981 (____nptl_is_internal_signal): New function.
982 * sysdeps/unix/sysv/linux/spawni.c: New file.
983
984 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
985 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
986 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
987 * posix/tst-execvp2.c (do_test): Likewise.
988 * posix/tst-execvp3.c (do_test): Likewise.
989 * posix/tst-execvp4.c (do_test): Likewise.
990 * posix/tst-execvpe1.c: New file.
991 * posix/tst-execvpe2.c: Likewise.
992 * posix/tst-execvpe3.c: Likewise.
993 * posix/tst-execvpe4.c: Likewise.
994 * posix/tst-execvpe5.c: Likewise.
995 * posix/tst-execvpe6.c: Likewise.
996
997 [BZ #19534]
998 * posix/execl.c (execl): Remove dynamic memory allocation.
999 * posix/execle.c (execle): Likewise.
1000 * posix/execlp.c (execlp): Likewise.
1001
1002 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1003
1004 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
1005 Replace .text with .text.avx512.
1006 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1007 Likewise.
1008
1009 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
1010
1011 * sysdeps/generic/libnsl.abilist: New file.
1012 * sysdeps/generic/libutil.abilist: New file.
1013
1014 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1015
1016 [BZ #19762]
1017 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
1018 HAS_ARCH_FEATURE with Fast_Rep_String.
1019 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
1020 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
1021 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
1022 Likewise.
1023 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
1024 Likewise.
1025 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
1026 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
1027 Likewise.
1028 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
1029 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
1030 Likewise.
1031
1032 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1033
1034 [BZ #19745]
1035 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
1036 with *%rax in call.
1037
1038 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1039
1040 [BZ #19745]
1041 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
1042 with *__libc_start_main@GOTPCREL(%rip) in call.
1043
1044 2016-03-04 Roland McGrath <roland@hack.frob.com>
1045
1046 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
1047 inside conditional for nonempty $(CXX).
1048
1049 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
1050 nonempty.
1051
1052 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
1053 to test for empty $(CXX) rather than $(CXX) of "no".
1054
1055 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1056
1057 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
1058
1059 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
1060 H.J. Lu <hongjiu.lu@intel.com>
1061
1062 [BZ #18880]
1063 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
1064 instead of Slow_BSF, and also check for Fast_Copy_Backward to
1065 enable __memcpy_ssse3_back.
1066
1067 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
1068
1069 [BZ #19758]
1070 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
1071 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
1072
1073 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
1074
1075 [BZ #19490]
1076 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
1077 (__fentry__): Likewise.
1078
1079 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
1080
1081 * gmon/Makefile (noprof): Add $(sysdep_noprof).
1082 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
1083
1084 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1085
1086 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
1087 __mcount_internal directly.
1088 (C_LABEL(__fentry__)): Likewise.
1089 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
1090 directly.
1091
1092 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1093
1094 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1095 (__start_context): Call __setcontext directly.
1096
1097 2016-02-26 Joseph Myers <joseph@codesourcery.com>
1098
1099 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1100 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1101 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
1102 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1103 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1104 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1105 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
1106 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1107 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1108 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
1109 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1110 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1111 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1112 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1113 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1114 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1115 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
1116 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1117 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1118 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1119 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
1120 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1121 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1122 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1123 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
1124 Remove conditional code.
1125 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1126 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
1127 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1128 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1129 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
1130 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1131 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1132 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1133 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1134 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1135 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1136 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1137
1138 2016-02-24 Marko Myllynen <myllynen@redhat.com>
1139
1140 * NEWS (2.23): Fix typo in bug 19048 text.
1141
1142 2016-02-24 Carlos O'Donell <carlos@redhat.com>
1143
1144 [BZ #14259]
1145 * Makeconfig: Rename msgcatdir to localedir.
1146 Rename inst_msgcatdir to inst_localedir.
1147 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
1148 * config.make.in: Add localedir.
1149 * elf/Makefile ($(objpfx)sotruss): Use localedir.
1150 (ldd-rewrite): Likewise.
1151 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
1152 (install-others): Use inst_localedir.
1153 (CPPFLAGS): Use localedir.
1154 * locale/Makefile (locale-CPPFLAGS): Likewise.
1155 * po/Makefile (mo-installed): Use inst_localedir.
1156
1157 [BZ #19575]
1158 * localedata/charmaps/GB18030: Update comments regarding PAU to
1159 non-PUA mappings.
1160
1161 2016-02-24 Joseph Myers <joseph@codesourcery.com>
1162
1163 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
1164 test for header.
1165 * sysdeps/unix/sysv/linux/configure: Regenerated.
1166 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
1167 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
1168 Remove conditional code.
1169 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
1170
1171 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1172 Define to 3.2.0.
1173 (arch_minimum_kernel): Likewise.
1174 * sysdeps/unix/sysv/linux/configure: Regenerated.
1175 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1176 Define to 2.6.32.
1177 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1178 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1179 (arch_minimum_kernel): Define to 2.6.32.
1180 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1181 * README: Document Linux 3.2 requirement.
1182 * manual/install.texi (Linux): Document Linux 3.2 headers
1183 requirement.
1184 * INSTALL: Regenerated.
1185
1186 2016-02-24 Andreas Schwab <schwab@suse.de>
1187
1188 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
1189 if !NO_LONG_DOUBLE.
1190
1191 2016-02-22 Roland McGrath <roland@hack.frob.com>
1192
1193 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
1194 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
1195
1196 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
1197
1198 [BZ #19512]
1199 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
1200
1201 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
1202
1203 * posix/tst-dir.c: Include libc-internal.h.
1204
1205 2016-02-20 Florian Weimer <fweimer@redhat.com>
1206
1207 [BZ #19056]
1208 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
1209 * manual/filesys.texi (Reading/Closing Directory): Mention
1210 deprecaion.
1211 * posix/tst-dir.c (main): Disable deprecation warning in test.
1212
1213 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
1214
1215 [BZ #19679]
1216 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
1217 Renamed to ...
1218 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
1219 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1220 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
1221 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1222 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1223 * sysdeps/x86_64/dl-trampoline.h
1224 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1225 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1226
1227 2016-02-19 Mark Wielaard <mjw@redhat.com>
1228
1229 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
1230
1231 2016-02-19 Mark Wielaard <mjw@redhat.com>
1232
1233 * elf/elf.h (R_386_GOT32X): New.
1234 (R_386_NUM): Update.
1235 (R_X86_64_GOTPCRELX: New.
1236 (R_X86_64_REX_GOTPCRELX): New.
1237 (R_X86_64_NUM): Update.
1238
1239 2016-02-19 Mike Frysinger <vapier@gentoo.org>
1240
1241 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
1242
1243 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
1244
1245 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
1246 assign attr->stackaddr to it, and adjust it down when
1247 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
1248 [_STACK_GROWS_UP]: Delete assert.
1249 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
1250 Implement stack grows up logic.
1251 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
1252 stack grows up logic.
1253
1254 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1255
1256 * NEWS: Update with 2.24 template.
1257
1258 2016-02-19 Joseph Myers <joseph@codesourcery.com>
1259
1260 [BZ #19678]
1261 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1262 Ensure +0.0 is returned when taking the next value below the least
1263 positive value.
1264
1265 2016-02-19 Florian Weimer <fweimer@redhat.com>
1266
1267 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
1268 available. Do not define NO_THREADS.
1269 * malloc/malloc.c: Do not check NO_THREADS.
1270 * malloc/arena.c: Likewise.
1271
1272 2016-02-19 Florian Weimer <fweimer@redhat.com>
1273
1274 * malloc/malloc.c (__libc_mallinfo): Update comment.
1275 (struct malloc_par): Remove max_total_mem member, it was always 0.
1276 (int_mallinfo): Store 0 into usmblks (no functional change).
1277 * malloc/hooks.c (struct malloc_state): Document that
1278 max_total_mem is always 0.
1279 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
1280 always 0.
1281 * manual/memory.texi (Statistics of Malloc): Likewise.
1282
1283 2016-02-19 Florian Weimer <fweimer@redhat.com>
1284
1285 * malloc/malloc.c (sysmalloc): Do not update arena_max.
1286 * malloc/arena.c (arena_max): Remove.
1287 (heap_trim, _int_new_arena): Do not update arena_max.
1288
1289 2016-02-19 Florian Weimer <fweimer@redhat.com>
1290
1291 * resolv/res_init.c (res_ninit): Update comment.
1292
1293 2016-02-19 Florian Weimer <fweimer@redhat.com>
1294
1295 [BZ #19505]
1296 * posix/spawn_int.h: Add headers and include guard.
1297 (__spawn_valid_fd): New function.
1298 * posix/spawn_faction_addopen.c
1299 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
1300 * posix/spawn_faction_addclose.c
1301 (posix_spawn_file_actions_addclose): Likewise.
1302 * posix/spawn_faction_adddup2.c
1303 (posix_spawn_file_actions_adddup2): Likewise. Add check for
1304 second file descriptor.
1305 * posix/spawn_valid_fd.c: New file.
1306 * posix/tst-posix_spawn-fd.c: New file.
1307 * posix/Makefile (routines): Add spawn_valid_fd.
1308 (tests): Add tst-posix_spawn-fd.
1309
1310 2016-02-19 Florian Weimer <fweimer@redhat.com>
1311
1312 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
1313 (do_test): Limit the number of arenas, so that we can use fewer
1314 outer threads. Limit timeout to 3 seconds, in preparation for a
1315 larger TIMEOUT value.
1316
1317 2016-02-19 Joseph Myers <joseph@codesourcery.com>
1318
1319 [BZ #19674]
1320 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
1321 sign in overflowing and underflowing results when overflow or
1322 underflow is detected early. Include sign in result before rather
1323 than after scaling.
1324
1325 [BZ #19603]
1326 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1327 (__ieee754_remainderl): Adjust sign of integer version of low part
1328 when taking absolute value of high part.
1329 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1330 * math/libm-test.inc (remainder_test_data): Add another test.
1331 (remquo_test_data): Likewise.
1332
1333 2016-02-18 Joseph Myers <joseph@codesourcery.com>
1334
1335 [BZ #19602]
1336 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
1337 equal high parts and both low parts zero specially.
1338 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
1339 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1340 Add test-fmodl-ldbl-128ibm.
1341
1342 [BZ #19595]
1343 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
1344 common logic for all cases of shifting subnormal results. Do not
1345 insert sign bit in shifted mantissa. Always pass -1023 as biased
1346 exponent to ldbl_insert_mantissa in subnormal case.
1347
1348 [BZ #19594]
1349 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
1350 on high and low parts then adjust result and use
1351 ldbl_canonicalize_int if needed.
1352
1353 [BZ #19593]
1354 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
1355 on high part and __floor or __ceil on low part then use
1356 ldbl_canonicalize_int if needed.
1357
1358 [BZ #19592]
1359 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
1360 high and low parts then use ldbl_canonicalize_int if needed.
1361
1362 [BZ #17899]
1363 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1364 New function.
1365 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
1366 on high and low parts then use ldbl_canonicalize_int if needed.
1367
1368 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1369
1370 * configure: Regenerated.
1371
1372 * po/libc.pot: Regenerated.
1373
1374 * po/be.po: Updated translation.
1375 * po/bg.po: Likewise.
1376 * po/ca.po: Likewise.
1377 * po/cs.po: Likewise.
1378 * po/da.po: Likewise.
1379 * po/el.po: Likewise.
1380 * po/eo.po: Likewise.
1381 * po/es.po: Likewise.
1382 * po/fi.po: Likewise.
1383 * po/fr.po: Likewise.
1384 * po/gl.po: Likewise.
1385 * po/hr.po: Likewise.
1386 * po/hu.po: Likewise.
1387 * po/ia.po: Likewise.
1388 * po/id.po: Likewise.
1389 * po/it.po: Likewise.
1390 * po/ja.po: Likewise.
1391 * po/lt.po: Likewise.
1392 * po/nb.po: Likewise.
1393 * po/nl.po: Likewise.
1394 * po/pt_BR.po: Likewise.
1395 * po/rw.po: Likewise.
1396 * po/sk.po: Likewise.
1397 * po/sl.po: Likewise.
1398 * po/sv.po: Likewise.
1399 * po/tr.po: Likewise.
1400 * po/zh_CN.po: Likewise.
1401 * po/zh_TW.po: Likewise.
1402
1403 * version.h (RELEAES): Set to "development".
1404 (VERSION): Set to 2.23.90.
1405
1406 * version.h (RELEASE): Set to "stable".
1407 (VERSION): Set to 2.23.
1408 * include/feature.h (__GLIBC_MINOR__): Set to 23.
1409
1410 * NEWS: Updated fixed bugs.
1411
1412 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1413 Wilco Dijkstra <wdijkstr@arm.com>
1414
1415 [BZ #19462]
1416 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
1417 (_STRING_INLINE_unaligned): This.
1418 * include/string.h: Include <string_private.h>.
1419 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
1420 _STRING_INLINE_unaligned.
1421 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
1422 (_STRING_INLINE_unaligned): New.
1423 * sysdeps/aarch64/string_private.h: New file.
1424 * sysdeps/generic/string_private.h: Likewise.
1425 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
1426 * sysdeps/s390/string_private.h: Likewise.
1427 * sysdeps/x86/string_private.h: Likewise.
1428 * sysdeps/m68k/m680x0/m68020/bits/string.h
1429 (_STRING_ARCH_unaligned): Renamed to ...
1430 (_STRING_INLINE_unaligned): This.
1431 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
1432 to ...
1433 (_STRING_INLINE_unaligned): This.
1434 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
1435 to ...
1436 (_STRING_INLINE_unaligned): This.
1437 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
1438 to ...
1439 (_STRING_INLINE_unaligned): This.
1440
1441 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
1442 H.J. Lu <hongjiu.lu@intel.com>
1443
1444 [BZ #19590]
1445 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
1446 relocation.
1447
1448 2016-02-15 Carlos O'Donell <carlos@redhat.com>
1449
1450 [BZ #18665]
1451 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
1452 *herrno_p.
1453 (gaih_getanswer): Document functional behviour. Return tryagain
1454 if any result is tryagain.
1455 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
1456 when freed.
1457 * resolv/res_send.c: Add copyright text.
1458 (__libc_res_nsend): Document that MAXPACKET is expected.
1459 (send_vc): Document. Remove buffer reuse.
1460 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
1461 size of the buffer. Add Dprint for truncated UDP buffer.
1462
1463 2016-02-14 Carlos O'Donell <carlos@redhat.com>
1464
1465 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
1466 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
1467 * INSTALL: Regenerate.
1468
1469 2016-02-14 Jakub Jelinek <jakub@redhat.com>
1470 Jonathan Wakely <jwakely@redhat.com>
1471 Carlos O'Donell <carlos@redhat.com>
1472
1473 [BZ 19439]
1474 * math/Makefile (tests): Add test-math-isinff.
1475 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
1476 * math/bits/mathcalls.h [__USE_MISC]: Use
1477 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
1478 functions not in C++11 and which don't conflict e.g. isinff,
1479 isinfl etc.
1480 * math/test-math-isinff.cc: New file.
1481
1482 2016-02-12 Florian Weimer <fweimer@redhat.com>
1483
1484 * misc/bug18240.c (do_test): Set RLIMIT_AS.
1485
1486 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1487
1488 [BZ #19529]
1489 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
1490
1491 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1492
1493 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1494
1495 2016-02-01 Joseph Myers <joseph@codesourcery.com>
1496
1497 [BZ #19550]
1498 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
1499 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
1500 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
1501 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
1502 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
1503 New syscall entry.
1504 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
1505 New syscall entry.
1506 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
1507 syscall entry.
1508
1509 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
1510
1511 [BZ #18240]
1512 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
1513 unsigned int wraparound.
1514
1515 2016-01-27 Florian Weimer <fweimer@redhat.com>
1516
1517 [BZ #18240]
1518 * misc/bug18240.c: New test.
1519 * misc/Makefile (tests): Add it.
1520
1521 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
1522 Joseph Myers <joseph@codesourcery.com>
1523
1524 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
1525 load in branch delay slot when less than a word of input left.
1526
1527 2016-01-27 Andreas Schwab <schwab@suse.de>
1528
1529 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
1530 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
1531 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
1532 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
1533
1534 2016-01-26 David S. Miller <davem@davemloft.net>
1535
1536 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
1537
1538 2016-01-25 David S. Miller <davem@davemloft.net>
1539
1540 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
1541 __sqrtl_finite.
1542 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
1543 instead using versioned_symbol.
1544 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
1545 of entries.
1546
1547 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
1548 __sqrtl_finite to GLIBC_2.23
1549
1550 2016-01-25 Ricchard Henderson <rth@redhat.com>
1551
1552 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1553
1554 2016-01-25 Andreas Schwab <schwab@suse.de>
1555
1556 [BZ #17514]
1557 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
1558 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
1559 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
1560 * nptl/tst-mutex-errorcheck.c: New file.
1561
1562 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1563
1564 [BZ #18560]
1565 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
1566 (IPCOP_semop): Likewise.
1567 (IPCOP_semget): Likewise.
1568 (IPCOP_semctl): Likewise.
1569 (IPCOP_msgsnd): Likewise.
1570 (IPCOP_msgrcv): Likewise.
1571 (IPCOP_msgget): Likewise.
1572 (IPCOP_msgctl): Likewise.
1573 (IPCOP_shmat): Likewise.
1574 (IPCOP_shmdt): Likewise.
1575 (IPCOP_shmget): Likewise.
1576 (IPCOP_shmctl): Likewise.
1577
1578 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
1579
1580 * string/tst-endian.c: Include <libc-internal.h>.
1581 (do_test): Ignore tautological-compare warnings around
1582 "htobeXX (beXXtoh (i)) != i" and
1583 "htoleXX (leXXtoh (i)) != i" if-statements.
1584
1585 2016-01-24 David S. Miller <davem@davemloft.net>
1586
1587 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
1588 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
1589 alias.
1590 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1591 __sqrtl_finite.
1592
1593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1594
1595 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
1596
1597 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
1598 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
1599 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1600
1601 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1602
1603 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
1604 (thread_func): Use new function to simplify barrier check.
1605 (do_test): Use new function to simplify checking barrier exit
1606 code, and actually join the child thread.
1607
1608 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1609
1610 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
1611 semicolon.
1612 (__libc_tend): Likewise.
1613 (__libc_tabort): Likewise.
1614
1615 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
1616
1617 * sysdeps/nios2/libm-test-ulps: Update.
1618 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
1619 (__gtsf2): Likewise.
1620 (__unorddf2): Likewise.
1621 (__unordsf2): Likewise.
1622 (__ledf2): Likewise.
1623
1624 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
1625
1626 * nis/nis_table.c (__follow_path): Disable diagnostic for
1627 uninitialized variable that is a false positive for gcc 4.7.
1628 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
1629
1630 2016-01-20 Roland McGrath <roland@hack.frob.com>
1631
1632 * sysdeps/nacl/lowlevellock-futex.h
1633 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
1634 Always evaluate PRIVATE argument.
1635
1636 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
1637
1638 [BZ #19490]
1639 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
1640 (pthread_cond_broadcast): Use ENTRY/END
1641 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
1642 (pthread_cond_signal): Likewise.
1643 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
1644 Likewise.
1645 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
1646 Likewise.
1647 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
1648 Likewise.
1649
1650 2016-01-20 Joseph Myers <joseph@codesourcery.com>
1651
1652 * sysdeps/ieee754/dbl-64/s_finite.c
1653 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
1654 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
1655 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
1656 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
1657 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
1658
1659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1660 (__gtsf2): Add as optional for libc.so.
1661 (__unordsf2): Likewise.
1662 (__signbit): Remove for libc.so.
1663 (__signbitl): Likewise.
1664
1665 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1666
1667 * iconvdata/bug-iconv11.c (test_ibm93x):
1668 Use %zu printf format specifier for size_t argument.
1669
1670 2016-01-19 Joseph Myers <joseph@codesourcery.com>
1671
1672 * math/gen-libm-test.pl (parse_ulps): Do not reduce
1673 already-recorded ulps.
1674 * sysdeps/arm/libm-test-ulps: Regenerated.
1675 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1676 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1677 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1678
1679 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
1680 Paul Pluzhnikov <ppluzhnikov@google.com>
1681
1682 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
1683 assembler not supporting AVX-512.
1684
1685 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
1686
1687 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1688
1689 2016-01-18 Joseph Myers <joseph@codesourcery.com>
1690
1691 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1692 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1693
1694 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1695
1696 * sysdeps/arm/libm-test-ulps: Regenerated.
1697
1698 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1699
1700 [BZ #19451]
1701 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
1702
1703 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
1704
1705 [BZ #19486]
1706 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
1707 * sysdeps/generic/fix-fp-int-convert-overflow.h
1708 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
1709 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
1710 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
1711 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
1712 Likewise.
1713 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
1714 Avoid conversions to long int where inexact exceptions
1715 could be raised.
1716 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
1717 Likewise.
1718 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
1719 Avoid conversions to long long int where inexact exceptions
1720 could be raised.
1721 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
1722 Likewise.
1723
1724 2016-01-17 Mike Frysinger <vapier@gentoo.org>
1725
1726 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
1727 * configure: Regenerated.
1728
1729 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
1730
1731 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
1732
1733 2016-01-16 Mike Frysinger <vapier@gentoo.org>
1734
1735 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
1736 outside of comment.
1737
1738 2016-01-15 Torvald Riegel <triegel@redhat.com>
1739
1740 * nptl/tst-barrier1.c: Add description on first line.
1741 * nptl/tst-barrier2.c: Likewise.
1742 * nptl/tst-barrier3.c: Likewise.
1743 * nptl/tst-barrier4.c: Likewise.
1744 * nptl/tst-barrier5.c: Likewise.
1745
1746 2016-01-15 Torvald Riegel <triegel@redhat.com>
1747
1748 [BZ #18868]
1749 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
1750
1751 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
1752
1753 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
1754 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1755 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
1756 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
1757 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
1758 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
1759 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1760 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1761 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1762 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1763 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1764
1765 2016-01-15 Torvald Riegel <triegel@redhat.com>
1766
1767 [BZ #13065]
1768 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
1769 new implementation.
1770 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
1771 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
1772 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
1773 (BARRIER_IN_THRESHOLD): New macro.
1774 * nptl/pthread_barrierattr_setpshared.c
1775 (pthread_barrierattr_setpshared): Clean up.
1776 * nptl/tst-barrier4.c: Correct comment.
1777 * nptl/tst-barrier5.c: New file.
1778 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
1779 (gen-as-const-headers): Remove lowlevelbarrier.sym.
1780 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
1781 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
1782 * nptl/lowlevelbarrier.sym: Remove.
1783 * nptl/DESIGN-barrier.txt: Remove.
1784 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
1785 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
1786 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
1787 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
1788 error.
1789 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
1790 implementation.
1791
1792 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1793
1794 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
1795 (do_child): Mask SIGRTMIN while thr is running.
1796
1797 2016-01-15 Martin Sebor <msebor@redhat.com>
1798
1799 [BZ #19432]
1800 * iconvdata/Makefile: Add bug-iconv11.
1801 * iconvdata/bug-iconv11.c: New test.
1802 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
1803 * iconvdata/ibm933.c: Same.
1804 * iconvdata/ibm935.c: Same.
1805 * iconvdata/ibm937.c: Same.
1806 * iconvdata/ibm939.c: Same.
1807
1808 2016-01-15 Martin Sebor <msebor@redhat.com>
1809
1810 [BZ #19443]
1811 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
1812 [DEBUG] (_ufc_set_bits): Declare used.
1813 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
1814 [DEBUG] (print_all): Declare used.
1815 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
1816 operands of the ternary ?: expression to target type.
1817 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
1818 calling the undeclared abort.
1819 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
1820
1821 2016-01-15 Martin Sebor <msebor@redhat.com>
1822
1823 [BZ #18755]
1824 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
1825 warnings.
1826 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
1827 (__gai_create_helper_thread): Same.
1828 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
1829 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
1830 to suppress -Wmaybe-uninitialized warnings.
1831
1832 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
1833
1834 [BZ #19465]
1835 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
1836 inside if.
1837 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1838 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1839 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1840
1841 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
1842
1843 [BZ #19466]
1844 * time/tst-mktime2.c (time_t_max): Removed.
1845 (time_t_min): Likewise.
1846 (TYPE_SIGNED): New.
1847 (TYPE_MINIMUM): Likewise.
1848 (TYPE_MAXIMUM): Likewise.
1849 (TIME_T_MIN): Likewise.
1850 (TIME_T_MAX): Likewise.
1851 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
1852 and TIME_T_MIN.
1853 (do_test): Likewise.
1854
1855 2016-01-14 Amit Pawar <amit.pawar@amd.com>
1856
1857 [BZ #19467]
1858 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1859 index_Fast_Unaligned_Load flag for Excavator family CPUs.
1860
1861 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
1862
1863 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
1864
1865 2016-01-13 Carlos O'Donell <carlos@redhat.com>
1866
1867 * benchtests/Makefile (PYTHON): Define.
1868 (bench-func): Use $(PYTHON) to run python scripts.
1869 ($(objpfx)bench-%.c): Likewise.
1870
1871 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
1872
1873 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
1874 leading slash when `file_name' is "/".
1875
1876 2016-01-12 Joseph Myers <joseph@codesourcery.com>
1877
1878 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
1879 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
1880 Likewise.
1881 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
1882 Likewise.
1883 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
1884 Likewise.
1885 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
1886 enum constant and macro.
1887 (PTRACE_SETSIGMASK): Likewise.
1888 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1889 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1890 (PTRACE_GETSIGMASK): Likewise.
1891 (PTRACE_SETSIGMASK): Likewise.
1892 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1893 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
1894 Likewise.
1895 (PTRACE_SETSIGMASK): Likewise.
1896 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1897 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1898 (PTRACE_GETSIGMASK): Likewise.
1899 (PTRACE_SETSIGMASK): Likewise.
1900 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1901 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
1902 Likewise.
1903 (PTRACE_SETSIGMASK): Likewise.
1904 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1905 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
1906 Likewise.
1907 (PTRACE_SETSIGMASK): Likewise.
1908 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1909 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
1910 Likewise.
1911 (PTRACE_SETSIGMASK): Likewise.
1912 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1913
1914 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
1915 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1916
1917 [BZ #19439]
1918 * math/bits/mathcalls.h
1919 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
1920 prototype.
1921 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
1922
1923 2016-01-11 Andreas Schwab <schwab@suse.de>
1924
1925 [BZ #19253]
1926 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
1927 cache when TZDEFRULES was used.
1928 * time/tst-tzname.c: New file.
1929 * time/Makefile (test): Add tst-tzname.
1930 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
1931 * timezone/Makefile (test-zones): Add $(posixrules-file).
1932 ($(testdata)/$(posixrules-file)): New rule.
1933
1934 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
1935
1936 Fix doc quoting problems with Texinfo 5
1937 Without this change, in the info file output, Texinfo 5 quotes code
1938 in text with undirected single quotes 'like this' and generates
1939 code examples that with many PDF readers cannot be cut out of PDFs
1940 and pasted into code.
1941 * manual/libc.texinfo: Configure the libc manual like the GNU
1942 Emacs manual, by using @documentencoding and setting
1943 txicodequoteundirected and txicodequotebacktick. This way,
1944 Texinfo 5 quotes code in text with directed single quotes ‘like
1945 this’ and produces examples that can be cut out of PDFs. This
1946 change causes Texinfo 5 to generate info files that contain UTF-8
1947 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
1948 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
1949
1950 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1951
1952 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
1953 __libc_tabort, __libc_tend): New wrappers that enforce compiler
1954 barriers to their respective compiler built-ins.
1955 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
1956 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
1957 * sysdeps/powerpc/sysdep.h: Likewise.
1958 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
1959 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
1960 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
1961
1962 2016-01-08 Marko Myllynen <myllynen@redhat.com>
1963
1964 * scripts/config.guess: Revert previous shebang change.
1965 * scripts/config.sub: Likewise.
1966 * scripts/mkinstalldirs: Likewise.
1967
1968 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1969
1970 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
1971 PPC_FEATURE2_HAS_IEEE128.
1972 * sysdeps/powerpc/dl-procinfo.c:
1973 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
1974
1975 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
1976
1977 [BZ #19415]
1978 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
1979 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
1980 (_dl_lookup_address): Rewrite using function resolver trampoline.
1981 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
1982 two bits in address.
1983
1984 2016-01-07 Mike Frysinger <vapier@gentoo.org>
1985
1986 * longlong.h: Change !__SHMEDIA__ to
1987 (!defined (__SHMEDIA__) || !__SHMEDIA__).
1988 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
1989
1990 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
1991 Joseph Myers <joseph@codesourcery.com>
1992 Mark Shinwell <shinwell@codesourcery.com>
1993 Andrew Stubbs <ams@codesourcery.com>
1994 Rich Felker <dalias@libc.org>
1995
1996 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
1997
1998 2016-01-07 Richard Henderson <rth@redhat.com>
1999
2000 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
2001
2002 2016-01-07 Mike Frysinger <vapier@gentoo.org>
2003
2004 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
2005 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
2006 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2007 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2008 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
2009
2010 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
2011 Joseph Myers <joseph@codesourcery.com>
2012
2013 * timezone/private.h: Update from tzcode 2015g.
2014 * timezone/tzfile.h: Likewise.
2015 * timezone/tzselect.ksh: Likewise.
2016 * timezone/zdump.c: Likewise.
2017 * timezone/zic.c: Likewise.
2018 * timezone/ialloc.c: Remove file.
2019 * timezone/scheck.c: Likewise.
2020 * timezone/Makefile (extra-objs): Remove variable.
2021 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
2022 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
2023 -Wno-maybe-uninitialized.
2024 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
2025 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
2026 (CFLAGS-ialloc.c): Remove variable.
2027 (CFLAGS-scheck.c): Likewise.
2028 * timezone/README: Update list of files from tzcode.
2029
2030 2016-01-07 Khem Raj <raj.khem@gmail.com>
2031
2032 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
2033 instead of __fxprintf when _LIBC is undefined.
2034
2035 2016-01-07 Marko Myllynen <myllynen@redhat.com>
2036
2037 * catgets/test-gencat.sh: Remove space after shebang.
2038 * conform/GlibcConform.pm: Likewise.
2039 * conform/check-header-lists.sh: Likewise.
2040 * conform/conformtest.pl: Likewise.
2041 * conform/linknamespace.pl: Likewise.
2042 * conform/list-header-symbols.pl: Likewise.
2043 * debug/catchsegv.sh: Likewise.
2044 * elf/genrtldtbl.awk: Likewise.
2045 * elf/tst-pathopt.sh: Likewise.
2046 * elf/tst-rtld-load-self.sh: Likewise.
2047 * grp/tst_fgetgrent.sh: Likewise.
2048 * iconvdata/gen-8bit-gap-1.sh: Likewise.
2049 * iconvdata/gen-8bit-gap.sh: Likewise.
2050 * iconvdata/gen-8bit.sh: Likewise.
2051 * iconvdata/run-iconv-test.sh: Likewise.
2052 * intl/tst-gettext.sh: Likewise.
2053 * intl/tst-gettext2.sh: Likewise.
2054 * intl/tst-gettext4.sh: Likewise.
2055 * intl/tst-gettext6.sh: Likewise.
2056 * intl/tst-translit.sh: Likewise.
2057 * io/ftwtest-sh: Likewise.
2058 * libio/test-freopen.sh: Likewise.
2059 * locale/gen-translit.pl: Likewise.
2060 * malloc/tst-mtrace.sh: Likewise.
2061 * manual/check-safety.sh: Likewise.
2062 * manual/libc-texinfo.sh: Likewise.
2063 * manual/tsort.awk: Likewise.
2064 * manual/xtract-typefun.awk: Likewise.
2065 * nptl/tst-cancel-wrappers.sh: Likewise.
2066 * nptl/tst-tls6.sh: Likewise.
2067 * posix/globtest.sh: Likewise.
2068 * posix/tst-getconf.sh: Likewise.
2069 * posix/wordexp-tst.sh: Likewise.
2070 * scripts/check-c++-types.sh: Likewise.
2071 * scripts/check-local-headers.sh: Likewise.
2072 * scripts/config.guess: Likewise.
2073 * scripts/config.sub: Likewise.
2074 * scripts/cpp: Likewise.
2075 * scripts/cross-test-ssh.sh: Likewise.
2076 * scripts/documented.sh: Likewise.
2077 * scripts/evaluate-test.sh: Likewise.
2078 * scripts/gen-libc-abis: Likewise.
2079 * scripts/gen-sorted.awk: Likewise.
2080 * scripts/list-fixed-bugs.py: Likewise.
2081 * scripts/merge-test-results.sh: Likewise.
2082 * scripts/mkinstalldirs: Likewise.
2083 * scripts/rellns-sh: Likewise.
2084 * scripts/test-installation.pl: Likewise.
2085 * scripts/update-copyrights: Likewise.
2086 * stdio-common/tst-printf.sh: Likewise.
2087 * stdio-common/tst-unbputc.sh: Likewise.
2088 * stdlib/tst-fmtmsg.sh: Likewise.
2089 * stdlib/tst-setcontext3.sh: Likewise.
2090 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
2091 * sysdeps/unix/make-syscalls.sh: Likewise.
2092
2093 2016-01-06 John David Anglin <dave.anglin@bell.net>
2094
2095 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
2096 asm stw with atomic_exchange_rel. Add explanatory comment.
2097 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2098 Likewise.
2099
2100 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
2101
2102 [BZ #19122]
2103 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
2104 * sysdeps/generic/dl-unistd.h: New file.
2105 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
2106
2107 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
2108
2109 [BZ #19122]
2110 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
2111 * sysdeps/generic/dl-mman.h: New file.
2112 * sysdeps/mach/hurd/dl-mman.h: Likewise.
2113
2114 2016-01-05 Joseph Myers <joseph@codesourcery.com>
2115
2116 * manual/texinfo.tex: Update to version 2016-01-04.21 with
2117 trailing whitespace removed.
2118 * scripts/config.guess: Update to version 2016-01-01.
2119 * scripts/config.sub: Update to version 2016-01-01.
2120 * scripts/move-if-change: Update from gnulib.
2121
2122 2016-01-04 Anton Blanchard <anton@samba.org>
2123
2124 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
2125 for array indices.
2126 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
2127
2128 2016-01-04 Joseph Myers <joseph@codesourcery.com>
2129
2130 * NEWS: Update copyright dates.
2131 * catgets/gencat.c (print_version): Likewise.
2132 * csu/version.c (banner): Likewise.
2133 * debug/catchsegv.sh: Likewise.
2134 * debug/pcprofiledump.c (print_version): Likewise.
2135 * debug/xtrace.sh (do_version): Likewise.
2136 * elf/ldconfig.c (print_version): Likewise.
2137 * elf/ldd.bash.in: Likewise.
2138 * elf/pldd.c (print_version): Likewise.
2139 * elf/sotruss.sh: Likewise.
2140 * elf/sprof.c (print_version): Likewise.
2141 * iconv/iconv_prog.c (print_version): Likewise.
2142 * iconv/iconvconfig.c (print_version): Likewise.
2143 * locale/programs/locale.c (print_version): Likewise.
2144 * locale/programs/localedef.c (print_version): Likewise.
2145 * login/programs/pt_chown.c (print_version): Likewise.
2146 * malloc/memusage.sh (do_version): Likewise.
2147 * malloc/memusagestat.c (print_version): Likewise.
2148 * malloc/mtrace.pl: Likewise.
2149 * manual/libc.texinfo: Likewise.
2150 * nptl/version.c (banner): Likewise.
2151 * nscd/nscd.c (print_version): Likewise.
2152 * nss/getent.c (print_version): Likewise.
2153 * nss/makedb.c (print_version): Likewise.
2154 * posix/getconf.c (main): Likewise.
2155 * scripts/test-installation.pl: Likewise.
2156 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2157
2158 * All files with FSF copyright notices: Update copyright dates
2159 using scripts/update-copyrights.
2160 * intl/plural.c: Regenerated.
2161 * locale/programs/charmap-kw.h: Likewise.
2162 * locale/programs/locfile-kw.h: Likewise.
2163
2164 2016-01-02 Helge Deller <deller@gmx.de>
2165
2166 [BZ #19285]
2167 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
2168 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
2169 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
2170 (MADV_xxK_PAGES): Remove.
2171
2172 2016-01-01 Mike Frysinger <vapier@gentoo.org>
2173
2174 [BZ #15421]
2175 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
2176 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
2177 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
2178 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
2179
2180 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
2181
2182 [BZ #19408]
2183 * sysdeps/unix/sysv/linux/personality.c: New file.
2184 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
2185 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
2186 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
2187 (sysdep_routines): Add personality.
2188 (tests): Add tst-personality.
2189 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
2190 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
2191 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
2192 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
2193 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
2194 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
2195 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
2196 Likewise.
2197 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
2198 Likewise.
2199 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
2200 Likewise.
2201 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
2202 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
2203 Likewise.
2204
2205 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
2206
2207 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
2208 (PATH_ARM_SYSTYPE): Remove.
2209 (PATH_CPUINFO): Likewise.
2210 (IO_BASE_FOOTBRIDGE): Likewise.
2211 (IO_SHIFT_FOOTBRIDGE): Likewise.
2212 (struct platform): Likewise.
2213 (init_iosys): Remove compatibility code for 2.4 kernels.
2214 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
2215
2216 2015-12-29 Florian Weimer <fweimer@redhat.com>
2217
2218 * malloc/tst-malloc-thread-fail.c: New file.
2219 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
2220 (tst-malloc-thread-fail): Link against libpthread.
2221
2222 2015-12-29 Mike Frysinger <vapier@gentoo.org>
2223
2224 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
2225 (get_parser): New function.
2226 (main): New function.
2227
2228 2015-12-29 Rob Wu <rob@robwu.nl>
2229
2230 [BZ #19369]
2231 * resolv/res_init.c (__res_vinit): Reset defdname before use.
2232
2233 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
2234
2235 [BZ #19270]
2236 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2237
2238 2015-12-28 Mike Frysinger <vapier@gentoo.org>
2239
2240 [BZ #15421]
2241 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
2242
2243 2015-12-23 Torvald Riegel <triegel@redhat.com>
2244
2245 [BZ #13690]
2246 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
2247 after releasing it.
2248 (__lll_robust_unlock): Likewise.
2249 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2250 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
2251 (lll_robust_unlock): Likewise.
2252 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
2253 Prevent warnings in callers.
2254
2255 2015-12-23 Florian Weimer <fweimer@redhat.com>
2256
2257 * malloc/arena.c (list_lock): Update comment.
2258
2259 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2260
2261 * sysdeps/powerpc/hwcapinfo.c: Export symbol
2262 __parse_hwcap_and_convert_at_platform to libc.a.
2263
2264 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2265
2266 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
2267 platform and feature support for POWER9.
2268 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2269 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
2270 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
2271 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
2272 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
2273 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
2274 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
2275 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
2276
2277 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2278
2279 Harmonize generic stdio-lock support with nptl
2280
2281 This fixes build when _IO_funlockfile is a macro, fixes build where
2282 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
2283 stack unwind.
2284
2285 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
2286 _IO_release_lock ): Use cleanup attribute on new
2287 _IO_acquire_lock_file variable instead of assuming that
2288 _IO_release_lock will be called.
2289 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
2290 _IO_acquire_lock_needs_exceptions_enabled.
2291 (_IO_acquire_lock_clear_flags2): New macro.
2292
2293 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2294
2295 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2296
2297 2015-12-21 Florian Weimer <fweimer@redhat.com>
2298
2299 [BZ #19182]
2300 * malloc/arena.c (list_lock): Document lock ordering requirements.
2301 (free_list_lock): New lock.
2302 (ptmalloc_lock_all): Comment on free_list_lock.
2303 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
2304 (detach_arena): Update comment. free_list_lock is now needed.
2305 (_int_new_arena): Use free_list_lock around detach_arena call.
2306 Acquire arena lock after list_lock. Add comment, including FIXME
2307 about incorrect synchronization.
2308 (get_free_list): Switch to free_list_lock.
2309 (reused_arena): Acquire free_list_lock around detach_arena call
2310 and attached threads counter update. Add two FIXMEs about
2311 incorrect synchronization.
2312 (arena_thread_freeres): Switch to free_list_lock.
2313 * malloc/malloc.c (struct malloc_state): Update comments to
2314 mention free_list_lock.
2315
2316 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
2317
2318 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
2319 Remove functions.
2320 (sloww, sloww1): Accept argument to offset quadrant.
2321 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
2322 quadrant.
2323 (__sin, __cos): Consolidate common code into new functions.
2324 (reduce_sincos_1, do_sincos_1): New functions.
2325 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2326
2327 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
2328 code to new functions.
2329 (reduce_sincos_2, do_sincos_2): New functions.
2330 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2331
2332 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
2333 common code for sincos.
2334 (__cos) [!IN_SINCOS]: Likewise.
2335 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
2336 New function.
2337 (__sincos): Use it.
2338
2339 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
2340
2341 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
2342 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
2343 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2344
2345 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
2346
2347 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
2348 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
2349 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2350 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
2351 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2352 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
2353 index_Prefer_No_VZEROUPPER): New feature.
2354 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
2355 Prefer_No_VZEROUPPER for Knights Landing.
2356
2357 015-12-18 Torvald Riegel <triegel@redhat.com>
2358
2359 * math/atest-exp2.c (mp_exp_m1): Remove.
2360
2361 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2362
2363 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
2364 syscalls.
2365 (__SYSCALL0): New macro.
2366 (__SYSCALL1): Likewise.
2367 (__SYSCALL2): Likewise.
2368 (__SYSCALL3): Likewise.
2369 (__SYSCALL4): Likewise.
2370 (__SYSCALL5): Likewise.
2371 (__SYSCALL6): Likewise.
2372 (__SYSCALL_CONCAT_X): Likewise.
2373 (__SYSCALL_CONCAT): Likewise.
2374 (__SYSCALL_DIST): Likewise.
2375 (__SYSCALL_CALL): Likewise.
2376
2377 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
2378
2379 [BZ #19363]
2380 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
2381
2382 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2383
2384 [BZ #19375]
2385 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
2386 negative subnormals.
2387
2388 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
2389
2390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2391 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
2392 (INTERNAL_SYSCALL_NCS): Use it.
2393 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2394
2395 2015-12-16 Florian Weimer <fweimer@redhat.com>
2396
2397 [BZ #19243]
2398 * malloc/arena.c (get_free_list): Remove assert and adjust
2399 reference count handling. Add comment about reused_arena
2400 interaction.
2401 (reused_arena): Add comments abount get_free_list interaction.
2402 * malloc/tst-malloc-thread-exit.c: New file.
2403 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
2404 (tst-malloc-thread-exit): Link against libpthread.
2405
2406 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
2407
2408 [BZ #19367]
2409 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
2410 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
2411 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2412 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
2413 (index_Prefer_MAP_32BIT_EXEC): Likewise.
2414
2415 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
2416
2417 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
2418 Silvermont optimizations for Knights Landing.
2419
2420 2015-12-15 Andreas Schwab <schwab@suse.de>
2421
2422 [BZ #17197]
2423 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
2424 immediately after emitting SI.
2425 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
2426 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
2427 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
2428 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
2429 * iconvdata/bug-iconv10.c: New file.
2430 * iconvdata/Makefile (tests): Add bug-iconv10.
2431 ($(objpfx)bug-iconv10.out): New rule.
2432
2433 2015-12-15 Florian Weimer <fweimer@redhat.com>
2434
2435 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
2436 aliasing violation.
2437
2438 2015-12-14 Joseph Myers <joseph@codesourcery.com>
2439
2440 [BZ #18472]
2441 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
2442 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
2443 conditionals for them.
2444 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
2445 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
2446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2447 sys/kdaemon.h.
2448 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
2449 compat-only syscall, obsoleted in glibc 2.23.
2450 (create_module): Likewise.
2451 (get_kernel_syms): Likewise.
2452 (query_module): Likewise.
2453 (uselib): Likewise.
2454 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
2455
2456 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
2457
2458 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
2459 <linux/version.h>.
2460 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
2461 conditional code.
2462 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
2463 and ioshift_name initialization.
2464
2465 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
2466
2467 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2468 Fix indentation.
2469
2470 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
2471
2472 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
2473
2474 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
2475
2476 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
2477
2478 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
2479 Jakub Wilk <jwilk@debian.org>
2480
2481 [BZ #19347]
2482 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
2483 to change the group of the device to the tty group.
2484
2485 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
2486
2487 Split large string section; add truncation advice
2488 * manual/examples/strncat.c: Remove.
2489 This example was misleading, as the code would have undefined
2490 behavior if "hello" was longer than SIZE. Anyway, the manual
2491 shouldn't encourage strncpy+strncat for this sort of thing.
2492 * manual/string.texi (Copying Strings and Arrays): Split into
2493 three sections Copying Strings and Arrays, Concatenating Strings,
2494 and Truncating Strings, as this section was way too long. All
2495 cross-referenced changed. Add advice about string-truncation
2496 functions. Remove misleading strncat example.
2497
2498 2015-12-10 Carlos O'Donell <carlos@redhat.com>
2499
2500 * manual/nss.texi (NSS Modules Interface): Document
2501 NSS_STATUS_NOTFOUND and SUCCESS.
2502
2503 2015-12-09 Mike FABIAN <mfabian@redhat.com>
2504
2505 [BZ 18568]
2506 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2507 201505L, for Unicode 8.
2508
2509 2015-12-09 Carlos O'Donell <carlos@redhat.com>
2510
2511 * locale/C-translit.h: Regenerate.
2512
2513 2015-12-09 Mike FABIAN <mfabian@redhat.com>
2514
2515 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
2516 and U+0153.
2517
2518 2015-12-09 Joseph Myers <joseph@codesourcery.com>
2519
2520 [BZ #19351]
2521 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
2522 expanding log(1+z), compare z rather than its square with epsilon
2523 to determine when to avoid evaluating the expansion.
2524
2525 [BZ #19350]
2526 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2527 Increase overflow threshold.
2528
2529 [BZ #19349]
2530 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
2531 when small.
2532
2533 * sysdeps/unix/sysv/linux/i386/kernel-features.h
2534 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2535 New macro.
2536 [__LINUX_KERNEL_VERSION >= 0x040300]
2537 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2538 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2539 Likewise.
2540 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2541 Likewise.
2542 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2543 Likewise.
2544 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2545 Likewise.
2546 [__LINUX_KERNEL_VERSION >= 0x040300]
2547 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2548 [__LINUX_KERNEL_VERSION >= 0x040300]
2549 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2550 [__LINUX_KERNEL_VERSION >= 0x040300]
2551 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2552 [__LINUX_KERNEL_VERSION >= 0x040300]
2553 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2554 [__LINUX_KERNEL_VERSION >= 0x040300]
2555 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2556 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2557 Likewise.
2558 [__LINUX_KERNEL_VERSION >= 0x040300]
2559 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2560 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2561 Likewise.
2562 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2563 Likewise.
2564 [__LINUX_KERNEL_VERSION >= 0x040300]
2565 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2566 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2567 Likewise.
2568 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2569 Likewise.
2570 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2571 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
2572 Likewise.
2573 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
2574 Likewise.
2575 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2576 Likewise.
2577 [__LINUX_KERNEL_VERSION >= 0x040300]
2578 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2579 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2580 Likewise.
2581 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2582 Likewise.
2583 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2584 Likewise.
2585 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2586 Likewise.
2587 [__LINUX_KERNEL_VERSION >= 0x040300]
2588 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2589 [__LINUX_KERNEL_VERSION >= 0x040300]
2590 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2591 [__LINUX_KERNEL_VERSION >= 0x040300]
2592 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2593 [__LINUX_KERNEL_VERSION >= 0x040300]
2594 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2595 [__LINUX_KERNEL_VERSION >= 0x040300]
2596 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2597 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2598 Likewise.
2599 [__LINUX_KERNEL_VERSION >= 0x040300]
2600 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2601 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2602 Likewise.
2603 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2604 Likewise.
2605 [__LINUX_KERNEL_VERSION >= 0x040300]
2606 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2607 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2608 Likewise.
2609 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2610 Likewise.
2611 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2612 (__ASSUME_SOCKET_SYSCALL): Likewise.
2613 (__ASSUME_BIND_SYSCALL): Likewise.
2614 (__ASSUME_CONNECT_SYSCALL): Likewise.
2615 (__ASSUME_LISTEN_SYSCALL): Likewise.
2616 (__ASSUME_ACCEPT_SYSCALL): Likewise.
2617 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2618 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2619 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2620 (__ASSUME_SEND_SYSCALL): Likewise.
2621 (__ASSUME_SENDTO_SYSCALL): Likewise.
2622 (__ASSUME_RECV_SYSCALL): Likewise.
2623 (__ASSUME_RECVFROM_SYSCALL): Likewise.
2624 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
2625 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2626 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2627 (__ASSUME_SENDMSG_SYSCALL): Likewise.
2628 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2629 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2630 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
2631 Likewise.
2632 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
2633 Likewise.
2634 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
2635 Likewise.
2636 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
2637 Likewise.
2638 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
2639 Likewise.
2640 [__LINUX_KERNEL_VERSION >= 0x020625]
2641 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2642 [__LINUX_KERNEL_VERSION >= 0x020625]
2643 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2644 [__LINUX_KERNEL_VERSION >= 0x020625]
2645 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2646 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
2647 Likewise.
2648 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
2649 Likewise.
2650 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
2651 Likewise.
2652 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
2653 Likewise.
2654 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
2655 Likewise.
2656 [__LINUX_KERNEL_VERSION >= 0x020625]
2657 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2658 [__LINUX_KERNEL_VERSION >= 0x020625]
2659 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2660 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
2661 Likewise.
2662 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
2663 Likewise.
2664
2665 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
2666
2667 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
2668 record the current if the current ABI and CPU support the FP64
2669 extension.
2670 (has-modd-spreg): Define to record the current if the current ABI and
2671 CPU support 32-bit floating point values in odd FPU registers.
2672 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2673 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
2674 $(has-modd-spreg) equals yes.
2675 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
2676 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
2677 $(has-modd-spreg) equal yes.
2678
2679 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
2680
2681 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
2682 basename.
2683
2684 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
2685
2686 * benchtests/Makefile (bench-math): Move ffs and ffsll...
2687 (bench-string): ... here.
2688 (bench): Add bench-string.
2689 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
2690 to *-benchset to reflect what they are.
2691 (benchset): Adjust.
2692
2693 * benchtests/sincos-inputs: Add inputs from sin-inputs and
2694 cos-inputs.
2695
2696 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
2697
2698 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
2699 __attribute__ ((__simd__)) for vector math function declarations.
2700
2701 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
2702
2703 Fix typo in strncat, wcsncat manual entries
2704 * manual/string.texi (Copying and Concatenation): Fix typos in
2705 sample implementations of strncat and wcsncat, by having them use
2706 the old value of the destination length, not the new one.
2707
2708 2015-12-04 Joseph Myers <joseph@codesourcery.com>
2709
2710 [BZ #16961]
2711 [BZ #16962]
2712 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
2713 string on the stack for strtod.
2714 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
2715 a string on the stack for strtof.
2716 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
2717 constructing a string on the stack for strtold.
2718 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
2719 __strtold_nan to GLIBC_PRIVATE.
2720 * math/test-nan-overflow.c: New file.
2721 * math/test-nan-payload.c: Likewise.
2722 * math/Makefile (tests): Add test-nan-overflow and
2723 test-nan-payload.
2724
2725 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
2726
2727 Consistency about byte vs character in string.texi
2728 * manual/string.texi (String and Array Utilities):
2729 Distinguish more carefully among bytes, multibyte characters,
2730 and wide characters. Use "byte" when talking about C 'char',
2731 to distinguish it more clearly from multibyte characters.
2732 Say "wide character" or "multibyte character" instead of
2733 "character", when a wide or multibyte character is intended.
2734 Similarly for "multibyte string" versus "string".
2735 Define these terms more carefully.
2736
2737 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
2738
2739 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
2740 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
2741 Likewise.
2742 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2743 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2744 * sysdeps/sh/math_private.h: New file.
2745 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
2746 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
2747 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
2748 long double function name.
2749 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2750 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2751 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2752 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2753 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2755 Remove __finitel, __isinfl, and __isnanl.
2756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2757 Likewise.
2758 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2760 Remove __finitel.
2761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2762 Likewise.
2763 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2764
2765 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
2766
2767 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
2768 installed libmvec_nonshared.a.
2769
2770 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2771
2772 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
2773 (sysdep_routines): Likewise.
2774 (sysdep-rtld-routines): Likewise.
2775 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
2776 [$(subdir) = nptl](tests-static): test-get_hwcap-static
2777 * sysdeps/powerpc/Versions: Added new
2778 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
2779 * sysdeps/powerpc/hwcapinfo.c: New file.
2780 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
2781 and parse hwcap, hwcap2 and platform number information.
2782 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
2783 to store HWCAP+HWCAP2 and platform number.
2784 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
2785 for HWCAP+HWCAP2 and platform number in the TCB.
2786 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
2787 the HWCAP, HWCAP2 and platform number in the TCB.
2788 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
2789 (TLS_INIT_TP): Included calls to add the hwcap and
2790 at_platform values in the TCB in TP initialization.
2791 (TLS_DEFINE_INIT_TP): Likewise.
2792 (THREAD_GET_HWCAP): New macro.
2793 (THREAD_SET_HWCAP): Likewise.
2794 (THREAD_GET_AT_PLATFORM): Likewise.
2795 (THREAD_SET_AT_PLATFORM): Likewise.
2796 * sysdeps/powerpc/powerpc32/dl-machine.h:
2797 (dl_platform_init): New function that calls
2798 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
2799 powerpc32.
2800 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
2801 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
2802 this functionality, static linking case.
2803 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
2804 linking case.
2805 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
2806 __parse_hwcap_and_convert_at_platform for the static linking case.
2807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
2808 Included the new __parse_hwcap_and_convert_at_platform symbol in the
2809 ABI list for GLIBC 2.23.
2810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
2811 Likewise.
2812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
2813 Likewise.
2814
2815 2015-12-02 Ludovic Courtès <ludo@gnu.org>
2816
2817 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
2818 * configure: Regenerate.
2819 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
2820 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
2821
2822 2015-12-02 Carlos O'Donell <carlos@redhat.com>
2823
2824 * iconvdata/ibm930.c: Add comment explaining encoding uses.
2825 * iconvdata/ibm933.c: Likewise.
2826 * iconvdata/ibm935.c: Likewise.
2827 * iconvdata/ibm937.c: Likewise.
2828 * iconvdata/ibm939.c: Likewise.
2829
2830 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2831
2832 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
2833 pthread_join.
2834 * nptl/tst-cancel21.c (tf): Likewise.
2835
2836 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
2837
2838 [BZ #19313]
2839 * bits/typesizes.h (__CPU_MASK_TYPE): New.
2840 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2841 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2842 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
2843 Likewise.
2844 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
2845 Likewise.
2846 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
2847 Likewise.
2848 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
2849 Likewise.
2850 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
2851 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
2852 unsigned long int with __CPU_MASK_TYPE.
2853
2854 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2855
2856 * sysdeps/aarch64/libm-test-ulps: Regenerated.
2857
2858 2015-12-01 Joseph Myers <joseph@codesourcery.com>
2859
2860 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
2861 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
2862 t512.x.
2863 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
2864
2865 2015-11-30 Amit Pawar <amit.pawar@amd.com>
2866
2867 [BZ #19214]
2868 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
2869 argument to return extended model. Update family and model
2870 with extended family and model when family == 0x0f.
2871 (init_cpu_features): Updated.
2872
2873 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2874
2875 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
2876 signed off_t, so 32bit bigger than 2GiB values are fine actually.
2877
2878 * sysdeps/mach/hurd/mmap64.c: New file.
2879
2880 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
2881
2882 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
2883 rights for its main user thread in NEWTASK.
2884
2885 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
2886
2887 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
2888 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
2889
2890 2015-11-27 Carlos O'Donell <carlos@redhat.com>
2891
2892 [BZ #14259]
2893 * Makeconfig: Rename localedir to complocaledir.
2894 Rename inst_localedir to inst_complocaledir.
2895 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
2896 * config.make.in: Use complocaledir and libc_cv_complocaledir.
2897 * configure.ac: Use libc_cv_complocaledir.
2898 * configure: Regenerate.
2899 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
2900 -DCOMPLOCALEDIR.
2901 * locale/findlocale.c: Use COMPLOCALEDIR.
2902 * locale/loadarchive.c: Likewise.
2903 * locale/programs/locale.c: Likewise.
2904 * locale/programs/localedef.c: Likewise.
2905 * locale/programs/locarchive.c: Likewise.
2906 * localedata/Makefile: Use inst_complocaledir.
2907 * sysdeps/gnu/configure: Regenerate.
2908 * sysdeps/hppa/configure: Regenerate.
2909 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
2910 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2912 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
2913 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
2914 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
2915 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
2916
2917 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
2918
2919 [BZ #19058]
2920 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
2921 AS_NEEDED.
2922 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
2923 workaround.
2924 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
2925 libmvec-static-only-routines): Added new file.
2926 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
2927
2928 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
2929
2930 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
2931 of interrupted RPC instead of restoring it.
2932
2933 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
2934 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
2935 libc_hidden_def.
2936 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
2937 into initialized data instead of common. Define rtld_hidden_data_def.
2938 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
2939 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
2940 libc_hidden_def.
2941 (if_freenameindex): Add libc_hidden_weak.
2942 (if_nameindex): Add libc_hidden_weak.
2943 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
2944 __open64.
2945 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
2946 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
2947 * sysdeps/mach/nanosleep.c: Include <time.h>
2948 (__nanosleep): Rename to __libc_nanosleep.
2949 (__nanosleep): Add weak_alias.
2950 (nanosleep): Update alias.
2951
2952 2015-11-24 Joseph Myers <joseph@codesourcery.com>
2953
2954 * stdlib/strtod_nan.c: New file.
2955 * stdlib/strtod_nan_double.h: Likewise.
2956 * stdlib/strtod_nan_float.h: Likewise.
2957 * stdlib/strtod_nan_main.c: Likewise.
2958 * stdlib/strtod_nan_narrow.h: Likewise.
2959 * stdlib/strtod_nan_wide.h: Likewise.
2960 * stdlib/strtof_nan.c: Likewise.
2961 * stdlib/strtold_nan.c: Likewise.
2962 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
2963 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
2964 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
2965 * wcsmbs/wcstod_nan.c: Likewise.
2966 * wcsmbs/wcstof_nan.c: Likewise.
2967 * wcsmbs/wcstold_nan.c: Likewise.
2968 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
2969 strtold_nan.
2970 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
2971 wcstof_nan.
2972 * include/stdlib.h (__strtof_nan): Declare and use
2973 libc_hidden_proto.
2974 (__strtod_nan): Likewise.
2975 (__strtold_nan): Likewise.
2976 (__wcstof_nan): Likewise.
2977 (__wcstod_nan): Likewise.
2978 (__wcstold_nan): Likewise.
2979 * include/wchar.h (____wcstoull_l_internal): Declare.
2980 * stdlib/strtod_l.c: Do not include <ieee754.h>.
2981 (____strtoull_l_internal): Remove declaration.
2982 (STRTOF_NAN): Define macro.
2983 (SET_MANTISSA): Remove macro.
2984 (STRTOULL): Likewise.
2985 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
2986 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
2987 (STRTOF_NAN): Define macro.
2988 (SET_MANTISSA): Remove macro.
2989 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
2990 (SET_MANTISSA): Remove macro.
2991 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
2992 macro.
2993 (SET_MANTISSA): Remove macro.
2994 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
2995 macro.
2996 (SET_MANTISSA): Remove macro.
2997 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
2998 (SET_MANTISSA): Remove macro.
2999 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
3000 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
3001 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
3002
3003 [BZ #19266]
3004 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
3005 upper case and lower case letters inside NAN(), not using TOLOWER.
3006 * stdlib/tst-strtod-nan-locale-main.c: New file.
3007 * stdlib/tst-strtod-nan-locale.c: Likewise.
3008 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
3009 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
3010 Depend on $(gen-locales).
3011 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
3012 * wcsmbs/tst-wcstod-nan-locale.c: New file.
3013 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
3014 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
3015 Depend on $(gen-locales).
3016 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
3017
3018 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
3019
3020 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
3021
3022 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
3024 __finitel, __isinfl, and __isnanl.
3025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3026 Likewise.
3027 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
3029 __finitel.
3030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3031 Likewise.
3032 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3033
3034 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
3035
3036 * malloc/memusage.c (me): Remove redundant getenv call.
3037
3038 2015-10-24 Florian Weimer <fweimer@redhat.com>
3039
3040 [BZ #19143]
3041 [BZ #19164]
3042 * nptl/check-cpuset.h: Remove.
3043 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
3044 Remove CPU set size check.
3045 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
3046 Likewise.
3047 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
3048 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3049 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
3050 (__pthread_setaffinity_new): Remove CPU set size check.
3051 * sysdeps/unix/sysv/linux/sched_setaffinity.c
3052 (__kernel_cpumask_size): Remove.
3053 (__sched_setaffinity_new): Remove CPU set size check.
3054 * manual/threads.texi (Default Thread Attributes): Remove stale
3055 reference to check_cpuset_attr, determine_cpumask_size in comment.
3056 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
3057 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
3058 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
3059 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
3060 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
3061 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
3062 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
3063 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
3064 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
3065 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
3066 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
3067 skeleton test file.
3068 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
3069 tst-affinity-pid.
3070
3071 2015-11-24 Florian Weimer <fweimer@redhat.com>
3072
3073 * scripts/update-abilist.sh: New file.
3074 * Makefile (+subdir_targets): Add subdir_update-all-abi.
3075 * Makerules (update-all-abi-%, update-all-abi)
3076 (subdir_update-all-abi): New targets.
3077 * elf/Makefile (update-all-abi): New target.
3078
3079 2015-11-24 Florian Weimer <fweimer@redhat.com>
3080
3081 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
3082 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
3083 (__libc_lock_define_initialized): Use it.
3084 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
3085 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
3086 * malloc/malloc.c (main_arena): Likewise.
3087 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3088 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3089
3090 2015-11-23 Joseph Myers <joseph@codesourcery.com>
3091
3092 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3093 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
3094 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3095 (PTRACE_O_MASK): Update value.
3096 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
3097 New value in enum __ptrace_setoptions.
3098 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3099 (PTRACE_O_MASK): Update value.
3100 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3101 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3102 (PTRACE_O_MASK): Update value.
3103 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
3104 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3105 (PTRACE_O_MASK): Update value.
3106 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
3107 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3108 (PTRACE_O_MASK): Update value.
3109 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
3110 New value in enum __ptrace_setoptions.
3111 (PTRACE_O_MASK): Update value.
3112 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
3113 New value in enum __ptrace_setoptions.
3114 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3115 (PTRACE_O_MASK): Update value.
3116
3117 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
3118 New macro.
3119 (PACKET_AUXDATA): Likewise.
3120 (PACKET_ORIGDEV): Likewise.
3121 (PACKET_VERSION): Likewise.
3122 (PACKET_HDRLEN): Likewise.
3123 (PACKET_RESERVE): Likewise.
3124 (PACKET_TX_RING): Likewise.
3125 (PACKET_LOSS): Likewise.
3126 (PACKET_VNET_HDR): Likewise.
3127 (PACKET_TX_TIMESTAMP): Likewise.
3128 (PACKET_TIMESTAMP): Likewise.
3129 (PACKET_FANOUT): Likewise.
3130 (PACKET_TX_HAS_OFF): Likewise.
3131 (PACKET_QDISC_BYPASS): Likewise.
3132 (PACKET_ROLLOVER_STATS): Likewise.
3133 (PACKET_FANOUT_DATA): Likewise.
3134 (PACKET_MR_UNICAST): Likewise.
3135
3136 [BZ #19242]
3137 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
3138 (TOUPPER): Likewise.
3139 * stdlib/tst-strtol-locale-main.c: New file.
3140 * stdlib/tst-strtol-locale.c: Likewise.
3141 * stdlib/Makefile (tests): Add tst-strtol-locale.
3142 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
3143 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
3144 Depend on $(gen-locales).
3145 * wcsmbs/tst-wcstol-locale.c: New file.
3146 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
3147 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
3148 tr_TR.ISO-8859-9.
3149 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
3150 Depend on $(gen-locales).
3151
3152 2015-11-20 Roland McGrath <roland@hack.frob.com>
3153
3154 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
3155 __glibc_likely instead of __builtin_expect. After falling back to
3156 dyncode_create in a non-ET_DYN case, use the allocate_code_data
3157 system interface to register the code pages as occupied.
3158
3159 2015-11-20 Joseph Myers <joseph@codesourcery.com>
3160
3161 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3162 [!ARM_MATH_PRIVATE_H].
3163 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
3164 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3165 [!HPPA_MATH_PRIVATE_H].
3166 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
3167 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
3168 to [!I386_MATH_PRIVATE_H].
3169 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
3170 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
3171 Change guard to [!M68K_MATH_PRIVATE_H].
3172 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
3173 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
3174 guard to [!MICROBLAZE_MATH_PRIVATE_H].
3175 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
3176 macro.
3177 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3178 [!MIPS_MATH_PRIVATE_H].
3179 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
3180 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3181 [!NIO2_MATH_PRIVATE_H].
3182 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
3183 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3184 [!TILE_MATH_PRIVATE_H].
3185 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
3186
3187 [BZ #15421]
3188 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
3189 initialize with 0 and define as weak alias of __signgam.
3190 * include/math.h [!_ISOMAC] (__signgam): Declare.
3191 * math/Makefile (libm-calls): Add w_lgamma_compat.
3192 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
3193 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
3194 test-signgam-ullong-init.
3195 (tests-static): Add test-signgam-uchar-static,
3196 test-signgam-uchar-init-static, test-signgam-uint-static,
3197 test-signgam-uint-init-static, test-signgam-ullong-static and
3198 test-signgam-ullong-init-static.
3199 (CFLAGS-test-signgam-uchar.c): New variable.
3200 (CFLAGS-test-signgam-uchar-init.c): Likewise.
3201 (CFLAGS-test-signgam-uchar-static.c): Likewise.
3202 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
3203 (CFLAGS-test-signgam-uint.c): Likewise.
3204 (CFLAGS-test-signgam-uint-init.c): Likewise.
3205 (CFLAGS-test-signgam-uint-static.c): Likewise.
3206 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
3207 (CFLAGS-test-signgam-ullong.c): Likewise.
3208 (CFLAGS-test-signgam-ullong-init.c): Likewise.
3209 (CFLAGS-test-signgam-ullong-static.c): Likewise.
3210 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
3211 * math/Versions (libm): Add GLIBC_2.23.
3212 * math/lgamma-compat.h: New file.
3213 * math/test-signgam-main.c: Likewise.
3214 * math/test-signgam-uchar-init-static.c: Likewise.
3215 * math/test-signgam-uchar-init.c: Likewise.
3216 * math/test-signgam-uchar-static.c: Likewise.
3217 * math/test-signgam-uchar.c: Likewise.
3218 * math/test-signgam-uint-init-static.c: Likewise.
3219 * math/test-signgam-uint-init.c: Likewise.
3220 * math/test-signgam-uint-static.c: Likewise.
3221 * math/test-signgam-uint.c: Likewise.
3222 * math/test-signgam-ullong-init-static.c: Likewise.
3223 * math/test-signgam-ullong-init.c: Likewise.
3224 * math/test-signgam-ullong-static.c: Likewise.
3225 * math/test-signgam-ullong.c: Likewise.
3226 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
3227 wrapper of w_lgamma_main.c.
3228 * math/w_lgamma_compat.c: New file.
3229 * math/w_lgamma_compatf.c: Likewise.
3230 * math/w_lgamma_compatl.c: Likewise.
3231 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
3232 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
3233 defining compatibility symbols.
3234 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
3235 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
3236 wrapper of w_lgammaf_main.c.
3237 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
3238 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
3239 defining compatibility symbols.
3240 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
3241 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
3242 wrapper of w_lgammal_main.c.
3243 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
3244 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
3245 defining compatibility symbols.
3246 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
3247 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
3248 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
3249 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
3250 <lgamma-compat.h>.
3251 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
3252 (__ieee754_gamma): Define as alias.
3253 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
3254 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
3255 <lgamma-compat.h>.
3256 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
3257 (__ieee754_gammaf): Define as alias.
3258 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
3259 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
3260 <lgamma-compat.h>.
3261 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
3262 (__ieee754_gammal): Define as alias.
3263 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
3264 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
3265 <math/w_lgamma_compat.c>.
3266 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
3267 Define as alias of __lgamma_compat and use in defining lgammal.
3268 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
3269 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
3270 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
3271 (USE_AS_COMPAT): New macro.
3272 (LGAMMA_OLD_VER): Undefine and redefine.
3273 (lgammal): Do not define here.
3274 (gammal): Only define here if [GAMMA_ALIAS].
3275 * conform/linknamespace.pl (@whitelist): Remove signgam.
3276 * sysdeps/nacl/libm.abilist: Update.
3277 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3278 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3279 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3280 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3281 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3282 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3283 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3284 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3285 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3286 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3287 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3288 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3290 Likewise.
3291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3292 Likewise.
3293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3294 Likewise.
3295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3296 Likewise.
3297 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3298 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3299 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3300 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3301 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3303 Likewise.
3304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3305 Likewise.
3306 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3307 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3308 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3309
3310 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3311
3312 [BZ #16364]
3313 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
3314 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
3315
3316 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3317
3318 * sysdeps/s390/fpu/bits/mathinline.h:
3319 Use __asm__ [__volatile__] instead of asm [volatile].
3320 * sysdeps/s390/abort-instr.h: Likewise.
3321 * sysdeps/s390/atomic-machine.h: Likewise.
3322 * sysdeps/s390/bits/string.h: Likewise.
3323 * sysdeps/s390/dl-tls.h: Likewise.
3324 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3325 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3326 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3327 * sysdeps/s390/fpu/fesetround.c: Likewise.
3328 * sysdeps/s390/fpu/fpu_control.h: Likewise.
3329 * sysdeps/s390/fpu/s_fma.c: Likewise.
3330 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
3331 * sysdeps/s390/memusage.h: Likewise.
3332 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
3333 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3334 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3335 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3336 * sysdeps/s390/nptl/tls.h: Likewise.
3337 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
3338 * sysdeps/s390/s390-32/backtrace.c: Likewise.
3339 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3340 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3341 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3342 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3343 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
3344 * sysdeps/s390/s390-64/backtrace.c: Likewise.
3345 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3346 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
3347 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3348 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3349 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3350 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
3351 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3352 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3353 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
3354 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3355 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
3356 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3357 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
3358 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3359 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
3360
3361 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3362 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3363
3364 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3365 Add lwarx hint, and use macro for acquire instruction.
3366 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3367 Likewise.
3368 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
3369 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
3370 update to use new atomic macros.
3371
3372 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3373
3374 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3375 (__lll_trylock_elision): Fix setting of adapt_count.
3376 * sysdeps/unix/sysv/linux/powerpc/htm.h
3377 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
3378 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
3379 (_ABORT_SYSCALL): Renumber, and clarify definition.
3380 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
3381
3382 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3383
3384 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
3385 after system headers to prevent MIN/MAX redefinition. Define
3386 HAVE_ALLOCA to preserve builtin alloca usage.
3387
3388 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
3389
3390 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
3391 static and don't set or restore rounding.
3392 (__cos)[IN_SINCOS]: Likewise.
3393 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
3394 (__sincos): Set and restore rounding mode. Remove check for infinite
3395 or NaN input.
3396
3397 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
3398
3399 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
3400 as used.
3401
3402 2015-11-16 Florian Weimer <fweimer@redhat.com>
3403
3404 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
3405
3406 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
3407
3408 * config.make.in (have-glob-dat-reloc): New.
3409 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
3410 target supports GLOB_DAT relocaton. AC_SUBST.
3411 * configure: Regenerated.
3412 * elf/Makefile (tests): Add tst-prelink.
3413 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3414 (tst-prelink-ENV): New.
3415 ($(objpfx)tst-prelink-conflict.out): Likewise.
3416 ($(objpfx)tst-prelink-cmp.out): Likewise.
3417 * sysdeps/x86/tst-prelink.c: Moved to ...
3418 * elf/tst-prelink.c: Here.
3419 * sysdeps/x86/tst-prelink.exp: Moved to ...
3420 * elf/tst-prelink.exp: Here.
3421 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
3422 (tst-prelink-ENV): Removed.
3423 ($(objpfx)tst-prelink-conflict.out): Likewise.
3424 ($(objpfx)tst-prelink-cmp.out): Likewise.
3425 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
3426
3427 2015-11-13 Joseph Myers <joseph@codesourcery.com>
3428
3429 [BZ #14551]
3430 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
3431 (__mpn_construct_long_double): If high part overflows to infinity,
3432 set errno and recompute overflowed result of the correct sign.
3433 * sysdeps/ieee754/ldbl-128ibm/Makefile
3434 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
3435 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
3436 $(libm).
3437 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
3438
3439 2015-11-12 Joseph Myers <joseph@codesourcery.com>
3440
3441 [BZ #15479]
3442 [BZ #19238]
3443 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
3444 floating-point state after first operation on input. Restore full
3445 state rather than just rounding mode.
3446 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3447 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3448 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3449
3450 [BZ #19235]
3451 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
3452 add 0.5 to integer arguments.
3453 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
3454 Likewise.
3455 (.LC2): New object.
3456
3457 2015-11-11 Mike Frysinger <vapier@gentoo.org>
3458
3459 * scripts/pylintrc (reports): Set to no.
3460
3461 2015-11-10 Roland McGrath <roland@hack.frob.com>
3462
3463 * elf/dl-load.c (open_verify): Take new argument FD.
3464 Skip __open call if passed FD is not -1.
3465 (_dl_map_object, open_path): Update callers.
3466 * elf/dl-sysdep-open.h: New file.
3467 * elf/dl-load.c: Include it.
3468 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
3469 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
3470 * sysdeps/nacl/dl-sysdep-open.h: New file.
3471 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
3472 from libc to rtld.
3473
3474 2015-11-10 Joseph Myers <joseph@codesourcery.com>
3475
3476 [BZ #19228]
3477 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
3478 and restore full floating-point state.
3479 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3480 Likewise.
3481 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3482 Likewise.
3483 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3484 Likewise.
3485 * math/test-nearbyint-except-2.c: New file.
3486 * math/Makefile (tests): Add test-nearbyint-except-2.
3487
3488 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
3489
3490 [BZ #19178]
3491 * sysdeps/x86/Makefile (tests): Add tst-prelink.
3492 (tst-prelink-ENV): New.
3493 ($(objpfx)tst-prelink-conflict.out): Likewise.
3494 ($(objpfx)tst-prelink-cmp.out): Likewise.
3495 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3496 * sysdeps/x86/tst-prelink.c: New file.
3497 * sysdeps/x86/tst-prelink.exp: Likewise.
3498
3499 2015-11-10 Joseph Myers <joseph@codesourcery.com>
3500
3501 * math/auto-libm-test-in: Add another test of pow.
3502 * math/auto-libm-test-out: Regenerated.
3503 * math/libm-test.inc (pow_test_data): Add another test.
3504
3505 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3506
3507 [BZ #19219]
3508 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
3509 weak_alias to nearbyintl.
3510
3511 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
3512
3513 * sysdeps/aarch64/bits/string.h: New file.
3514 (_STRING_ARCH_unaligned): Define.
3515
3516 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
3517
3518 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
3519 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3520 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3521 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
3522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
3523
3524 2015-11-09 Ulrich Drepper <drepper@gmail.com>
3525
3526 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
3527 for original name of the DSO. Add it to the name list of the DSO
3528 if it is actually given.
3529 (_dl_map_object): Keep track of whether an audit module rewrote
3530 the file name. If yes, pass the original name to
3531 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
3532 debugging is enabled, log the change of the file name.
3533 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
3534 _dl_map_object_from_fd.
3535 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
3536 * elf/tst-audit11.c: New file
3537 * elf/tst-auditmod11.c: New file.
3538 * elf/tst-audit11mod1.c: New file.
3539 * elf/tst-audit11mod2.c: New file.
3540 * elf/tst-audit11mod2.map: New file.
3541 * elf/tst-audit12.c: New file
3542 * elf/tst-auditmod12.c: New file.
3543 * elf/tst-audit12mod1.c: New file.
3544 * elf/tst-audit12mod2.c: New file.
3545 * elf/tst-audit12mod2.map: New file.
3546 * elf/tst-audit12mod3.c: New file.
3547
3548 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
3549
3550 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
3551 Don't create weak aliases,
3552 because versioned symbols are created later.
3553 * sysdeps/s390/s390-32/setjmp.S
3554 (setjmp, _setjmp): Remove weak and rename to an unique name
3555 in SHARED case due to existing versioned symbols.
3556 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3557 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
3558 (getcontext): Create weak alias only in non SHARED case.
3559 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3560
3561 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
3562
3563 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
3564 (__ASSUME_*_SYSCALL) Define new macros.
3565 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
3566 Remove socketcall syscalls.
3567 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
3568 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
3569 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
3570 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
3571 * sysdeps/unix/sysv/linux/send.c (__libc_send):
3572 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
3573
3574 2015-11-09 Florian Weimer <fweimer@redhat.com>
3575
3576 [BZ #12926]
3577 Terminate process on invalid netlink response.
3578 * sysdeps/unix/sysv/linux/netlinkaccess.h
3579 (__netlink_assert_response): Declare.
3580 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
3581 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
3582 (sysdep_routines): Add netlink_assert_response.
3583 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
3584 __netlink_assert_response.
3585 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3586 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3587 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
3588 __netlink_assert_response.
3589
3590 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
3591
3592 [BZ #19178]
3593 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
3594 (RTYPE_CLASS_PLT): Likewise.
3595 (RTYPE_CLASS_COPY): Likewise.
3596 (RTYPE_CLASS_TLS): Likewise.
3597 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
3598 to set relocation type class for DL_DEBUG_PRELINK. Keep only
3599 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
3600 DL_DEBUG_PRELINK.
3601
3602 2015-11-06 Joseph Myers <joseph@codesourcery.com>
3603
3604 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
3605 calls with argument -0.5.
3606 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
3607
3608 * configure.ac (libc_cv_z_nodelete): Remove configure test.
3609 (libc_cv_z_nodlopen): Likewise.
3610 (libc_cv_z_initfirst): Likewise.
3611 * configure: Regenerated.
3612
3613 2015-11-06 Florian Weimer <fweimer@redhat.com>
3614
3615 Simplify abilist format to be line-based.
3616 * scripts/abilist.awk: Collect descriptors in the descs variable.
3617 (emit): Write descs variable and sort it
3618 externally, with sort.
3619 * sysdeps/**/*.abilist: Convert to new format.
3620
3621 2015-11-06 Mark Wielaard <mjw@redhat.com>
3622
3623 [BZ #11460]
3624 * io/Makefile (routines): Add fts64.
3625 (tests): Add tst-fts and tst-fts-lfs.
3626 (CFLAGS-fts64.c): New.
3627 * io/Versions (GLIBC_2.23): New.
3628 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
3629 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
3630 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
3631 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
3632 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
3633 (FTSENT64): Likewise.
3634 (fts64_children): Likewise.
3635 (fts64_close): Likewise.
3636 (fts64_open): Likewise.
3637 (fts64_read): Likewise.
3638 (fts64_set): Likewise.
3639 * io/fts64.c: New file.
3640 * io/tst-fts.c: New test.
3641 * io/tst-fts-lfs.c: Likewise.
3642 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
3643 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
3644 fts64_set.
3645 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3646 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3647 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3648 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3649 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3650 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3651 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3652 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3653 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3654 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3655 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3656 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3657 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3659 Likewise.
3660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3661 Likewise.
3662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3664 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3665 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3666 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3667 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3668 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3671 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3672 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3673 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3674 * sysdeps/wordsize-64/fts.c: New file.
3675 * sysdeps/wordsize-64/fts64.c: Likewise.
3676 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
3677 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
3678 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
3679 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
3680
3681 2015-11-05 Joseph Myers <joseph@codesourcery.com>
3682
3683 * math/libm-test.inc (NON_FINITE): New macro.
3684 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
3685 * math/gen-libm-test.pl (show_exceptions): Add argument
3686 $non_finite.
3687 (parse_args): Update call to show_exceptions.
3688 * math/test-math-finite.h: New file.
3689 * math/test-math-no-finite.h: Likewise.
3690 * math/test-double-finite.c: Likewise.
3691 * math/test-float-finite.c: Likewise.
3692 * math/test-ldouble-finite.c: Likewise.
3693 * math/test-double.c: Include "test-math-no-finite.h".
3694 * math/test-float.c: Include "test-math-no-finite.h".
3695 * math/test-ldouble.c: Include "test-math-no-finite.h".
3696 * math/test-math-inline.h (TEST_FINITE): New macro.
3697 * math/test-math-vector.h (TEST_FINITE): Likewise.
3698 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
3699 (libm-tests): Add test-float-finite and test-double-finite.
3700 ($(objpfx)test-float-finite.o): New dependency on
3701 $(objpfx)libm-test.stmp.
3702 ($(objpfx)test-double-finite.o): Likewise.
3703 ($(objpfx)test-ldouble-finite.o): Likewise.
3704 (libm-test-no-inline-cflags): New variable.
3705 (libm-test-finite-cflags): Likewise.
3706 (CFLAGS-test-float-finite.c): Likewise.
3707 (CFLAGS-test-double-finite.c): Likewise.
3708 (CFLAGS-test-ldouble-finite.c): Likewise.
3709 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
3710 (CFLAGS-test-double.c): Likewise.
3711 (CFLAGS-test-ldouble.c): Likewise.
3712
3713 2015-11-05 Roland McGrath <roland@hack.frob.com>
3714
3715 * io/fcntl.c (__fcntl): Add ... to prototype.
3716 * misc/ioctl.c (__ioctl): Likewise.
3717 * misc/syscall.c (syscall): Likewise.
3718
3719 2015-11-05 Joseph Myers <joseph@codesourcery.com>
3720
3721 * scripts/list-fixed-bugs.py: New file.
3722
3723 [BZ #19213]
3724 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
3725 returned for argument 1.
3726 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
3727 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
3728 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
3729 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
3730 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
3731 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
3732
3733 [BZ #19211]
3734 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
3735 __USE_XOPEN], not if [!__USE_ISOC99].
3736 (lgammaf): Likewise.
3737 (lgammal): Likewise.
3738 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
3739 (gammaf): Likewise.
3740 (gammal): Likewise.
3741 * math/test-signgam-finite-c11.c: New file.
3742 * math/test-signgam-finite-c99.c: Likewise.
3743 * math/test-signgam-finite.c: Likewise.
3744 * math/Makefile (tests): Add test-signgam-finite,
3745 test-signgam-finite-c99 and test-signgam-finite-c11.
3746 (CFLAGS-test-signgam-finite.c): New variable.
3747 (CFLAGS-test-signgam-finite-c99.c): Likewise.
3748 (CFLAGS-test-signgam-finite-c11.c): Likewise.
3749
3750 [BZ #19212]
3751 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
3752 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
3753 500].
3754 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
3755 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
3756 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
3757 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
3758 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
3759 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
3760 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
3761 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
3762 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
3763 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
3764
3765 [BZ #19209]
3766 * math/bits/math-finite.h (ldexp): Remove declaration.
3767 (ldexpf): Likewise.
3768 (ldexpl): Likewise.
3769
3770 [BZ #19205]
3771 * math/bits/math-finite.h (acosf): Condition declaration on
3772 [__USE_ISOC99].
3773 (acosl): Likewise.
3774 (acoshf): Likewise.
3775 (acoshl): Likewise.
3776 (asinf): Likewise.
3777 (asinl): Likewise.
3778 (atan2f): Likewise.
3779 (atan2l): Likewise.
3780 (atanhf): Likewise.
3781 (atanhl): Likewise.
3782 (coshf): Likewise.
3783 (coshl): Likewise.
3784 (expf): Likewise.
3785 (expl): Likewise.
3786 (fmodf): Likewise.
3787 (fmodl): Likewise.
3788 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
3789 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
3790 (j0l): Likewise.
3791 (y0f): Likewise.
3792 (y0l): Likewise.
3793 (j1f): Likewise.
3794 (j1l): Likewise.
3795 (y1f): Likewise.
3796 (y1l): Likewise.
3797 (jnf): Likewise.
3798 (jnl): Likewise.
3799 (ynf): Likewise.
3800 (ynl): Likewise.
3801 (lgammaf_r): Condition declaration on [__USE_ISOC99].
3802 (lgammal_r): Likewise.
3803 (__lgamma_r_finite): New declaration.
3804 (__lgammaf_r_finite): Likewise.
3805 (__lgammal_r_finite): Likewise.
3806 (lgamma): Use __lgamma_r_finite.
3807 (lgammaf): Condition definition on [__USE_ISOC99]. Use
3808 __lgammaf_r_finite.
3809 (lgammal): Condition definition on [__USE_ISOC99]. Use
3810 __lgammal_r_finite.
3811 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
3812 __lgamma_r_finite.
3813 (gammaf): Condition definition on [__USE_ISOC99]. Use
3814 __lgammaf_r_finite.
3815 (gammal): Condition definition on [__USE_ISOC99]. Use
3816 __lgammal_r_finite.
3817 (logf): Condition declaration on [__USE_ISOC99].
3818 (logl): Likewise.
3819 (log10f): Likewise.
3820 (log10l): Likewise.
3821 (ldexpf): Likewise.
3822 (ldexpl): Likewise.
3823 (powf): Likewise.
3824 (powl): Likewise.
3825 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
3826 __USE_ISOC99].
3827 (remainderf): Condition declaration on [__USE_ISOC99].
3828 (remainderl): Likewise.
3829 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
3830 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
3831 (scalbl): Likewise.
3832 (sinhf): Condition declaration on [__USE_ISOC99].
3833 (sinhl): Likewise.
3834 (sqrtf): Likewise.
3835 (sqrtl): Likewise.
3836
3837 2015-11-04 Joseph Myers <joseph@codesourcery.com>
3838
3839 * sysdeps/arm/atomic-machine.h
3840 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3841 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3842 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
3843 Remove conditional code.
3844 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3845 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3846 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
3847 Change conditional to [__ASSEMBLER__].
3848 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3849 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
3850 [!__ASSEMBLER__].
3851 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
3852 code.
3853 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
3854 conditional macro definitions.
3855 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
3856 (__arch_compare_and_exchange_val_16_acq): Likewise.
3857 (__arch_compare_and_exchange_val_32_acq): Likewise.
3858 (atomic_exchange_and_add): Likewise.
3859 (atomic_add): Likewise.
3860 (atomic_add_negative): Likewise.
3861 (atomic_add_zero): Likewise.
3862 (atomic_bit_set): Likewise.
3863 (atomic_bit_test_set): Likewise.
3864 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
3865 code unconditional.
3866 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3867
3868 * math/test-math-errno.h: New file.
3869 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
3870 empty.
3871 (TEST_ERRNO): New macro.
3872 (TEST_EXCEPTIONS): Likewise.
3873 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
3874 (TEST_EXCEPTIONS): Likewise.
3875 * math/test-math-vector.h (TEST_ERRNO): Likewise.
3876 * math/test-double.c: Include "test-math-errno.h".
3877 * math/test-float.c: Likewise.
3878 * math/test-ldouble.c: Likewise.
3879 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
3880 code unconditional.
3881 (test_exceptions): Only run code if TEST_EXCEPTIONS.
3882 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
3883 unconditional.
3884 (test_errno): Only run code if TEST_ERRNO.
3885 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
3886
3887 2015-11-04 Florian Weimer <fweimer@redhat.com>
3888
3889 * nptl/tst-once5.cc: Remove attribution.
3890
3891 2015-11-04 Joseph Myers <joseph@codesourcery.com>
3892
3893 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
3894 sqrt, tan, tanh, y0, y1 and yn.
3895 * math/auto-libm-test-out: Regenerated.
3896 * math/libm-test.inc (scalb_test_data): Add more tests.
3897 (scalbn_test_data): Likewise.
3898 (scalbln_test_data): Likewise.
3899 (signbit_test_data): Likewise.
3900 (sin_test_data): Likewise.
3901 (sincos_test_data): Likewise.
3902 (sinh_test_data): Likewise.
3903 (sqrt_test_data): Likewise.
3904 (tan_test_data): Likewise.
3905 (tanh_test_data): Likewise.
3906 (tgamma_test_data): Likewise.
3907 (y0_test_data): Likewise.
3908 (y1_test_data): Likewise.
3909 (yn_test_data): Likewise.
3910 (significand_test_data): Likewise.
3911 * sysdeps/i386/fpu/libm-test-ulps: Update.
3912
3913 2015-11-03 David Kastrup <dak@gnu.org>
3914
3915 [BZ #18604]
3916 * assert/assert.h (assert): Don't macro-expand failed assertion
3917 expression in error message.
3918 * malloc/malloc.c (assert): Likewise.
3919
3920 2015-11-03 Joseph Myers <joseph@codesourcery.com>
3921
3922 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
3923 test.
3924 * configure: Regenerated.
3925
3926 2015-11-02 Joseph Myers <joseph@codesourcery.com>
3927
3928 * math/libm-test.inc (modf_test_data): Add more tests.
3929 (nearbyint_test_data): Likewise.
3930 (nextafter_test_data): Likewise.
3931 (nexttoward_test_data): Likewise.
3932 (pow_test_data): Likewise.
3933 (remainder_test_data): Likewise.
3934 (remquo_test_data): Likewise.
3935 (rint_test_data): Likewise.
3936
3937 [BZ #19201]
3938 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3939 Check for zero remainder in case of large exponents and ensure
3940 correct sign of result in that case.
3941 * math/libm-test.inc (remainder_test_data): Add more tests.
3942
3943 [BZ #6799]
3944 * math/s_nextafter.c: Include <errno.h>.
3945 (__nextafter): Set errno on overflow and underflow.
3946 * math/s_nexttowardf.c: Include <errno.h>.
3947 (__nexttowardf): Set errno on overflow and underflow.
3948 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
3949 (__nextafterl): Set errno on overflow and underflow.
3950 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
3951 (__nexttoward): Set errno on overflow and underflow.
3952 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
3953 (__nexttowardf): Set errno on overflow and underflow.
3954 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
3955 (__nextafterf): Set errno on overflow and underflow.
3956 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
3957 (__nextafterl): Set errno on overflow and underflow.
3958 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
3959 (__nexttoward): Set errno on overflow and underflow.
3960 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
3961 (__nexttowardf): Set errno on overflow and underflow.
3962 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
3963 (__nextafterl): Set errno on overflow and underflow.
3964 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
3965 (__nexttoward): Set errno on overflow and underflow.
3966 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
3967 (__nexttowardf): Set errno on overflow and underflow.
3968 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
3969 (__nexttoward): Set errno on overflow and underflow.
3970 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
3971 (__nexttowardf): Set errno on overflow and underflow.
3972 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
3973 (__nldbl_nexttowardf): Set errno on overflow and underflow.
3974 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
3975 (__nextafterl): Set errno on overflow and underflow.
3976 * math/libm-test.inc (nextafter_test_data): Do not allow errno
3977 setting to be missing on overflow. Add more tests.
3978 (nexttoward_test_data): Likewise.
3979
3980 * configure.ac (libc_cv_initfini_array): Remove configure test.
3981 * configure: Regenerated.
3982
3983 2015-10-29 Joseph Myers <joseph@codesourcery.com>
3984
3985 [BZ #19189]
3986 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
3987 non-finite argument handle arguments with negative sign.
3988
3989 * math/libm-test.inc (j0_test_data): Do not test sign of zero
3990 result from infinite argument.
3991 (j1_test_data): Likewise.
3992 (jn_test_data): Likewise.
3993 (y0_test_data): Likewise.
3994 (y1_test_data): Likewise.
3995 (yn_test_data): Likewise.
3996
3997 [BZ #16171]
3998 * math/w_remainder.c (drem): Define as weak alias of __remainder.
3999 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
4000 * math/w_remainderf.c (dremf): Define as weak alias of
4001 __remainderf.
4002 * math/w_remainderl.c (dreml): Define as weak alias of
4003 __remainderl.
4004 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
4005 __remainder.
4006 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
4007 __remainderf.
4008 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
4009 __remainderl.
4010 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
4011 weak alias of remainderl.
4012 * sysdeps/ieee754/ldbl-opt/w_remainder.c
4013 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
4014 alias of __remainder.
4015 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
4016 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
4017 strong alias of __remainderl.
4018 (dreml): Use long_double_symbol.
4019 * math/Makefile (libm-calls): Remove w_drem.
4020 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
4021 (CFLAGS-nldbl-drem.c): Remove variable.
4022 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
4023 * math/w_drem.c: Remove file.
4024 * math/w_dremf.c: Likewise.
4025 * math/w_dreml.c: Likewise.
4026 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
4027 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
4028 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
4029
4030 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
4031 * sysdeps/i386/configure: Regenerated.
4032 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
4033 * sysdeps/x86_64/configure: Regenerated.
4034
4035 * configure.ac (libc_cv_asm_protected_directive): Remove configure
4036 test.
4037 (libc_cv_visibility_attribute): Likewise.
4038 (libc_cv_protected_data): Test unconditionally.
4039 (libc_cv_broken_visibility_attribute): Remove configure test.
4040 (libc_cv_have_sdata_section): Test unconditionally.
4041 * configure: Regenerated.
4042
4043 * include/libc-internal.h (libc_max_align_t): Remove typedef.
4044 * include/scratch_buffer.h: Include <stddef.h> instead of
4045 <libc-internal.h>.
4046 (struct scratch_buffer): Use max_align_t instead of
4047 libc_max_align_t.
4048
4049 2015-10-29 Florian Weimer <fweimer@redhat.com>
4050
4051 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
4052 instead of extend_alloca. Change control flow to avoid a goto.
4053 Remove assert which is trivially always true.
4054
4055 2015-10-28 Joseph Myers <joseph@codesourcery.com>
4056
4057 [BZ #16068]
4058 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
4059 (FE_ALL_EXCEPT_X86): New macro.
4060 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4061 FE_ALL_EXCEPT. Ensure precision control is included in
4062 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4063 handle "denormal operand exception" and clear FZ and DAZ bits.
4064 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
4065 (FE_ALL_EXCEPT_X86): New macro.
4066 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4067 FE_ALL_EXCEPT. Ensure precision control is included in
4068 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4069 handle "denormal operand exception" and clear FZ and DAZ bits.
4070 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
4071 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
4072 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4073 test-fenv-x87 and test-fenv-sse-2.
4074 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
4075
4076 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
4077 * math/test-double.h (BUILD_COMPLEX): New macro.
4078 * math/test-float.h (BUILD_COMPLEX): Likewise.
4079 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
4080
4081 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
4082 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
4083 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
4084 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
4085 instead of DBL_DENORM_MIN in comment.
4086 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
4087 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4088 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
4089 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
4090 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
4091 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4092
4093 2015-10-28 Florian Weimer <fweimer@redhat.com>
4094
4095 [BZ# 19048]
4096 * malloc/malloc.c (struct malloc_state): Update comment. Add
4097 attached_threads member.
4098 (main_arena): Initialize attached_threads.
4099 * malloc/arena.c (list_lock): Update comment.
4100 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
4101 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
4102 (deattach_arena): New function.
4103 (_int_new_arena): Initialize arena reference count and deattach
4104 replaced arena.
4105 (get_free_list, reused_arena): Update reference count and deattach
4106 replaced arena.
4107 (arena_thread_freeres): Update arena reference count and only put
4108 unreferenced arenas on the free list.
4109
4110 2015-10-28 Joseph Myers <joseph@codesourcery.com>
4111
4112 [BZ #19181]
4113 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
4114 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
4115 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
4116 * math/test-fenv-clear-main.c: New file.
4117 * math/test-fenv-clear.c: Likewise.
4118 * math/Makefile (tests): Add test-fenv-clear.
4119 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
4120 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4121 test-fenv-clear-sse.
4122 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
4123
4124 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
4125 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
4126 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
4127
4128 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
4129
4130 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
4131 static libc.
4132
4133 2015-10-28 Joseph Myers <joseph@codesourcery.com>
4134
4135 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
4136 test.
4137 * sysdeps/i386/configure: Regenerated.
4138 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
4139 test.
4140 * sysdeps/x86_64/configure: Regenerated.
4141 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
4142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4143 memset-avx2 unconditionally instead of conditionally on
4144 [$(config-cflags-avx2) = yes].
4145 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4146 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
4147 unconditional.
4148 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
4149 * sysdeps/x86_64/multiarch/memset_chk.S
4150 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
4151 to [IS_IN (libc) && SHARED].
4152
4153 2015-10-27 Joseph Myers <joseph@codesourcery.com>
4154
4155 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
4156 configure test.
4157 * sysdeps/arm/configure: Regenerated.
4158 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
4159 Define variable if not already defined.
4160
4161 [BZ #17404]
4162 * sysdeps/mips/atomic-machine.h
4163 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
4164 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
4165 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4166
4167 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
4168 unconditional.
4169 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
4170 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4171 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
4172 unconditional.
4173 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4174 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
4175 unconditional.
4176 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4177 * stdlib/setenv.c
4178 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
4179 code unconditional.
4180 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
4181 Remove conditional code.
4182 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4183 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
4184 unconditional.
4185 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4186 code.
4187 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4188 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
4189 unconditional.
4190 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4191 code.
4192 * sysdeps/ieee754/ldbl-128/k_tanl.c
4193 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4194 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4195 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4196 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4197 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4198 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4199 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
4200 unconditional.
4201 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4202 code.
4203 * sysdeps/ieee754/ldbl-96/k_tanl.c
4204 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4205 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4206
4207 * nptl/tst-initializers1-c11.c: New file.
4208 * nptl/tst-initializers1-gnu11.c: Likewise.
4209 * nptl/Makefile (tests): Add these new tests.
4210 (CFLAGS-tst-initializers1-c11.c): New variable.
4211 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
4212
4213 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
4214 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
4215 instead of -std=gnu99.
4216 * configure.ac (systemtap): Test with -std=gnu11 instead of
4217 -std=gnu99.
4218 * configure: Regenerated.
4219 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
4220 in compilation command in comment.
4221
4222 * sysdeps/nptl/configure.ac: Remove file.
4223 * sysdeps/nptl/configure: Remove generated file.
4224 * configure.ac (libc_cv_forced_unwind): Do not substitute.
4225 * configure: Regenerated.
4226 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
4227 * config.make.in (have-forced-unwind): Remove variable.
4228 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4229 unconditional.
4230 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
4231 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
4232 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
4233 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
4234 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4235 unconditional.
4236
4237 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4238
4239 [BZ #19174]
4240 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
4241 .skip_lock_out_of_tbegin_retries.
4242 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4243 (__lll_lock_elision): Likewise, and respect a value of
4244 try_tbegin <= 0.
4245
4246 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
4247
4248 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
4249 statement.
4250
4251 2015-10-27 Joseph Myers <joseph@codesourcery.com>
4252
4253 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
4254 variable.
4255 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4256 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4257
4258 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
4259 of -std=c1x -D_ISOC11_SOURCE.
4260
4261 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
4262 * configure: Regenerated.
4263 * manual/install.texi (Tools for Compilation): Document
4264 requirement for GCC 4.7 or later.
4265 * INSTALL: Regenerated.
4266
4267 2015-10-27 Ludovic Courtès <ludo@gnu.org>
4268
4269 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
4270 on CNT to a conditional jump to 'puntdata'.
4271
4272 2015-10-27 Joseph Myers <joseph@codesourcery.com>
4273
4274 * configure.ac (libc_cv_gcc___thread): Remove configure test.
4275 (libc_cv_gcc_tls_model_attr): Likewise.
4276 * configure: Regenerated.
4277
4278 * configure.ac (libc_cv_need_minus_P): Remove configure test.
4279 * configure: Regenerated.
4280 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
4281
4282 2015-10-26 Joseph Myers <joseph@codesourcery.com>
4283
4284 * configure.ac (old_glibc_headers): Remove configure test.
4285 * configure: Regenerated.
4286 * config.make.in (old-glibc-headers): Remove variable.
4287 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
4288 (install): Remove dependency on remove-old-headers.
4289 (headers2_0): Remove variable.
4290 (remove-old-headers): Remove rule.
4291
4292 * configure.ac (libc_cv_dot_text): Remove configure test.
4293 (libc_cv_asm_set_directive): Use .text instead of
4294 ${libc_cv_dot_text} in configure test.
4295 * configure: Regenerated.
4296
4297 2015-10-26 Florian Weimer <fweimer@redhat.com>
4298
4299 [BZ #19168]
4300 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4301
4302 2015-10-26 Florian Weimer <fweimer@redhat.com>
4303
4304 * configure.ac (CXX): Clear the variable if the C++ toolchain does
4305 not support static linking.
4306 * configure: Regenerate.
4307
4308 2015-10-23 Joseph Myers <joseph@codesourcery.com>
4309
4310 * math/libm-test.inc (check_float_internal): Do not special-case
4311 errors up to 0.5 ulp.
4312
4313 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4314 log2.
4315 * math/auto-libm-test-out: Regenerated.
4316 * math/libm-test.inc (MAX_EXP): New macro.
4317 (ilogb_test_data): Add more tests.
4318 (isfinite_test_data): Likewise.
4319 (isgreater_test_data): Likewise.
4320 (isgreaterequal_test_data): Likewise.
4321 (isinf_test_data): Likewise.
4322 (isless_test_data): Likewise.
4323 (islessequal_test_data): Likewise.
4324 (islessgreater_test_data): Likewise.
4325 (isnan_test_data): Likewise.
4326 (isnormal_test_data): Likewise.
4327 (issignaling_test_data): Likewise.
4328 (isunordered_test_data): Likewise.
4329 (j0_test_data): Likewise.
4330 (j1_test_data): Likewise.
4331 (jn_test_data): Likewise.
4332 (lgamma_test_data): Likewise.
4333 (log_test_data): Likewise.
4334 (log10_test_data): Likewise.
4335 (log1p_test_data): Likewise.
4336 (log2_test_data): Likewise.
4337 (logb_test_data): Likewise.
4338 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4339
4340 [BZ #18611]
4341 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
4342 avoid excess range and precision on underflow.
4343 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4344 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
4345 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4346 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
4347 underflow.
4348 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4350 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4351 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4352 * math/auto-libm-test-in: Do not allow missing errno setting for
4353 tests of j1 and jn.
4354 * math/auto-libm-test-out: Regenerated.
4355
4356 2015-10-22 Joseph Myers <joseph@codesourcery.com>
4357
4358 [BZ #15491]
4359 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
4360 floating-point environment instead of clearing all exceptions.
4361 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4362 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
4363 merging in "invalid" exceptions from frndint.
4364 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4365 * math/test-nearbyint-except.c: New file.
4366 * math/Makefile (tests): Add test-nearbyint-except.
4367
4368 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
4369
4370 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
4371
4372 * sysdeps/tile/libm-test-ulps: Regenerated.
4373
4374 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4375
4376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
4377 (__NR_sync_file_range2): Assume it is always defined.
4378 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4379 (__NR_sync_file_range): Assume it is always defined.
4380
4381 2015-10-22 Andreas Schwab <schwab@suse.de>
4382
4383 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4384 INTERNAL_SYSCALL_ERRNO.
4385 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4386 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4387 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4388 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4389 Likewise.
4390 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4391
4392 2015-10-21 Joseph Myers <joseph@codesourcery.com>
4393
4394 * io/tst-fcntl.c (fd): New static variable.
4395 (do_prepare): Open temporary file here....
4396 (do_test): ...not here.
4397
4398 * io/ftwtest-sh: Also trap on exit to remove temporary files.
4399
4400 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
4401
4402 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
4403 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4404 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4405 Moved before "#ifdef __ASSEMBLER__".
4406
4407 2015-10-21 Joseph Myers <joseph@codesourcery.com>
4408
4409 [BZ #19156]
4410 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
4411 arguments very close to 0.
4412
4413 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
4414
4415 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
4416 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
4417
4418 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
4419
4420 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4421 New. Defined for GCC 5 and above when not compiling for
4422 profiling.
4423 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4424
4425 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4426 Renamed to ...
4427 (CFLAGS-epoll_pwait.o): This.
4428 (CFLAGS-mmap.c): Renamed to ...
4429 (CFLAGS-mmap.o): This.
4430 (CFLAGS-mmap64.c): Renamed to ...
4431 (CFLAGS-mmap64.o): This.
4432 (CFLAGS-epoll_pwait.os): New.
4433 (CFLAGS-mmap.os): Likewise.
4434 (CFLAGS-mmap64.os): Likewise.
4435 (CFLAGS-semtimedop.os): Likewise.
4436 (CFLAGS-semtimedop.c): Renamed to ...
4437 (CFLAGS-semtimedop.o): This.
4438
4439 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4440
4441 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
4442 warning message.
4443
4444 2015-10-21 Joseph Myers <joseph@codesourcery.com>
4445
4446 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
4447 * Makefile ($(objpfx)c++-types-check.out): Filter out
4448 $(+gccwarn-c) instead of -Wstrict-prototypes.
4449
4450 * io/fts.c (fts_open): Convert to prototype-style function
4451 definition.
4452 * malloc/mcheck.c (mcheck): Likewise.
4453 (mcheck_pedantic): Likewise.
4454 * posix/regexec.c (re_search_2_stub): Likewise. Use
4455 internal_function.
4456 (re_search_internal): Likewise.
4457 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
4458 prototype-style function definition.
4459 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4460 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4461 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
4462 (xdr_utmpptr): Likewise.
4463 (xdr_utmparr): Likewise.
4464 (xdr_utmpidle): Likewise.
4465 (xdr_utmpidleptr): Likewise.
4466 (xdr_utmpidlearr): Likewise.
4467
4468 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
4469 log, log10 and log2.
4470 * math/auto-libm-test-out: Regenerated.
4471 * math/libm-test.inc (fmod_test_data): Add more tests.
4472 (fpclassify_test_data): Likewise.
4473 (frexp_test_data): Likewise.
4474 (hypot_test_data): Likewise.
4475 (ilogb_test_data): Likewise.
4476
4477 2015-10-20 Joseph Myers <joseph@codesourcery.com>
4478
4479 * debug/fortify_fail.c (__fortify_fail): Convert to
4480 prototype-style function definition. Use internal_function.
4481 * libio/genops.c (save_for_backup): Convert to prototype-style
4482 function definition.
4483 * libio/wgenops.c (save_for_wbackup): Likewise.
4484 * login/grantpt.c (grantpt): Likewise.
4485 * login/ptsname.c (ptsname): Likewise.
4486 (__ptsname_r): Likewise.
4487 * login/unlockpt.c (unlockpt): Likewise.
4488 * mach/msgserver.c (__mach_msg_server): Likewise.
4489 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
4490 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
4491 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
4492 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
4493 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
4494 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
4495 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
4496 Likewise.
4497 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
4498 internal_function.
4499 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
4500 prototype-style function definition.
4501 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
4502 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
4503 (__pthread_create_2_0): Likewise.
4504 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
4505 * nptl/register-atfork.c (__register_atfork): Likewise.
4506 * posix/glob.c (glob): Likewise.
4507 * posix/regcomp.c (re_comp): Likewise.
4508 * posix/regexec.c (re_exec): Likewise.
4509 * stdlib/add_n.c [__STDC__]: Make code unconditional.
4510 [!__STDC__]: Remove conditional code.
4511 * stdlib/cmp.c [__STDC__]: Make code unconditional.
4512 [!__STDC__]: Remove conditional code.
4513 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
4514 [!__STDC__]: Remove conditional code.
4515 * stdlib/divrem.c [__STDC__]: Make code unconditional.
4516 [!__STDC__]: Remove conditional code.
4517 * stdlib/lshift.c [__STDC__]: Make code unconditional.
4518 [!__STDC__]: Remove conditional code.
4519 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
4520 [!__STDC__]: Remove conditional code.
4521 * stdlib/mul.c [__STDC__]: Make code unconditional.
4522 [!__STDC__]: Remove conditional code.
4523 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
4524 [!__STDC__]: Remove conditional code.
4525 * stdlib/rshift.c [__STDC__]: Make code unconditional.
4526 [!__STDC__]: Remove conditional code.
4527 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
4528 function definition.
4529 (STRTOF): Likewise.
4530 * stdlib/strtod_l.c (__STRTOF): Likewise.
4531 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
4532 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
4533 (__strtol_l): Likewise.
4534 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
4535 [!__STDC__]: Remove conditional code.
4536 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
4537 definition.
4538 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4539 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4540 type.
4541 (__strcasecmp): Convert to prototype-style function definition.
4542 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
4543 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4544 type.
4545 (__strncasecmp): Convert to prototype-style function definition.
4546 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
4547 * sunrpc/xdr.c (xdr_union): Likewise.
4548 * sunrpc/xdr_array.c (xdr_array): Likewise.
4549 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
4550 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
4551 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
4552 Likewise.
4553 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
4554 Likewise.
4555 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
4556 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4557 Likewise.
4558 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
4559 (LOCALE_PARAM_PROTO): Likewise.
4560 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
4561 argument type.
4562 (ut_argument_spec): Remove macro.
4563 (ut_argument_spec_iso): Rename to ut_argument_spec.
4564 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
4565 prototype-style function definition.
4566 (memcpy_uppcase): Likewise.
4567 (__strftime_internal): Likewise.
4568 (my_strftime): Likewise.
4569 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
4570 (LOCALE_PARAM_DECL): Likewise.
4571 [_LIBC] (LOCALE_PARAM): Include argument type.
4572 (__strptime_internal): Convert to prototype-style function
4573 definition.
4574 (strptime): Likewise.
4575 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4576 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4577 type.
4578 (__wcscasecmp): Convert to prototype-style function definition.
4579 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
4580 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4581 type.
4582 (__wcsncasecmp): Convert to prototype-style function definition.
4583
4584 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
4585 function definition.
4586 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4587 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4588 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
4589 * elf/dl-minimal.c (_itoa): Likewise.
4590 * hurd/hurdmalloc.c (malloc): Likewise.
4591 (free): Likewise.
4592 (realloc): Likewise.
4593 * inet/inet6_option.c (inet6_option_space): Likewise.
4594 (inet6_option_init): Likewise.
4595 (inet6_option_append): Likewise.
4596 (inet6_option_alloc): Likewise.
4597 (inet6_option_next): Likewise.
4598 (inet6_option_find): Likewise.
4599 * io/ftw.c (FTW_NAME): Likewise.
4600 (NFTW_NAME): Likewise.
4601 (NFTW_NEW_NAME): Likewise.
4602 (NFTW_OLD_NAME): Likewise.
4603 * libio/iofwide.c (_IO_fwide): Likewise.
4604 * libio/strops.c (_IO_str_init_static_internal): Likewise.
4605 (_IO_str_init_static): Likewise.
4606 (_IO_str_init_readonly): Likewise.
4607 (_IO_str_overflow): Likewise.
4608 (_IO_str_underflow): Likewise.
4609 (_IO_str_count): Likewise.
4610 (_IO_str_seekoff): Likewise.
4611 (_IO_str_pbackfail): Likewise.
4612 (_IO_str_finish): Likewise.
4613 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
4614 (_IO_wstr_overflow): Likewise.
4615 (_IO_wstr_underflow): Likewise.
4616 (_IO_wstr_count): Likewise.
4617 (_IO_wstr_seekoff): Likewise.
4618 (_IO_wstr_pbackfail): Likewise.
4619 (_IO_wstr_finish): Likewise.
4620 * locale/programs/localedef.c (normalize_codeset): Likewise.
4621 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4622 (add_locales_to_archive): Likewise.
4623 (delete_locales_from_archive): Likewise.
4624 * malloc/malloc.c (__libc_mallinfo): Likewise.
4625 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
4626 * misc/tsearch.c (__tfind): Likewise.
4627 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
4628 * nptl/pthread_attr_getdetachstate.c
4629 (__pthread_attr_getdetachstate): Likewise.
4630 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
4631 Likewise.
4632 * nptl/pthread_attr_getinheritsched.c
4633 (__pthread_attr_getinheritsched): Likewise.
4634 * nptl/pthread_attr_getschedparam.c
4635 (__pthread_attr_getschedparam): Likewise.
4636 * nptl/pthread_attr_getschedpolicy.c
4637 (__pthread_attr_getschedpolicy): Likewise.
4638 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
4639 Likewise.
4640 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
4641 Likewise.
4642 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
4643 Likewise.
4644 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
4645 Likewise.
4646 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
4647 (__pthread_attr_init_2_0): Likewise.
4648 * nptl/pthread_attr_setdetachstate.c
4649 (__pthread_attr_setdetachstate): Likewise.
4650 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
4651 Likewise.
4652 * nptl/pthread_attr_setinheritsched.c
4653 (__pthread_attr_setinheritsched): Likewise.
4654 * nptl/pthread_attr_setschedparam.c
4655 (__pthread_attr_setschedparam): Likewise.
4656 * nptl/pthread_attr_setschedpolicy.c
4657 (__pthread_attr_setschedpolicy): Likewise.
4658 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
4659 Likewise.
4660 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
4661 Likewise.
4662 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
4663 Likewise.
4664 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
4665 Likewise.
4666 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
4667 Likewise.
4668 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
4669 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
4670 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
4671 use internal_function.
4672 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
4673 prototype-style function definition.
4674 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
4675 (__pthread_mutex_cond_lock_adjust): Likewise. Use
4676 internal_function.
4677 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
4678 Convert to prototype-style function definition.
4679 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4680 Likewise.
4681 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4682 Likewise.
4683 (__pthread_mutex_unlock): Likewise.
4684 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
4685 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
4686 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
4687 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
4688 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
4689 * nss/makedb.c (process_input): Likewise.
4690 * posix/fnmatch.c (__strchrnul): Likewise.
4691 (__wcschrnul): Likewise.
4692 (fnmatch): Likewise.
4693 * posix/fnmatch_loop.c (FCT): Likewise.
4694 * posix/glob.c (globfree): Likewise.
4695 (__glob_pattern_type): Likewise.
4696 (__glob_pattern_p): Likewise.
4697 * posix/regcomp.c (re_compile_pattern): Likewise.
4698 (re_set_syntax): Likewise.
4699 (re_compile_fastmap): Likewise.
4700 (regcomp): Likewise.
4701 (regerror): Likewise.
4702 (regfree): Likewise.
4703 * posix/regexec.c (regexec): Likewise.
4704 (re_match): Likewise.
4705 (re_search): Likewise.
4706 (re_match_2): Likewise.
4707 (re_search_2): Likewise.
4708 (re_search_stub): Likewise. Use internal_function
4709 (re_copy_regs): Likewise.
4710 (re_set_registers): Convert to prototype-style function
4711 definition.
4712 (prune_impossible_nodes): Likewise. Use internal_function.
4713 * resolv/inet_net_pton.c (inet_net_pton): Convert to
4714 prototype-style function definition.
4715 (inet_net_pton_ipv4): Likewise.
4716 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4717 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
4718 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
4719 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
4720 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4721 Make variadic.
4722 * time/strptime_l.c (localtime_r): Convert to prototype-style
4723 function definition.
4724 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4725 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4726 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4727 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4728
4729 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
4730 definition.
4731 (_ufc_doit_r): Likewise.
4732 * crypt/crypt_util.c (_ufc_copymem): Likewise.
4733 (_ufc_output_conversion_r): Likewise.
4734 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
4735 * inet/rcmd.c (rcmd_af): Likewise.
4736 (rcmd): Likewise.
4737 (ruserok_af): Likewise.
4738 (ruserok): Likewise.
4739 (ruserok2_sa): Likewise.
4740 (ruserok_sa): Likewise.
4741 (iruserok_af): Likewise.
4742 (iruserok): Likewise.
4743 (__ivaliduser): Likewise.
4744 (__validuser2_sa): Likewise.
4745 * inet/rexec.c (rexec_af): Likewise.
4746 (rexec): Likewise.
4747 * inet/ruserpass.c (ruserpass): Likewise.
4748 * locale/programs/xmalloc.c (xcalloc): Likewise.
4749 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
4750 * math/w_drem.c (__drem): Likewise.
4751 * math/w_dremf.c (__dremf): Likewise.
4752 * math/w_dreml.c (__dreml): Likewise.
4753 * misc/daemon.c (daemon): Likewise.
4754 * resolv/res_debug.c (p_fqnname): Likewise.
4755 * stdlib/div.c (div): Likewise.
4756 * string/memcmp.c (memcmp_bytes): Likewise.
4757 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
4758 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
4759
4760 * crypt/cert.c (main): Convert to prototype-style function
4761 definition.
4762 * io/pipe.c (__pipe): Likewise.
4763 * io/pipe2.c (__pipe2): Likewise.
4764 * misc/futimesat.c (futimesat): Likewise.
4765 * misc/utimes.c (__utimes): Likewise.
4766 * posix/execve.c (__execve): Likewise.
4767 * posix/execvp.c (execvp): Likewise.
4768 * posix/execvpe.c (__execvpe): Likewise.
4769 * posix/fexecve.c (fexecve): Likewise.
4770 * socket/socketpair.c (socketpair): Likewise.
4771 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4772 * stdlib/erand48.c (erand48): Likewise.
4773 * stdlib/erand48_r.c (__erand48_r): Likewise.
4774 * stdlib/jrand48.c (jrand48): Likewise.
4775 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
4776 * stdlib/lcong48.c (lcong48): Likewise.
4777 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
4778 * stdlib/nrand48.c (nrand48): Likewise.
4779 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
4780 * stdlib/seed48.c (seed48): Likewise.
4781 * stdlib/seed48_r.c (__seed48_r): Likewise.
4782 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
4783 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
4784 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
4785
4786 2015-10-19 Joseph Myers <joseph@codesourcery.com>
4787
4788 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
4789 * configure: Regenerated.
4790 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
4791 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
4792 unconditional.
4793 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4794 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4795 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4796 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
4797 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
4798 unconditional.
4799 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4800
4801 * posix/Makefile (CFLAGS-regex.c): Remove variable.
4802 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
4803
4804 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4805 function definition.
4806 * crypt/crypt_util.c (__encrypt_r): Likewise.
4807 * libio/genops.c (_IO_no_init): Likewise.
4808 * libio/iofopncook.c (_IO_fopencookie): Likewise.
4809 (_IO_old_fopencookie): Likewise.
4810 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4811 * libio/iogetline.c (_IO_getline): Likewise.
4812 (_IO_getline_info): Likewise.
4813 * libio/iogetwline.c (_IO_getwline): Likewise.
4814 (_IO_getwline_info): Likewise.
4815 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4816 * libio/vswprintf.c (_IO_vswprintf): Likewise.
4817 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
4818 (find_entry): Likewise.
4819 (iterate_table): Likewise.
4820 (lookup): Likewise.
4821 * login/forkpty.c (forkpty): Likewise.
4822 * misc/hsearch_r.c (__hsearch_r): Likewise.
4823 * misc/select.c (__select): Likewise.
4824 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
4825 Likewise.
4826 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
4827 Likewise.
4828 * nptl/old_pthread_cond_timedwait.c
4829 (__pthread_cond_timedwait_2_0): Likewise.
4830 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4831 * nptl/pthread_barrierattr_getpshared.c
4832 (pthread_barrierattr_getpshared): Likewise.
4833 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4834 Likewise.
4835 * nptl/pthread_mutex_setprioceiling.c
4836 (pthread_mutex_setprioceiling): Likewise.
4837 * nptl/pthread_mutexattr_getprioceiling.c
4838 (pthread_mutexattr_getprioceiling): Likewise.
4839 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4840 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4841 Likewise.
4842 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4843 Likewise.
4844 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
4845 Likewise.
4846 * socket/recvfrom.c (__recvfrom): Likewise.
4847 * socket/sendto.c (__sendto): Likewise.
4848 * socket/setsockopt.c (__setsockopt): Likewise.
4849 * stdio-common/_itoa.c (_itoa): Likewise.
4850 * stdio-common/_itowa.c (_itowa): Likewise.
4851 * stdio-common/reg-printf.c (__register_printf_specifier):
4852 Likewise.
4853 (__register_printf_function): Likewise.
4854 * stdio-common/tempname.c (__path_search): Likewise.
4855 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
4856 * stdlib/mul_1.c (mpn_mul_1): Likewise.
4857 * stdlib/random_r.c (__initstate_r): Likewise.
4858 * stdlib/setenv.c (__add_to_environ): Likewise.
4859 * stdlib/submul_1.c (mpn_submul_1): Likewise.
4860 * streams/getpmsg.c (getpmsg): Likewise.
4861 * streams/putmsg.c (putmsg): Likewise.
4862 * streams/putpmsg.c (putpmsg): Likewise.
4863 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
4864 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4865 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
4866 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4867 * sunrpc/pm_getport.c (pmap_getport): Likewise.
4868 * sunrpc/svc_udp.c (cache_get): Likewise.
4869 * sunrpc/xdr_array.c (xdr_vector): Likewise.
4870 * sysdeps/mach/hurd/getcwd.c
4871 (__canonicalize_directory_name_internal): Likewise.
4872 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
4873 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
4874 * sysdeps/mach/hurd/select.c (__select): Likewise.
4875 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4876 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
4877 * sysdeps/sparc/nptl/pthread_barrier_init.c
4878 (__pthread_barrier_init): Likewise.
4879 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
4880 (__pthread_cond_timedwait): Likewise.
4881 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
4882 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
4883 Likewise.
4884 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
4885 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
4886 Likewise.
4887 * sysvipc/semtimedop.c (semtimedop): Likewise.
4888 * time/setitimer.c (__setitimer): Likewise.
4889 * time/strftime_l.c (emacs_strftime): Likewise.
4890
4891 2015-10-19 Mike Frysinger <vapier@gentoo.org>
4892
4893 * config.make.in (have-ssp): Delete.
4894 (stack-protector): New variable.
4895 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
4896 cache test for -fstack-protector-strong. Export stack_protector to
4897 the best ssp flag.
4898 * configure: Regenerated.
4899 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
4900 * nscd/Makefile (CFLAGS-nscd): Likewise.
4901 * resolv/Makefile (CFLAGS-libresolv): Likewise.
4902
4903 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
4904
4905 [BZ #19122]
4906 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
4907 attribute_hidden.
4908
4909 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4910
4911 [BZ #18743]
4912 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
4913 code to...
4914 (ELIDE_LOCK): ...here.
4915 (__get_new_count): New function with part of the code from
4916 __elide_lock that updates the value of adapt_count after a
4917 transaction abort.
4918 (__elided_trylock): Moved this code to...
4919 (ELIDE_TRYLOCK): ...here.
4920
4921 2015-10-19 Mike Frysinger <vapier@gentoo.org>
4922
4923 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
4924 * configure: Regenerate.
4925 * INSTALL: Regenerate.
4926 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
4927 and tweak grammar.
4928
4929 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
4930
4931 * login/programs/pt_chown.c: Include signal.h
4932 (main): Clear any signal mask from the parent process.
4933
4934 2015-10-19 Joseph Myers <joseph@codesourcery.com>
4935
4936 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
4937 * configure: Regenerated.
4938 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
4939 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
4940 $(gnu89-inline-CFLAGS).
4941
4942 * configure.ac (libc_cv_asm_weak_directive): Remove configure
4943 test.
4944 (libc_cv_asm_weakext_directive): Likewise.
4945 * configure: Regenerated.
4946 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
4947 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
4948 * include/libc-symbols.h
4949 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
4950 #error.
4951 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
4952 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
4953
4954 * sysdeps/arm/backtrace.c (__backtrace): Convert to
4955 prototype-style function definition.
4956 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
4957 * sysdeps/i386/ffs.c (__ffs): Likewise.
4958 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4959 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
4960 Likewise.
4961 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4962 Likewise.
4963 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4964 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4965 Likewise.
4966 * sysdeps/m68k/ffs.c (__ffs): Likewise.
4967 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
4968 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
4969 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
4970 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
4971 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
4972 * sysdeps/mach/hurd/access.c (__access): Likewise.
4973 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
4974 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
4975 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4976 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
4977 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
4978 (cthread_getspecific): Likewise.
4979 (cthread_setspecific): Likewise.
4980 (__libc_getspecific): Likewise.
4981 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
4982 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
4983 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
4984 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
4985 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
4986 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
4987 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
4988 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
4989 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
4990 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
4991 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
4992 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
4993 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
4994 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
4995 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
4996 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
4997 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
4998 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
4999 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
5000 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
5001 * sysdeps/mach/hurd/link.c (__link): Likewise.
5002 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
5003 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
5004 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
5005 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
5006 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5007 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
5008 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
5009 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
5010 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5011 * sysdeps/mach/hurd/rename.c (rename): Likewise.
5012 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
5013 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
5014 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
5015 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
5016 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
5017 * sysdeps/mach/hurd/send.c (__send): Likewise.
5018 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
5019 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
5020 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
5021 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
5022 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
5023 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
5024 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
5025 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
5026 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
5027 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
5028 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
5029 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
5030 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
5031 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
5032 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5033 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5034 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
5035 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
5036 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
5037 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5038 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
5039 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
5040 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
5041 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
5042 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
5043 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
5044 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
5045 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5046 * sysdeps/posix/alarm.c (alarm): Likewise.
5047 * sysdeps/posix/cuserid.c (cuserid): Likewise.
5048 * sysdeps/posix/dirfd.c (dirfd): Likewise.
5049 * sysdeps/posix/dup.c (__dup): Likewise.
5050 * sysdeps/posix/dup2.c (__dup2): Likewise.
5051 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
5052 (main): Likewise.
5053 * sysdeps/posix/flock.c (__flock): Likewise.
5054 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5055 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5056 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
5057 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
5058 * sysdeps/posix/isatty.c (__isatty): Likewise.
5059 * sysdeps/posix/killpg.c (killpg): Likewise.
5060 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5061 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
5062 * sysdeps/posix/raise.c (raise): Likewise.
5063 * sysdeps/posix/remove.c (remove): Likewise.
5064 * sysdeps/posix/rename.c (rename): Likewise.
5065 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
5066 * sysdeps/posix/seekdir.c (seekdir): Likewise.
5067 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5068 * sysdeps/posix/sigignore.c (sigignore): Likewise.
5069 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
5070 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
5071 * sysdeps/posix/sigset.c (sigset): Likewise.
5072 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
5073 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5074 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
5075 * sysdeps/posix/time.c (time): Likewise.
5076 * sysdeps/posix/ttyname.c (getttyname): Likewise.
5077 (ttyname): Likewise.
5078 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
5079 * sysdeps/posix/utime.c (utime): Likewise.
5080 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
5081 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5082 Likewise.
5083 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
5084 (pthread_spin_trylock): Likewise.
5085 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
5086 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
5087 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
5088 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
5089 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
5090 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
5091 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
5092 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
5093 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
5094 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
5095 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
5096 * sysdeps/s390/ffs.c (__ffs): Likewise.
5097 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
5098 Likewise.
5099 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5100 Likewise.
5101 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
5102 Likewise.
5103 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
5104 (pthread_barrier_destroy): Likewise.
5105 * sysdeps/sparc/nptl/pthread_barrier_wait.c
5106 (__pthread_barrier_wait): Likewise.
5107 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
5108 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5109 (__pthread_barrier_wait): Likewise.
5110 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
5111 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
5112 (memcmp_not_common_alignment): Likewise.
5113 (MEMCMP): Likewise.
5114 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
5115 (_wordcopy_fwd_dest_aligned): Likewise.
5116 (_wordcopy_bwd_aligned): Likewise.
5117 (_wordcopy_bwd_dest_aligned): Likewise.
5118 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
5119 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
5120 * sysdeps/unix/bsd/stty.c (stty): Likewise.
5121 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
5122 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
5123 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
5124 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
5125 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
5126 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
5127 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
5128 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
5129 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5130 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
5131 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
5132 * sysdeps/unix/stime.c (stime): Likewise.
5133 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
5134 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
5135 Likewise. Use internal_function.
5136 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
5137 Convert to prototype-style function definition.
5138 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5139 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5140 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
5141 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5142 Likewise. Use internal_function.
5143 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
5144 prototype-style function definition
5145 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5146 Likewise.
5147 (__getlogin_r): Likewise.
5148 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
5149 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
5150 (__pthread_cond_broadcast): Likewise.
5151 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
5152 (__pthread_cond_destroy): Likewise.
5153 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
5154 (__pthread_cond_init): Likewise.
5155 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
5156 (__pthread_cond_signal): Likewise.
5157 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5158 (__pthread_cond_wait): Likewise.
5159 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
5160 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5161 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
5162 Likewise.
5163 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
5164 Likewise.
5165 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
5166 Likewise.
5167 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
5168 Likewise.
5169 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
5170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
5171 (__ftruncate64): Likewise.
5172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
5173 (truncate64): Likewise.
5174 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
5175 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
5176 (pthread_getcpuclockid): Likewise.
5177 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5178 Likewise.
5179 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5180 Likewise.
5181 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
5182 Likewise.
5183 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5184 Likewise.
5185 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
5186 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
5187 (__libc_sigaction): Likewise.
5188 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
5189 Likewise.
5190 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
5191 (__sigprocmask): Likewise.
5192 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
5193 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
5194 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
5195 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5196 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5197 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
5198 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5199 Likewise.
5200 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
5201 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
5202 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5203 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
5204 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
5205 Likewise.
5206 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
5207 (__sigprocmask): Likewise.
5208 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
5209 (cfgetispeed): Likewise.
5210 (cfsetospeed): Likewise.
5211 (cfsetispeed): Likewise.
5212 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
5213 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
5214 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5215 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5216 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
5217 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
5218 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
5219 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
5220 Likewise.
5221 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
5222 Likewise.
5223 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
5224 Likewise.
5225 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
5226 Likewise.
5227 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5228
5229 2015-10-17 Florian Weimer <fweimer@redhat.com>
5230
5231 sunrpc: Rewrite with explicit TLS access using __thread.
5232 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
5233 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
5234 directly.
5235 (__rpc_thread_variables): Access thread_rpc_vars directly.
5236 Eliminate redundant assignment of the tvp variable.
5237
5238 2015-10-17 Florian Weimer <fweimer@redhat.com>
5239
5240 malloc: Rewrite with explicit TLS access using __thread.
5241 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
5242 (tsd_setspecific, tsd_getspecific): Remove.
5243 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
5244 (tsd_setspecific, tsd_getspecific): Likewise.
5245 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
5246 (tsd_setspecific, tsd_getspecific): Likewise.
5247 * malloc/arena.c (thread_arena): New TLS variable.
5248 (arena_key): Remove variable.
5249 (arena_get): Use thread_arena.
5250 (arena_lookup): Remove macro.
5251 (malloc_atfork, free_atfork, ptmalloc_lock_all)
5252 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
5253 (_int_new_arena, get_free_list, reused_arena)
5254 (arena_thread_freeres): Use thread_arena.
5255 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
5256 tsd_getspecific, tsd_setspecific from safety annotations.
5257 (Allocating Cleared Space): Remove arena_lookup from safety
5258 annotations.
5259
5260 2015-10-17 Florian Weimer <fweimer@redhat.com>
5261
5262 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
5263 struct scratch_buffer instead of extend_alloca.
5264
5265 2015-10-17 Florian Weimer <fweimer@redhat.com>
5266
5267 * sysdeps/unix/sysv/linux/kernel-features.h
5268 (__ASSUME_SOCK_CLOEXEC): Remove.
5269 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
5270 (__have_paccept): Remove unused macro.
5271 * include/unistd.h (__have_sock_cloexec): Remove declaration.
5272 * misc/syslog.c (openlog_internal): Remove fallback code for
5273 !__ASSUME_SOCK_CLOEXEC.
5274 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
5275 missing SOCK_CLOEXEC.
5276 * nscd/connections.c (have_sock_cloexec): Remove definition.
5277 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5278 * nscd/nscd_helper.c (open_socket): Remove fallback code for
5279 !__ASSUME_SOCK_CLOEXEC.
5280 * resolv/res_send.c (__have_o_nonblock): Remove definition.
5281 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5282 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
5283 definition.
5284 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
5285 code for !__ASSUME_SOCK_CLOEXEC.
5286
5287 2015-10-17 Florian Weimer <fweimer@redhat.com>
5288
5289 [BZ #18982]
5290 * manual/stdio.texi (Variable Arguments Output): Add portability
5291 note, explaining that vfprintf clobbers the va_list pointer.
5292
5293 2015-10-16 Joseph Myers <joseph@codesourcery.com>
5294
5295 * math/libm-test.inc (fabs_test_data): Add more tests.
5296 (fdim_test_data): Likewise.
5297 (fma_test_data): Likewise.
5298 (fmax_test_data): Likewise.
5299 (fmin_test_data): Likewise.
5300 (fmod_test_data): Likewise.
5301
5302 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
5303
5304 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
5305 data.
5306
5307 2015-10-16 Joseph Myers <joseph@codesourcery.com>
5308
5309 * math/libm-test.inc (ceil_test_data): Add more tests and more
5310 expectations for "inexact".
5311 (floor_test_data): Add more tests.
5312 (round_test_data): Likewise.
5313 (trunc_test_data): Likewise.
5314
5315 * crypt/cert.c (good_bye): Convert to prototype-style function
5316 definition.
5317 (get8): Likewise.
5318 (put8): Likewise.
5319 * crypt/crypt-entry.c (crypt): Likewise.
5320 (__fcrypt): Likewise.
5321 * crypt/crypt_util.c (_ufc_prbits): Likewise.
5322 (_ufc_set_bits): Likewise.
5323 (_ufc_clearmem): Likewise.
5324 (__init_des_r): Likewise.
5325 (shuffle_sb): Likewise.
5326 (shuffle_sb): Likewise.
5327 (_ufc_setup_salt_r): Likewise.
5328 (_ufc_mk_keytab_r): Likewise.
5329 (_ufc_dofinalperm_r): Likewise.
5330 (encrypt): Likewise.
5331 (__setkey_r): Likewise.
5332 (setkey): Likewise.
5333 * crypt/md5.c (md5_init_ctx): Likewise.
5334 (md5_read_ctx): Likewise.
5335 (md5_finish_ctx): Likewise.
5336 (md5_stream): Likewise.
5337 (md5_buffer): Likewise.
5338 (md5_process_bytes): Likewise.
5339 * crypt/sha256.c (__sha256_init_ctx): Likewise.
5340 (__sha256_finish_ctx): Likewise.
5341 (__sha256_process_bytes): Likewise.
5342 * crypt/sha512.c (__sha512_init_ctx): Likewise.
5343 (__sha512_finish_ctx): Likewise.
5344 (__sha512_process_bytes): Likewise.
5345 * ctype/isctype.c (__isctype): Likewise.
5346 * debug/backtrace.c (__backtrace): Likewise.
5347 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
5348 * debug/fgets_chk.c (__fgets_chk): Likewise.
5349 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
5350 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
5351 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
5352 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
5353 * debug/memset_chk.c (__memset_chk): Likewise.
5354 * debug/strcat_chk.c (__strcat_chk): Likewise.
5355 * debug/strncat_chk.c (__strncat_chk): Likewise.
5356 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
5357 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
5358 * dirent/dirfd.c (dirfd): Likewise.
5359 * dirent/getdents.c (__getdirentries): Likewise.
5360 * dirent/getdents64.c (getdirentries64): Likewise.
5361 * dirent/rewinddir.c (__rewinddir): Likewise.
5362 * dirent/seekdir.c (seekdir): Likewise.
5363 * dirent/telldir.c (telldir): Likewise.
5364 * elf/sln.c (makesymlinks): Likewise.
5365 (makesymlink): Likewise.
5366 * gmon/gmon.c (__moncontrol): Likewise.
5367 (__monstartup): Likewise.
5368 (write_hist): Likewise.
5369 (write_call_graph): Likewise.
5370 (write_bb_counts): Likewise.
5371 * grp/setgroups.c (setgroups): Likewise.
5372 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5373 * inet/inet_net.c (inet_network): Likewise.
5374 * inet/inet_netof.c (inet_netof): Likewise.
5375 * inet/rcmd.c (rresvport_af): Likewise.
5376 (rresvport): Likewise.
5377 * io/access.c (__access): Likewise.
5378 * io/chdir.c (__chdir): Likewise.
5379 * io/chmod.c (__chmod): Likewise.
5380 * io/chown.c (__chown): Likewise.
5381 * io/close.c (__close): Likewise.
5382 * io/creat.c (creat): Likewise.
5383 * io/creat64.c (creat64): Likewise.
5384 * io/dup.c (__dup): Likewise.
5385 * io/dup2.c (__dup2): Likewise.
5386 * io/dup3.c (__dup3): Likewise.
5387 * io/euidaccess.c (__euidaccess): Likewise.
5388 * io/faccessat.c (faccessat): Likewise.
5389 * io/fchmod.c (__fchmod): Likewise.
5390 * io/fchmodat.c (fchmodat): Likewise.
5391 * io/fchown.c (__fchown): Likewise.
5392 * io/fchownat.c (fchownat): Likewise.
5393 * io/fcntl.c (__fcntl): Likewise.
5394 * io/flock.c (__flock): Likewise.
5395 * io/fts.c (fts_load): Likewise.
5396 (fts_close): Likewise.
5397 (fts_read): Likewise.
5398 (fts_set): Likewise.
5399 (fts_children): Likewise.
5400 (fts_build): Likewise.
5401 (fts_stat): Likewise.
5402 (fts_sort): Likewise.
5403 (fts_alloc): Likewise.
5404 (fts_lfree): Likewise.
5405 (fts_palloc): Likewise.
5406 (fts_padjust): Likewise.
5407 (fts_maxarglen): Likewise.
5408 (fts_safe_changedir): Likewise.
5409 * io/getwd.c (getwd): Likewise.
5410 * io/isatty.c (__isatty): Likewise.
5411 * io/lchown.c (__lchown): Likewise.
5412 * io/link.c (__link): Likewise.
5413 * io/linkat.c (linkat): Likewise.
5414 * io/lseek.c (__libc_lseek): Likewise.
5415 * io/mkdir.c (__mkdir): Likewise.
5416 * io/mkdirat.c (mkdirat): Likewise.
5417 * io/mkfifo.c (mkfifo): Likewise.
5418 * io/mkfifoat.c (mkfifoat): Likewise.
5419 * io/open.c (__libc_open): Likewise.
5420 * io/open64.c (__libc_open64): Likewise.
5421 * io/readlink.c (__readlink): Likewise.
5422 * io/readlinkat.c (readlinkat): Likewise.
5423 * io/rmdir.c (__rmdir): Likewise.
5424 * io/symlink.c (__symlink): Likewise.
5425 * io/symlinkat.c (symlinkat): Likewise.
5426 * io/ttyname.c (ttyname): Likewise.
5427 * io/ttyname_r.c (__ttyname_r): Likewise.
5428 * io/umask.c (__umask): Likewise.
5429 * io/unlink.c (__unlink): Likewise.
5430 * io/unlinkat.c (unlinkat): Likewise.
5431 * io/utime.c (utime): Likewise.
5432 * libio/clearerr.c (clearerr): Likewise.
5433 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
5434 * libio/feof.c (_IO_feof): Likewise.
5435 * libio/feof_u.c (feof_unlocked): Likewise.
5436 * libio/ferror.c (_IO_ferror): Likewise.
5437 * libio/ferror_u.c (ferror_unlocked): Likewise.
5438 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5439 * libio/fileno.c (__fileno): Likewise.
5440 * libio/fputc.c (fputc): Likewise.
5441 * libio/fputc_u.c (fputc_unlocked): Likewise.
5442 * libio/fputwc.c (fputwc): Likewise.
5443 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
5444 * libio/freopen.c (freopen): Likewise.
5445 * libio/freopen64.c (freopen64): Likewise.
5446 * libio/fseek.c (fseek): Likewise.
5447 * libio/fseeko.c (fseeko): Likewise.
5448 * libio/fseeko64.c (fseeko64): Likewise.
5449 * libio/ftello.c (__ftello): Likewise.
5450 * libio/ftello64.c (ftello64): Likewise.
5451 * libio/fwide.c (fwide): Likewise.
5452 * libio/genops.c (_IO_un_link): Likewise.
5453 (_IO_link_in): Likewise.
5454 (_IO_least_marker): Likewise.
5455 (_IO_switch_to_main_get_area): Likewise.
5456 (_IO_switch_to_backup_area): Likewise.
5457 (_IO_switch_to_get_mode): Likewise.
5458 (_IO_free_backup_area): Likewise.
5459 (_IO_switch_to_put_mode): Likewise.
5460 (__overflow): Likewise.
5461 (__underflow): Likewise.
5462 (__uflow): Likewise.
5463 (_IO_setb): Likewise.
5464 (_IO_doallocbuf): Likewise.
5465 (_IO_default_underflow): Likewise.
5466 (_IO_default_uflow): Likewise.
5467 (_IO_default_xsputn): Likewise.
5468 (_IO_sgetn): Likewise.
5469 (_IO_default_xsgetn): Likewise.
5470 (_IO_sync): Likewise.
5471 (_IO_default_setbuf): Likewise.
5472 (_IO_default_seekpos): Likewise.
5473 (_IO_default_doallocate): Likewise.
5474 (_IO_init): Likewise.
5475 (_IO_old_init): Likewise.
5476 (_IO_default_sync): Likewise.
5477 (_IO_default_finish): Likewise.
5478 (_IO_default_seekoff): Likewise.
5479 (_IO_sputbackc): Likewise.
5480 (_IO_sungetc): Likewise.
5481 (_IO_set_column): Likewise.
5482 (_IO_set_column): Likewise.
5483 (_IO_adjust_column): Likewise.
5484 (_IO_get_column): Likewise.
5485 (_IO_init_marker): Likewise.
5486 (_IO_remove_marker): Likewise.
5487 (_IO_marker_difference): Likewise.
5488 (_IO_marker_delta): Likewise.
5489 (_IO_seekmark): Likewise.
5490 (_IO_unsave_markers): Likewise.
5491 (_IO_nobackup_pbackfail): Likewise.
5492 (_IO_default_pbackfail): Likewise.
5493 (_IO_default_seek): Likewise.
5494 (_IO_default_stat): Likewise.
5495 (_IO_default_read): Likewise.
5496 (_IO_default_write): Likewise.
5497 (_IO_default_showmanyc): Likewise.
5498 (_IO_default_imbue): Likewise.
5499 (_IO_iter_next): Likewise.
5500 (_IO_iter_file): Likewise.
5501 * libio/getc.c (_IO_getc): Likewise.
5502 * libio/getwc.c (_IO_getwc): Likewise.
5503 * libio/iofclose.c (_IO_new_fclose): Likewise.
5504 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
5505 * libio/iofflush.c (_IO_fflush): Likewise.
5506 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
5507 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
5508 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
5509 * libio/iofgets.c (_IO_fgets): Likewise.
5510 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
5511 * libio/iofgetws.c (fgetws): Likewise.
5512 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5513 * libio/iofopen64.c (_IO_fopen64): Likewise.
5514 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5515 (_IO_cookie_write): Likewise.
5516 (_IO_cookie_seek): Likewise.
5517 (_IO_cookie_close): Likewise.
5518 (_IO_cookie_seekoff): Likewise.
5519 (_IO_old_cookie_seek): Likewise.
5520 * libio/iofputs.c (_IO_fputs): Likewise.
5521 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
5522 * libio/iofputws.c (fputws): Likewise.
5523 * libio/iofputws_u.c (fputws_unlocked): Likewise.
5524 * libio/iofread.c (_IO_fread): Likewise.
5525 * libio/iofread_u.c (__fread_unlocked): Likewise.
5526 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
5527 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5528 * libio/ioftell.c (_IO_ftell): Likewise.
5529 * libio/iofwrite.c (_IO_fwrite): Likewise.
5530 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5531 * libio/iogets.c (_IO_gets): Likewise.
5532 * libio/iopadn.c (_IO_padn): Likewise.
5533 * libio/iopopen.c (_IO_new_proc_open): Likewise.
5534 (_IO_new_popen): Likewise.
5535 (_IO_new_proc_close): Likewise.
5536 * libio/ioputs.c (_IO_puts): Likewise.
5537 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
5538 (_IO_seekoff): Likewise.
5539 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
5540 (_IO_seekpos): Likewise.
5541 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5542 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5543 * libio/ioungetc.c (_IO_ungetc): Likewise.
5544 * libio/ioungetwc.c (ungetwc): Likewise.
5545 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5546 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5547 * libio/iowpadn.c (_IO_wpadn): Likewise.
5548 * libio/libc_fatal.c (__libc_fatal): Likewise.
5549 * libio/memstream.c (__open_memstream): Likewise.
5550 (_IO_mem_sync): Likewise.
5551 (_IO_mem_finish): Likewise.
5552 * libio/oldfileops.c (_IO_old_file_init): Likewise.
5553 (_IO_old_file_close_it): Likewise.
5554 (_IO_old_file_finish): Likewise.
5555 (_IO_old_file_fopen): Likewise.
5556 (_IO_old_file_attach): Likewise.
5557 (_IO_old_file_setbuf): Likewise.
5558 (_IO_old_do_write): Likewise.
5559 (old_do_write): Likewise.
5560 (_IO_old_file_underflow): Likewise.
5561 (_IO_old_file_overflow): Likewise.
5562 (_IO_old_file_sync): Likewise.
5563 (_IO_old_file_seekoff): Likewise.
5564 (_IO_old_file_write): Likewise.
5565 (_IO_old_file_xsputn): Likewise.
5566 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5567 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5568 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
5569 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
5570 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5571 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
5572 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
5573 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5574 (_IO_old_popen): Likewise.
5575 (_IO_old_proc_close): Likewise.
5576 * libio/oldpclose.c (__old_pclose): Likewise.
5577 * libio/pclose.c (__new_pclose): Likewise.
5578 * libio/peekc.c (_IO_peekc_locked): Likewise.
5579 * libio/putc.c (_IO_putc): Likewise.
5580 * libio/putc_u.c (putc_unlocked): Likewise.
5581 * libio/putchar.c (putchar): Likewise.
5582 * libio/putchar_u.c (putchar_unlocked): Likewise.
5583 * libio/putwc.c (putwc): Likewise.
5584 * libio/putwc_u.c (putwc_unlocked): Likewise.
5585 * libio/putwchar.c (putwchar): Likewise.
5586 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5587 * libio/rewind.c (rewind): Likewise.
5588 * libio/setbuf.c (setbuf): Likewise.
5589 * libio/setlinebuf.c (setlinebuf): Likewise.
5590 * libio/vasprintf.c (_IO_vasprintf): Likewise.
5591 * libio/vscanf.c (_IO_vscanf): Likewise.
5592 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
5593 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
5594 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5595 * libio/wgenops.c (_IO_least_wmarker): Likewise.
5596 (_IO_switch_to_main_wget_area): Likewise.
5597 (_IO_switch_to_wbackup_area): Likewise.
5598 (_IO_wsetb): Likewise.
5599 (_IO_wdefault_pbackfail): Likewise.
5600 (_IO_wdefault_finish): Likewise.
5601 (_IO_wdefault_uflow): Likewise.
5602 (__woverflow): Likewise.
5603 (__wuflow): Likewise.
5604 (__wunderflow): Likewise.
5605 (_IO_wdefault_xsputn): Likewise.
5606 (_IO_wdefault_xsgetn): Likewise.
5607 (_IO_wdoallocbuf): Likewise.
5608 (_IO_wdefault_doallocate): Likewise.
5609 (_IO_switch_to_wget_mode): Likewise.
5610 (_IO_free_wbackup_area): Likewise.
5611 (_IO_switch_to_wput_mode): Likewise.
5612 (_IO_sputbackwc): Likewise.
5613 (_IO_sungetwc): Likewise.
5614 (_IO_adjust_wcolumn): Likewise.
5615 (_IO_init_wmarker): Likewise.
5616 (_IO_wmarker_delta): Likewise.
5617 (_IO_seekwmark): Likewise.
5618 (_IO_unsave_wmarkers): Likewise.
5619 * libio/wmemstream.c (open_wmemstream): Likewise.
5620 (_IO_wmem_sync): Likewise.
5621 (_IO_wmem_finish): Likewise.
5622 * locale/nl_langinfo.c (nl_langinfo): Likewise.
5623 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
5624 * locale/programs/simple-hash.c (init_hash): Likewise.
5625 (delete_hash): Likewise.
5626 (insert_entry): Likewise.
5627 (set_entry): Likewise.
5628 (next_prime): Likewise.
5629 (is_prime): Likewise.
5630 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
5631 (xmalloc): Likewise.
5632 (xrealloc): Likewise.
5633 * locale/programs/xstrdup.c (xstrdup): Likewise.
5634 * localedata/collate-test.c (xstrcoll): Likewise.
5635 * localedata/xfrm-test.c (xstrcmp): Likewise.
5636 * login/getlogin_r.c (__getlogin_r): Likewise.
5637 * login/getpt.c (__posix_openpt): Likewise.
5638 * login/login_tty.c (login_tty): Likewise.
5639 * login/setlogin.c (setlogin): Likewise.
5640 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
5641 (mach_msg_destroy_port): Likewise.
5642 (mach_msg_destroy_memory): Likewise.
5643 * malloc/mcheck.c (flood): Likewise.
5644 * misc/acct.c (acct): Likewise.
5645 * misc/brk.c (__brk): Likewise.
5646 * misc/chflags.c (chflags): Likewise.
5647 * misc/chroot.c (chroot): Likewise.
5648 * misc/fchflags.c (fchflags): Likewise.
5649 * misc/fstab.c (getfsspec): Likewise.
5650 (getfsfile): Likewise.
5651 * misc/fsync.c (fsync): Likewise.
5652 * misc/ftruncate.c (__ftruncate): Likewise.
5653 * misc/ftruncate64.c (__ftruncate64): Likewise.
5654 * misc/getdomain.c (getdomainname): Likewise.
5655 (getdomainname): Likewise.
5656 * misc/gethostname.c (__gethostname): Likewise.
5657 * misc/getpass.c (getpass): Likewise.
5658 * misc/getttyent.c (skip): Likewise.
5659 (value): Likewise.
5660 * misc/gtty.c (gtty): Likewise.
5661 * misc/hsearch.c (hsearch): Likewise.
5662 (hcreate): Likewise.
5663 * misc/hsearch_r.c (__hcreate_r): Likewise.
5664 (__hdestroy_r): Likewise.
5665 * misc/ioctl.c (__ioctl): Likewise.
5666 * misc/mkdtemp.c (mkdtemp): Likewise.
5667 * misc/mkostemp.c (mkostemp): Likewise.
5668 * misc/mkostemp64.c (mkostemp64): Likewise.
5669 * misc/mkostemps.c (mkostemps): Likewise.
5670 * misc/mkostemps64.c (mkostemps64): Likewise.
5671 * misc/mkstemp.c (mkstemp): Likewise.
5672 * misc/mkstemp64.c (mkstemp64): Likewise.
5673 * misc/mkstemps.c (mkstemps): Likewise.
5674 * misc/mkstemps64.c (mkstemps64): Likewise.
5675 * misc/mktemp.c (__mktemp): Likewise.
5676 * misc/preadv.c (preadv): Likewise.
5677 * misc/preadv64.c (preadv64): Likewise.
5678 * misc/pwritev.c (pwritev): Likewise.
5679 * misc/pwritev64.c (pwritev64): Likewise.
5680 * misc/readv.c (__readv): Likewise.
5681 * misc/revoke.c (revoke): Likewise.
5682 * misc/setdomain.c (setdomainname): Likewise.
5683 * misc/setegid.c (setegid): Likewise.
5684 * misc/seteuid.c (seteuid): Likewise.
5685 * misc/sethostid.c (sethostid): Likewise.
5686 * misc/sethostname.c (sethostname): Likewise.
5687 * misc/setregid.c (__setregid): Likewise.
5688 * misc/setreuid.c (__setreuid): Likewise.
5689 * misc/sstk.c (sstk): Likewise.
5690 * misc/stty.c (stty): Likewise.
5691 * misc/syscall.c (syscall): Likewise.
5692 * misc/syslog.c (setlogmask): Likewise.
5693 * misc/truncate.c (__truncate): Likewise.
5694 * misc/truncate64.c (truncate64): Likewise.
5695 * misc/ualarm.c (ualarm): Likewise.
5696 * misc/usleep.c (usleep): Likewise.
5697 * misc/ustat.c (ustat): Likewise.
5698 * misc/writev.c (__writev): Likewise.
5699 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
5700 * nptl/old_pthread_cond_broadcast.c
5701 (__pthread_cond_broadcast_2_0): Likewise.
5702 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
5703 Likewise.
5704 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
5705 Likewise.
5706 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
5707 Likewise.
5708 * nptl/pt-raise.c (raise): Likewise.
5709 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
5710 Likewise.
5711 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
5712 * nptl/pthread_barrierattr_destroy.c
5713 (pthread_barrierattr_destroy): Likewise.
5714 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
5715 Likewise.
5716 * nptl/pthread_barrierattr_setpshared.c
5717 (pthread_barrierattr_setpshared): Likewise.
5718 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5719 Likewise.
5720 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5721 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5722 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5723 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
5724 Likewise.
5725 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
5726 Likewise.
5727 * nptl/pthread_condattr_getpshared.c
5728 (pthread_condattr_getpshared): Likewise.
5729 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
5730 Likewise.
5731 * nptl/pthread_condattr_setpshared.c
5732 (pthread_condattr_setpshared): Likewise.
5733 * nptl/pthread_detach.c (pthread_detach): Likewise.
5734 * nptl/pthread_equal.c (__pthread_equal): Likewise.
5735 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
5736 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
5737 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
5738 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
5739 Likewise.
5740 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5741 Likewise.
5742 * nptl/pthread_mutex_getprioceiling.c
5743 (pthread_mutex_getprioceiling): Likewise.
5744 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
5745 Likewise.
5746 * nptl/pthread_mutexattr_getprotocol.c
5747 (pthread_mutexattr_getprotocol): Likewise.
5748 * nptl/pthread_mutexattr_getpshared.c
5749 (pthread_mutexattr_getpshared): Likewise.
5750 * nptl/pthread_mutexattr_getrobust.c
5751 (pthread_mutexattr_getrobust): Likewise.
5752 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5753 Likewise.
5754 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
5755 Likewise.
5756 * nptl/pthread_mutexattr_setprioceiling.c
5757 (pthread_mutexattr_setprioceiling): Likewise.
5758 * nptl/pthread_mutexattr_setprotocol.c
5759 (pthread_mutexattr_setprotocol): Likewise.
5760 * nptl/pthread_mutexattr_setpshared.c
5761 (pthread_mutexattr_setpshared): Likewise.
5762 * nptl/pthread_mutexattr_setrobust.c
5763 (pthread_mutexattr_setrobust): Likewise.
5764 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
5765 Likewise.
5766 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
5767 Likewise.
5768 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
5769 Likewise.
5770 * nptl/pthread_rwlockattr_getkind_np.c
5771 (pthread_rwlockattr_getkind_np): Likewise.
5772 * nptl/pthread_rwlockattr_getpshared.c
5773 (pthread_rwlockattr_getpshared): Likewise.
5774 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
5775 Likewise.
5776 * nptl/pthread_rwlockattr_setkind_np.c
5777 (pthread_rwlockattr_setkind_np): Likewise.
5778 * nptl/pthread_rwlockattr_setpshared.c
5779 (pthread_rwlockattr_setpshared): Likewise.
5780 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
5781 Likewise.
5782 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
5783 Likewise.
5784 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
5785 Likewise.
5786 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5787 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
5788 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
5789 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
5790 * nptl/sem_close.c (sem_close): Likewise.
5791 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
5792 * nptl/sem_init.c (__old_sem_init): Likewise.
5793 * nptl/sigaction.c (__sigaction): Likewise.
5794 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5795 * posix/_exit.c (_exit): Likewise.
5796 * posix/alarm.c (alarm): Likewise.
5797 * posix/confstr.c (confstr): Likewise.
5798 * posix/fpathconf.c (__fpathconf): Likewise.
5799 * posix/getgroups.c (__getgroups): Likewise.
5800 * posix/getpgid.c (__getpgid): Likewise.
5801 * posix/group_member.c (__group_member): Likewise.
5802 * posix/pathconf.c (__pathconf): Likewise.
5803 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
5804 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
5805 * posix/setgid.c (__setgid): Likewise.
5806 * posix/setpgid.c (__setpgid): Likewise.
5807 * posix/setuid.c (__setuid): Likewise.
5808 * posix/sleep.c (__sleep): Likewise.
5809 * posix/sysconf.c (__sysconf): Likewise.
5810 * posix/times.c (__times): Likewise.
5811 * posix/uname.c (__uname): Likewise.
5812 * posix/waitid.c (__waitid): Likewise.
5813 * pwd/getpw.c (__getpw): Likewise.
5814 * resolv/base64.c (b64_pton): Likewise.
5815 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5816 * resolv/gethnamaddr.c (Dprintf): Likewise.
5817 (gethostbyname): Likewise.
5818 (gethostbyname2): Likewise.
5819 (gethostbyaddr): Likewise.
5820 (_sethtent): Likewise.
5821 (_gethtbyname): Likewise.
5822 (_gethtbyname2): Likewise.
5823 (_gethtbyaddr): Likewise.
5824 (map_v4v6_address): Likewise.
5825 (map_v4v6_hostent): Likewise.
5826 (addrsort): Likewise.
5827 (ht_sethostent): Likewise.
5828 (ht_gethostbyname): Likewise.
5829 (ht_gethostbyaddr): Likewise.
5830 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
5831 (inet_net_ntop_ipv4): Likewise.
5832 * resolv/inet_neta.c (inet_neta): Likewise.
5833 * resolv/inet_ntop.c (inet_ntop): Likewise.
5834 (inet_ntop4): Likewise.
5835 (inet_ntop6): Likewise.
5836 * resolv/inet_pton.c (__inet_pton): Likewise.
5837 (inet_pton4): Likewise.
5838 (inet_pton6): Likewise.
5839 * resolv/res_debug.c (loc_aton): Likewise.
5840 (loc_ntoa): Likewise.
5841 * resource/getpriority.c (__getpriority): Likewise.
5842 * resource/getrusage.c (__getrusage): Likewise.
5843 * resource/nice.c (nice): Likewise.
5844 * resource/setpriority.c (__setpriority): Likewise.
5845 * resource/setrlimit64.c (setrlimit64): Likewise.
5846 * resource/vlimit.c (vlimit): Likewise.
5847 * resource/vtimes.c (vtimes): Likewise.
5848 * rt/aio_error.c (aio_error): Likewise.
5849 * rt/aio_return.c (aio_return): Likewise.
5850 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
5851 * signal/kill.c (__kill): Likewise.
5852 * signal/killpg.c (killpg): Likewise.
5853 * signal/raise.c (raise): Likewise.
5854 * signal/sigaction.c (__sigaction): Likewise.
5855 * signal/sigaddset.c (sigaddset): Likewise.
5856 * signal/sigaltstack.c (sigaltstack): Likewise.
5857 * signal/sigandset.c (sigandset): Likewise.
5858 * signal/sigblock.c (__sigblock): Likewise.
5859 * signal/sigdelset.c (sigdelset): Likewise.
5860 * signal/sigempty.c (sigemptyset): Likewise.
5861 * signal/sigfillset.c (sigfillset): Likewise.
5862 * signal/sighold.c (sighold): Likewise.
5863 * signal/sigignore.c (sigignore): Likewise.
5864 * signal/sigintr.c (siginterrupt): Likewise.
5865 * signal/sigisempty.c (sigisemptyset): Likewise.
5866 * signal/sigismem.c (sigismember): Likewise.
5867 * signal/signal.c (signal): Likewise.
5868 * signal/sigorset.c (sigorset): Likewise.
5869 * signal/sigpause.c (__sigpause): Likewise.
5870 * signal/sigpending.c (sigpending): Likewise.
5871 * signal/sigprocmask.c (__sigprocmask): Likewise.
5872 * signal/sigrelse.c (sigrelse): Likewise.
5873 * signal/sigreturn.c (__sigreturn): Likewise.
5874 * signal/sigset.c (sigset): Likewise.
5875 * signal/sigsetmask.c (__sigsetmask): Likewise.
5876 * signal/sigstack.c (sigstack): Likewise.
5877 * signal/sigsuspend.c (__sigsuspend): Likewise.
5878 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
5879 * signal/sysv_signal.c (__sysv_signal): Likewise.
5880 * socket/accept.c (accept): Likewise.
5881 * socket/accept4.c (__libc_accept4): Likewise.
5882 * socket/bind.c (__bind): Likewise.
5883 * socket/connect.c (__connect): Likewise.
5884 * socket/getpeername.c (getpeername): Likewise.
5885 * socket/getsockname.c (__getsockname): Likewise.
5886 * socket/getsockopt.c (getsockopt): Likewise.
5887 * socket/listen.c (__listen): Likewise.
5888 * socket/recv.c (__recv): Likewise.
5889 * socket/recvmsg.c (__recvmsg): Likewise.
5890 * socket/send.c (__send): Likewise.
5891 * socket/sendmsg.c (__sendmsg): Likewise.
5892 * socket/shutdown.c (shutdown): Likewise.
5893 * socket/sockatmark.c (sockatmark): Likewise.
5894 * socket/socket.c (__socket): Likewise.
5895 * stdio-common/ctermid.c (ctermid): Likewise.
5896 * stdio-common/cuserid.c (cuserid): Likewise.
5897 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
5898 * stdio-common/remove.c (remove): Likewise.
5899 * stdio-common/rename.c (rename): Likewise.
5900 * stdio-common/renameat.c (renameat): Likewise.
5901 * stdio-common/tempname.c (__gen_tempname): Likewise.
5902 * stdio-common/xbug.c (InitBuffer): Likewise.
5903 (AppendToBuffer): Likewise.
5904 (ReadFile): Likewise.
5905 * stdlib/a64l.c (a64l): Likewise.
5906 * stdlib/drand48_r.c (drand48_r): Likewise.
5907 * stdlib/getcontext.c (getcontext): Likewise.
5908 * stdlib/getenv.c (getenv): Likewise.
5909 * stdlib/l64a.c (l64a): Likewise.
5910 * stdlib/llabs.c (llabs): Likewise.
5911 * stdlib/lldiv.c (lldiv): Likewise.
5912 * stdlib/lrand48_r.c (lrand48_r): Likewise.
5913 * stdlib/mrand48_r.c (mrand48_r): Likewise.
5914 * stdlib/putenv.c (putenv): Likewise.
5915 * stdlib/random.c (__srandom): Likewise.
5916 (__initstate): Likewise.
5917 (__setstate): Likewise.
5918 * stdlib/random_r.c (__srandom_r): Likewise.
5919 (__setstate_r): Likewise.
5920 (__random_r): Likewise.
5921 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
5922 * stdlib/setcontext.c (setcontext): Likewise.
5923 * stdlib/setenv.c (setenv): Likewise.
5924 (unsetenv): Likewise.
5925 * stdlib/srand48.c (srand48): Likewise.
5926 * stdlib/srand48_r.c (__srand48_r): Likewise.
5927 * stdlib/swapcontext.c (swapcontext): Likewise.
5928 * stdlib/system.c (__libc_system): Likewise.
5929 * stdlib/tst-strtod.c (expand): Likewise.
5930 * stdlib/tst-strtol.c (expand): Likewise.
5931 * stdlib/tst-strtoll.c (expand): Likewise.
5932 * streams/fattach.c (fattach): Likewise.
5933 * streams/fdetach.c (fdetach): Likewise.
5934 * streams/getmsg.c (getmsg): Likewise.
5935 * streams/isastream.c (isastream): Likewise.
5936 * string/ffs.c (__ffs): Likewise.
5937 * string/ffsll.c (ffsll): Likewise.
5938 * string/memcmp.c (memcmp_common_alignment): Likewise.
5939 (memcmp_not_common_alignment): Likewise.
5940 (MEMCMP): Likewise.
5941 * string/memcpy.c (memcpy): Likewise.
5942 * string/memmove.c (MEMMOVE): Likewise.
5943 * string/memset.c (memset): Likewise.
5944 * string/rawmemchr.c (RAWMEMCHR): Likewise.
5945 * string/strchrnul.c (STRCHRNUL): Likewise.
5946 * string/strerror.c (strerror): Likewise.
5947 * string/strndup.c (__strndup): Likewise.
5948 * string/strverscmp.c (__strverscmp): Likewise.
5949 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
5950 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
5951 (clnttcp_freeres): Likewise.
5952 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
5953 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
5954 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
5955 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
5956 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
5957 (xdr_callhdr): Likewise.
5958 * sunrpc/rpcinfo.c (udpping): Likewise.
5959 (tcpping): Likewise.
5960 (pstatus): Likewise.
5961 (pmapdump): Likewise.
5962 (brdcst): Likewise.
5963 (deletereg): Likewise.
5964 (getprognum): Likewise.
5965 (getvers): Likewise.
5966 (get_inet_address): Likewise.
5967 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
5968 * sunrpc/svc_udp.c (svcudp_create): Likewise.
5969 (svcudp_stat): Likewise.
5970 (svcudp_recv): Likewise.
5971 (svcudp_reply): Likewise.
5972 (svcudp_getargs): Likewise.
5973 (svcudp_freeargs): Likewise.
5974 (svcudp_destroy): Likewise.
5975 * sunrpc/xdr.c (xdr_bytes): Likewise.
5976 (xdr_netobj): Likewise.
5977 (xdr_string): Likewise.
5978 (xdr_wrapstring): Likewise.
5979 * sunrpc/xdr_float.c (xdr_float): Likewise.
5980 (xdr_double): Likewise.
5981 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
5982 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
5983 * sysvipc/ftok.c (ftok): Likewise.
5984 * sysvipc/msgctl.c (msgctl): Likewise.
5985 * sysvipc/msgget.c (msgget): Likewise.
5986 * sysvipc/msgrcv.c (msgrcv): Likewise.
5987 * sysvipc/msgsnd.c (msgsnd): Likewise.
5988 * sysvipc/semget.c (semget): Likewise.
5989 * sysvipc/semop.c (semop): Likewise.
5990 * sysvipc/shmat.c (shmat): Likewise.
5991 * sysvipc/shmctl.c (shmctl): Likewise.
5992 * sysvipc/shmdt.c (shmdt): Likewise.
5993 * sysvipc/shmget.c (shmget): Likewise.
5994 * termios/cfmakeraw.c (cfmakeraw): Likewise.
5995 * termios/speed.c (cfgetospeed): Likewise.
5996 (cfgetispeed): Likewise.
5997 (cfsetospeed): Likewise.
5998 (cfsetispeed): Likewise.
5999 * termios/tcflow.c (tcflow): Likewise.
6000 * termios/tcflush.c (tcflush): Likewise.
6001 * termios/tcgetattr.c (__tcgetattr): Likewise.
6002 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
6003 * termios/tcgetsid.c (tcgetsid): Likewise.
6004 * termios/tcsendbrk.c (tcsendbreak): Likewise.
6005 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
6006 * time/adjtime.c (__adjtime): Likewise.
6007 * time/dysize.c (dysize): Likewise.
6008 * time/ftime.c (ftime): Likewise.
6009 * time/getitimer.c (__getitimer): Likewise.
6010 * time/gettimeofday.c (__gettimeofday): Likewise.
6011 * time/gmtime.c (__gmtime_r): Likewise.
6012 (gmtime): Likewise.
6013 * time/localtime.c (__localtime_r): Likewise.
6014 (localtime): Likewise.
6015 * time/offtime.c (__offtime): Likewise.
6016 * time/settimeofday.c (__settimeofday): Likewise.
6017 * time/stime.c (stime): Likewise.
6018 * time/strftime_l.c (tm_diff): Likewise.
6019 (iso_week_days): Likewise.
6020 * time/strptime.c (strptime): Likewise.
6021 * time/time.c (time): Likewise.
6022 * time/timespec_get.c (timespec_get): Likewise.
6023 * time/tzset.c (tzset_internal): Likewise.
6024 (compute_change): Likewise.
6025 (__tz_compute): Likewise.
6026 * wcsmbs/btowc.c (__btowc): Likewise.
6027 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
6028 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
6029 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
6030 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
6031 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
6032 * wcsmbs/wcscat.c (__wcscat): Likewise.
6033 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6034 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
6035 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
6036 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6037 * wcsmbs/wcsdup.c (wcsdup): Likewise.
6038 * wcsmbs/wcslen.c (__wcslen): Likewise.
6039 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
6040 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
6041 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
6042 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
6043 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6044 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
6045 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6046 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6047 * wcsmbs/wcstok.c (wcstok): Likewise.
6048 * wcsmbs/wctob.c (wctob): Likewise.
6049 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
6050 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6051 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
6052 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
6053 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
6054 * wcsmbs/wmemset.c (__wmemset): Likewise.
6055 * wctype/wcfuncs.c (__towlower): Likewise.
6056 (__towupper): Likewise.
6057
6058 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
6059 (lll_unlock_elision): Add adapt_count parameter.
6060
6061 2015-10-15 Joseph Myers <joseph@codesourcery.com>
6062
6063 * sysdeps/nptl/configure.ac: Do not give errors based on the
6064 results of top-level configure tests.
6065 * sysdeps/nptl/configure: Regenerated.
6066
6067 * configure.ac (libc_cv_Bgroup): Remove configure test.
6068 * configure: Regenerated.
6069 * config.make.in (have-Bgroup): Remove variable.
6070
6071 * configure.ac (sizeof_long_double): Remove configure test.
6072 * configure: Regenerated.
6073 * config.make.in (sizeof-long-double): Remove variable.
6074
6075 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
6076 * configure: Regenerated.
6077 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
6078 variable.
6079 (exceptions): Likewise.
6080 * sysdeps/arm/configure: Regenerated.
6081 * config.make.in (exceptions): Remove variable.
6082 * Makeconfig (uses-callbacks): Use -fexceptions instead of
6083 $(exceptions).
6084 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
6085 (CFLAGS-vdprintf_chk.c): Likewise.
6086 (CFLAGS-printf_chk.c): Likewise.
6087 (CFLAGS-fprintf_chk.c): Likewise.
6088 (CFLAGS-vprintf_chk.c): Likewise.
6089 (CFLAGS-vfprintf_chk.c): Likewise.
6090 (CFLAGS-gets_chk.c): Likewise.
6091 (CFLAGS-fgets_chk.c): Likewise.
6092 (CFLAGS-fgets_u_chk.c): Likewise.
6093 (CFLAGS-fread_chk.c): Likewise.
6094 (CFLAGS-fread_u_chk.c): Likewise.
6095 (CFLAGS-wprintf_chk.c): Likewise.
6096 (CFLAGS-fwprintf_chk.c): Likewise.
6097 (CFLAGS-vwprintf_chk.c): Likewise.
6098 (CFLAGS-vfwprintf_chk.c): Likewise.
6099 (CFLAGS-fgetws_chk.c): Likewise.
6100 (CFLAGS-fgetws_u_chk.c): Likewise.
6101 * libio/Makefile (CFLAGS-fileops.c): Likewise.
6102 (CFLAGS-fputc.c): Likewise.
6103 (CFLAGS-fputwc.c): Likewise.
6104 (CFLAGS-freopen64.c): Likewise.
6105 (CFLAGS-freopen.c): Likewise.
6106 (CFLAGS-fseek.c): Likewise.
6107 (CFLAGS-fseeko64.c): Likewise.
6108 (CFLAGS-fseeko.c): Likewise.
6109 (CFLAGS-ftello64.c): Likewise.
6110 (CFLAGS-ftello.c): Likewise.
6111 (CFLAGS-fwide.c): Likewise.
6112 (CFLAGS-genops.c): Likewise.
6113 (CFLAGS-getc.c): Likewise.
6114 (CFLAGS-getchar.c): Likewise.
6115 (CFLAGS-getwc.c): Likewise.
6116 (CFLAGS-getwchar.c): Likewise.
6117 (CFLAGS-iofclose.c): Likewise.
6118 (CFLAGS-iofflush.c): Likewise.
6119 (CFLAGS-iofgetpos64.c): Likewise.
6120 (CFLAGS-iofgetpos.c): Likewise.
6121 (CFLAGS-iofgets.c): Likewise.
6122 (CFLAGS-iofgetws.c): Likewise.
6123 (CFLAGS-iofputs.c): Likewise.
6124 (CFLAGS-iofputws.c): Likewise.
6125 (CFLAGS-iofread.c): Likewise.
6126 (CFLAGS-iofsetpos64.c): Likewise.
6127 (CFLAGS-iofsetpos.c): Likewise.
6128 (CFLAGS-ioftell.c): Likewise.
6129 (CFLAGS-iofwrite.c): Likewise.
6130 (CFLAGS-iogetdelim.c): Likewise.
6131 (CFLAGS-iogetline.c): Likewise.
6132 (CFLAGS-iogets.c): Likewise.
6133 (CFLAGS-iogetwline.c): Likewise.
6134 (CFLAGS-ioputs.c): Likewise.
6135 (CFLAGS-ioseekoff.c): Likewise.
6136 (CFLAGS-ioseekpos.c): Likewise.
6137 (CFLAGS-iosetbuffer.c): Likewise.
6138 (CFLAGS-iosetvbuf.c): Likewise.
6139 (CFLAGS-ioungetc.c): Likewise.
6140 (CFLAGS-ioungetwc.c): Likewise.
6141 (CFLAGS-oldfileops.c): Likewise.
6142 (CFLAGS-oldiofclose.c): Likewise.
6143 (CFLAGS-oldiofgetpos64.c): Likewise.
6144 (CFLAGS-oldiofgetpos.c): Likewise.
6145 (CFLAGS-oldiofsetpos64.c): Likewise.
6146 (CFLAGS-oldiofsetpos.c): Likewise.
6147 (CFLAGS-peekc.c): Likewise.
6148 (CFLAGS-putc.c): Likewise.
6149 (CFLAGS-putchar.c): Likewise.
6150 (CFLAGS-putwc.c): Likewise.
6151 (CFLAGS-putwchar.c): Likewise.
6152 (CFLAGS-rewind.c): Likewise.
6153 (CFLAGS-wfileops.c): Likewise.
6154 (CFLAGS-wgenops.c): Likewise.
6155 (CFLAGS-oldiofopen.c): Likewise.
6156 (CFLAGS-iofopen.c): Likewise.
6157 (CFLAGS-iofopen64.c): Likewise.
6158 (CFLAGS-oldtmpfile.c): Likewise.
6159 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
6160 (CFLAGS-fprintf.c): Likewise.
6161 (CFLAGS-printf.c): Likewise.
6162 (CFLAGS-vfwprintf.c): Likewise.
6163 (CFLAGS-vfscanf.c): Likewise.
6164 (CFLAGS-vfwscanf.c): Likewise.
6165 (CFLAGS-fscanf.c): Likewise.
6166 (CFLAGS-scanf.c): Likewise.
6167 (CFLAGS-isoc99_vfscanf.c): Likewise.
6168 (CFLAGS-isoc99_vscanf.c): Likewise.
6169 (CFLAGS-isoc99_fscanf.c): Likewise.
6170 (CFLAGS-isoc99_scanf.c): Likewise.
6171 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
6172 (CFLAGS-isoc99_fwscanf.c): Likewise.
6173 (CFLAGS-isoc99_vwscanf.c): Likewise.
6174 (CFLAGS-isoc99_vfwscanf.c): Likewise.
6175
6176 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
6177 after mkstemp64.
6178 * login/tst-utmp.c (do_prepare): Likewise.
6179 * rt/tst-aio.c (do_prepare): Likewise.
6180 * rt/tst-aio64.c (do_prepare): Likewise.
6181
6182 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6183
6184 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6185 (__lll_lock_elision): Remove adapt_count decrement...
6186 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6187 (__lll_trylock_elision): Likewise.
6188 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6189 (__lll_unlock_elision): ... to here. And utilize
6190 new adapt_count parameter.
6191 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6192 (__lll_unlock_elision): Update to include adapt_count
6193 parameter.
6194 (lll_unlock_elision): Pass pointer to adapt_count
6195 variable.
6196
6197 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6198
6199 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
6200 Add elision adapt_count parameter to list of arguments.
6201 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6202 (lll_unlock_elision): Update with new parameter list
6203 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6204 (lll_unlock_elision): Likewise.
6205 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
6206 (lll_unlock_elision): Likewise.
6207
6208 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
6209
6210 [BZ #19122]
6211 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
6212 attribute_hidden.
6213
6214 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
6215 attribute_hidden.
6216 [IS_IN (rtld)] (__strdup): Likewise.
6217 [IS_IN (rtld)] (__strerror_r): Likewise.
6218 [IS_IN (rtld)] (__strsep_g): Likewise.
6219 [IS_IN (rtld)] (memchr): Likewise.
6220 [IS_IN (rtld)] (memcmp): Likewise.
6221 [IS_IN (rtld)] (memcpy): Likewise.
6222 [IS_IN (rtld)] (memmove): Likewise.
6223 [IS_IN (rtld)] (memset): Likewise.
6224 [IS_IN (rtld)] (rawmemchr): Likewise.
6225 [IS_IN (rtld)] (stpcpy): Likewise.
6226 [IS_IN (rtld)] (strchr): Likewise.
6227 [IS_IN (rtld)] (strcmp): Likewise.
6228 [IS_IN (rtld)] (strlen): Likewise.
6229 [IS_IN (rtld)] (strnlen): Likewise.
6230 [IS_IN (rtld)] (strsep): Likewise.
6231
6232 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
6233 attribute_hidden.
6234 [IS_IN (rtld)] (__strtoul_internal): Likewise.
6235
6236 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
6237 attribute_hidden.
6238 [IS_IN (rtld)] (__libc_sigaction): Likewise.
6239
6240 * include/setjmp.h (__longjmp): Add attribute_hidden.
6241 [IS_IN (rtld)] (__sigsetjmp): Likewise.
6242
6243 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
6244 Add attribute_hidden.
6245
6246 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
6247 [IS_IN (rtld)] (__open): Likewise.
6248 [IS_IN (rtld)] (__fcntl): Likewise.
6249
6250 * include/dirent.h (__opendirat): Add attribute_hidden.
6251 (__getdents): Likewise.
6252 (__getdents64): Likewise.
6253 (__alloc_dir): Likewise.
6254 [IS_IN (rtld)] (__closedir): Likewise.
6255 [IS_IN (rtld)] (__fdopendir): Likewise.
6256 [IS_IN (rtld)] (__readdir): Likewise.
6257 [IS_IN (rtld)] (__readdir64): Likewise.
6258 [IS_IN (rtld)] (__rewinddir): Likewise.
6259
6260 * include/dlfcn.h (_dl_catch_error): Moved to ...
6261 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
6262 attribute_hidden.
6263
6264 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
6265 (_itoa_word): Likewise.
6266
6267 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
6268 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
6269 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
6270 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
6271 (_dl_higher_prime_number): Likewise.
6272 (_dl_debug_printf_c): Likewise.
6273 (_dl_signal_cerror): Likewise.
6274 (_dl_receive_error): Likewise.
6275 (_dl_reloc_bad_type): Likewise.
6276 (_dl_resolve_conflicts): Likewise.
6277 (_dl_check_all_versions): Likewise.
6278 (_dl_check_map_versions): Likewise.
6279 (_dl_sort_fini): Likewise.
6280 (_dl_debug_initialize): Likewise.
6281 (_dl_init_paths): Likewise.
6282 (_dl_show_auxv): Likewise.
6283 (_dl_next_ld_env_entry): Likewise.
6284 (_dl_important_hwcaps): Likewise.
6285 (_dl_load_cache_lookup): Likewise.
6286 (_dl_update_slotinfo): Likewise.
6287 (_dl_show_scope): Likewise.
6288
6289 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
6290 attribute_hidden.
6291 (_wordcopy_fwd_dest_aligned): Likewise.
6292 (_wordcopy_bwd_aligned): Likewise.
6293 (_wordcopy_bwd_dest_aligned): Likewise.
6294
6295 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6296 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6297 Likewise.
6298 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6299 Likewise.
6300 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
6301
6302 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
6303
6304 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
6305 GCC 5 requirement.
6306
6307 2015-10-15 Joseph Myers <joseph@codesourcery.com>
6308
6309 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
6310 test.
6311 * sysdeps/i386/configure: Regenerated.
6312 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
6313 code unconditional.
6314
6315 * configure.ac (libc_cv_asm_previous_directive): Remove configure
6316 test.
6317 (libc_cv_asm_popsection_directive): Likewise.
6318 * configure: Regenerated.
6319 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
6320 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
6321 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
6322 (__make_section_unallocated): Make definition unconditional.
6323 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
6324 Remove conditional definition.
6325 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
6326 (__make_section_unallocated): Likewise.
6327
6328 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
6329 * configure: Regenerated.
6330 * config.make.in (static-libgcc): Remove variable.
6331 * Makerules (build-shlib-helper): Use -static-libgcc instead of
6332 $(static-libgcc).
6333 (build-module-helper): Likewise.
6334
6335 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
6336 * configure: Regenerated.
6337
6338 2015-10-15 Florian Weimer <fweimer@redhat.com>
6339
6340 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
6341 (struct char_buffer): New type.
6342 (char_buffer_start, char_buffer_size, char_buffer_error)
6343 (char_buffer_rewind, char_buffer_add): New functions.
6344 (ADDW): Remove macro, replaced by the char_buffer_add function.
6345 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
6346 of extend_alloca. Make control flow more explicit.
6347
6348 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
6349
6350 [BZ #19137]
6351 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6352 Add -fomit-frame-pointer.
6353 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
6354
6355 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
6356
6357 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
6358 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
6359 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
6360 only if !__GNUC_PREREQ (5,0).
6361 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
6362 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
6363 (INTERNAL_SYSCALL_NCS): Likewise.
6364 (LOADREGS_0): New macro for GCC 5.
6365 (ASMARGS_0): Likewise.
6366 (LOADREGS_1): Likewise.
6367 (ASMARGS_1): Likewise.
6368 (LOADREGS_2): Likewise.
6369 (ASMARGS_2): Likewise.
6370 (LOADREGS_3): Likewise.
6371 (ASMARGS_3): Likewise.
6372 (LOADREGS_4): Likewise.
6373 (ASMARGS_4): Likewise.
6374 (LOADREGS_5): Likewise.
6375 (ASMARGS_5): Likewise.
6376 (LOADREGS_6): Likewise.
6377 (ASMARGS_6): Likewise.
6378
6379 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
6380
6381 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
6382 -fomit-frame-pointer.
6383 (CFLAGS-mmap64.c): Likewise.
6384 (CFLAGS-semtimedop.c): Likewise.
6385 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
6386 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
6387 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6388 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6389
6390 2015-10-15 Florian Weimer <fweimer@redhat.com>
6391
6392 [BZ #18928]
6393 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
6394 _dl_pointer_guard member.
6395 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
6396 initializer.
6397 (security_init): Always set up pointer guard.
6398 (process_envvars): Do not process LD_POINTER_GUARD.
6399
6400 2015-10-14 Joseph Myers <joseph@codesourcery.com>
6401
6402 [BZ #19134]
6403 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
6404 (.LC2): Likewise.
6405 (.LC3): Likewise.
6406 (__lround): Do not add 0.5 to integer or out-of-range arguments.
6407
6408 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
6409
6410 [BZ #19129]
6411 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
6412 r0 and r1.
6413
6414 2015-10-14 Namhyung Kim <namhyung@gmail.com>
6415
6416 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
6417
6418 2015-10-14 Carlos O'Donell <carlos@redhat.com>
6419
6420 * include/stap-probe.h: Fix macro definition formatting.
6421
6422 2015-10-14 Florian Weimer <fweimer@redhat.com>
6423
6424 [BZ #19074]
6425 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
6426 load and store num_ifs.
6427
6428 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
6429
6430 [BZ #18822]
6431 * sysdeps/unix/sysv/linux/sched_getaffinity.c
6432 (__sched_getaffinity_new): Add libc_hidden_proto and
6433 libc_hidden_def.
6434
6435 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
6436
6437 [BZ #19007]
6438 * scripts/localplt.awk: Also allow GOT references.
6439 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
6440 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
6441 with "+ REL R_386_GLOB_DAT".
6442 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
6443 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
6444
6445 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
6446
6447 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
6448 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6449 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
6450 Likewise.
6451 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6452 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
6453 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6454 INTERNAL_SYSCALLINTERNAL_SYSCALL and
6455 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6456 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6457 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6458 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6459 Likewise.
6460 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6461
6462 2015-10-13 Joseph Myers <joseph@codesourcery.com>
6463
6464 [BZ #19125]
6465 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
6466 <math_private.h> and <stdint.h>.
6467 (__llround): Avoid conversions to and from long long int, and
6468 subtractions, where those might raise spurious exceptions.
6469 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
6470 <math_private.h> and <stdint.h>.
6471 (__llroundf): Avoid conversions to and from long long int, and
6472 subtractions, where those might raise spurious exceptions.
6473
6474 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
6475
6476 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
6477 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6478 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6479 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
6480 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6481 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6482 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
6483 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
6484 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
6485 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6486 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6487 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6488 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
6489 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6490 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6491 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
6492 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
6493 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6494 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
6495 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
6496 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6497 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
6498 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
6499 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6500 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
6501 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6502 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
6503 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6504 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6505 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
6506 (__xstat64_conv): Likewise.
6507 (__xstat32_conv): Likewise.
6508
6509 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
6510
6511 * sysdeps/unix/sysv/linux/sysdep.h: New file.
6512 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
6513 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
6514 <sysdeps/unix/sysv/linux/sysdep.h>.
6515 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6516 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
6517 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
6518 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6519 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6520 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
6521 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
6522 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6523 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6526 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6527 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6528 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6529 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6530 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6531 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
6532 (sysdep-dl-routines): Add sysdep.
6533 [$(subdir) == nptl] (libpthread-routines): Likewise.
6534 [$(subdir) == rt] (librt-routines): Likewise.
6535 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
6536 PIC when branching to SYSCALL_ERROR_LABEL.
6537 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
6538 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
6539 <sysdeps/unix/sysv/linux/sysdep.h>.
6540 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
6541 (SYSCALL_ERROR_ERRNO): Removed.
6542 (SYSCALL_ERROR_HANDLER): Changed to empty.
6543 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
6544 (__syscall_error): New prototype.
6545 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
6546 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
6547
6548 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
6549
6550 [BZ #19124]
6551 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
6552 (_dl_runtime_resolve_avx512): Make it a hidden alias of
6553 _dl_runtime_resolve_avx.
6554 (_dl_runtime_profile_avx512): Make it a hidden alias of
6555 _dl_runtime_profile_avx.
6556
6557 2015-10-13 Joseph Myers <joseph@codesourcery.com>
6558
6559 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
6560 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
6561 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
6562 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
6563
6564 [BZ #16422]
6565 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
6566 New configure test.
6567 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
6568 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
6569 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
6570 <math_private.h> and <stdint.h>.
6571 (__llrint): Avoid conversions to long long int where those might
6572 raise spurious exceptions.
6573 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
6574 <math_private.h> and <stdint.h>.
6575 (__llrintf): Avoid conversions to long long int where those might
6576 raise spurious exceptions.
6577
6578 2015-10-12 Andreas Schwab <schwab@suse.de>
6579
6580 [BZ #18969]
6581 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
6582 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
6583 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
6584 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
6585 $(gen-locales).
6586 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
6587 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
6588 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
6589 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
6590 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
6591 $(gen-locales).
6592 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
6593 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
6594 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
6595 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
6596 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
6597 ($(objpfx)tst-ftell-active-handler.out)
6598 ($(objpfx)tst-ftell-append.out)
6599 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
6600 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
6601 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
6602 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
6603 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
6604 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
6605 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
6606 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
6607 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
6608 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
6609 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
6610 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
6611 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
6612 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
6613 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
6614 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
6615 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
6616 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
6617 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
6618 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
6619 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
6620 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
6621 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
6622 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
6623 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
6624 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
6625 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
6626 $(gen-locales).
6627 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
6628 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
6629 $(gen-locales).
6630 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
6631 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
6632 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
6633 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
6634 $(gen-locales).
6635 * libio/tst_wprintf2.c (main): Use explicit locale.
6636 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
6637
6638 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6639
6640 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
6641 __msg_sig_post.
6642 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
6643
6644 2015-10-09 Joseph Myers <joseph@codesourcery.com>
6645
6646 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6647 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6648
6649 * sysdeps/arm/libm-test-ulps: Regenerated.
6650
6651 [BZ #15470]
6652 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
6653
6654 [BZ #16399]
6655 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
6656 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
6657 and <fix-fp-int-convert-overflow.h>.
6658 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6659 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6660 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
6661 and <fix-fp-int-convert-overflow.h>.
6662 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
6663 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6664 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
6665 <fix-fp-int-convert-overflow.h>.
6666 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6667 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6668 * sysdeps/ieee754/dbl-64/s_lround.c: Include
6669 <fix-fp-int-convert-overflow.h>.
6670 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
6671 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6672 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
6673 and <fix-fp-int-convert-overflow.h>.
6674 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6675 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6676 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
6677 <limits.h> and <fix-fp-int-convert-overflow.h>.
6678 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6679 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6680 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
6681 and <fix-fp-int-convert-overflow.h>.
6682 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6683 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6684 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
6685 and <fix-fp-int-convert-overflow.h>.
6686 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6687 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6688 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
6689
6690 2015-10-09 Carlos O'Donell <carlos@redhat.com>
6691
6692 [BZ #18589]
6693 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
6694 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
6695 $(gen-locales).
6696
6697 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6698 Phil Blundell <pb@pbcl.net>
6699
6700 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
6701 * nptl/tst-cancel26.c: New file.
6702 * nptl/tst-cancel27.c: Likewise.
6703
6704 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
6705
6706 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
6707 __ILP32__ isn't defined.
6708 (lrint): Likewise.
6709 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
6710 (lrintf): Likewise.
6711 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
6712 (lrintl): Likewise.
6713 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
6714 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
6715 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
6716
6717 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6718
6719 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6720 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6721
6722 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
6723 file.
6724 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
6725 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6726
6727 2015-10-09 Joseph Myers <joseph@codesourcery.com>
6728
6729 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
6730 configure test.
6731 * sysdeps/i386/configure: Regenerated.
6732 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
6733 configure test.
6734 * sysdeps/x86_64/configure: Regenerated.
6735 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
6736 Make code unconditional.
6737
6738 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
6739 test.
6740 * sysdeps/i386/configure: Regenerated.
6741 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
6742 test.
6743 * sysdeps/x86_64/configure: Regenerated.
6744 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
6745 Make code unconditional.
6746 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6747 Likewise.
6748 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
6749 Likewise.
6750 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6751 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
6752 code unconditional.
6753 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6754 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
6755 code unconditional.
6756 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6757 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
6758 code unconditional.
6759 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
6760 code unconditional.
6761 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6762 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
6763 code unconditional.
6764 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6765 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
6766 code unconditional.
6767 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6768 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
6769 code unconditional.
6770 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6771 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
6772 code unconditional.
6773 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6774 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
6775
6776 [BZ #19095]
6777 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
6778 mantissa to long int before shifting left.
6779
6780 2015-10-08 Joseph Myers <joseph@codesourcery.com>
6781
6782 [BZ #19094]
6783 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
6784 <limits.h>.
6785 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6786 when result overflows but exception would not result from cast.
6787 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
6788 <limits.h>.
6789 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6790 when result overflows but exception would not result from cast.
6791 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
6792 <limits.h>.
6793 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6794 when result overflows but exception would not result from cast.
6795 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
6796 <limits.h>.
6797 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6798 when result overflows but exception would not result from cast.
6799 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
6800 <limits.h>.
6801 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6802 when result overflows but exception would not result from cast.
6803 * math/libm-test.inc (lrint_test_data): Add more tests.
6804 (llrint_test_data): Likewise.
6805
6806 2015-10-08 Roland McGrath <roland@hack.frob.com>
6807
6808 [BZ #18872]
6809 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
6810 Move out from under [$(run-built-tests) = yes] conditional.
6811 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
6812 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
6813
6814 2015-10-08 Carlos O'Donell <carlos@redhat.com>
6815
6816 [BZ #18589]
6817 * string/Makefile (tests): Add bug-strcoll2.
6818 (LOCALES): Add cs_CZ.UTF-8.
6819 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
6820
6821 [BZ #18589]
6822 * string/bug-strcoll2.c: New file.
6823 * locale/categories.def: Revert commit
6824 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
6825 * locale/langinfo.h: Likewise.
6826 * locale/localeinfo.h: Likewise.
6827 * locale/C-collate.c: Likewise.
6828 * locale/programs/ld-collate.c (collate_output): Likewise.
6829 * string/strcoll_l.c (STRDIFF): Likewise.
6830 (STRCOLL): Likewise.
6831 * wcsmbs/wcscoll_l.c: Likewise.
6832
6833 2015-10-08 Joseph Myers <joseph@codesourcery.com>
6834
6835 * math/libm-test.inc (lround_test_data): Do not expect the absence
6836 of "inexact" for some tests with non-integer arguments.
6837 (llround_test_data): Likewise.
6838
6839 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
6840 test.
6841 (libc_cv_cc_sse2avx): Likewise.
6842 * sysdeps/i386/configure: Regenerated.
6843 * sysdeps/i386/i686/multiarch/Makefile
6844 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
6845 [$(subdir) = math].
6846 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
6847 code unconditional.
6848 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6849 Likewise.
6850 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
6851 Likewise.
6852 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6853 Likewise.
6854 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
6855 test.
6856 (libc_cv_cc_sse2avx): Likewise.
6857 * sysdeps/x86_64/configure: Regenerated.
6858 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
6859 unconditional.
6860 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
6861 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
6862 unconditional.
6863 (_dl_runtime_profile)
6864 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
6865 conditional code.
6866 * sysdeps/x86_64/fpu/multiarch/Makefile
6867 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
6868 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6869 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6870 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6871 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6872 * sysdeps/x86_64/fpu/multiarch/e_log.c
6873 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6874 * sysdeps/x86_64/fpu/multiarch/s_atan.c
6875 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6876 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6877 Likewise.
6878 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6879 Likewise.
6880 * sysdeps/x86_64/fpu/multiarch/s_sin.c
6881 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6882 * sysdeps/x86_64/fpu/multiarch/s_tan.c
6883 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6884 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
6885 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
6886 (HAVE_SSE2AVX_SUPPORT): Likewise.
6887
6888 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
6889
6890 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
6891 instead of #pragma optimize.
6892
6893 2015-10-07 Carlos O'Donell <carlos@redhat.com>
6894
6895 [BZ #17195]
6896 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
6897 as is similarly done in systrim and _int_free already.
6898
6899 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6900
6901 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
6902
6903 2015-10-07 Joseph Myers <joseph@codesourcery.com>
6904
6905 [BZ #19088]
6906 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
6907 <limits.h>.
6908 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6909 overflows but exception would not result from cast.
6910 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
6911 and <limits.h>.
6912 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6913 overflows but exception would not result from cast.
6914 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
6915 <limits.h>.
6916 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6917 overflows but exception would not result from cast.
6918 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
6919 <limits.h>.
6920 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6921 overflows but exception would not result from cast.
6922 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
6923 <limits.h>.
6924 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6925 overflows but exception would not result from cast.
6926 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
6927 <limits.h>.
6928 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6929 overflows but exception would not result from cast.
6930 * math/libm-test.inc (lround_test_data): Add more tests.
6931 (llround_test_data): Likewise.
6932
6933 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
6934
6935 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
6936 (CFLAGS-ialloc.c): Ditto.
6937 (CFLAGS-scheck.c): Ditto.
6938
6939 2015-10-07 Carlos O'Donell <carlos@redhat.com>
6940
6941 [BZ #19086]
6942 * manual/filesys.texi (Storage Allocation): Fix argument order for
6943 posix_fallocate64.
6944
6945 2015-10-07 Joseph Myers <joseph@codesourcery.com>
6946
6947 [BZ #19085]
6948 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
6949 exponent below 48 inside case for non-overflowing exponent.
6950 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
6951
6952 2015-10-07 Florian Weimer <fweimer@redhat.com>
6953
6954 * iconvdata/cp737.h (from_idx): Add const.
6955 * iconvdata/cp775.h (from_idx): Likewise.
6956
6957 2015-10-07 Joseph Myers <joseph@codesourcery.com>
6958
6959 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
6960 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
6961 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
6962
6963 [BZ #19079]
6964 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
6965 file, conditioned on [!_LP64].
6966 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
6967 [!_LP64] (__lround): Do not define as function or alias.
6968 [!_LP64] (lround): Likewise.
6969 [!_LP64] (__lroundl): Likewise.
6970 [!_LP64] (lroundl): Likewise.
6971 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
6972 macro.
6973 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6974 Likewise.
6975
6976 2015-10-06 Joseph Myers <joseph@codesourcery.com>
6977
6978 * math/libm-test.inc (lrint_test_data): Add more tests.
6979 (llrint_test_data): Likewise.
6980 (lround_test_data): Likewise.
6981 (llround_test_data): Likewise.
6982
6983 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
6984 (llrint_test_data): Add tests used for lrint.
6985
6986 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
6987 test.
6988 * sysdeps/i386/configure: Regenerated.
6989 * sysdeps/i386/i686/multiarch/Makefile
6990 [$(config-cflags-sse4) = yes]: Make code unconditional.
6991 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6992 Likewise.
6993 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
6994 Likewise.
6995 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
6996 test.
6997 * sysdeps/x86_64/configure: Regenerated.
6998 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
6999 Make code unconditional.
7000 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7001 Likewise.
7002 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
7003 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
7004
7005 * scripts/rpm2dynsym.sh: Remove file.
7006
7007 2015-10-06 Florian Weimer <fweimer@redhat.com>
7008
7009 * configure.ac (libc_cv_cxx_thread_local): Define.
7010 * configure: Regenerate.
7011 * config.make.in (have-cxx-thread_local): Define.
7012 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
7013 (LDLIBS-tst-thread_local1): Define.
7014 (tests): Add tst-thread_local1.
7015 [have-cxx-thread_local != yes] (tests-unsupported): Add
7016 tst-thread_local1.
7017 * nptl/tst-thread_local1.cc: New file.
7018
7019 2015-10-06 Joseph Myers <joseph@codesourcery.com>
7020
7021 [BZ #19078]
7022 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
7023 (u_thres): Likewise.
7024 (__expl): Determine whether to call __kernel_standard_l based on
7025 value of result, not argument.
7026
7027 * math/libm-test.inc (scalb_test_data): Add more expectations for
7028 the "inexact" exception.
7029
7030 [BZ #19077]
7031 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
7032 0.0L for argument 1.0L.
7033
7034 [BZ #19076]
7035 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
7036 constant 0.0L when computing infinite result.
7037
7038 2015-10-06 Florian Weimer <fweimer@redhat.com>
7039
7040 [BZ #10432]
7041 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
7042 malloc_usable_size.
7043
7044 2015-10-06 Florian Weimer <fweimer@redhat.com>
7045
7046 [BZ #19018]
7047 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7048 Mangle function pointer before storing it.
7049 (__call_tls_dtors): Demangle function pointer before calling it.
7050
7051 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7052
7053 [BZ #19012]
7054 * iconv/gconv_db.c (gen_steps): Check for additional errors.
7055 Clean up on failure.
7056
7057 2015-10-05 Joseph Myers <joseph@codesourcery.com>
7058
7059 [BZ #19071]
7060 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
7061 long int variable to store possibly incremented high part of
7062 mantissa.
7063 * math/libm-test.inc (lround_test_data): Add tests used for
7064 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
7065 for tests requiring 64-bit long. Do not condition tests on
7066 [TEST_FLOAT] unnecessarily.
7067 (llround_test_data): Add tests used for lround. Add another
7068 expectation for the "inexact" exception. Do not condition tests
7069 on [TEST_FLOAT] unnecessarily.
7070
7071 [BZ #887]
7072 [BZ #19049]
7073 [BZ #19050]
7074 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
7075 * sysdeps/ieee754/dbl-64/e_log10.c: Include
7076 <fix-int-fp-convert-zero.h>.
7077 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7078 * sysdeps/ieee754/dbl-64/e_log2.c: Include
7079 <fix-int-fp-convert-zero.h>.
7080 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7081 * sysdeps/ieee754/dbl-64/s_erf.c: Include
7082 <fix-int-fp-convert-zero.h>.
7083 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7084 * sysdeps/ieee754/dbl-64/s_logb.c: Include
7085 <fix-int-fp-convert-zero.h>.
7086 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7087 * sysdeps/ieee754/flt-32/e_log10f.c: Include
7088 <fix-int-fp-convert-zero.h>.
7089 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7090 * sysdeps/ieee754/flt-32/e_log2f.c: Include
7091 <fix-int-fp-convert-zero.h>.
7092 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7093 * sysdeps/ieee754/flt-32/s_erff.c: Include
7094 <fix-int-fp-convert-zero.h>.
7095 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7096 * sysdeps/ieee754/flt-32/s_logbf.c: Include
7097 <fix-int-fp-convert-zero.h>.
7098 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7099 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
7100 <fix-int-fp-convert-zero.h>.
7101 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7102 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
7103 <fix-int-fp-convert-zero.h>.
7104 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7105 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
7106 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
7107 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
7108 file.
7109 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
7110
7111 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7112
7113 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7114
7115 2015-10-02 Joseph Myers <joseph@codesourcery.com>
7116
7117 [BZ #19059]
7118 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
7119 overflowing computation.
7120 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7121 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7122 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7123 Likewise.
7124 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7125 Likewise.
7126 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7127 Likewise.
7128 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7129 Likewise.
7130 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7131 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7132 Likewise.
7133 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7134 Likewise.
7135 * math/libm-test.inc (nexttoward_test_data): Add more tests.
7136
7137 * nss/rewrite_field.c (__nss_rewrite_field): Use
7138 internal_function.
7139 * nss/valid_field.c (__nss_valid_field): Likewise.
7140 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7141
7142 2015-10-02 Florian Weimer <fweimer@redhat.com>
7143
7144 [BZ #18724]
7145 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
7146 (__nss_invalid_field_characters, __nss_valid_field)
7147 (__nss_valid_list_field, __nss_rewrite_field): Declare.
7148 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
7149 tst-field.c: New file.
7150 * nss/Makefile (routines): Add valid_field, rewrite_field.
7151 (tests-static): Define unconditionally.
7152 (tests): Include tests-static.
7153 [build-static-nss] (tests-static): Use append.
7154 [build-static-nss] (tests): Remove modification.
7155 * nss/getent.c (print_group): Call putgrent. Report error.
7156 (print_gshadow): Call putsgent. Report error.
7157 (print_passwd): Call putpwent. Report error.
7158 (print_shadow): Call putspent. Report error.
7159 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
7160 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
7161 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
7162 name, password, directory, shell fields for valid syntax. Rewrite
7163 GECOS field to match syntax.
7164 * pwd/Makefile (tests): Add tst-putpwent.
7165 * pwd/tst-putpwent.c: New file.
7166 * grp/putgrent.c (putgrent): Convert to ISO function definition.
7167 Check grName, grpasswd, gr_mem fields for valid syntax.
7168 Change loop variable i to size_t.
7169 * grp/Makefile (tests): Add tst-putgrent.
7170 * grp/tst-putgrent.c: New file.
7171 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
7172 valid syntax.
7173 * shadow/Makefile (tests): Add tst-putspent.
7174 * shadow/tst-putspent.c: New file.
7175 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
7176 sg_mem fields for valid syntax.
7177 * gshadow/Makefile (tests): Add tst-putsgent.
7178 * gshadow/tst-putsgent.c: New file.
7179
7180 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7181
7182 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
7183 assembly instructions.
7184
7185 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7186
7187 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
7188 prefix from operands.
7189
7190 2015-10-01 Joseph Myers <joseph@codesourcery.com>
7191
7192 [BZ #16347]
7193 [BZ #19046]
7194 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
7195 <libc-internal.h>.
7196 (MAXLGM): Do not use diagnostic control macros.
7197 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
7198 threshold for ldbl-128ibm.
7199 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
7200 instead of multiplying by log then subtracting.
7201 * math/auto-libm-test-in: Add more tests of lgamma.
7202 * math/auto-libm-test-out: Regenerated.
7203
7204 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
7205 (TYPE_HEX_DIG): Likewise.
7206 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
7207 precisions when printing floating-point numbers.
7208 (check_float_internal): Likewise.
7209
7210 2015-09-30 Joseph Myers <joseph@codesourcery.com>
7211
7212 [BZ #16620]
7213 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
7214 of log (10) rounded downward to 48 bits.
7215 (log10_low): Use corresponding low part of log (10).
7216
7217 [BZ #19032]
7218 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
7219 compute result as (x - x) / (x - x) not as 0 / 0.
7220 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7221 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
7222
7223 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7224 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
7225 and expm1.
7226 * math/auto-libm-test-out: Regenerated.
7227 * math/libm-test.inc (acos_test_data): Add more tests.
7228 (asin_test_data): Likewise.
7229 (asinh_test_data): Likewise.
7230 (atan_test_data): Likewise.
7231 (atanh_test_data): Likewise.
7232 (atan2_test_data): Likewise.
7233 (cbrt_test_data): Likewise.
7234 (ceil_test_data): Likewise.
7235 (copysign_test_data): Likewise.
7236 (cos_test_data): Likewise.
7237 (cosh_test_data): Likewise.
7238 (erf_test_data): Likewise.
7239 (erfc_test_data): Likewise.
7240 (exp_test_data): Likewise.
7241 (exp10_test_data): Likewise.
7242 (exp2_test_data): Likewise.
7243 (expm1_test_data): Likewise.
7244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7245
7246 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
7247
7248 [BZ #19006]
7249 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
7250 to ...
7251 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
7252 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
7253 to ...
7254 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
7255 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
7256 to ...
7257 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
7258 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
7259 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
7260 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
7261 to ...
7262 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
7263 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7264 Moved to ...
7265 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
7266 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7267 Moved to ...
7268 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
7269 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
7270 to ...
7271 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
7272 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7273 Moved to ...
7274 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
7275 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
7276 to ...
7277 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
7278 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
7279 Removed.
7280 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
7281 Likewise.
7282 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
7283 Likewise.
7284 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
7285 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
7286 Likewise.
7287 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7288 Likewise.
7289 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7290 Likewise.
7291 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7292 Likewise.
7293 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7294 Likewise.
7295 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
7296 Likewise.
7297 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
7298 Likewise.
7299 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
7300 Likewise.
7301 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
7302 Likewise.
7303 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
7304 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
7305 Likewise.
7306 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7307 Likewise.
7308 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7309 Likewise.
7310 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7311 Likewise.
7312 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
7313 Likewise.
7314 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7315 Replace ../i486/pthread_cond_timedwait.S with
7316 ../pthread_cond_timedwait.S.
7317
7318 2015-09-30 Joseph Myers <joseph@codesourcery.com>
7319
7320 * math/libm-test.inc (acos_test_data): Refine expectations for
7321 errno and "inexact" exceptions.
7322 (acosh_test_data): Likewise.
7323 (asin_test_data): Likewise.
7324 (asinh_test_data): Likewise.
7325 (atan_test_data): Likewise.
7326 (atanh_test_data): Likewise.
7327 (atan2_test_data): Likewise.
7328 (cbrt_test_data): Likewise.
7329 (ceil_test_data): Likewise.
7330 (copysign_test_data): Likewise.
7331 (cosh_test_data): Likewise.
7332 (erf_test_data): Likewise.
7333 (erfc_test_data): Likewise.
7334 (exp_test_data): Likewise.
7335 (exp10_test_data): Likewise.
7336 (exp2_test_data): Likewise.
7337 (expm1_test_data): Likewise.
7338 (fabs_test_data): Likewise.
7339 (floor_test_data): Likewise.
7340 (fma_test_data): Likewise.
7341 (fmax_test_data): Likewise.
7342 (fmin_test_data): Likewise.
7343 (fmod_test_data): Likewise.
7344 (fpclassify_test_data): Likewise.
7345 (frexp_test_data): Likewise.
7346 (hypot_test_data): Likewise.
7347 (ilogb_test_data): Likewise.
7348 (isgreater_test_data): Likewise.
7349 (isgreaterequal_test_data): Likewise.
7350 (isinf_test_data): Likewise.
7351 (isless_test_data): Likewise.
7352 (islessequal_test_data): Likewise.
7353 (islessgreater_test_data): Likewise.
7354 (isnan_test_data): Likewise.
7355 (isnormal_test_data): Likewise.
7356 (issignaling_test_data): Likewise.
7357 (isunordered_test_data): Likewise.
7358 (j0_test_data): Likewise.
7359 (j1_test_data): Likewise.
7360 (jn_test_data): Likewise.
7361 (lgamma_test_data): Likewise.
7362 (lrint_test_data): Likewise.
7363 (llrint_test_data): Likewise.
7364 (log_test_data): Likewise.
7365 (log10_test_data): Likewise.
7366 (log1p_test_data): Likewise.
7367 (log2_test_data): Likewise.
7368 (logb_test_data): Likewise.
7369 (lround_test_data): Likewise.
7370 (llround_test_data): Likewise.
7371 (modf_test_data): Likewise.
7372 (nearbyint_test_data): Likewise.
7373 (nextafter_test_data): Likewise.
7374 (nexttoward_test_data): Likewise.
7375 (pow_test_data): Likewise.
7376 (remainder_test_data): Likewise.
7377 (remquo_test_data): Likewise.
7378 (rint_test_data): Likewise.
7379 (round_test_data): Likewise.
7380 (signbit_test_data): Likewise.
7381 (sinh_test_data): Likewise.
7382 (sqrt_test_data): Likewise.
7383 (tanh_test_data): Likewise.
7384 (tgamma_test_data): Likewise.
7385 (trunc_test_data): Likewise.
7386 (y0_test_data): Likewise.
7387 (y1_test_data): Likewise.
7388 (yn_test_data): Likewise.
7389 (significand_test_data): Likewise.
7390
7391 2015-09-29 Carlos O'Donell <carlos@redhat.com>
7392
7393 * manual/filesys.texi (Storage Allocation): Document that
7394 posix_fallocate emulation fails when fd is open with O_WRONLY.
7395
7396 2015-09-28 Joseph Myers <joseph@codesourcery.com>
7397
7398 [BZ #19016]
7399 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
7400 allow more cases with X^2 + Y^2 >= 0.5.
7401 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
7402 normal element in sum instead of special-casing based on values of
7403 arguments.
7404 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
7405 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
7406 -1 as normal element in sum instead of special-casing based on
7407 values of arguments.
7408 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
7409 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
7410 (__x2y2m1): Update comment.
7411 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
7412 as normal element in sum instead of special-casing based on values
7413 of arguments.
7414 * math/s_clog.c (__clog): Handle more cases using log1p without
7415 hypot.
7416 * math/s_clog10.c (__clog10): Likewise.
7417 * math/s_clog10f.c (__clog10f): Likewise.
7418 * math/s_clog10l.c (__clog10l): Likewise.
7419 * math/s_clogf.c (__clogf): Likewise.
7420 * math/s_clogl.c (__clogl): Likewise.
7421 * math/auto-libm-test-in: Add more tests of clog and clog10.
7422 * math/auto-libm-test-out: Regenerated.
7423 * sysdeps/i386/fpu/libm-test-ulps: Update.
7424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7425
7426 2015-09-28 Martin Sebor <msebor@redhat.com>
7427
7428 [BZ #18969]
7429 * string/Makefile (LOCALES): Define.
7430 (gen-locales.mk): Include.
7431 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
7432 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
7433 * string/tst-strxfrm2.c (do_test): Print the name of the locale
7434 on setlocale failure.
7435
7436 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7437
7438 [BZ #18985]
7439 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
7440 (__strftime_internal): Likewise.
7441 * time/tst-strftime.c (do_bz18985): New test.
7442 (do_test): Call it.
7443
7444 2015-09-26 Joseph Myers <joseph@codesourcery.com>
7445
7446 [BZ #18956]
7447 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
7448 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
7449 extracting high part.
7450 * math/auto-libm-test-in: Add another test of pow.
7451 * math/auto-libm-test-out: Regenerated.
7452 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7453
7454 2015-09-25 Joseph Myers <joseph@codesourcery.com>
7455
7456 [BZ #18825]
7457 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
7458 New macro.
7459 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
7460 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7461 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
7462 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
7463 DBL_NARROW_EVAL, reloading the PIC register as needed.
7464 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
7465 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
7466 FLT_NARROW_EVAL. Use separate return path for case when first
7467 argument is NaN.
7468 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
7469 DEFINE_LDBL_MIN.
7470 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
7471 PIC register.
7472 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
7473 math_check_force_underflow_nonneg.
7474 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
7475 underflow for subnormal result.
7476 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7477 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
7478 math_check_force_underflow_nonneg.
7479 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
7480 math_check_force_underflow.
7481 * sysdeps/x86_64/fpu/x86_64-math-asm.h
7482 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
7483 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
7484 DEFINE_LDBL_MIN.
7485 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
7486 * math/auto-libm-test-in: Add more tests of pow.
7487 * math/auto-libm-test-out: Regenerated.
7488
7489 2015-09-25 Florian Weimer <fweimer@redhat.com>
7490
7491 * nss/bug17079.c (init_test_items): Add diagnostic for
7492 inconsistent entries.
7493 (test_buffer_size): Skip inconsistent entries.
7494
7495 2015-09-25 Joseph Myers <joseph@codesourcery.com>
7496
7497 [BZ #13304]
7498 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
7499 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
7500 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
7501
7502 [BZ #13304]
7503 * sysdeps/microblaze/s_fma.c: New file.
7504 * sysdeps/microblaze/s_fmaf.c: Likewise.
7505 * sysdeps/microblaze/sfp-machine.h: Likewise.
7506
7507 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
7508
7509 [BZ #17250]
7510 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
7511 member.
7512
7513 2015-09-24 Joseph Myers <joseph@codesourcery.com>
7514
7515 [BZ #18803]
7516 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
7517 (MO): New macro.
7518 (__ieee754_hypot) [PIC]: Load PIC register.
7519 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
7520 DBL_NARROW_EVAL.
7521 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
7522 math_check_force_underflow_nonneg in case where result might be
7523 tiny.
7524 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7525 Likewise.
7526 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7527 Likewise.
7528 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7529 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
7530 * math/auto-libm-test-in: Add more tests of hypot.
7531 * math/auto-libm-test-out: Regenerated.
7532
7533 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
7534
7535 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
7536
7537 2015-09-24 Joseph Myers <joseph@codesourcery.com>
7538
7539 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
7540 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
7541 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7542 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7543 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
7544 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7545 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7546
7547 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
7548 LOAD_PIC_REG.
7549
7550 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
7551 (FLT_CHECK_FORCE_UFLOW): Likewise.
7552 (DBL_CHECK_FORCE_UFLOW): Likewise.
7553 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
7554 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
7555 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
7556 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7557 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7558 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7559 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7560 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7561 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
7562 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7563 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
7564 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
7565 (flt_min): Replace with use of DEFINE_FLT_MIN.
7566 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
7567 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
7568 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7569 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
7570 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
7571 (flt_min): Replace with use of DEFINE_FLT_MIN.
7572 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
7573 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
7574 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7575 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
7576 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
7577 (flt_min): Replace with use of DEFINE_FLT_MIN.
7578 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
7579 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
7580 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7581 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7582 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
7583 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7584 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7585 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
7586 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7587 (__atan): Use DBL_CHECK_FORCE_UFLOW.
7588 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
7589 (flt_min): Replace with use of DEFINE_FLT_MIN.
7590 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
7591 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
7592 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7593 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
7594 main computation.
7595 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
7596 (flt_min): Replace with use of DEFINE_FLT_MIN.
7597 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
7598 main computation.
7599 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
7600 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7601 (MO): New macro.
7602 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
7603 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
7604 (flt_min): Replace with use of DEFINE_FLT_MIN.
7605 (MO): New macro.
7606 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
7607 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
7608 (__log1pl): Use MO.
7609
7610 [BZ #19003]
7611 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
7612 $(config-cflags-nofma).
7613
7614 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
7615
7616 * sysdeps/aarch64/libm-test-ulps: Regenerated.
7617
7618 2015-09-23 Joseph Myers <joseph@codesourcery.com>
7619
7620 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
7621 (TWO127): Likewise.
7622
7623 * sysdeps/generic/math_private.h (fabs_tg): New macro.
7624 (min_of_type): Likewise.
7625 (math_check_force_underflow): Likewise.
7626 (math_check_force_underflow_nonneg): Likewise.
7627 (math_check_force_underflow_complex): Likewise.
7628 * math/e_exp2l.c (__ieee754_exp2l): Use
7629 math_check_force_underflow_nonneg.
7630 * math/k_casinh.c (__kernel_casinh): Likewise.
7631 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7632 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7633 * math/s_catan.c (__catan): Use
7634 math_check_force_underflow_complex.
7635 * math/s_catanf.c (__catanf): Likewise.
7636 * math/s_catanh.c (__catanh): Likewise.
7637 * math/s_catanhf.c (__catanhf): Likewise.
7638 * math/s_catanhl.c (__catanhl): Likewise.
7639 * math/s_catanl.c (__catanl): Likewise.
7640 * math/s_ccosh.c (__ccosh): Likewise.
7641 * math/s_ccoshf.c (__ccoshf): Likewise.
7642 * math/s_ccoshl.c (__ccoshl): Likewise.
7643 * math/s_cexp.c (__cexp): Likewise.
7644 * math/s_cexpf.c (__cexpf): Likewise.
7645 * math/s_cexpl.c (__cexpl): Likewise.
7646 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
7647 * math/s_clog10.c (__clog10): Likewise.
7648 * math/s_clog10f.c (__clog10f): Likewise.
7649 * math/s_clog10l.c (__clog10l): Likewise.
7650 * math/s_clogf.c (__clogf): Likewise.
7651 * math/s_clogl.c (__clogl): Likewise.
7652 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
7653 * math/s_csinf.c (__csinf): Likewise.
7654 * math/s_csinh.c (__csinh): Likewise.
7655 * math/s_csinhf.c (__csinhf): Likewise.
7656 * math/s_csinhl.c (__csinhl): Likewise.
7657 * math/s_csinl.c (__csinl): Likewise.
7658 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
7659 * math/s_csqrtf.c (__csqrtf): Likewise.
7660 * math/s_csqrtl.c (__csqrtl): Likewise.
7661 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
7662 * math/s_ctanf.c (__ctanf): Likewise.
7663 * math/s_ctanh.c (__ctanh): Likewise.
7664 * math/s_ctanhf.c (__ctanhf): Likewise.
7665 * math/s_ctanhl.c (__ctanhl): Likewise.
7666 * math/s_ctanl.c (__ctanl): Likewise.
7667 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
7668 instead of volatile.
7669 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
7670 math_check_force_underflow.
7671 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7672 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
7673 volatile when forcing underflow.
7674 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7675 math_check_force_underflow_nonneg.
7676 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7677 Likewise.
7678 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
7679 math_check_force_underflow.
7680 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7681 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7682 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7683 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
7684 math_check_force_underflow_nonneg.
7685 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
7686 math_check_force_underflow.
7687 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7688 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
7689 instead of volatile.
7690 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
7691 math_check_force_underflow.
7692 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7693 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7694 math_check_force_underflow_nonneg.
7695 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
7696 math_check_force_underflow.
7697 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
7698 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7699 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
7700 math_check_force_underflow_nonneg.
7701 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7702 Likewise.
7703 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
7704 math_check_force_underflow.
7705 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7706 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7707 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7708 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
7709 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7710 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
7711 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7712 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7713 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7714 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
7715 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
7716 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7717 Likewise.
7718 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
7719 math_check_force_underflow_nonneg.
7720 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7721 Likewise.
7722 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
7723 math_check_force_underflow.
7724 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7725 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7726 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7727 Likewise.
7728 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7729 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
7730 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
7731 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
7732 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
7733 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7734 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
7735 instead of volatile.
7736 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
7737 math_check_force_underflow.
7738 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7739 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
7740 math_check_force_underflow.
7741 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
7742 Likewise.
7743 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7744 Use math_check_force_underflow_nonneg.
7745 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
7746 math_check_force_underflow.
7747 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7748 Likewise.
7749 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7750 Likewise.
7751 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7752 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7753 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7754 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7755 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
7756 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7757 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7758 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7759 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
7760 math_check_force_underflow_nonneg.
7761 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
7762 math_check_force_underflow.
7763 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7764 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7765 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
7766 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
7767 math_check_force_underflow_nonneg.
7768 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
7769 math_check_force_underflow.
7770 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7771 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
7772 instead of volatile.
7773 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
7774 math_check_force_underflow.
7775
7776 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
7777 * stdlib/strtod_l.c: Include <math_private.h>.
7778 (overflow_value): Use math_narrow_eval.
7779 (underflow_value): Likewise.
7780 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7781 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7782 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
7783 (__ieee754_gamma_r): Likewise.
7784 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
7785 Likewise.
7786 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7787 Likewise.
7788 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7789 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
7790 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7791 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7792 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7793 (__ieee754_gammaf_r): Likewise.
7794 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7795 Likewise.
7796 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7797 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
7798 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7799 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7800 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
7801 volatile.
7802 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7803 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
7804 math_narrow_eval.
7805 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7806 Likewise.
7807 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7808 Likewise.
7809 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
7810 Likewise.
7811 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
7812 volatile.
7813 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7814 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
7815 math_narrow_eval.
7816 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7817 Likewise.
7818 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7819 Likewise.
7820
7821 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
7822
7823 * nptl/Versions: Remove ignored symbols.
7824
7825 2015-09-22 Florian Weimer <fweimer@redhat.com>
7826
7827 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
7828 * nss/Makefile (tests): Update.
7829
7830 2015-09-22 Florian Weimer <fweimer@redhat.com>
7831
7832 * nss/bug18287.c: New file.
7833 * nss/Makefile (tests): Add bug18287.
7834
7835 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7836
7837 * mach/Versions (__mach_host_self_): Add symbol.
7838
7839 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
7840
7841 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
7842 vm_page_size.
7843
7844 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7845
7846 Really fix sysdeps/i386/fpu/s_scalbn.S build
7847
7848 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
7849 (libc: GLIBC_2_22): Remove unused version set.
7850
7851 2015-09-18 Mike Frysinger <vapier@gentoo.org>
7852
7853 * config.make.in (enable-timezone-tools): New variable.
7854 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
7855 (enable_timezone_tools): Export to generated files.
7856 * configure: Regenerate.
7857 * INSTALL: Regenerate.
7858 * manual/install.texi (--disable-timezone-tools): Document new flag.
7859 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
7860 ifeq ($(enable-timezone-tools),yes) check.
7861
7862 2015-09-18 Joseph Myers <joseph@codesourcery.com>
7863
7864 * timezone/Makefile: Revert previous change.
7865
7866 [BZ #18980]
7867 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
7868 (DEFINE_DBL_MIN): Likewise.
7869 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7870 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7871 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7872 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7873 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
7874 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7875 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7876 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
7877 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
7878 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7879 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7880 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
7881 (flt_min): Replace with use of DEFINE_FLT_MIN.
7882 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7883 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
7884 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7885 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7886 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
7887 (flt_min): Replace with use of DEFINE_FLT_MIN.
7888 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7889 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
7890 (flt_min): Replace with use of DEFINE_FLT_MIN.
7891 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7892 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
7893 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
7894 (__ieee754_hypot): Use DBL_NARROW_EVAL.
7895 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
7896 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
7897 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
7898 (__ieee754_pow): Use DBL_NARROW_EVAL.
7899 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
7900 (__ieee754_powf): Use FLT_NARROW_EVAL.
7901 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
7902 (__ieee754_expf_sse2): Convert double-precision result to single
7903 precision.
7904 * sysdeps/i386/fpu/libm-test-ulps: Update.
7905
7906 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7907
7908 * timezone/Makefile: Ignore unused variable errors due to private.h
7909 (time_t_min) and (time_t_max).
7910 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
7911 Likewise.
7912
7913 2015-09-18 Joseph Myers <joseph@codesourcery.com>
7914
7915 [BZ #18981]
7916 * sysdeps/i386/fpu/i386-math-asm.h: New file.
7917 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
7918 (__ieee754_scalb): Use DBL_NARROW_EVAL.
7919 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
7920 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
7921 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
7922 (__scalbn): Use DBL_NARROW_EVAL.
7923 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
7924 (__scalbnf): Use FLT_NARROW_EVAL.
7925
7926 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7927
7928 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
7929 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
7930 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
7931 * stdio-common/printf_fp.c (___printf_fp):
7932 Use signbit to get the sign. Use isinf macro to allow inlining.
7933 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
7934 * stdio-common/printf_size.c (__printf_size): Likewise.
7935
7936 2015-09-18 Mike Frysinger <vapier@gentoo.org>
7937
7938 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
7939
7940 2015-09-18 Joseph Myers <joseph@codesourcery.com>
7941
7942 [BZ #18980]
7943 * sysdeps/generic/math_private.h: Include <float.h>.
7944 (math_narrow_eval): New macro.
7945 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
7946 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
7947 math_narrow_eval on overflowing return value.
7948 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
7949 Likewise.
7950 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7951 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
7952 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
7953 Likewise.
7954 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7955
7956 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7957
7958 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
7959 * math/Makefile: Remove isinf_ns.c.
7960 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
7961 * math/multc3.c (__multc3): Likewise.
7962 * math/s_casin.c (__casin): Likewise.
7963 * math/s_casinf.c (__casinf): Likewise.
7964 * math/s_casinl.c (__casinl): Likewise.
7965 * math/s_cproj.c (__cproj): Likewise.
7966 * math/s_cprojf.c (__cprojf): Likewise.
7967 * math/s_cprojl.c (__cprofl): Likewise.
7968 * math/s_ctan.c (__ctan): Likewise.
7969 * math/s_ctanf.c (__ctanf): Likewise.
7970 * math/s_ctanh.c (__ctanh): Likewise.
7971 * math/s_ctanhf.c (__ctanhf): Likewise.
7972 * math/s_ctanhl.c (__ctanhl): Likewise.
7973 * math/s_ctanl.c (__ctanl): Likewise.
7974 * math/w_fmod.c (__fmod): Likewise.
7975 * math/w_fmodf.c (__fmodf): Likewise.
7976 * math/w_fmodl.c (_fmodl): Likewise.
7977 * math/w_remainder.c (__remainder): Likewise.
7978 * math/w_remainderf.c (__remainderf): Likewise.
7979 * math/w_remainderl.c (__remainderl): Likewise.
7980 * math/w_scalb.c (__scalb): Likewise.
7981 * math/w_scalbf.c (__scalbf): Likewise.
7982 * math/w_scalbl.c (__scalbl): Likewise.
7983 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
7984 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
7985 with isinf.
7986 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
7987 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
7988 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
7989 __isinf_nsf with isinf.
7990 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
7991 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
7992 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
7993 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
7994 with isinf.
7995 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
7996 __isinf_nsl with isinf.
7997 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
7998 with isinf.
7999 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
8000 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
8001 __isinf_nsl with isinf.
8002 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
8003 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
8004 with isinf.
8005
8006 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
8007
8008 * resolv/base64.c (rcsid): Remove unused static.
8009 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
8010 static. (tqpi1): Likewise.
8011 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
8012 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
8013 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
8014 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
8015 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
8016 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
8017 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
8018 * timezone/private.h (time_t_min): Likewise. (time_t_max):
8019 Likewise.
8020
8021 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
8022
8023 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
8024 <nptl/pthreadP.h>.
8025 (_longjmp_unwind): Use __libc_ptf_call.
8026 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
8027
8028 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
8029
8030 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
8031 * sysdeps/arm/__longjmp.S: Likewise.
8032
8033 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
8034
8035 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
8036 Use __builtin_signbit.
8037 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
8038 Use __builtin_signbitf.
8039 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
8040 Use __builtin_signbitl.
8041 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8042 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
8043
8044 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
8045
8046 [BZ #15367]
8047 [BZ #17441]
8048
8049 * math/Makefile: Build test-snan.c with -fsignaling-nans.
8050 * math/math.h (fpclassify): Use __builtin_fpclassify when
8051 available. (signbit): Use __builtin_signbit(f/l).
8052 (isfinite): Use__builtin_isfinite. (isnormal): Use
8053 __builtin_isnormal. (isnan): Use __builtin_isnan.
8054 (isinf): Use __builtin_isinf_sign.
8055
8056 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
8057
8058 * benchtests/Makefile: Add bench-math-inlines, link with libm.
8059 * benchtests/bench-math-inlines.c: New benchmark.
8060 * benchtests/bench-util.h: New file.
8061 * benchtests/bench-util.c: New file.
8062 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
8063
8064 2015-09-18 Carlos O'Donell <carlos@redhat.com>
8065
8066 * elf/tst-dlmopen1.c: Define TEST_SO.
8067 (do_test): Use TEST_SO.
8068
8069 * elf/dl-load.c: Include libc-internal.h.
8070 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
8071
8072 2015-09-18 Vincent Bernat <vincent@bernat.im>
8073
8074 [BZ #17887]
8075 * time/strptime_l.c (__strptime_internal): Make %z accept
8076 [+-]HH:MM time zones.
8077
8078 2015-09-18 Vincent Bernat <vincent@bernat.im>
8079
8080 [BZ #17886]
8081 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
8082 valid time zone.
8083
8084 2015-09-17 Mike Frysinger <vapier@gentoo.org>
8085
8086 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
8087 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
8088 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8089 (__ASSUME_FDATASYNC): Delete.
8090
8091 2015-09-17 Joseph Myers <joseph@codesourcery.com>
8092
8093 * conform/linknamespace.pl: Require weak undefined symbols to be
8094 in the standard namespace.
8095 (%strong_syms): Rename to %seen_syms.
8096 (%strong_seen): Rename to %seen_where.
8097
8098 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
8099
8100 [BZ #18970]
8101 * misc/error.c (error): Replace pthread_setcancelstate with
8102 __pthread_setcancelstate.
8103 (error_at_line): Likewise.
8104 * posix/wordexp.c (parse_comm): Likewise.
8105 * stdlib/fmtmsg.c (fmtmsg): Likewise.
8106 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
8107 (__pthread_setcancelstate): This.
8108 (pthread_setcancelstate): Add an alias.
8109 * nptl/nptl-init.c (pthread_functions): Replace
8110 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
8111 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
8112 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
8113 hidden_proto.
8114 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
8115 it with hidden_def.
8116 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
8117 (pthread_setcancelstate): Renamed to ...
8118 (__pthread_setcancelstate): This.
8119 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
8120 __libc_ptf_call with __pthread_setcancelstate.
8121
8122 2015-09-17 Joseph Myers <joseph@codesourcery.com>
8123 Andreas Schwab <schwab@suse.de>
8124
8125 [BZ #17118]
8126 * math/s_ctan.c (__ctan): Determine sign of zero real part of
8127 result when imaginary part of argument is infinite using sine and
8128 cosine.
8129 * math/s_ctanf.c (__ctanf): Likewise.
8130 * math/s_ctanl.c (__ctanl): Likewise.
8131 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
8132 of result when real part of argument is infinite using sine and
8133 cosine.
8134 * math/s_ctanhf.c (__ctanhf): Likewise.
8135 * math/s_ctanhl.c (__ctanhl): Likewise.
8136 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
8137 (ctanh_test_data): Add more tests of ctanh.
8138
8139 2015-09-17 Joseph Myers <joseph@codesourcery.com>
8140
8141 [BZ #15384]
8142 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
8143 bit-mask as in subtraction.
8144 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
8145 Likewise.
8146 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8147 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8148 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
8149
8150 [BZ #18951]
8151 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
8152 underflow exception for small results.
8153 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8154 Likewise.
8155 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8156 Likewise.
8157 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8158 Likewise.
8159 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8160 Likewise.
8161 * math/auto-libm-test-in: Add more tests of tgamma.
8162 * math/auto-libm-test-out: Regenerated.
8163
8164 2015-09-17 Andreas Schwab <schwab@suse.de>
8165
8166 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
8167
8168 2015-09-16 Joseph Myers <joseph@codesourcery.com>
8169
8170 [BZ #18977]
8171 * math/bits/mathcalls.h
8172 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
8173 not declare.
8174 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
8175 Likewise.
8176 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
8177 Likewise.
8178 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
8179 Likewise.
8180 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
8181 Likewise.
8182 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
8183 Likewise.
8184 * conform/data/math.h-data
8185 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
8186 function.
8187 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
8188 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
8189 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
8190 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
8191 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
8192 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
8193 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
8194 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
8195 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
8196 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
8197 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
8198
8199 [BZ #6803]
8200 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
8201 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
8202 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
8203 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
8204 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
8205 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
8206 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
8207 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
8208 [NO_LONG_DOUBLE] (scalbnl): Likewise.
8209 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
8210 Likewise.
8211 [NO_LONG_DOUBLE] (scalbnl): Likewise.
8212 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
8213 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
8214 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
8215 long_double_symbol calls.
8216 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
8217 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
8218 strong alias of __ldexpl.
8219 (scalbnl): Define using long_double_symbol.
8220 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
8221 Remove alias.
8222 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
8223 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
8224 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
8225 (scalbln_test_data): Add more errno expectations.
8226
8227 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
8228
8229 Cache the host port like we cache the task port. This way we do not
8230 need to call the kernel just to get the port. Furthermore, we no
8231 longer increase the reference count on every invocation of
8232 `mach_host_self'.
8233
8234 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
8235 Protect declarations against the macro expansion.
8236 * mach/mach_init.c (__mach_host_self_): New variable.
8237 (mach_init): Initialize `__mach_host_self_'.
8238 * mach/mach_init.h (__mach_host_self_): New declaration.
8239 (__mach_host_self, mach_host_self): New macros.
8240 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
8241 Release reference.
8242
8243 2015-09-16 Joseph Myers <joseph@codesourcery.com>
8244
8245 [BZ #4404]
8246 * po/de.po: Update from Translation Project.
8247
8248 [BZ #16415]
8249 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
8250 (__expm1l): Remove code to handle positive infinity and overflow.
8251 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
8252 variable.
8253 (__expm1l): Remove code to handle positive infinity and overflow.
8254
8255 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
8256 Paul Pluzhnikov <ppluzhnikov@google.com>
8257
8258 [BZ #18872]
8259 * stdio-common/Makefile (tst-printf-bz18872): New test.
8260 (tst-printf-bz18872-mem.out): Likewise.
8261 * stdio-common/tst-printf-bz18872.sh: Generate new test.
8262 * stdio-common/vfprintf.c: Fix memory leaks.
8263
8264 2015-09-16 Andreas Schwab <schwab@suse.de>
8265
8266 [BZ #17244]
8267 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
8268 Remove extra va_start/va_end calls.
8269
8270 [BZ #17243]
8271 * posix/execl.c (execl): Add missing va_end.
8272 * posix/execle.c (execle): Likewise.
8273 * posix/execlp.c (execlp): Likewise.
8274
8275 2015-09-15 Roland McGrath <roland@hack.frob.com>
8276
8277 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
8278 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
8279
8280 2015-09-15 Joseph Myers <joseph@codesourcery.com>
8281
8282 [BZ #18967]
8283 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
8284 undefine around includes of <bits/mathcalls.h>.
8285 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
8286 not declare function.
8287 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
8288 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
8289 (scalb): Likewise.
8290 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
8291 not define macro.
8292 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
8293 variable.
8294 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8295 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8296 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8297
8298 [BZ #18857]
8299 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
8300 return non-finite argument without doing ordered comparisons on
8301 it.
8302
8303 [BZ #16296]
8304 * math/fenv.h (fegetround): Use __attribute_pure__.
8305 * include/fenv.h (__fegetround): Likewise.
8306
8307 [BZ #18595]
8308 * math/s_ctan.c (__ctan): Force underflow exception for results
8309 whose real or imaginary part has small absolute value.
8310 * math/s_ctanf.c (__ctanf): Likewise.
8311 * math/s_ctanh.c (__ctanh): Likewise.
8312 * math/s_ctanhf.c (__ctanhf): Likewise.
8313 * math/s_ctanhl.c (__ctanhl): Likewise.
8314 * math/s_ctanl.c (__ctanl): Likewise.
8315 * math/auto-libm-test-in: Do not allow missing underflow for ctan
8316 and ctanh. Add more tests of ctan and ctanh.
8317
8318 [BZ #15918]
8319 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
8320 handling of cases where one argument is an infinity.
8321
8322 [BZ #18875]
8323 [BZ #18966]
8324 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
8325 (MO): New macro.
8326 (__ieee754_exp10): For small results, force underflow exception
8327 and remove excess range and precision from return value.
8328 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
8329 (MO): New macro.
8330 (__ieee754_exp10f): For small results, force underflow exception
8331 and remove excess range and precision from return value.
8332 * math/auto-libm-test-in: Add more tests of exp10.
8333 * math/auto-libm-test-out: Regenerated.
8334
8335 2015-09-14 Joseph Myers <joseph@codesourcery.com>
8336
8337 [BZ #18875]
8338 [BZ #18961]
8339 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
8340 (MO): New macro.
8341 (__ieee754_exp): For small results, force underflow exception and
8342 remove excess range and precision from return value.
8343 (__exp_finite): Likewise.
8344 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
8345 (MO): New macro.
8346 (__ieee754_expf): For small results, force underflow exception and
8347 remove excess range and precision from return value.
8348 (__expf_finite): Likewise.
8349 * math/auto-libm-test-in: Add more tests of exp.
8350 * math/auto-libm-test-out: Regenerated.
8351
8352 [BZ #16521]
8353 [BZ #18875]
8354 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
8355 small results.
8356 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
8357 (MO): New macro.
8358 (__ieee754_exp2): For small results, force underflow exception and
8359 remove excess range and precision from return value.
8360 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
8361 (MO): New macro.
8362 (__ieee754_exp2f): For small results, force underflow exception
8363 and remove excess range and precision from return value.
8364 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
8365 (MO): New macro.
8366 (__ieee754_exp2l): Force underflow exception for small results.
8367 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8368 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8369 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
8370 (MO): New macro.
8371 (__ieee754_exp2l): Force underflow exception for small results.
8372 * math/auto-libm-test-in: Add more tests or exp2.
8373 * math/auto-libm-test-out: Regenerated.
8374
8375 2015-09-14 Carlos O'Donell <carlos@redhat.com>
8376
8377 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
8378
8379 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
8380 /dev/null.
8381
8382 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
8383
8384 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8385 io fs process)): Drop spurious backslash.
8386
8387 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8388
8389 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
8390 Use sysinfo system call instead of parsing /proc/meminfo.
8391 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
8392 Likewise.
8393
8394 2015-09-11 Mike Frysinger <vapier@gentoo.org>
8395
8396 [BZ #16985]
8397 * programs/localedef.c (main): Display argv[remaining] when
8398 output_path is NULL.
8399
8400 2015-09-11 Joseph Myers <joseph@codesourcery.com>
8401
8402 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8403 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
8404 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
8405 tanh.
8406 * math/auto-libm-test-out: Regenerated.
8407 * sysdeps/i386/fpu/libm-test-ulps: Update.
8408 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8409 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8411
8412 2015-09-11 Roland McGrath <roland@hack.frob.com>
8413
8414 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
8415 Use 'override' keyword to freeze the value here, preventing
8416 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
8417
8418 2015-09-11 Joseph Myers <joseph@codesourcery.com>
8419
8420 [BZ #14912]
8421 * sysdeps/aarch64/bits/atomic.h: Move to ...
8422 * sysdeps/aarch64/atomic-machine.h: ...here.
8423 (_AARCH64_BITS_ATOMIC_H): Rename macro to
8424 _AARCH64_ATOMIC_MACHINE_H.
8425 * sysdeps/alpha/bits/atomic.h: Move to ...
8426 * sysdeps/alpha/atomic-machine.h: ...here.
8427 * sysdeps/arm/bits/atomic.h: Move to ...
8428 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
8429 * bits/atomic.h: Move to ...
8430 * sysdeps/generic/atomic-machine.h: ...here.
8431 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8432 * sysdeps/i386/bits/atomic.h: Move to ...
8433 * sysdeps/i386/atomic-machine.h: ...here.
8434 * sysdeps/ia64/bits/atomic.h: Move to ...
8435 * sysdeps/ia64/atomic-machine.h: ...here.
8436 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
8437 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
8438 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8439 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
8440 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
8441 * sysdeps/microblaze/bits/atomic.h: Move to ...
8442 * sysdeps/microblaze/atomic-machine.h: ...here.
8443 * sysdeps/mips/bits/atomic.h: Move to ...
8444 * sysdeps/mips/atomic-machine.h: ...here.
8445 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
8446 * sysdeps/powerpc/bits/atomic.h: Move to ...
8447 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
8448 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
8449 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
8450 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
8451 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
8452 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
8453 <atomic-machine.h> instead of <bits/atomic.h>.
8454 * sysdeps/s390/bits/atomic.h: Move to ...
8455 * sysdeps/s390/atomic-machine.h: ...here.
8456 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
8457 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
8458 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8459 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
8460 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
8461 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
8462 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
8463 * sysdeps/tile/bits/atomic.h: Move to ...
8464 * sysdeps/tile/atomic-machine.h: ...here.
8465 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
8466 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
8467 <sysdeps/tile/atomic-machine.h> instead of
8468 <sysdeps/tile/bits/atomic.h>.
8469 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8470 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
8471 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
8472 <sysdeps/tile/atomic-machine.h> instead of
8473 <sysdeps/tile/bits/atomic.h>.
8474 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8475 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
8476 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
8477 <sysdeps/arm/atomic-machine.h> instead of
8478 <sysdeps/arm/bits/atomic.h>.
8479 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
8480 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
8481 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8482 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
8483 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
8484 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8485 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
8486 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
8487 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
8488 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
8489 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
8490 * sysdeps/x86_64/bits/atomic.h: Move to ...
8491 * sysdeps/x86_64/atomic-machine.h: ...here.
8492 * include/atomic.h: Include <atomic-machine.h> instead of
8493 <bits/atomic.h>.
8494
8495 * sysdeps/mips/mips32/libm-test-ulps: Update.
8496 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8497
8498 [BZ #18952]
8499 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
8500 not convert non-integer negative arguments to int to determine the
8501 value of signgam.
8502 * math/auto-libm-test-in: Add more tests of lgamma.
8503 * math/auto-libm-test-out: Regenerated.
8504
8505 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
8506 cosh, csqrt, erfc, expm1 and lgamma.
8507 * math/auto-libm-test-out: Regenerated.
8508 * sysdeps/i386/fpu/libm-test-ulps: Update.
8509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8510
8511 2015-09-10 Joseph Myers <joseph@codesourcery.com>
8512
8513 [BZ #2542]
8514 [BZ #2543]
8515 [BZ #2558]
8516 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
8517 __lgamma_neg for arguments from -28.0 to -2.0.
8518 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
8519 __lgamma_negf for arguments from -15.0 to -2.0.
8520 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8521 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
8522 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
8523 Call __lgamma_negl for arguments from -33.0 to -2.0.
8524 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
8525 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
8526 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8527 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
8528 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8529 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8530 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8531 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
8532 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8533 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
8534 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
8535 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
8536 (__lgamma_neg): Likewise.
8537 (__lgamma_negl): Likewise.
8538 (__lgamma_product): Likewise.
8539 (__lgamma_productl): Likewise.
8540 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
8541 * math/auto-libm-test-in: Add more tests of lgamma.
8542 * math/auto-libm-test-out: Regenerated.
8543 * sysdeps/i386/fpu/libm-test-ulps: Update.
8544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8545
8546 2015-09-09 Justin Maggard <jmaggard@netgear.com>
8547
8548 [BZ #18675]
8549 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
8550
8551 2015-09-08 Joseph Myers <joseph@codesourcery.com>
8552
8553 [BZ #14912]
8554 * bits/libc-lock.h: Move to ...
8555 * sysdeps/generic/libc-lock.h: ...here.
8556 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8557 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
8558 * sysdeps/mach/hurd/libc-lock.h: ...here.
8559 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8560 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
8561 * sysdeps/mach/bits/libc-lock.h: Move to ...
8562 * sysdeps/mach/libc-lock.h: ...here.
8563 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8564 * sysdeps/nptl/bits/libc-lock.h: Move to ...
8565 * sysdeps/nptl/libc-lock.h: ...here.
8566 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8567 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
8568 * sysdeps/nptl/libc-lockP.h: ...here.
8569 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
8570 * crypt/crypt_util.c: Include <libc-lock.h> instead of
8571 <bits/libc-lock.h>.
8572 * dirent/scandir-tail.c: Likewise.
8573 * dlfcn/dlerror.c: Likewise.
8574 * elf/dl-close.c: Likewise.
8575 * elf/dl-iteratephdr.c: Likewise.
8576 * elf/dl-lookup.c: Likewise.
8577 * elf/dl-open.c: Likewise.
8578 * elf/dl-support.c: Likewise.
8579 * elf/dl-writev.h: Likewise.
8580 * elf/rtld.c: Likewise.
8581 * grp/fgetgrent.c: Likewise.
8582 * gshadow/fgetsgent.c: Likewise.
8583 * gshadow/sgetsgent.c: Likewise.
8584 * iconv/gconv_conf.c: Likewise.
8585 * iconv/gconv_db.c: Likewise.
8586 * iconv/gconv_dl.c: Likewise.
8587 * iconv/gconv_int.h: Likewise.
8588 * iconv/gconv_trans.c: Likewise.
8589 * include/link.h: Likewise.
8590 * inet/getnameinfo.c: Likewise.
8591 * inet/getnetgrent.c: Likewise.
8592 * inet/getnetgrent_r.c: Likewise.
8593 * intl/bindtextdom.c: Likewise.
8594 * intl/dcigettext.c: Likewise.
8595 * intl/finddomain.c: Likewise.
8596 * intl/gettextP.h: Likewise.
8597 * intl/loadmsgcat.c: Likewise.
8598 * intl/localealias.c: Likewise.
8599 * intl/textdomain.c: Likewise.
8600 * libidn/idn-stub.c: Likewise.
8601 * libio/libioP.h: Likewise.
8602 * locale/duplocale.c: Likewise.
8603 * locale/freelocale.c: Likewise.
8604 * locale/newlocale.c: Likewise.
8605 * locale/setlocale.c: Likewise.
8606 * login/getutent_r.c: Likewise.
8607 * login/getutid_r.c: Likewise.
8608 * login/getutline_r.c: Likewise.
8609 * login/utmp-private.h: Likewise.
8610 * login/utmpname.c: Likewise.
8611 * malloc/mtrace.c: Likewise.
8612 * misc/efgcvt.c: Likewise.
8613 * misc/error.c: Likewise.
8614 * misc/fstab.c: Likewise.
8615 * misc/getpass.c: Likewise.
8616 * misc/mntent.c: Likewise.
8617 * misc/syslog.c: Likewise.
8618 * nis/nis_call.c: Likewise.
8619 * nis/nis_callback.c: Likewise.
8620 * nis/nss-default.c: Likewise.
8621 * nis/nss_compat/compat-grp.c: Likewise.
8622 * nis/nss_compat/compat-initgroups.c: Likewise.
8623 * nis/nss_compat/compat-pwd.c: Likewise.
8624 * nis/nss_compat/compat-spwd.c: Likewise.
8625 * nis/nss_nis/nis-alias.c: Likewise.
8626 * nis/nss_nis/nis-ethers.c: Likewise.
8627 * nis/nss_nis/nis-grp.c: Likewise.
8628 * nis/nss_nis/nis-hosts.c: Likewise.
8629 * nis/nss_nis/nis-network.c: Likewise.
8630 * nis/nss_nis/nis-proto.c: Likewise.
8631 * nis/nss_nis/nis-pwd.c: Likewise.
8632 * nis/nss_nis/nis-rpc.c: Likewise.
8633 * nis/nss_nis/nis-service.c: Likewise.
8634 * nis/nss_nis/nis-spwd.c: Likewise.
8635 * nis/nss_nisplus/nisplus-alias.c: Likewise.
8636 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8637 * nis/nss_nisplus/nisplus-grp.c: Likewise.
8638 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8639 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
8640 * nis/nss_nisplus/nisplus-network.c: Likewise.
8641 * nis/nss_nisplus/nisplus-proto.c: Likewise.
8642 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8643 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8644 * nis/nss_nisplus/nisplus-service.c: Likewise.
8645 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8646 * nis/ypclnt.c: Likewise.
8647 * nptl/libc_pthread_init.c: Likewise.
8648 * nss/getXXbyYY.c: Likewise.
8649 * nss/getXXent.c: Likewise.
8650 * nss/getXXent_r.c: Likewise.
8651 * nss/nss_db/db-XXX.c: Likewise.
8652 * nss/nss_db/db-netgrp.c: Likewise.
8653 * nss/nss_db/nss_db.h: Likewise.
8654 * nss/nss_files/files-XXX.c: Likewise.
8655 * nss/nss_files/files-alias.c: Likewise.
8656 * nss/nsswitch.c: Likewise.
8657 * posix/regex_internal.h: Likewise.
8658 * posix/wordexp.c: Likewise.
8659 * pwd/fgetpwent.c: Likewise.
8660 * resolv/res_hconf.c: Likewise.
8661 * resolv/res_libc.c: Likewise.
8662 * shadow/fgetspent.c: Likewise.
8663 * shadow/lckpwdf.c: Likewise.
8664 * shadow/sgetspent.c: Likewise.
8665 * socket/opensock.c: Likewise.
8666 * stdio-common/reg-modifier.c: Likewise.
8667 * stdio-common/reg-printf.c: Likewise.
8668 * stdio-common/reg-type.c: Likewise.
8669 * stdio-common/vfprintf.c: Likewise.
8670 * stdio-common/vfscanf.c: Likewise.
8671 * stdlib/abort.c: Likewise.
8672 * stdlib/cxa_atexit.c: Likewise.
8673 * stdlib/fmtmsg.c: Likewise.
8674 * stdlib/random.c: Likewise.
8675 * stdlib/setenv.c: Likewise.
8676 * string/strsignal.c: Likewise.
8677 * sunrpc/auth_none.c: Likewise.
8678 * sunrpc/bindrsvprt.c: Likewise.
8679 * sunrpc/create_xid.c: Likewise.
8680 * sunrpc/key_call.c: Likewise.
8681 * sunrpc/rpc_thread.c: Likewise.
8682 * sysdeps/arm/backtrace.c: Likewise.
8683 * sysdeps/generic/ldsodefs.h: Likewise.
8684 * sysdeps/generic/stdio-lock.h: Likewise.
8685 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
8686 * sysdeps/i386/backtrace.c: Likewise.
8687 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8688 * sysdeps/m68k/backtrace.c: Likewise.
8689 * sysdeps/mach/hurd/cthreads.c: Likewise.
8690 * sysdeps/mach/hurd/dirstream.h: Likewise.
8691 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8692 * sysdeps/nptl/malloc-machine.h: Likewise.
8693 * sysdeps/nptl/stdio-lock.h: Likewise.
8694 * sysdeps/posix/dirstream.h: Likewise.
8695 * sysdeps/posix/getaddrinfo.c: Likewise.
8696 * sysdeps/posix/system.c: Likewise.
8697 * sysdeps/pthread/aio_suspend.c: Likewise.
8698 * sysdeps/s390/s390-32/backtrace.c: Likewise.
8699 * sysdeps/s390/s390-64/backtrace.c: Likewise.
8700 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8701 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8702 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
8703 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
8704 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
8705 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8706 * sysdeps/unix/sysv/linux/system.c: Likewise.
8707 * sysdeps/x86_64/backtrace.c: Likewise.
8708 * time/alt_digit.c: Likewise.
8709 * time/era.c: Likewise.
8710 * time/tzset.c: Likewise.
8711 * wcsmbs/wcsmbsload.c: Likewise.
8712 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
8713 instead of <bits/libc-lock.h> in comment.
8714
8715 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
8716
8717 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
8718 Only use .set mips2 if the current ISA is below mips2.
8719 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
8720 Likewise.
8721 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
8722 mips32r2 if the current ISA is below mips32r2.
8723 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
8724 (TLS_IE): Updated to use the TLD_RDHWR macro.
8725 (TLS_LE): Likewise.
8726 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
8727 __ASSEMBLER__ condition.
8728
8729 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8730
8731 Fix parallel build of before-compile targets.
8732
8733 * sysdeps/mach/Makefile ($(patsubst
8734 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
8735 mach-before-compile target.
8736 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8737 io fs process)): Move rule to dedicated hurd-before-compile target.
8738
8739 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8740
8741 Fix rules generating headers in hurd/ and mach/ when initial make call
8742 has subdir= explicitly set.
8743
8744 * sysdeps/mach/Makefile ($(patsubst
8745 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
8746 calling $(MAKE).
8747 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8748 io fs process)): Force subdir to hurd when calling $(MAKE).
8749 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
8750 subdir to mach when calling $(MAKE).
8751
8752 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
8753
8754 Check sysheaders when looking for Mach and Hurd headers
8755
8756 * sysdeps/mach/configure.ac: Add sysheaders check.
8757 * sysdeps/mach/configure: Regenerate.
8758 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
8759 * sysdeps/mach/hurd/configure: Regenerate.
8760
8761 2015-09-04 Roland McGrath <roland@hack.frob.com>
8762
8763 [BZ #18921]
8764 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
8765 Fix inverted sense of test of 'o_directory_works' value.
8766 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
8767 Bernhard Voelker <mail@bernhard-voelker.de>.
8768
8769 2015-09-04 Joseph Myers <joseph@codesourcery.com>
8770
8771 [BZ #14912]
8772 * bits/linkmap.h: Move to ...
8773 * sysdeps/generic/linkmap.h: ...here.
8774 * sysdeps/aarch64/bits/linkmap.h: Move to ...
8775 * sysdeps/aarch64/linkmap.h: ...here.
8776 * sysdeps/arm/bits/linkmap.h: Move to ...
8777 * sysdeps/arm/linkmap.h: ...here.
8778 * sysdeps/hppa/bits/linkmap.h: Move to ...
8779 * sysdeps/hppa/linkmap.h: ...here.
8780 * sysdeps/ia64/bits/linkmap.h: Move to ...
8781 * sysdeps/ia64/linkmap.h: ...here.
8782 * sysdeps/mips/bits/linkmap.h: Move to ...
8783 * sysdeps/mips/linkmap.h: ...here.
8784 * sysdeps/s390/bits/linkmap.h: Move to ...
8785 * sysdeps/s390/linkmap.h: ...here.
8786 * sysdeps/sh/bits/linkmap.h: Move to ...
8787 * sysdeps/sh/linkmap.h: ...here.
8788 * sysdeps/x86/bits/linkmap.h: Move to ...
8789 * sysdeps/x86/linkmap.h: ...here.
8790 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
8791
8792 2015-09-04 Andreas Schwab <schwab@suse.de>
8793
8794 [BZ #18635]
8795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
8796 (__makecontext): Terminate FDE before return label.
8797 (__novec_makecontext): Likewise.
8798
8799 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8800
8801 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
8802 first member of struct sv in syscall macro.
8803
8804 2015-09-04 Joseph Myers <joseph@codesourcery.com>
8805
8806 [BZ #14912]
8807 * bits/stdio-lock.h: Move to ...
8808 * sysdeps/generic/stdio-lock.h: ...here.
8809 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8810 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
8811 * sysdeps/nptl/stdio-lock.h: ...here.
8812 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8813 * include/libio.h: Include <stdio-lock.h> instead of
8814 <bits/stdio-lock.h>.
8815 * sysdeps/nptl/fork.c: Likewise.
8816 * sysdeps/pthread/flockfile.c: Likewise.
8817 * sysdeps/pthread/ftrylockfile.c: Likewise.
8818 * sysdeps/pthread/funlockfile.c: Likewise.
8819
8820 [BZ #14912]
8821 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
8822 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
8823 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
8824 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
8825 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
8826 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8827 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
8828
8829 2015-09-03 Roland McGrath <roland@hack.frob.com>
8830
8831 * elf/Makefile (test-xfail-tst-protected1a): New variable.
8832 (test-xfail-tst-protected1b): New variable.
8833
8834 2015-09-03 Joseph Myers <joseph@codesourcery.com>
8835
8836 [BZ #14912]
8837 * bits/libc-tsd.h: Move to ...
8838 * sysdeps/generic/libc-tsd.h: ...here.
8839 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
8840 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
8841 * sysdeps/mach/hurd/libc-tsd.h: ...here.
8842 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
8843 * include/ctype.h: Include <libc-tsd.h> instead of
8844 <bits/libc-tsd.h>.
8845 * include/rpc/rpc.h: Likewise.
8846 * locale/localeinfo.h: Likewise.
8847 * sunrpc/rpc_thread.c: Likewise.
8848 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8849 * sysdeps/nptl/malloc-machine.h: Likewise.
8850
8851 * Makefile (headers): Remove bits/libc-lock.h.
8852 * libio/Makefile (headers): Remove bits/stdio-lock.h.
8853
8854 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
8855 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
8856 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
8857 <bits/stdio-lock.h>.
8858 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
8859 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
8860
8861 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8862
8863 [BZ #18757]
8864 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
8865 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
8866 BZ #18757.
8867
8868 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8869
8870 * malloc/mtrace.pl: Filter out NULL entries.
8871
8872 2015-09-01 Joseph Myers <joseph@codesourcery.com>
8873
8874 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
8875 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
8876 macro.
8877
8878 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
8879 (TCP_CC_INFO): Likewise.
8880 (TCP_SAVE_SYN): Likewise.
8881 (TCP_SAVED_SYN): Likewise.
8882
8883 2015-08-31 Brett Neumeier <brett@neumeier.us>
8884
8885 [BZ #18870]
8886 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
8887
8888 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
8889
8890 [BZ #18873]
8891 Fix broken overflow check in posix_fallocate
8892 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
8893 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8894 Fix parenthesization typo.
8895
8896 2015-08-28 Mike Frysinger <vapier@gentoo.org>
8897
8898 [BZ #18887]
8899 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
8900 tst-mntent-blank-passno.
8901 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
8902 * misc/tst-mntent-blank-corrupt.c: New test.
8903 * misc/tst-mntent-blank-passno.c: New test ripped from ...
8904 * misc/tst-mntent.c (do_test): ... here.
8905
8906 2015-08-29 Mike Frysinger <vapier@gentoo.org>
8907
8908 [BZ #4404]
8909 * po/de.po: Fix SIGALRM typo.
8910
8911 2015-08-28 James Perkins <james@loowit.net>
8912
8913 * time/tst-strptime2.c (tests): Replace short list of test
8914 strings for strptime %z specifier with code which exhaustively
8915 tests every combination of sign and 0 to 5 digits. Tests for
8916 rejection of invalid strings.
8917
8918 2015-08-28 James Perkins <james@loowit.net>
8919
8920 [BZ #16141]
8921 * time/strptime_l.c (__strptime_internal): Fix %z minutes
8922 calculation, removing incorrect decimal time rounding, so that
8923 all minute values result in a valid seconds value.
8924 * time/strptime_l.c (__strptime_internal): Extend %z time zone
8925 offset range limits to UTC-99:59 through UTC+99:59 to parse
8926 current and historical use cases.
8927 * time/tst-strptime2.c (tests): Modify and add tests for the
8928 strptime %z input field descriptor, specifically conversion of
8929 minutes to seconds and validating an offset range of -9959 to
8930 +9959.
8931
8932 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8933 Dmitry V. Levin <ldv@altlinux.org>
8934
8935 [BZ #18877]
8936 * posix/Makefile (tests): Add tst-mmap-offset.
8937 * posix/tst-mmap.c: New file.
8938 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
8939 offset calculation for negative values.
8940
8941 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8942
8943 * sysdeps/i386/init-arch.h: New file.
8944 * sysdeps/i386/i586/init-arch.h: Likewise.
8945 * sysdeps/i386/i686/init-arch.h: Likewise.
8946 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
8947 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
8948 * sysdeps/x86/cpu-features.h (bit_I586): New.
8949 (bit_I686): Likewise.
8950 (bit_CX8): Likewise.
8951 (bit_CMOV): Likewise.
8952 (index_CX8): Likewise.
8953 (index_CMOV): Likewise.
8954 (index_I586): Likewise.
8955 (index_I686): Likewise.
8956 (reg_CX8): Likewise.
8957 (reg_CMOV): Likewise.
8958 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
8959 available at compile-time.
8960 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
8961 available at compile-time.
8962 * sysdeps/x86/init-arch.h (USE_I586): New macro.
8963 (USE_I686): Likewise.
8964
8965 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8966
8967 * sysdeps/i386/bcopy.S: New file.
8968 * sysdeps/i386/bzero.S: Likewise.
8969 * sysdeps/i386/memcpy.S: Likewise.
8970 * sysdeps/i386/memmove.S: Likewise.
8971 * sysdeps/i386/mempcpy.S: Likewise.
8972 * sysdeps/i386/memset.S: Likewise.
8973 * sysdeps/i386/bzero.c: Removed.
8974 * sysdeps/i386/memset.c: Likewise.
8975 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
8976 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
8977 * sysdeps/i386/i586/memset_chk.S: Likewise.
8978 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
8979 * sysdeps/i386/memcpy_chk.S: Here.
8980 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
8981 * sysdeps/i386/memmove_chk.S: Here.
8982 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
8983 * sysdeps/i386/mempcpy_chk.S: Likewise.
8984 * sysdeps/i386/i686/memset_chk.S: Moved to ...
8985 * sysdeps/i386/memset_chk.S: Likewise.
8986
8987 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
8988
8989 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
8990 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
8991 file, move DIAG_POP_NEEDS_COMMENT to end of file.
8992 * soft-fp/fmadf4.c: Ditto.
8993 * soft-fp/fmatf4.c: Ditto.
8994
8995 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8996
8997 * sysdeps/i386/i586/Implies: Removed.
8998 * sysdeps/i386/i686/Implies: Likewise.
8999
9000 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9001
9002 * sysdeps/i386/i486/strlen.S: Moved to ...
9003 * sysdeps/i386/strlen.S: Here.
9004
9005 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9006
9007 * sysdeps/i386/i486/strcat.S: Moved to ...
9008 * sysdeps/i386/strcat.S: Here.
9009
9010 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9011
9012 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
9013 * sysdeps/i386/pthread_spin_trylock.S: Here.
9014 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
9015 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
9016
9017 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9018
9019 * sysdeps/i386/i486/string-inlines.c: Moved to ...
9020 * sysdeps/i386/string-inlines.c: Here.
9021
9022 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9023
9024 * sysdeps/i386/i486/htonl.S: Moved ...
9025 * sysdeps/i386/htonl.S: here.
9026
9027 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9028
9029 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
9030 * sysdeps/i386/bits/atomic.h: Here.
9031
9032 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9033
9034 * sysdeps/i386/i486/Versions: Removed.
9035
9036 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
9037
9038 [BZ #2898]
9039 * misc/mktemp.c: Add mkdtemp to the link_warning message.
9040 Based on patch by Aurelien Jarno.
9041
9042 2015-08-26 Stan Shebs <stanshebs@google.com>
9043
9044 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
9045 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9046
9047 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9048
9049 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
9050 * sysdeps/powerpc/dl-procinfo.c:
9051 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
9052 feature so it shows when LD_SHOW_AUXV=1.
9053
9054 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9055
9056 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9057 (__arch_compare_and_exchange_val_32_acq): Remove and use common
9058 definition. ISA 2.07B no longer requires full sync.
9059
9060 2015-08-26 Mike Frysinger <vapier@gentoo.org>
9061
9062 [BZ #18863]
9063 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
9064 (si_call_addr): Define.
9065 (si_syscall): Define.
9066 (si_arch): Define.
9067
9068 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
9069
9070 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
9071 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
9072 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
9073 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9074 (__memset_zero_constant_len_parameter): New.
9075 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
9076 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9077 (__memset_zero_constant_len_parameter): Don't define if
9078 __memset_chk or USE_AS_BZERO are defined.
9079
9080 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
9081 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
9082 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
9083
9084 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
9085 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
9086 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
9087 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
9088 comments.
9089 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
9090 -mno-mmx for $(all-rtld-routines).
9091 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
9092 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
9093 i386.
9094
9095 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9096
9097 * sysdeps/generic/unwind.h
9098 (_Unwind_Word): Use __mode__(__unwind_word__)
9099 instead of __mode__(__word__).
9100 (_Unwind_Sword): Likewise.
9101
9102 * sysdeps/s390/s390-64/utf8-utf16-z9.c
9103 (MAX_NEEDED_INPUT): New define.
9104 (MAX_NEEDED_OUTPUT): New define.
9105
9106 * NEWS: New item for IBM z13 string optimizations.
9107
9108 * sysdeps/s390/multiarch/memrchr-c.c: New File.
9109 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
9110 * sysdeps/s390/multiarch/memrchr.c: Likewise.
9111 * sysdeps/s390/multiarch/Makefile
9112 (sysdep_routines): Add memrchr functions.
9113 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9114 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
9115
9116 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
9117 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
9118 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
9119 * sysdeps/s390/multiarch/Makefile
9120 (sysdep_routines): Add wmemcmp functions.
9121 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9122 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
9123 * benchtests/bench-wmemcmp.c: New File.
9124 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
9125
9126 * sysdeps/s390/multiarch/wmemset-c.c: New File.
9127 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
9128 * sysdeps/s390/multiarch/wmemset.c: Likewise.
9129 * sysdeps/s390/multiarch/Makefile
9130 (sysdep_routines): Add wmemset functions.
9131 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9132 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
9133 * wcsmbs/wmemset.c: Use WMEMSET if defined.
9134 * string/test-memset.c: Add wmemset support.
9135 * wcsmbs/test-wmemset.c: New File.
9136 * wcsmbs/Makefile (strop-tests): Add wmemset.
9137 * benchtests/bench-memset.c: Add wmemset support.
9138 * benchtests/bench-wmemset.c: New File.
9139 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
9140
9141 * sysdeps/s390/multiarch/memccpy-c.c: New File.
9142 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
9143 * sysdeps/s390/multiarch/memccpy.c: Likewise.
9144 * sysdeps/s390/multiarch/Makefile
9145 (sysdep_routines): Add memccpy functions.
9146 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9147 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
9148 * string/memccpy.c: Use MEMCCPY if defined.
9149
9150 * sysdeps/s390/multiarch/memchr-vx.S: New File.
9151 * sysdeps/s390/multiarch/memchr.c: Likewise.
9152 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
9153 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
9154 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9155 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
9156 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
9157 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9158 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
9159 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9160 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
9161 and rawmemchr functions.
9162 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9163 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
9164 and wmemchr.
9165 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
9166 * string/test-memchr.c: Add wmemchr support.
9167 * wcsmbs/test-wmemchr.c: New File.
9168 * wcsmbs/Makefile (strop-tests): Add wmemchr.
9169 * benchtests/bench-memchr.c: Add wmemchr support.
9170 * benchtests/bench-wmemchr.c: New File.
9171 * benchtests/Makefile (wcsmbs-bench): wmemchr.
9172
9173 * sysdeps/s390/multiarch/strcspn-c.c: New File.
9174 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
9175 * sysdeps/s390/multiarch/strcspn.c: Likewise.
9176 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
9177 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
9178 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
9179 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
9180 wcscspn functions.
9181 * sysdeps/s390/multiarch/ifunc-impl-list.c
9182 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
9183 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
9184 * string/test-strcspn.c: Add wcscspn support.
9185 * wcsmbs/test-wcscspn.c: New File.
9186 * wcsmbs/Makefile (strop-tests): Add wcscspn.
9187 * benchtests/bench-strcspn.c: Add wcscspn support.
9188 * benchtests/bench-wcscspn.c: New File.
9189 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
9190
9191 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
9192 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
9193 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9194 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
9195 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
9196 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9197 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
9198 wcspbrk functions.
9199 * sysdeps/s390/multiarch/ifunc-impl-list.c
9200 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
9201 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
9202 * string/test-strpbrk.c: Add wcspbrk support.
9203 * wcsmbs/test-wcspbrk.c: New File.
9204 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
9205 * benchtests/bench-strpbrk.c: Add wcspbrk support.
9206 * benchtests/bench-wcspbrk.c: New File.
9207 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
9208
9209 * sysdeps/s390/multiarch/strspn-c.c: New File.
9210 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
9211 * sysdeps/s390/multiarch/strspn.c: Likewise.
9212 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
9213 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
9214 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9215 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
9216 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
9217 wcsspn functions.
9218 * sysdeps/s390/multiarch/ifunc-impl-list.c
9219 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
9220 * string/test-strspn.c: Add wcsspn support.
9221 * wcsmbs/test-wcsspn.c: New File.
9222 * wcsmbs/Makefile (strop-tests): Add wcsspn.
9223 * benchtests/bench-strspn.c: Add wcsspn support.
9224 * benchtests/bench-wcsspn.c: New File.
9225 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
9226
9227 * sysdeps/s390/multiarch/strrchr-c.c: New File.
9228 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
9229 * sysdeps/s390/multiarch/strrchr.c: Likewise.
9230 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
9231 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
9232 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
9233 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
9234 wcsrchr functions.
9235 * sysdeps/s390/multiarch/ifunc-impl-list.c
9236 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
9237 * benchtests/bench-wcsrchr.c: New File.
9238 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
9239
9240 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
9241 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
9242 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
9243 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
9244 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
9245 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
9246 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
9247 wcschrnul functions.
9248 * sysdeps/s390/multiarch/ifunc-impl-list.c
9249 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
9250 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
9251 * string/test-strchr.c: Add wcschrnul support.
9252 * wcsmbs/test-wcschrnul.c: New File.
9253 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
9254 * benchtests/bench-strchr.c: Add wcschrnul support.
9255 * benchtests/bench-wcschrnul.c: New File.
9256 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
9257
9258 * sysdeps/s390/multiarch/strchr-c.c: New File.
9259 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
9260 * sysdeps/s390/multiarch/strchr.c: Likewise.
9261 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
9262 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
9263 * sysdeps/s390/multiarch/wcschr.c: Likewise.
9264 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
9265 wcschr functions.
9266 * sysdeps/s390/multiarch/ifunc-impl-list.c
9267 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
9268 * string/strchr.c (STRCHR): Define and use macro.
9269 * benchtests/bench-wcschr.c: New File.
9270 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
9271
9272 * sysdeps/s390/multiarch/strncmp-c.c: New File.
9273 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
9274 * sysdeps/s390/multiarch/strncmp.c: Likewise.
9275 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
9276 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
9277 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
9278 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
9279 wcsncmp functions.
9280 * sysdeps/s390/multiarch/ifunc-impl-list.c
9281 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
9282 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
9283 * benchtests/bench-strncmp.c: Add wcsncmp support.
9284 * benchtests/bench-wcsncmp.c: New File.
9285 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
9286
9287 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
9288 * sysdeps/s390/multiarch/strcmp.c: Likewise.
9289 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
9290 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
9291 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9292 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
9293 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9294 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
9295 wcscmp functions.
9296 * sysdeps/s390/multiarch/ifunc-impl-list.c
9297 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
9298 * string/strcmp.c (STRCMP): Define and use macro.
9299 * benchtests/bench-wcscmp.c: New File.
9300 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
9301 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
9302 instead of _HAVE_STRING_ARCH_memchr.
9303
9304 * sysdeps/s390/multiarch/strncat-c.c: New File.
9305 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
9306 * sysdeps/s390/multiarch/strncat.c: Likewise.
9307 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
9308 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
9309 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
9310 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
9311 wcsncat functions.
9312 * sysdeps/s390/multiarch/ifunc-impl-list.c
9313 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
9314 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
9315 * string/test-strncat.c: Add wcsncat support.
9316 * wcsmbs/test-wcsncat.c: New File.
9317 * wcsmbs/Makefile (strop-tests): Add wcsncat.
9318 * benchtests/bench-strncat.c: Add wcsncat support.
9319 * benchtests/bench-wcsncat.c: New File.
9320 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
9321
9322 * sysdeps/s390/multiarch/strcat-c.c: New File.
9323 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
9324 * sysdeps/s390/multiarch/strcat.c: Likewise.
9325 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
9326 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
9327 * sysdeps/s390/multiarch/wcscat.c: Likewise.
9328 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
9329 wcscat functions.
9330 * sysdeps/s390/multiarch/ifunc-impl-list.c
9331 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
9332 * string/strcat.c (STRCAT): Define and use macro.
9333 * wcsmbs/wcscat.c: Use WCSCAT if defined.
9334 * string/test-strcat.c: Add wcscat support.
9335 * wcsmbs/test-wcscat.c: New File.
9336 * wcsmbs/Makefile (strop-tests): Add wcscat.
9337 * benchtests/bench-strcat.c: Add wcscat support.
9338 * benchtests/bench-wcscat.c: New File.
9339 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
9340
9341 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
9342 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
9343 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9344 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
9345 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
9346 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
9347 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
9348 wcpncpy functions.
9349 * sysdeps/s390/multiarch/ifunc-impl-list.c
9350 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
9351 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
9352 * string/test-stpncpy.c: Add wcpncpy support.
9353 * wcsmbs/test-wcpncpy.c: New File.
9354 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
9355 * benchtests/bench-stpncpy.c: Add wcpncpy support.
9356 * benchtests/bench-wcpncpy.c: New File.
9357 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
9358
9359 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
9360 * sysdeps/s390/multiarch/strncpy.c: Likewise.
9361 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
9362 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
9363 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
9364 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
9365 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9366 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
9367 wcsncpy functions.
9368 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
9369 * sysdeps/s390/multiarch/ifunc-impl-list.c
9370 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
9371 * string/test-strncpy.c: Add wcsncpy support.
9372 * wcsmbs/test-wcsncpy.c: New File.
9373 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
9374 * benchtests/bench-strncpy.c: Add wcsncpy support.
9375 * benchtests/bench-wcsncpy.c: New File.
9376 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
9377
9378 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
9379 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
9380 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9381 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
9382 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
9383 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
9384 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
9385 wcpcpy functions.
9386 * string/stpcpy.c: Use STPCPY if defined.
9387 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
9388 * sysdeps/s390/multiarch/ifunc-impl-list.c
9389 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
9390 * string/test-stpcpy.c: Add wcpcpy support.
9391 * wcsmbs/test-wcpcpy.c: New File.
9392 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
9393 * benchtests/bench-stpcpy.c: Add wcpcpy support.
9394 * benchtests/bench-wcpcpy.c: New File.
9395 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
9396
9397 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
9398 * sysdeps/s390/multiarch/strcpy.c: Likewise.
9399 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
9400 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
9401 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
9402 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
9403 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9404 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
9405 wcscpy functions.
9406 * sysdeps/s390/multiarch/ifunc-impl-list.c
9407 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
9408 * benchtests/bench-wcscpy.c: New File.
9409 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
9410
9411 * sysdeps/s390/multiarch/strnlen-c.c: New File.
9412 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
9413 * sysdeps/s390/multiarch/strnlen.c: Likewise.
9414 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
9415 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
9416 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
9417 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
9418 wcsnlen functions.
9419 * sysdeps/s390/multiarch/ifunc-impl-list.c
9420 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
9421 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
9422 * string/test-strnlen.c: Add wcsnlen support.
9423 * wcsmbs/test-wcsnlen.c: New File.
9424 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
9425 * benchtests/bench-strnlen.c: Add wcsnlen support.
9426 * benchtests/bench-wcsnlen.c: New File.
9427 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
9428
9429 * sysdeps/s390/multiarch/Makefile: New File.
9430 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
9431 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
9432 * sysdeps/s390/multiarch/strlen.c: Likewise.
9433 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
9434 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
9435 * sysdeps/s390/multiarch/wcslen.c: Likewise.
9436 * string/strlen.c (STRLEN): Define and use macro.
9437 * sysdeps/s390/multiarch/ifunc-impl-list.c
9438 (IFUNC_VX_IMPL): New macro function.
9439 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
9440 * benchtests/Makefile (wcsmbs-bench): New variable.
9441 (string-bench-all): Added wcsmbs-bench.
9442 * benchtests/bench-wcslen.c: New File.
9443
9444 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
9445 s390_vx_libc_ifunc2): New macro function.
9446
9447 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
9448 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
9449 assembler support.
9450 * sysdeps/s390/configure: Regenerated.
9451
9452 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
9453 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9454
9455 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
9456 * sysdeps/s390/dl-procinfo.h: Add vector capability.
9457 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
9458
9459 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9460 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
9461 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
9462 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
9463 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
9464 (memcmp, bcmp): Use __memcmp_default as alias source.
9465 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
9466 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
9467 Rename to __memcmp_default.
9468 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
9469 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
9470 (memcpy): Use __memcpy_default as alias source.
9471 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
9472 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
9473 Rename to __memcpy_default.
9474 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
9475 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
9476 (memset): Use __memset_default as alias source.
9477 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
9478 * sysdeps/s390/s390-32/memset.S (__memset_g5):
9479 Rename to __memset_default.
9480 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
9481 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
9482 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
9483 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
9484 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
9485 (memcmp, bcmp): Use __memcmp_default as alias source.
9486 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
9487 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
9488 Rename to __memcmp_default.
9489 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
9490 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
9491 (memcpy): Use __memcpy_default as alias source.
9492 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
9493 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
9494 Rename to __memcpy_default.
9495 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
9496 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
9497 (memset): Use __memset_default as alias source.
9498 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
9499 * sysdeps/s390/s390-64/memset.S (__memset_z900):
9500 Rename to __memset_default.
9501 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
9502 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
9503
9504 [BZ #18610]
9505 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
9506 __ieee_instruction_pointer to __unused.
9507 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
9508 __ieee_instruction_pointer.
9509 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
9510 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
9511 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9512 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9513 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
9514 Mark dxc-field as reserved.
9515
9516 2015-08-25 Roland McGrath <roland@hack.frob.com>
9517
9518 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
9519 if the weak reference is not null.
9520
9521 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
9522
9523 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
9524
9525 [BZ #11214]
9526 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
9527
9528 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9529
9530 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
9531 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
9532 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
9533 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
9534 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
9535 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
9536 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
9537 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
9538 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
9539 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
9540 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
9541 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
9542 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
9543 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
9544 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
9545 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
9546 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
9547 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
9548
9549 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9550
9551 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
9552 register other than r0 for tabort, it has special meaning.
9553 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
9554 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
9555 transaction before starting syscall.
9556
9557 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9558
9559 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
9560
9561 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
9562
9563 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
9564
9565 * sysdeps/x86_64/rtld-memcmp.c: Removed.
9566 * sysdeps/x86_64/rtld-memset.S: Likewise.
9567 * sysdeps/x86_64/rtld-strchr.S: Likewise.
9568 * sysdeps/x86_64/rtld-strlen.S: Likewise.
9569 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
9570 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9571
9572 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
9573
9574 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
9575
9576 * debug/strcpy_chk.c: Improve performance.
9577 * debug/stpcpy_chk.c: Likewise.
9578 * sysdeps/x86_64/strcpy_chk.S: Remove.
9579 * sysdeps/x86_64/stpcpy_chk.S: Remove.
9580
9581 [BZ #18240]
9582 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
9583
9584 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
9585
9586 [BZ #15128]
9587 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
9588 ifuncmain8.
9589 (modules-names): Add ifuncmod8.
9590 ($(objpfx)ifuncmain8): New rule.
9591 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
9592 <cpuid.h>.
9593 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
9594 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
9595 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
9596 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
9597 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
9598 * sysdeps/x86_64/dl-trampoline.h: Likewise.
9599 * sysdeps/x86_64/ifuncmain8.c: New file.
9600 * sysdeps/x86_64/ifuncmod8.c: Likewise.
9601 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
9602 Removed.
9603 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
9604 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
9605 Change rtld_savespace_sse to __glibc_unused2.
9606 (RTLD_CHECK_FOREIGN_CALL): Removed.
9607 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
9608 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
9609 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
9610
9611 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9612
9613 * sysdeps/aarch64/bzero.S (__bzero): Remove.
9614
9615 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9616
9617 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
9618 Unconditionally set __fpcr to avoid uninialized warning.
9619 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
9620
9621 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9622
9623 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
9624 is corrupt.
9625
9626 * malloc/arena.c (arena_get2): Drop unused argument.
9627 (arena_lock): Adjust.
9628 (arena_get_retry): Likewise.
9629
9630 2015-08-24 Andreas Schwab <schwab@suse.de>
9631
9632 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
9633 Don't define.
9634 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9635 (__ASSUME_IPC64): Don't undef.
9636 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
9637 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9638 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9639 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
9640 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
9641 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
9642 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
9643 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
9644 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
9645 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
9646 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
9647 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
9648 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
9649 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
9650 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
9651 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
9652 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
9653 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
9654 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
9655 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
9656 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
9657
9658 2015-08-21 Mike Frysinger <vapier@gentoo.org>
9659
9660 * manual/Makefile (install): Only build manual when perl is available.
9661
9662 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9663
9664 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
9665 '#undef memcpy' by '#undef memchr'.
9666
9667 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9668
9669 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
9670 memchr not point to the internal __GI_memchr implementation.
9671
9672 2015-08-20 Joseph Myers <joseph@codesourcery.com>
9673
9674 * timezone/Makefile (CFLAGS-zdump.c): Remove
9675 -Wno-strict-prototypes.
9676 (CFLAGS-zic.c): Likewise.
9677 (CFLAGS-ialloc.c): Likewise.
9678 (CFLAGS-scheck.c): Likewise.
9679
9680 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
9681 -Wno-error=undef.
9682
9683 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
9684
9685 * i386/i686/multiarch/strcasestr-c.c: Removed.
9686 * x86_64/multiarch/strcasestr.c: Likewise.
9687 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9688 Remove strcasestr.
9689
9690 2015-08-20 Joseph Myers <joseph@codesourcery.com>
9691
9692 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
9693
9694 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
9695 variables for high and low parts before possibly modifying them.
9696
9697 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
9698
9699 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
9700 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
9701 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
9702 of "multiarch/init-arch.h".
9703 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
9704 * sysdeps/x86/init-arch.h: This.
9705
9706 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
9707
9708 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
9709 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
9710
9711 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
9712
9713 [BZ #17787]
9714 * manual/macros.texi: Add twoexp macro.
9715 * manual/filesys.texi: Fix exponents.
9716 * manual/llio.texi: Likewise.
9717 * manual/stdio.texi: Likewise.
9718
9719 2015-08-20 Florian Weimer <fweimer@redhat.com>
9720
9721 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
9722 incorrect use.
9723
9724 2015-08-19 Joseph Myers <joseph@codesourcery.com>
9725
9726 [BZ #18370]
9727 * math/s_csqrt.c (__csqrt): Force underflow exception for results
9728 whose real or imaginary part has small absolute value.
9729 * math/s_csqrtf.c (__csqrtf): Likewise.
9730 * math/s_csqrtl.c (__csqrtl): Likewise.
9731 * math/auto-libm-test-in: Add more tests of csqrt.
9732 * math/auto-libm-test-out: Regenerated.
9733 * sysdeps/i386/fpu/libm-test-ulps: Update.
9734
9735 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9736
9737 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
9738 __ppc_set_ppr_very_low): New functions.
9739 * manual/platform.texi: Add documentation about
9740 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
9741
9742 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
9743
9744 * string/stpncpy.c (stpncpy): Improve performance using
9745 __strnlen/memcpy/memset.
9746
9747 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
9748
9749 [BZ #18796]
9750 * scripts/test-installation.pl: Don't add -lmvec to build options if
9751 libmvec wasn't built.
9752
9753 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
9754
9755 [BZ #14341]
9756 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
9757 case when there is a gap between DT_REL and DT_JMPREL sections.
9758 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
9759 (LDFLAGS-tst-split-dynreloc): New.
9760 (tst-split-dynreloc-ENV): Likewise.
9761 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
9762 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
9763
9764 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
9765
9766 [BZ #18822]
9767 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
9768 attribute_hidden.
9769 (__xstat64_conv): Likewise.
9770 (__xstat32_conv): Likewise.
9771
9772 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
9773
9774 [BZ #18822]
9775 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
9776 Don't load %ebx when calling __setcontext. Call __setcontext
9777 with HIDDEN_JUMPTARGET.
9778 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
9779 libc_hidden_def.
9780
9781 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
9782
9783 * sysdeps/i386/i686/Makefile
9784 [$(subdir) == string] (sysdep_routines): Moved to ...
9785 * sysdeps/i386/Makefile: Here.
9786 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
9787 * sysdeps/i386/cacheinfo.c: Here.
9788 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
9789 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
9790 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
9791 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
9792
9793 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
9794
9795 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
9796 __i586__ is defined.
9797 (HAS_I686): Defined to 1 if __i686__ is defined.
9798
9799 2015-08-19 Joseph Myers <joseph@codesourcery.com>
9800
9801 * elf/Makefile [$(have-z-execstack) = yes]
9802 (CPPFLAGS-tst-execstack.c): New variable.
9803
9804 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
9805 conditional to [defined UTMPX || _HAVE_UT_TYPE].
9806 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
9807 UTMPX || _HAVE_UT_TV].
9808 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
9809 UTMPX || _HAVE_UT_TV - 0].
9810
9811 2015-08-18 Joseph Myers <joseph@codesourcery.com>
9812
9813 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
9814 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
9815 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
9816
9817 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9818
9819 * sysdeps/powerpc/dl-procinfo.c:
9820 (_dl_powerpc_cap_flags): Added missing strings for some
9821 hwcap features.
9822 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
9823
9824 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
9825
9826 Port the 0x7efe...feff pattern to GCC 6.
9827 See Steve Ellcey's bug report in:
9828 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
9829 * string/memrchr.c (MEMRCHR):
9830 * string/rawmemchr.c (RAWMEMCHR):
9831 * string/strchr.c (strchr):
9832 * string/strchrnul.c (STRCHRNUL):
9833 Rewrite code to avoid issues with signed shift overflow.
9834
9835 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
9836
9837 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
9838 whether cpuid is available only if HAS_CPUID is 0.
9839 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
9840 (HAS_I586): Likewise.
9841 (HAS_I686): Likewise.
9842
9843 2015-08-18 Zack Weinberg <zackw@panix.com>
9844
9845 * misc/Versions (libc): Add GLIBC_2.23.
9846
9847 2015-08-18 Alan Modra <amodra@gmail.com>
9848
9849 [BZ #18421]
9850 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
9851 .Lp__global.
9852 (_start): Load %dp via .Lp__global.
9853 [!SHARED]: Use .section .rodata.
9854
9855 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9856
9857 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
9858 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
9859
9860 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9861
9862 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
9863 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
9864
9865 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9866
9867 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
9868 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
9869
9870 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9871
9872 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
9873 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
9874
9875 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9876
9877 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
9878 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
9879
9880 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9881
9882 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
9883 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
9884
9885 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9886
9887 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
9888
9889 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9890
9891 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
9892 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
9893 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9894 (__ASSUME_LWS_CAS): Delete.
9895
9896 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9897
9898 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
9899 * sysdeps/hppa/configure: Regenerated.
9900 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
9901 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
9902 * sysdeps/hppa/nptl/tls.h: Likewise.
9903
9904 2015-08-17 Joseph Myers <joseph@codesourcery.com>
9905
9906 [BZ #18823]
9907 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
9908 for scaling up small arguments.
9909 * math/s_csqrtf.c (__csqrtf): Likewise.
9910 * math/s_csqrtl.c (__csqrtl): Likewise.
9911 * math/auto-libm-test-in: Add more tests of csqrt.
9912 * math/auto-libm-test-out: Regenerated.
9913
9914 2015-08-17 Andreas Schwab <schwab@suse.de>
9915
9916 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
9917 version set GLIBC_2.19.
9918
9919 2015-08-16 Zack Weinberg <zackw@panix.com>
9920
9921 [BZ #18681]
9922 * misc/regexp.h: This interface is no longer supported.
9923 Remove all contents, leaving only an #error directive.
9924 * misc/regexp.c (loc1, loc2, locs, step, advance):
9925 Demote to compatibility symbols.
9926
9927 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
9928
9929 [BZ #18084]
9930 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
9931 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
9932 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9933 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
9934 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
9935 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
9936 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
9937 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
9938 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9939
9940 2015-08-15 Zack Weinberg <zackw@panix.com>
9941
9942 [BZ #18795]
9943 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
9944 buffer length is known to be too large, not if it's known to be
9945 small enough.
9946 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
9947 overflow at runtime, involving a length parameter, twice: once
9948 with a compile-time constant length parameter, once without.
9949
9950 2015-08-14 Joseph Myers <joseph@codesourcery.com>
9951
9952 [BZ #18824]
9953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
9954 scaling x * y up instead of down.
9955 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9956 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9957 * math/auto-libm-test-in: Add more tests of fma.
9958 * math/auto-libm-test-out: Regenerated.
9959
9960 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9961
9962 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9963
9964 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9965
9966 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
9967 unnecessary movq.
9968 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
9969 Likewise.
9970
9971 2015-08-13 Joseph Myers <joseph@codesourcery.com>
9972
9973 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9974 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
9975 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
9976 and tgamma.
9977 * math/auto-libm-test-out: Regenerated.
9978 * sysdeps/i386/fpu/libm-test-ulps: Update.
9979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9980
9981 [BZ #16520]
9982 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
9983 (__tanh): Force underflow exception for arguments with small
9984 absolute value.
9985 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
9986 (__tanhf): Force underflow exception for arguments with small
9987 absolute value.
9988 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
9989 (__tanhl): Force underflow exception for arguments with small
9990 absolute value.
9991 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
9992 (__tanhl): Force underflow exception for arguments with small
9993 absolute value.
9994 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
9995 (__tanhl): Force underflow exception for arguments with small
9996 absolute value.
9997 * math/auto-libm-test-in: Add more tests of tanh.
9998 * math/auto-libm-test-out: Regenerated.
9999 * sysdeps/i386/fpu/libm-test-ulps: Update.
10000
10001 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10002
10003 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
10004 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
10005
10006 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10007
10008 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
10009 <cpuid.h>.
10010
10011 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10012
10013 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
10014 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
10015
10016 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10017
10018 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
10019 Remove $(objpfx)init-arch.o.
10020 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
10021 init-arch.
10022 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
10023 (INIT_ARCH_EXT): Defined as empty.
10024 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
10025 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
10026 __init_cpu_features call. Replace HAS_XXX with
10027 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10028 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
10029 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
10030 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
10031 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
10032 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10033 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
10034 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
10035 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10036 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
10037 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
10038 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10039 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
10040 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
10041 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10042 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
10043 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
10044 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10045 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10046 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
10047 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
10048 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10049 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
10050 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
10051 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10052 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
10053 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
10054 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10055 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
10056 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
10057 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10058 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
10059 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
10060 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10061 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
10062 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
10063
10064 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10065
10066 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
10067 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10068 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10069 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10070 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
10071 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
10072 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
10073 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
10074 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
10075 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
10076 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
10077 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
10078 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10079 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10080 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10081 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10082 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10083 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10084 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10085 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10086 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10087 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10088 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10089 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10090 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10091 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10092 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10093 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10094 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10095 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10096 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10097 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10098 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10099 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10100 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10101 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10102 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10103 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10104 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10105 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10106 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10107 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10108 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10109
10110 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10111
10112 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
10113 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10114 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10115 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10116 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10117 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
10118 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10119 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
10120 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10121 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10122 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10123 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
10124 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
10125 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
10126 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
10127 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
10128 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
10129 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
10130 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
10131 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
10132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10133 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
10134 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
10135 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10136 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10137 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
10138 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
10139 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
10140 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10141 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10142 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10143 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10144 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10145 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10146 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10147 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10148 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10149 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10150 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10151 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10152 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10153 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10154 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10155
10156 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10157
10158 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
10159 (dl_platform_init): Call init_cpu_features.
10160 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
10161 * sysdeps/i386/i686/cacheinfo.c
10162 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
10163 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
10164 * sysdeps/i386/i686/multiarch/Versions: Removed.
10165 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
10166 Removed.
10167 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
10168 * sysdeps/unix/sysv/linux/x86/Makefile
10169 (libpthread-sysdep_routines): Remove init-arch.
10170 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
10171 <sysdeps/x86_64/dl-procinfo.c> instead of
10172 sysdeps/generic/dl-procinfo.c>.
10173 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
10174 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
10175 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
10176 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
10177 [$(subdir) == elf] (tests-static): Add
10178 tst-get-cpu-features-static.
10179 * sysdeps/x86/Versions: New file.
10180 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
10181 * sysdeps/x86/cpu-features.c: Likewise.
10182 * sysdeps/x86/cpu-features.h: Likewise.
10183 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
10184 * sysdeps/x86/libc-start.c: Likewise.
10185 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10186 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
10187 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
10188 * sysdeps/x86_64/dl-procinfo.c: Likewise.
10189 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
10190 Assume USE_MULTIARCH is defined and don't check it.
10191 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
10192 (is_amd): Likewise.
10193 (max_cpuid): Likewise.
10194 (intel_check_word): Likewise.
10195 (__cache_sysconf): Don't call __init_cpu_features.
10196 (__x86_preferred_memory_instruction): Removed.
10197 (init_cacheinfo): Don't call __init_cpu_features. Replace
10198 __cpu_features with GLRO(dl_x86_cpu_features).
10199 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
10200 (dl_platform_init): Call init_cpu_features.
10201 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
10202 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
10203 * sysdeps/x86_64/multiarch/Versions: Removed.
10204 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
10205 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
10206 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
10207 Removed.
10208 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
10209
10210 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10211
10212 [BZ #18820]
10213 * libio/Makefile (test-fmemopen-mem): New test.
10214 * libio/test-fmemopen.c (do_bz18820): New test.
10215 * libio/fmemopen.c (__fmemopen): Fix memory leak.
10216 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
10217
10218 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10219
10220 [BZ #16734]
10221 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
10222 (FREE_BUF): Delete.
10223 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
10224 * libio/genops.c (_IO_setb): Use malloc and free directly.
10225 (_IO_default_doallocate, _IO_default_finish): Likewise.
10226 ( _IO_unbuffer_all): Likewise.
10227 ( libc_freeres_fn): Likewise.
10228 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10229 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10230 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
10231 (_IO_wdefault_doallocate): Likewise.
10232
10233 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10234
10235 [BZ #18086]
10236 * sysdeps/posix/nice.c (nice): Restore old errno.
10237 * posix/tst-nice.c (do_test): Add test for BZ #18086.
10238
10239 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
10240
10241 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
10242
10243 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10244
10245 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
10246 __bcopy and add a weak_alias to bcopy.
10247 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
10248 for static build.
10249
10250 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
10251 cleanup macro usage.
10252 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
10253 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
10254 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10255 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
10256 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10257 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
10258 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
10259 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10260 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10261 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
10262 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10263 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
10264 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10265 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
10266 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10267 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
10268 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
10269 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
10270 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10271
10272 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
10273 libc_hidden_def.
10274 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
10275
10276 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
10277 (sysdep_routines): Add strstr-ppc64.
10278 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
10279
10280 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
10281
10282 [BZ #18778]
10283 * elf/Makefile (tests): Add Add tst-nodelete2.
10284 (modules-names): Add tst-nodelete2mod.
10285 (tst-nodelete2mod.so-no-z-defs): New.
10286 ($(objpfx)tst-nodelete2): Likewise.
10287 ($(objpfx)tst-nodelete2.out): Likewise.
10288 (LDFLAGS-tst-nodelete2): Likewise.
10289 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
10290 out of loop through all loaded libraries.
10291 * elf/tst-nodelete2.c: New file.
10292 * elf/tst-nodelete2mod.c: Likewise.
10293 * elf/tst-znodelete-zlib.cc: Delete.
10294
10295 2015-08-11 Andreas Schwab <schwab@suse.de>
10296
10297 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
10298 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
10299 (__openat64_nocancel): Likewise.
10300
10301 2015-08-11 Joseph Myers <joseph@codesourcery.com>
10302
10303 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
10304 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
10305 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
10306 * math/auto-libm-test-out: Regenerated.
10307 * sysdeps/i386/fpu/libm-test-ulps: Update.
10308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10309
10310 2015-08-10 Joseph Myers <joseph@codesourcery.com>
10311
10312 [BZ #18790]
10313 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
10314 threshold for returning +/- 1.
10315 * math/auto-libm-test-in: Add more tests of tanh.
10316 * math/auto-libm-test-out: Regenerated.
10317 * sysdeps/i386/fpu/libm-test-ulps: Update.
10318
10319 2015-08-10 Andreas Schwab <schwab@suse.de>
10320
10321 [BZ #18781]
10322 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
10323 MORE_OFLAGS to oflag.
10324 * io/test-lfs.c (do_test): Test openat64.
10325
10326 2015-08-10 Joseph Myers <joseph@codesourcery.com>
10327
10328 [BZ #18789]
10329 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
10330 smaller threshold for returning the argument.
10331 * math/auto-libm-test-in: Add more tests of sinh.
10332 * math/auto-libm-test-out: Regenerated.
10333 * sysdeps/i386/fpu/libm-test-ulps: Update.
10334
10335 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
10336
10337 [BZ #18674]
10338 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
10339 break.
10340
10341 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
10342
10343 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
10344 (generated): Don't add $(addprefix z.,$(tzfiles)).
10345
10346 2015-08-09 Mike Frysinger <vapier@gentoo.org>
10347
10348 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
10349 * scripts/sysd-rules.awk: Likewise.
10350
10351 2015-08-09 Mike Frysinger <vapier@gentoo.org>
10352
10353 * iconvdata/tst-tables.sh: Change echo -n to printf.
10354 * nss/db-Makefile: Likewise.
10355 * posix/tst-getconf.sh: Likewise.
10356 * stdio-common/tst-unbputc.sh: Likewise.
10357
10358 2015-08-09 Mike Frysinger <vapier@gentoo.org>
10359
10360 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
10361 MADV_*_PAGES defines behind this feature check.
10362
10363 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
10364
10365 [BZ #18480]
10366 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
10367 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
10368 Define.
10369 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
10370 LOAD_REGS_5, LOAD_REGS_6): Update.
10371 (INTERNAL_SYSCALL): Update using new LOAD defines.
10372 (INTERNAL_SYSCALL_NCS): Likewise.
10373 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
10374
10375 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10376
10377 [BZ #16734]
10378 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
10379
10380 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10381
10382 [BZ #17905]
10383 * catgets/Makefile (tst-catgets-mem): New test.
10384 * catgets/catgets.c (catopen): Don't use unbounded alloca.
10385 * catgets/open_catalog.c (__open_catalog): Likewise.
10386 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
10387
10388 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
10389
10390 [BZ #18787]
10391 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
10392 clobber registers.
10393 (atomic_compare_and_exchange_val_acq): Use register asms to assign
10394 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
10395 Cast return to __typeof (oldval).
10396
10397 2015-08-08 Mike Frysinger <vapier@gentoo.org>
10398
10399 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
10400 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
10401 and delete sys/syscall.h include.
10402
10403 2015-08-07 Joseph Myers <joseph@codesourcery.com>
10404
10405 [BZ #16517]
10406 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
10407 (tan): Force underflow exception for arguments with small absolute
10408 value.
10409 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
10410 (__kernel_tanf): Force underflow exception for arguments with
10411 small absolute value.
10412 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
10413 (__kernel_tanl): Force underflow exception for arguments with
10414 small absolute value.
10415 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
10416 (__kernel_tanl): Force underflow exception for arguments with
10417 small absolute value.
10418 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
10419 (__kernel_tanl): Force underflow exception for arguments with
10420 small absolute value.
10421 * math/auto-libm-test-in: Add more tests of tan.
10422 * math/auto-libm-test-out: Regenerated.
10423
10424 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
10425
10426 Fix sysdeps/i386/fpu/s_scalbn.S build
10427
10428 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
10429
10430 2015-08-07 Mike Frysinger <vapier@gentoo.org>
10431
10432 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10433
10434 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
10435
10436 Fix gcrt0.o compilation
10437
10438 When static-start-installed-name is different from
10439 start-installed-name, we must not use the shared objects.
10440
10441 * csu/Makefile
10442 (extra-objs): Add gmon-start.o when building shared library and
10443 $(static-start-installed-name) is different from
10444 $(start-installed-name).
10445 $(objpfx)g$(static-start-installed-name): When building shared
10446 library and $(static-start-installed-name) is different from
10447 $(static-start-installed-name), revert to non-shared rule,
10448 i.e. using $(objpfx)% and gmon-start.o.
10449
10450 2015-08-06 Joseph Myers <joseph@codesourcery.com>
10451
10452 [BZ #16519]
10453 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
10454 (__ieee754_sinh): Force underflow exception for arguments with
10455 small absolute value.
10456 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
10457 (__ieee754_sinhf): Force underflow exception for arguments with
10458 small absolute value.
10459 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
10460 (__ieee754_sinhl): Force underflow exception for arguments with
10461 small absolute value.
10462 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
10463 (__ieee754_sinhl): Force underflow exception for arguments with
10464 small absolute value.
10465 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
10466 (__ieee754_sinhl): Force underflow exception for arguments with
10467 small absolute value.
10468 * math/auto-libm-test-in: Add more tests of sinh.
10469 * math/auto-libm-test-out: Regenerated.
10470 * sysdeps/i386/fpu/libm-test-ulps: Update.
10471
10472 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10473
10474 * libio/oldfileops.c: Include unistd.h.
10475
10476 2015-08-06 Mike Frysinger <vapier@gentoo.org>
10477
10478 * stdlib/isomac.c: Include ctype.h.
10479
10480 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
10481
10482 * dirent/tst-seekdir.c (main): Converted to ...
10483 (do_test): ... this.
10484 (TEST_FUNCTION): New macro.
10485 Include test-skeleton.c.
10486 * elf/tst-dlmodcount.c (main): Converted to ...
10487 (do_test): ... this.
10488 (TEST_FUNCTION): New macro.
10489 Include test-skeleton.c.
10490 * elf/tst-order-main.c (main): Converted to ...
10491 (do_test): ... this.
10492 (TEST_FUNCTION): New macro.
10493 Include test-skeleton.c.
10494 * elf/tst-pie2.c (main): Converted to ...
10495 (do_test): ... this.
10496 (TEST_FUNCTION): New macro.
10497 Include test-skeleton.c.
10498 * inet/tst-ether_aton.c (main): Converted to ...
10499 (do_test): ... this.
10500 (TEST_FUNCTION): New macro.
10501 Include test-skeleton.c.
10502 * misc/tst-mntent.c (main): Converted to ...
10503 (do_test): ... this.
10504 (TEST_FUNCTION): New macro.
10505 Include test-skeleton.c.
10506 * misc/tst-tsearch.c (main): Converted to ...
10507 (do_test): ... this.
10508 (TEST_FUNCTION): New macro.
10509 Include test-skeleton.c.
10510 * posix/tst-regexloc.c (main): Converted to ...
10511 (do_test): ... this.
10512 (TEST_FUNCTION): New macro.
10513 Include test-skeleton.c.
10514 * resolv/tst-aton.c (main): Converted to ...
10515 (do_test): ... this.
10516 (TEST_FUNCTION): New macro.
10517 Include test-skeleton.c.
10518 * stdio-common/test-fwrite.c (main): Converted to ...
10519 (do_test): ... this.
10520 (TEST_FUNCTION): New macro.
10521 Include test-skeleton.c.
10522 * stdio-common/tst-ferror.c (main): Converted to ...
10523 (do_test): ... this.
10524 (TEST_FUNCTION): New macro.
10525 Include test-skeleton.c.
10526 * stdio-common/tst-printf.c (main): Converted to ...
10527 (do_test): ... this.
10528 (TEST_FUNCTION): New macro.
10529 Include test-skeleton.c.
10530 * stdio-common/tst-printfsz.c (main): Converted to ...
10531 (do_test): ... this.
10532 (TEST_FUNCTION): New macro.
10533 Include test-skeleton.c.
10534 * stdlib/tst-strtod.c (main): Converted to ...
10535 (do_test): ... this.
10536 (TEST_FUNCTION): New macro.
10537 Include test-skeleton.c.
10538 * string/tst-strlen.c (main): Converted to ...
10539 (do_test): ... this.
10540 (TEST_FUNCTION): New macro.
10541 Include test-skeleton.c.
10542 * string/tst-svc.c (main): Converted to ...
10543 (do_test): ... this.
10544 (TEST_FUNCTION): New macro.
10545 Include test-skeleton.c.
10546 * time/tst-strptime.c (main): Converted to ...
10547 (do_test): ... this.
10548 (TEST_FUNCTION): New macro.
10549 Include test-skeleton.c.
10550 * timezone/tst-timezone.c (main): Converted to ...
10551 (do_test): ... this.
10552 (TEST_FUNCTION): New macro.
10553 Include test-skeleton.c.
10554
10555 2015-08-05 Zack Weinberg <zackw@panix.com>
10556
10557 * misc/regexp.h: Update comments.
10558
10559 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
10560
10561 [BZ #18635]
10562 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
10563 before return label.
10564
10565 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
10566
10567 [BZ #18661]
10568 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
10569 when calling __errno_location.
10570 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
10571 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
10572
10573 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
10574
10575 [BZ #18661]
10576 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
10577 (__lll_timedwait_tid): Align stack to 16 bytes when calling
10578 __gettimeofday.
10579
10580 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
10581
10582 [BZ #18661]
10583 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10584 (__start_context): Don't use pop to restore %rdi so that stack
10585 is aligned to 16 bytes when calling __setcontext.
10586
10587 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
10588
10589 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
10590 only for libc.
10591 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10592
10593 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
10594
10595 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
10596 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
10597 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
10598
10599 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
10600
10601 * string/memccpy.c (memccpy):
10602 Improve performance by using memchr/memcpy/__mempcpy.
10603
10604 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
10605
10606 * string/strncpy.c (strncpy):
10607 Improve performance by using __strnlen/memcpy.
10608
10609 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
10610
10611 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10612 Optimize to avoid an unnecessary FPCR read.
10613
10614 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
10615
10616 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10617 Optimize to reduce FPCR/FPSR accesses.
10618
10619 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
10620
10621 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
10622 dead->data[category] != NULL.
10623
10624 2015-08-05 Joseph Myers <joseph@codesourcery.com>
10625
10626 [BZ #18647]
10627 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
10628 and |x| close to 1, use absolute value of x when computing log.
10629 * math/auto-libm-test-in: Add more tests of pow.
10630 * math/auto-libm-test-out: Regenerated.
10631
10632 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10633
10634 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
10635 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
10636 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
10637
10638 2015-08-05 Marko Myllynen <myllynen@redhat.com>
10639
10640 [BZ #18525]
10641 * locales/km_KH: Remove timezone definition.
10642 * locales/lo_LA: Likewise.
10643 * locales/my_MM: Likewise.
10644 * locales/nan_TW@latin: Likewise.
10645 * locales/th_TH: Likewise.
10646 * locales/uk_UA: Likewise.
10647
10648 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
10649
10650 [BZ #18265]
10651 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
10652 (wcsncat): Likewise.
10653 (wcscmp): Likewise.
10654 (wcsncmp): Likewise.
10655
10656 2015-08-05 Mike Frysinger <vapier@gentoo.org>
10657
10658 * test-skeleton.c (usage): New function.
10659 (main): Call usage when opt is '?'.
10660
10661 2015-08-05 Mike Frysinger <vapier@gentoo.org>
10662
10663 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
10664 before first use.
10665
10666 2015-08-05 Mike Frysinger <vapier@gentoo.org>
10667
10668 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
10669 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
10670 in there too.
10671
10672 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
10673
10674 * version.h (RELEASE): Set to "development".
10675 (VERSION): Set to "2.22.90"
10676
10677 * version.h (RELEASE): Set to "stable".
10678 (VERSION): Set to "2.22"
10679 * include/features.h (__GLIBC_MINOR__): Set to 22.
10680
10681 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
10682
10683 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
10684 Restructure macro to avoid "value computed is not used" warning.
10685 (atomic_compare_and_exchange_val_acq): Likewise.
10686
10687 2015-08-04 Andreas Schwab <schwab@suse.de>
10688
10689 [BZ #18635]
10690 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
10691 ret.
10692 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
10693
10694 2015-08-01 Carlos O'Donell <carlos@redhat.com>
10695
10696 * po/pl.po: Updated translation.
10697 * po/uk.po: Likewise.
10698 * po/fi.po: Likewise.
10699 * po/ko.po: Likewise.
10700 * po/ru.po: Likewise.
10701 * po/vi.po: Likewise.
10702
10703 2015-07-31 Zack Weinberg <zackw@panix.com>
10704
10705 [BZ #18681]
10706 * regexp.h: Add unconditional #warning stating that this header
10707 will be removed soon. Revise banner comment to match.
10708 (compile): Consistently use ERROR instead of RETURN to report
10709 errors (partial fix for bz#18681).
10710 * regexp.c: Don't include regexp.h. Remove some unnecessary
10711 declarations.
10712
10713 2015-07-31 Carlos O'Donell <carlos@redhat.com>
10714
10715 * po/libc.pot: Regenerated.
10716
10717 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
10718
10719 [BZ #18740]
10720 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
10721 float-vlen4-arch-ext-cflags): Removed.
10722 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
10723 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
10724
10725 2015-07-30 Mike Frysinger <vapier@gentoo.org>
10726
10727 [BZ #14113]
10728 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
10729 aligned to __aligned__.
10730 (pthread_cond_t, pthread_rwlock_t): Likewise.
10731
10732 2015-07-30 Torvald Riegel <triegel@redhat.com>
10733
10734 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
10735
10736 2015-07-30 Mike Frysinger <vapier@gentoo.org>
10737
10738 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
10739 (struct sigaction): Change sa_flags from a long to an int, and add
10740 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
10741
10742 2015-07-30 Mike Frysinger <vapier@gentoo.org>
10743
10744 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
10745 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
10746 sysdeps/generic/sysdep.h include.
10747 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
10748 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
10749 sysdeps/hppa/sysdep.h.
10750 (ENTRY, PSEUDO): Undefine before defining.
10751
10752 2015-07-30 Mike Frysinger <vapier@gentoo.org>
10753
10754 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
10755 from scratch to use INTERNAL_SYSCALL.
10756
10757 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
10758
10759 [BZ #18078]
10760 * scripts/check-localplt.awk: Support alternate relocations.
10761 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
10762 sections.
10763 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
10764 malloc entries with + REL R_386_GLOB_DAT.
10765 * sysdeps/x86_64/localplt.data: New file.
10766
10767 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
10768
10769 [BZ #18731]
10770 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
10771 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10772 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10773
10774 2015-07-27 Mike Frysinger <vapier@gentoo.org>
10775
10776 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
10777
10778 2015-07-27 Mike Frysinger <vapier@gentoo.org>
10779
10780 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
10781 directly in terms of __sync_fetch_and_add and delete (int) cast.
10782
10783 2015-07-27 Mike Frysinger <vapier@gentoo.org>
10784
10785 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
10786 the -D_ASM_IA64_CURRENT_H flag.
10787
10788 2015-07-27 Mike Frysinger <vapier@gentoo.org>
10789
10790 [BZ #18641]
10791 * pwd/pwd.h (putpwent): Delete __nonnull markings.
10792
10793 2015-07-27 Andreas Schwab <schwab@suse.de>
10794
10795 * conform/conformtest.pl (checknamespace): Filter out string
10796 literals while tokenizing.
10797
10798 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
10799
10800 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10801 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
10802 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10803
10804 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
10805
10806 * nptl/tst-join7mod.c: Add #include <string.h>.
10807
10808 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
10809
10810 * sysdeps/nios2/libm-test-ulps: Update.
10811
10812 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
10813
10814 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
10815 Fix order of arguments to the rt_sigprocmask syscall.
10816 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
10817 Likewise.
10818
10819 2015-07-24 Roland McGrath <roland@hack.frob.com>
10820
10821 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
10822
10823 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10824
10825 [BZ #18457]
10826 * nptl/Makefile (tests): New test case tst-join7.
10827 (modules-names): New test case module tst-join7mod.
10828 * nptl/tst-join7.c: New file.
10829 * nptl/tst-join7mod.c: New file.
10830 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
10831 all translation units in libc.so, libpthread.so and rtld.
10832
10833 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10834
10835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10836
10837 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
10838
10839 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
10840 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10841 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10842 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10843 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10844 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10845 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10846 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10847 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10848 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10849 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10850 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10851 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
10852 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10853 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
10854 implementation.
10855
10856 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
10857
10858 [BZ #17711]
10859 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10860 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
10861 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10862 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10863 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
10864 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10865
10866 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10867
10868 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
10869 instead of just saying load lock in the comments.
10870
10871 2015-07-23 Roland McGrath <roland@hack.frob.com>
10872
10873 * sysdeps/unix/Subdirs: Moved ...
10874 * sysdeps/posix/Subdirs: ... here.
10875 * login/pty.h (struct termios, struct winsize): Add forward decls.
10876 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
10877 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
10878 * sysdeps/arm/nacl/libc.abilist: Updated.
10879 * sysdeps/nacl/libutil.abilist: New file.
10880
10881 * bits/signum.h: Update comments to mention 1003.1-2013 too.
10882 (SIGWINCH): New macro.
10883
10884 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
10885 * sysdeps/arm/nacl/libc.abilist: Add it.
10886
10887 2015-07-23 Mike Frysinger <vapier@gentoo.org>
10888
10889 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
10890
10891 2015-07-23 Mike Frysinger <vapier@gentoo.org>
10892
10893 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10894 Swap __glibc_reserved0 and sa_flags order.
10895
10896 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10897
10898 [BZ #18657]
10899 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
10900 are pending TLS destructor calls.
10901 * include/link.h (struct link_map): Add concurrency note for
10902 L_TLS_DTOR_COUNT.
10903 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10904 Don't touch the link map flag. Atomically increment
10905 l_tls_dtor_count.
10906 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
10907 Avoid taking the load lock and don't touch the link map flag.
10908 * stdlib/tst-tls-atexit-nodelete.c: New test case.
10909 * stdlib/Makefile (tests): Use it.
10910 * stdlib/tst-tls-atexit.c (do_test): dlopen
10911 tst-tls-atexit-lib.so again before dlclose. Add conditionals
10912 to allow tst-tls-atexit-nodelete test case to use it.
10913
10914 2015-07-22 Mike Frysinger <vapier@gentoo.org>
10915
10916 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
10917 to bits/types.h.
10918 (msgqnum_t): New typedef.
10919 (msglen_t): Likewise.
10920 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
10921 and msg_qbytes type to msglen_t.
10922
10923 2015-07-22 Mike Frysinger <vapier@gentoo.org>
10924
10925 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
10926 pad0 to __glibc_reserved0.
10927 (struct stat64): Likewise.
10928
10929 2015-07-22 Mike Frysinger <vapier@gentoo.org>
10930
10931 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10932 Change sa_flags from a long to an int and add __glibc_reserved0 before
10933 it for padding.
10934
10935 2015-07-22 Mike Frysinger <vapier@gentoo.org>
10936
10937 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
10938 anonymous by deleting "siginfo" name.
10939
10940 2015-07-21 Roland McGrath <roland@hack.frob.com>
10941
10942 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
10943 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
10944 rather than __nacl_irt_filename.
10945 * sysdeps/nacl/xstat.c (__xstat): Likewise.
10946
10947 * NEWS: New item for arm-nacl port.
10948 * sysdeps/arm/nacl/libc.abilist: New file.
10949 * sysdeps/nacl/ld.abilist: New file.
10950 * sysdeps/nacl/libBrokenLocale.abilist: New file.
10951 * sysdeps/nacl/libanl.abilist: New file.
10952 * sysdeps/nacl/libcrypt.abilist: New file.
10953 * sysdeps/nacl/libdl.abilist: New file.
10954 * sysdeps/nacl/libm.abilist: New file.
10955 * sysdeps/nacl/libpthread.abilist: New file.
10956 * sysdeps/nacl/libresolv.abilist: New file.
10957 * sysdeps/nacl/librt.abilist: New file.
10958
10959 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
10960
10961 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
10962 __startcontext to initialize the new context.
10963 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
10964 up CFI directive to forbid further backtracing.
10965
10966 2015-07-21 Marko Myllynen <myllynen@redhat.com>
10967
10968 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
10969 reference.
10970 * charmaps/ANSI_X3.4-1968: Likewise.
10971 * charmaps/BS_4730: Likewise.
10972 * charmaps/BS_VIEWDATA: Likewise.
10973 * charmaps/CP1250: Likewise.
10974 * charmaps/CP1251: Likewise.
10975 * charmaps/CP1252: Likewise.
10976 * charmaps/CP1253: Likewise.
10977 * charmaps/CP1254: Likewise.
10978 * charmaps/CP1255: Likewise.
10979 * charmaps/CP1256: Likewise.
10980 * charmaps/CSN_369103: Likewise.
10981 * charmaps/EBCDIC-DK-NO: Likewise.
10982 * charmaps/GB_1988-80: Likewise.
10983 * charmaps/GREEK-CCITT: Likewise.
10984 * charmaps/GREEK7: Likewise.
10985 * charmaps/INIS-8: Likewise.
10986 * charmaps/ISIRI-3342: Likewise.
10987 * charmaps/ISO_2033-1983: Likewise.
10988 * charmaps/ISO_5427-EXT: Likewise.
10989 * locales/POSIX: Likewise.
10990 * locales/ar_SA: Likewise.
10991 * locales/be_BY: Likewise.
10992 * locales/be_BY@latin: Likewise.
10993 * locales/ca_ES: Likewise.
10994 * locales/cs_CZ: Likewise.
10995 * locales/da_DK: Likewise.
10996 * locales/de_BE: Likewise.
10997 * locales/de_CH: Likewise.
10998 * locales/de_LU: Likewise.
10999 * locales/en_AU: Likewise.
11000 * locales/en_BW: Likewise.
11001 * locales/en_CA: Likewise.
11002 * locales/en_DK: Likewise.
11003 * locales/en_GB: Likewise.
11004 * locales/en_IE: Likewise.
11005 * locales/en_NZ: Likewise.
11006 * locales/en_ZA: Likewise.
11007 * locales/en_ZW: Likewise.
11008 * locales/es_AR: Likewise.
11009 * locales/es_BO: Likewise.
11010 * locales/es_CL: Likewise.
11011 * locales/es_CO: Likewise.
11012 * locales/es_DO: Likewise.
11013 * locales/es_EC: Likewise.
11014 * locales/es_ES: Likewise.
11015 * locales/es_HN: Likewise.
11016 * locales/es_MX: Likewise.
11017 * locales/es_PA: Likewise.
11018 * locales/es_PE: Likewise.
11019 * locales/es_PY: Likewise.
11020 * locales/es_SV: Likewise.
11021 * locales/es_US: Likewise.
11022 * locales/es_UY: Likewise.
11023 * locales/es_VE: Likewise.
11024 * locales/et_EE: Likewise.
11025 * locales/fa_IR: Likewise.
11026 * locales/fo_FO: Likewise.
11027 * locales/fr_CA: Likewise.
11028 * locales/fr_CH: Likewise.
11029 * locales/gv_GB: Likewise.
11030 * locales/he_IL: Likewise.
11031 * locales/hr_HR: Likewise.
11032 * locales/id_ID: Likewise.
11033 * locales/is_IS: Likewise.
11034 * locales/it_CH: Likewise.
11035 * locales/iw_IL: Likewise.
11036 * locales/kl_GL: Likewise.
11037 * locales/ko_KR: Likewise.
11038 * locales/kw_GB: Likewise.
11039 * locales/lg_UG: Likewise.
11040 * locales/lt_LT: Likewise.
11041 * locales/lv_LV: Likewise.
11042 * locales/mi_NZ: Likewise.
11043 * locales/nhn_MX: Likewise.
11044 * locales/nl_BE: Likewise.
11045 * locales/pl_PL: Likewise.
11046 * locales/sk_SK: Likewise.
11047 * locales/sl_SI: Likewise.
11048 * locales/sv_FI: Likewise.
11049 * locales/tl_PH: Likewise.
11050 * locales/tr_TR: Likewise.
11051 * locales/vi_VN: Likewise.
11052
11053 2015-07-21 Khem Raj <raj.khem@gmail.com>
11054
11055 [BZ #17475]
11056 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
11057 of tu_IN and bh_IN.
11058
11059 2015-07-21 Mike Frysinger <vapier@gentoo.org>
11060
11061 [BZ #18694]
11062 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
11063 bits/wordsize.h.
11064 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
11065
11066 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11067
11068 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
11069 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
11070 (spawn_thread): New function.
11071 (load): Rename to reg_dtor_and_close. Move dlopen to...
11072 (do_test): ... here. Use IS_LOADED to test for its
11073 availability.
11074
11075 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
11076
11077 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11078
11079 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
11080
11081 [BZ #18696]
11082 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
11083 si_addr_bnd.
11084 (si_lower): New.
11085 (si_upper): Likewise.
11086
11087 2015-07-16 David S. Miller <davem@davemloft.net>
11088
11089 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11090
11091 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11092
11093 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
11094 buffer.
11095 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
11096 fail output information.
11097
11098 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11099
11100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
11101 and strstr-ppc64..
11102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11103 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
11104 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
11105 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
11106 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
11107
11108 2015-07-16 Mike Frysinger <vapier@gentoo.org>
11109
11110 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11111 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11112 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11113 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11114
11115 2015-07-16 Mike Frysinger <vapier@gentoo.org>
11116
11117 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11118 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
11119 rtld_hidden_proto.
11120 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
11121
11122 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11123
11124 * tst-nodelete-opened.c (do_test): Add comment to clarify how
11125 the test can fail.
11126
11127 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
11128
11129 [BZ #18676]
11130 * elf/tst-nodelete-opened.c: New test case.
11131 * elf/tst-nodelete-opened-lib.c: New test case module.
11132 * elf/Makefile (tests, modules-names): Use them.
11133 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
11134 early.
11135
11136 2015-07-15 David S. Miller <davem@davemloft.net>
11137
11138 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
11139 futex-intenal.h
11140 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
11141 * sysdeps/sparc/sparc64/Makefile: Likewise.
11142 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11143 Remove space from macro define.
11144 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
11145
11146 2015-07-15 Pravin Satpute <psatpute@redhat.com>
11147
11148 [BZ #17475]
11149 * locale/iso-639.def: Update Bhili and Tulu language codes as
11150 per iso639-3.
11151
11152 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
11153
11154 * elf/tst-leaks1.c (main): Converted to ...
11155 (do_test): ... this.
11156 (TEST_FUNCTION): New macro.
11157 Include test-skeleton.c.
11158 * localedata/tst-langinfo.c (main): Converted to ...
11159 (do_test): ... this.
11160 (TEST_FUNCTION): New macro.
11161 Include test-skeleton.c.
11162 * math/test-fpucw.c (main): Converted to ...
11163 (do_test): ... this.
11164 (TEST_FUNCTION): New macro.
11165 Include test-skeleton.c.
11166 * math/test-tgmath.c (main): Converted to ...
11167 (do_test): ... this.
11168 (TEST_FUNCTION): New macro.
11169 Include test-skeleton.c.
11170 * math/test-tgmath2.c (main): Converted to ...
11171 (do_test): ... this.
11172 (TEST_FUNCTION): New macro.
11173 Include test-skeleton.c.
11174 * setjmp/tst-setjmp.c (main): Converted to ...
11175 (do_test): ... this.
11176 (TEST_FUNCTION): New macro.
11177 Include test-skeleton.c.
11178 * stdio-common/tst-sscanf.c (main): Converted to ...
11179 (do_test): ... this.
11180 (TEST_FUNCTION): New macro.
11181 Include test-skeleton.c.
11182 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
11183 (do_test): ... this.
11184 (TEST_FUNCTION): New macro.
11185 Include test-skeleton.c.
11186
11187 * elf/tst-audit9.c (main): Converted to ...
11188 (do_test): ... this.
11189 (TEST_FUNCTION): New macro.
11190 Include test-skeleton.c.
11191
11192 2015-07-15 Mike Frysinger <vapier@gentoo.org>
11193
11194 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
11195
11196 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
11197
11198 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
11199 New variable.
11200
11201 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
11202
11203 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11204
11205 2015-07-14 Roland McGrath <roland@hack.frob.com>
11206
11207 * sysdeps/generic/dl-fileid.h: New file.
11208 * sysdeps/posix/dl-fileid.h: New file.
11209 * sysdeps/nacl/dl-fileid.h: New file.
11210 * include/link.h: Include <dl-fileid.h>.
11211 (struct link_map): Replace l_dev and l_ino with l_file_id.
11212 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
11213 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
11214 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
11215
11216 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11217
11218 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
11219
11220 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11221
11222 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
11223 Add iff $CXX is set.
11224 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
11225 Likewise.
11226 (tst-nodelete-zmodiff): Likewise.
11227 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
11228
11229 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11230
11231 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
11232
11233 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
11234
11235 * sysdeps/aarch64/fpu/math_private.h
11236 (define math_opt_barrier): Add AArch64 version.
11237 (math_force_eval): Likewise.
11238
11239 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
11240
11241 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
11242
11243 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
11244
11245 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
11246 %ld with %jd and cast to intmax_t.
11247 (do_test_length_zero): Likewise.
11248
11249 2015-07-10 Roland McGrath <roland@hack.frob.com>
11250
11251 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
11252
11253 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
11254
11255 * sysdeps/tile/libm-test-ulps: Regenerated.
11256
11257 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
11258 Comment out the whole function, not just its body.
11259
11260 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11261
11262 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
11263 locks.
11264
11265 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
11266
11267 2015-07-10 Torvald Riegel <triegel@redhat.com>
11268
11269 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
11270 (sem_assume_only_signals_cause_futex_EINTR): Remove.
11271
11272 2015-07-10 Torvald Riegel <triegel@redhat.com>
11273
11274 * sysdeps/nptl/futex-internal.h: New file.
11275 * sysdeps/nacl/futex-internal.h: New file.
11276 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
11277 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
11278 error checking.
11279 (setxid_unmark_thread): Likewise.
11280 (__nptl_setxid): Likewise.
11281 (__wait_lookup_done): Likewise.
11282 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
11283 * nptl/nptl-init.c (sighandler_setxid): Likewise.
11284 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
11285 * nptl/pthread_once.c (clear_once_control): Likewise.
11286 (__pthread_once_slow): Likewise.
11287 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11288 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
11289 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
11290 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11291 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
11292 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
11293 Likewise.
11294 (__pthread_rwlock_rdlock): Likewise.
11295 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11296 Likewise.
11297 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11298 Likewise.
11299 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11300 Likewise.
11301 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
11302 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
11303 Likewise.
11304 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
11305 __ASSUME_PRIVATE_FUTEX check.
11306 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
11307 Check that shared futexes are supported.
11308 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
11309 wrappers with error checking.
11310 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
11311 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
11312 * nptl/pthread_barrierattr_setpshared.c
11313 (pthread_barrierattr_setpshared): Check that shared futexes are
11314 supported.
11315 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
11316 Likewise.
11317 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
11318 Likewise.
11319 * nptl/sem_init.c (futex_private_if_supported): Remove.
11320 (__new_sem_init): Adapt and check that shared futexes are supported.
11321 * nptl/sem_open.c (sem_open): Likewise.
11322 * nptl/sem_post.c (futex_wake): Remove.
11323 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
11324 (do_futex_wait): Use futex wrappers with error checking.
11325 * nptl/sem_wait.c: Include lowlevellock.h.
11326 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
11327 Use futex_supports_pshared.
11328 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
11329 Use futex wrappers with error checking.
11330 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
11331 Likewise.
11332 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
11333 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
11334 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
11335 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
11336 (futex_wake): Likewise.
11337 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
11338 (do_futex_wait): Use futex wrappers with error checking.
11339 (__new_sem_wait_slow): Update EINTR handling.
11340 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
11341
11342 2015-07-09 Martin Sebor <msebor@redhat.com>
11343
11344 [BZ #18435]
11345 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11346 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
11347 * nptl/Makefile (test-xfail-tst-once5): Define.
11348
11349 2015-07-09 Roland McGrath <roland@hack.frob.com>
11350
11351 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
11352 * elf/dl-minimal.c: For readability, reorder some definitions and
11353 introduce more page breaks. Include <stdio.h>.
11354 (__libc_fatal): New function.
11355
11356 * include/unistd.h: Add rtld_hidden_proto for _exit.
11357 * posix/_exit.c: Add rtld_hidden_def.
11358 * sysdeps/mach/hurd/_exit.c: Likewise.
11359 * sysdeps/nacl/_exit.c: Likewise.
11360 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
11361 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
11362
11363 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
11364
11365 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
11366 bndmov encoding with zero displacement.
11367
11368 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
11369 H.J. Lu <hongjiu.lu@intel.com>
11370
11371 [BZ #18134]
11372 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
11373 * sysdeps/i386/configure: Regenerated.
11374 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11375 (_dl_runtime_profile): Save and restore Intel MPX return bound
11376 registers when calling _dl_call_pltexit. Add
11377 PRESERVE_BND_REGS_PREFIX before return.
11378 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
11379 (LRV_BND1_OFFSET): Likewise.
11380 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
11381 lrv_bnd1.
11382 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
11383 typo in bndmov encoding.
11384 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
11385 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
11386 branch instructions to preserve bounds.
11387
11388 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11389
11390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11391 [GLIBC_2.22]: Add fmemopen.
11392
11393 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
11394
11395 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
11396 returns an error, also try to use host port from __mach_host_self for
11397 the __vm_wire call.
11398 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
11399
11400 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11401
11402 [BZ #18400]
11403 [BZ #18648]
11404 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
11405 Fix pr_uid and pr_gid members.
11406 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
11407 definition to elf_greg_t.
11408
11409 2015-07-08 Roland McGrath <roland@hack.frob.com>
11410
11411 [BZ #18383]
11412 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
11413 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
11414 * sysdeps/arm/configure: Regenerated.
11415 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
11416 (test-xfail-tst-tlsalign-static): Variable removed.
11417
11418 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
11419 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
11420 rather than explicit 'ln -s'.
11421
11422 * resolv/rpc/netdb.h: New file.
11423 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
11424
11425 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11426
11427 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
11428 length buffers.
11429 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11430 test-skeleton.c.
11431
11432 [BZ #6544]
11433 [BZ #11216]
11434 [BZ #12836]
11435 [BZ #13151]
11436 [BZ #13152]
11437 [BZ #14292]
11438 * include/stdio.h (fmemopen): Remove hidden prototype.
11439 (__fmemopen): Add new hidden prototype.
11440 * libio/Makefile: Add oldfmemopen object.
11441 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
11442 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
11443 compliance.
11444 * libio/oldfmemopen.c: New file: old fmemopen implementation for
11445 symbol compatibility.
11446 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
11447 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
11448 fmemopen.
11449 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
11450 on append and read mode.
11451 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
11452 fmemopen.
11453 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
11454 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
11455 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
11456 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
11457 Likewise.
11458 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11459 [GLIBC_2.22]: Likewise.
11460 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
11461 Likewise.
11462 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
11463 Likewise.
11464 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11465 [GLIBC_2.22]: Likewise.
11466 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11467 [GLIBC_2.22]: Likewise.
11468 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11469 [GLIBC_2.22]: Likewise.
11470 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11471 [GLIBC_2.22]: Likewise.
11472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11473 [GLIBC_2.22]: Likewise.
11474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11475 [GLIBC_2.22]: Likewise.
11476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11477 [GLIBC_2.22]: Likewise.
11478 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
11479 Likewise.
11480 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
11481 Likewise.
11482 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
11483 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11484 [GLIBC_2.22]: Likewise.
11485 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11486 [GLIBC_2.22]: Likewise.
11487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11488 [GLIBC_2.22]: Likewise.
11489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11490 [GLIBC_2.22]: Likewise.
11491 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
11492 Likewise.
11493 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
11494 Likewise.
11495 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
11496 Likewise.
11497 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
11498 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
11499
11500 2015-07-08 Carlos O'Donell <carlos@redhat.com>
11501
11502 [BZ #18643]
11503 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
11504 IPV6_PATHMTU, and IPV6_DONTFRAG.
11505
11506 2015-07-08 Feng Gao <gfree.wind@gmail.com>
11507
11508 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
11509 and _IO_UNBUFFERED.
11510 * libio/oldfileops.c: Likewise.
11511 * libio/wfileops.c: Likewise.
11512
11513 2015-07-08 Mike Frysinger <vapier@gentoo.org>
11514
11515 * nscd/selinux.c: Delete selinux/flask.h include.
11516
11517 2015-07-08 Mike Frysinger <vapier@gentoo.org>
11518
11519 [BZ #18641]
11520 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
11521 (putpwent): Likewise.
11522 (getpwnam): Likewise.
11523 (getpwent_r): Likewise.
11524 (getpwuid_r): Likewise.
11525 (getpwnam_r): Likewise.
11526 (fgetpwent_r): Likewise.
11527
11528 2015-07-08 Carlos O'Donell <carlos@redhat.com>
11529
11530 [BZ #18557]
11531 * inet/rcmd.c (__validuser2_sa): Check user first to
11532 short-circuit host check.
11533
11534 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
11535 Mikhail Ilin <m.ilin@samsung.com>
11536
11537 [BZ #17833]
11538 * elf/Makefile (tests): Add tst-nodelete.
11539 (modules-names): Add tst-nodelete-uniquemod.
11540 (tst-nodelete-uniquemod.so-no-z-defs): New.
11541 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
11542 (tst-nodelete-zmod.so-no-z-defs): Likewise.
11543 ($(objpfx)tst-nodelete): Likewise.
11544 ($(objpfx)tst-nodelete.out): Likewise.
11545 (LDFLAGS-tst-nodelete): Likewise.
11546 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
11547 * elf/dl-close.c (_dl_close_worker): Add a parameter to
11548 implement forced object deletion.
11549 (_dl_close): Pass false to _dl_close_worker.
11550 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
11551 * elf/tst-nodelete.cc: New file.
11552 * elf/tst-nodeletelib.cc: Likewise.
11553 * elf/tst-znodeletelib.cc: Likewise.
11554 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
11555
11556 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
11557
11558 [BZ #18508]
11559 * stdlib/Makefile ($(objpfx)tst-makecontext3):
11560 Depend on $(libdl).
11561 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
11562 is not called infinitely times.
11563 (backtrace_helper): New function.
11564 (trace_arg): New struct.
11565 (st1): Enlarge stack size.
11566 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11567 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
11568 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11569 Likewise.
11570
11571 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
11572
11573 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11574
11575 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
11576
11577 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
11578 Include sys/types.h instead of bits/types.h.
11579 Remove inclusion of bits/wordsize.h.
11580
11581 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
11582
11583 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
11584 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
11585 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
11586 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
11587 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
11588 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
11589
11590 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
11591
11592 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
11593 link-defines.sym.
11594 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
11595 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
11596 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
11597 and LR_SIZE.
11598 * sysdeps/i386/link-defines.sym: New file.
11599
11600 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
11601
11602 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
11603 (modules-names): Add tst-auditmod3a tst-auditmod3b.
11604 ($(objpfx)tst-audit3): New rule.
11605 ($(objpfx)tst-audit3.out): Likewise.
11606 * sysdeps/i386/tst-audit3.c: New file.
11607 * sysdeps/i386/tst-audit3.h: Likewise.
11608 * sysdeps/i386/tst-auditmod3a.c: Likewise.
11609 * sysdeps/i386/tst-auditmod3b.c: Likewise.
11610
11611 2015-07-07 Torvald Riegel <triegel@redhat.com>
11612
11613 [BZ #18633]
11614 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
11615 pointer in C code.
11616 (__strcat_c): Likewise.
11617 (__strcat_g): Likewise.
11618
11619 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
11620
11621 [BZ #18592]
11622 * misc/sbrk.c: Set errno to ENOMEM on overflow.
11623
11624 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
11625
11626 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
11627 New function. (__ieee754_sqrtf): New function.
11628 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
11629 New function.
11630 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
11631 New function.
11632
11633 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
11634
11635 * sysdeps/ieee754/support.c: Remove unused file.
11636
11637 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11638
11639 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
11640 registers instead of d ones so the layout is kernel abi compatible.
11641 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
11642 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
11643 Likewise.
11644
11645 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11646
11647 * sysdeps/aarch64/libm-test-ulps: Regenerated.
11648
11649 2015-07-01 Joseph Myers <joseph@codesourcery.com>
11650
11651 [BZ #18619]
11652 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
11653 and return argument in case of subnormal argument.
11654
11655 2015-07-01 Martin Sebor <msebor@redhat.com>
11656
11657 [BZ #18435]
11658 * nptl/Makefile: Add tst-once5.cc.
11659 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11660 Remove macro redefinitions.
11661 * nptl/tst-once5.cc: New test.
11662
11663 2015-07-01 Joseph Myers <joseph@codesourcery.com>
11664
11665 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11666
11667 * sysdeps/arm/libm-test-ulps: Regenerated.
11668
11669 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11670 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11671
11672 2015-06-30 Torvald Riegel <triegel@redhat.com>
11673
11674 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
11675 lll_lock_wait_private and lll_futex_wake probes.
11676
11677 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11678 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
11679 Likewise.
11680 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
11681 atomic_spin_nop.
11682 * sysdeps/x86_64/bits/atomic.h: Likewise.
11683 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
11684 to atomic_spin_nop and move ...
11685 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11686 ... here and ...
11687 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
11688 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
11689 atomic_spin_nop instead of BUSY_WAIT_NOP.
11690 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
11691 Likewise.
11692 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
11693 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11694 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
11695 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
11696 instead of atomic_delay.
11697
11698 2015-06-29 Joseph Myers <joseph@codesourcery.com>
11699
11700 [BZ #18613]
11701 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
11702 X_ADJ not X when adjusting exponent.
11703 (__ieee754_gamma_r): Do intermediate computations in
11704 round-to-nearest then adjust overflowing and underflowing results
11705 as needed.
11706 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
11707 of X_ADJ not X when adjusting exponent.
11708 (__ieee754_gammaf_r): Do intermediate computations in
11709 round-to-nearest then adjust overflowing and underflowing results
11710 as needed.
11711 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
11712 log of X_ADJ not X when adjusting exponent.
11713 (__ieee754_gammal_r): Do intermediate computations in
11714 round-to-nearest then adjust overflowing and underflowing results
11715 as needed. Use 1.0L not 1.0f as numerator of division.
11716 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
11717 log of X_ADJ not X when adjusting exponent.
11718 (__ieee754_gammal_r): Do intermediate computations in
11719 round-to-nearest then adjust overflowing and underflowing results
11720 as needed. Use 1.0L not 1.0f as numerator of division.
11721 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
11722 of X_ADJ not X when adjusting exponent.
11723 (__ieee754_gammal_r): Do intermediate computations in
11724 round-to-nearest then adjust overflowing and underflowing results
11725 as needed. Use 1.0L not 1.0f as numerator of division.
11726 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
11727 to auto-libm-test-in.
11728 (tgamma_test): Use ALL_RM_TEST.
11729 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
11730 tests of tgamma with spurious-overflow.
11731 * math/auto-libm-test-out: Regenerated.
11732 * math/gen-libm-have-vector-test.sh: Do not check for START.
11733 * sysdeps/i386/fpu/libm-test-ulps: Update.
11734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11735
11736 [BZ #18612]
11737 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
11738 arguments, just return 0.5 times the argument, with underflow
11739 forced as needed.
11740 * math/auto-libm-test-in: Add more tests of j1.
11741 * math/auto-libm-test-out: Regenerated.
11742
11743 [BZ #16559]
11744 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
11745 (__ieee754_j1): Force underflow exception for small results.
11746 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11747 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
11748 (__ieee754_j1f): Force underflow exception for small results.
11749 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11750 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11751 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11752 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
11753 (__ieee754_j1l): Force underflow exception for small results.
11754 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11755 * math/auto-libm-test-in: Add more tests of j1 and jn.
11756 * math/auto-libm-test-out: Regenerated.
11757
11758 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
11759 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
11760 (PF_MPLS): Likewise.
11761 (AF_IB): Likewise.
11762 (AF_MPLS): Likewise.
11763 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
11764 value and macro.
11765 (MS_RMT_MASK): Include MS_LAZYTIME.
11766
11767 2015-06-26 Mel Gorman <mgorman@suse.de>
11768
11769 [BZ #18502]
11770 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
11771 already minimal.
11772
11773 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
11774
11775 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
11776 (DT_MIPS_NUM): Update.
11777 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
11778 DT_MIPS_RLD_MAP_REL.
11779
11780 2015-06-25 Joseph Myers <joseph@codesourcery.com>
11781
11782 [BZ #16559]
11783 [BZ #18602]
11784 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
11785 round-to-nearest internally then recompute results that
11786 underflowed to zero in the original rounding mode.
11787 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11788 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11789 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11790 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11791 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
11792 * sysdeps/i386/fpu/libm-test-ulps: Update.
11793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11794
11795 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
11796
11797 * NEWS: Fixed description of link with vector math library.
11798
11799 2015-06-25 Andreas Schwab <schwab@suse.de>
11800
11801 [BZ #18549]
11802 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
11803 * libio/test-fmemopen.c (do_test): Add test for it.
11804
11805 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
11806
11807 [BZ #17841]
11808 * Makeconfig (no-pie-ldflag): New.
11809 (+link): Set to $(+link-pie) if default to PIE.
11810 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
11811 * config.make.in (build-pie-default): New.
11812 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
11813 is default. AC_SUBST.
11814 * configure: Regenerated.
11815 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
11816
11817 2015-06-24 Roland McGrath <roland@hack.frob.com>
11818
11819 * nptl/descr.h (struct pthread): Change type of field setxid_futex
11820 to 'unsigned int'.
11821
11822 * resolv/gai_misc.h (struct waitlist): Change type of field
11823 counterp to 'volatile unsigned int *'.
11824 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
11825 FUTEXADDR and OLDVAL.
11826 * resolv/getaddrinfo_a.c (getaddrinfo_a):
11827 Give local variable TOTAL type 'volatile unsigned int'.
11828 (struct async_waitlist): Change type of field counter to 'unsigned int'.
11829 * resolv/gai_suspend.c (gai_suspend):
11830 Give local variable CNTR type 'unsigned int'.
11831
11832 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
11833 counterp to 'volatile unsigned int *'.
11834 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
11835 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
11836 (aio_suspend): Give local variable CNTR type 'unsigned int'.
11837 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
11838 Give local variable TOTAL type 'volatile unsigned int'.
11839 (struct async_waitlist): Change type of field counter to 'unsigned int'.
11840
11841 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
11842
11843 [BZ #18383]
11844 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
11845 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
11846 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
11847 comment for i386/x86-64.
11848 (test-xfail-tst-tlsalign-extern-static): Removed.
11849
11850 2015-06-24 Joseph Myers <joseph@codesourcery.com>
11851
11852 * math/test-double.h: New file.
11853 * math/test-float.h: Likewise.
11854 * math/test-ldouble.h: Likewise.
11855 * math/test-math-inline.h: Likewise.
11856 * math/test-math-no-inline.h: Likewise.
11857 * math/test-math-scalar.h: Likewise.
11858 * math/test-math-vector.h: Likewise.
11859 * math/test-vec-loop.h: Remove file. Contents moved into
11860 test-math-vector.h.
11861 * math/libm-test.inc (MATHCONST): Do not document macro.
11862 * math/test-double.c: Include test-double.h, test-math-no-inline.h
11863 and test-math-scalar.h.
11864 (FUNC): Remove macro.
11865 (FUNC_TEST): Likewise.
11866 (FLOAT): Likewise.
11867 (MATHCONST): Likewise.
11868 (PRINTF_EXPR): Likewise.
11869 (PRINTF_XEXPR): Likewise.
11870 (PRINTF_NEXPR): Likewise.
11871 (TEST_DOUBLE): Likewise.
11872 (TEST_MATHVEC): Likewise.
11873 (__NO_MATH_INLINES): Likewise.
11874 * math/test-float.c: Include test-float.h, test-math-no-inline.h
11875 and test-math-scalar.h.
11876 (FUNC): Remove macro.
11877 (FUNC_TEST): Likewise.
11878 (FLOAT): Likewise.
11879 (MATHCONST): Likewise.
11880 (PRINTF_EXPR): Likewise.
11881 (PRINTF_XEXPR): Likewise.
11882 (PRINTF_NEXPR): Likewise.
11883 (TEST_FLOAT): Likewise.
11884 (TEST_MATHVEC): Likewise.
11885 (__NO_MATH_INLINES): Likewise.
11886 * math/test-idouble.c: Include test-double.h, test-math-inline.h
11887 and test-math-scalar.h.
11888 (FUNC): Remove macro.
11889 (FUNC_TEST): Likewise.
11890 (FLOAT): Likewise.
11891 (MATHCONST): Likewise.
11892 (PRINTF_EXPR): Likewise.
11893 (PRINTF_XEXPR): Likewise.
11894 (PRINTF_NEXPR): Likewise.
11895 (TEST_DOUBLE): Likewise.
11896 (TEST_MATHVEC): Likewise.
11897 (TEST_INLINE): Likewise.
11898 (__NO_MATH_INLINES): Likewise.
11899 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
11900 test-math-scalar.h.
11901 (FUNC): Remove macro.
11902 (FUNC_TEST): Likewise.
11903 (FLOAT): Likewise.
11904 (MATHCONST): Likewise.
11905 (PRINTF_EXPR): Likewise.
11906 (PRINTF_XEXPR): Likewise.
11907 (PRINTF_NEXPR): Likewise.
11908 (TEST_FLOAT): Likewise.
11909 (TEST_MATHVEC): Likewise.
11910 (TEST_INLINE): Likewise.
11911 (__NO_MATH_INLINES): Likewise.
11912 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
11913 and test-math-scalar.h.
11914 (FUNC): Remove macro.
11915 (FUNC_TEST): Likewise.
11916 (FLOAT): Likewise.
11917 (MATHCONST): Likewise.
11918 (PRINTF_EXPR): Likewise.
11919 (PRINTF_XEXPR): Likewise.
11920 (PRINTF_NEXPR): Likewise.
11921 (TEST_LDOUBLE): Likewise.
11922 (TEST_MATHVEC): Likewise.
11923 (TEST_INLINE): Likewise.
11924 (__NO_MATH_INLINES): Likewise.
11925 * math/test-ldouble.c: Include test-ldouble.h,
11926 test-math-no-inline.h and test-math-scalar.h.
11927 (FUNC): Remove macro.
11928 (FUNC_TEST): Likewise.
11929 (FLOAT): Likewise.
11930 (MATHCONST): Likewise.
11931 (PRINTF_EXPR): Likewise.
11932 (PRINTF_XEXPR): Likewise.
11933 (PRINTF_NEXPR): Likewise.
11934 (TEST_LDOUBLE): Likewise.
11935 (TEST_MATHVEC): Likewise.
11936 (__NO_MATH_INLINES): Likewise.
11937 * math/test-double-vlen2.h: Include test-double.h,
11938 test-math-no-inline.h and test-math-vector.h.
11939 (FLOAT): Remove macro.
11940 (FUNC): Likewise.
11941 (MATHCONST): Likewise.
11942 (PRINTF_EXPR): Likewise.
11943 (PRINTF_XEXPR): Likewise.
11944 (PRINTF_NEXPR): Likewise.
11945 (TEST_DOUBLE): Likewise.
11946 (TEST_MATHVEC): Likewise.
11947 (__NO_MATH_INLINES): Likewise.
11948 (CNCT): Likewise.
11949 (CONCAT): Likewise.
11950 (WRAPPER_NAME): Likewise.
11951 (WRAPPER_DECL): Likewise.
11952 (WRAPPER_DECL_ff): Likewise.
11953 (WRAPPER_DECL_fFF): Likewise.
11954 (VECTOR_WRAPPER): Likewise.
11955 (VECTOR_WRAPPER_ff): Likewise.
11956 (VECTOR_WRAPPER_fFF): Likewise.
11957 (VEC_LEN): New macro.
11958 * math/test-double-vlen4.h: Include test-double.h,
11959 test-math-no-inline.h and test-math-vector.h.
11960 (FLOAT): Remove macro.
11961 (FUNC): Likewise.
11962 (MATHCONST): Likewise.
11963 (PRINTF_EXPR): Likewise.
11964 (PRINTF_XEXPR): Likewise.
11965 (PRINTF_NEXPR): Likewise.
11966 (TEST_DOUBLE): Likewise.
11967 (TEST_MATHVEC): Likewise.
11968 (__NO_MATH_INLINES): Likewise.
11969 (CNCT): Likewise.
11970 (CONCAT): Likewise.
11971 (WRAPPER_NAME): Likewise.
11972 (WRAPPER_DECL): Likewise.
11973 (WRAPPER_DECL_ff): Likewise.
11974 (WRAPPER_DECL_fFF): Likewise.
11975 (VECTOR_WRAPPER): Likewise.
11976 (VECTOR_WRAPPER_ff): Likewise.
11977 (VECTOR_WRAPPER_fFF): Likewise.
11978 (VEC_LEN): New macro.
11979 * math/test-double-vlen8.h: Include test-double.h,
11980 test-math-no-inline.h and test-math-vector.h.
11981 (FLOAT): Remove macro.
11982 (FUNC): Likewise.
11983 (MATHCONST): Likewise.
11984 (PRINTF_EXPR): Likewise.
11985 (PRINTF_XEXPR): Likewise.
11986 (PRINTF_NEXPR): Likewise.
11987 (TEST_DOUBLE): Likewise.
11988 (TEST_MATHVEC): Likewise.
11989 (__NO_MATH_INLINES): Likewise.
11990 (CNCT): Likewise.
11991 (CONCAT): Likewise.
11992 (WRAPPER_NAME): Likewise.
11993 (WRAPPER_DECL): Likewise.
11994 (WRAPPER_DECL_ff): Likewise.
11995 (WRAPPER_DECL_fFF): Likewise.
11996 (VECTOR_WRAPPER): Likewise.
11997 (VECTOR_WRAPPER_ff): Likewise.
11998 (VECTOR_WRAPPER_fFF): Likewise.
11999 (VEC_LEN): New macro.
12000 * math/test-float-vlen4.h: Include test-float.h,
12001 test-math-no-inline.h and test-math-vector.h.
12002 (FLOAT): Remove macro.
12003 (FUNC): Likewise.
12004 (MATHCONST): Likewise.
12005 (PRINTF_EXPR): Likewise.
12006 (PRINTF_XEXPR): Likewise.
12007 (PRINTF_NEXPR): Likewise.
12008 (TEST_FLOAT): Likewise.
12009 (TEST_MATHVEC): Likewise.
12010 (__NO_MATH_INLINES): Likewise.
12011 (CNCT): Likewise.
12012 (CONCAT): Likewise.
12013 (WRAPPER_NAME): Likewise.
12014 (WRAPPER_DECL): Likewise.
12015 (WRAPPER_DECL_ff): Likewise.
12016 (WRAPPER_DECL_fFF): Likewise.
12017 (VECTOR_WRAPPER): Likewise.
12018 (VECTOR_WRAPPER_ff): Likewise.
12019 (VECTOR_WRAPPER_fFF): Likewise.
12020 (VEC_LEN): New macro.
12021 * math/test-float-vlen8.h: Include test-float.h,
12022 test-math-no-inline.h and test-math-vector.h.
12023 (FLOAT): Remove macro.
12024 (FUNC): Likewise.
12025 (MATHCONST): Likewise.
12026 (PRINTF_EXPR): Likewise.
12027 (PRINTF_XEXPR): Likewise.
12028 (PRINTF_NEXPR): Likewise.
12029 (TEST_FLOAT): Likewise.
12030 (TEST_MATHVEC): Likewise.
12031 (__NO_MATH_INLINES): Likewise.
12032 (CNCT): Likewise.
12033 (CONCAT): Likewise.
12034 (WRAPPER_NAME): Likewise.
12035 (WRAPPER_DECL): Likewise.
12036 (WRAPPER_DECL_ff): Likewise.
12037 (WRAPPER_DECL_fFF): Likewise.
12038 (VECTOR_WRAPPER): Likewise.
12039 (VECTOR_WRAPPER_ff): Likewise.
12040 (VECTOR_WRAPPER_fFF): Likewise.
12041 (VEC_LEN): New macro.
12042 * math/test-float-vlen16.h: Include test-float.h,
12043 test-math-no-inline.h and test-math-vector.h.
12044 (FLOAT): Remove macro.
12045 (FUNC): Likewise.
12046 (MATHCONST): Likewise.
12047 (PRINTF_EXPR): Likewise.
12048 (PRINTF_XEXPR): Likewise.
12049 (PRINTF_NEXPR): Likewise.
12050 (TEST_FLOAT): Likewise.
12051 (TEST_MATHVEC): Likewise.
12052 (__NO_MATH_INLINES): Likewise.
12053 (CNCT): Likewise.
12054 (CONCAT): Likewise.
12055 (WRAPPER_NAME): Likewise.
12056 (WRAPPER_DECL): Likewise.
12057 (WRAPPER_DECL_ff): Likewise.
12058 (WRAPPER_DECL_fFF): Likewise.
12059 (VECTOR_WRAPPER): Likewise.
12060 (VECTOR_WRAPPER_ff): Likewise.
12061 (VECTOR_WRAPPER_fFF): Likewise.
12062 (VEC_LEN): New macro.
12063 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
12064 test-vec-loop.h.
12065 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12066 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12067 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12068 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12069 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12070 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12071 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12072
12073 2015-06-24 Roland McGrath <roland@hack.frob.com>
12074
12075 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
12076 (__getlogin_r): ... this.
12077
12078 2015-06-24 Joseph Myers <joseph@codesourcery.com>
12079
12080 [BZ #18594]
12081 * math/s_ccosh.c (__ccosh): Compare with least normal value
12082 instead of comparing class with FP_SUBNORMAL.
12083 * math/s_ccoshf.c (__ccoshf): Likewise.
12084 * math/s_ccoshl.c (__ccoshl): Likewise.
12085 * math/s_cexp.c (__cexp): Likewise.
12086 * math/s_cexpf.c (__cexpf): Likewise.
12087 * math/s_cexpl.c (__cexpl): Likewise.
12088 * math/s_csin.c (__csin): Likewise.
12089 * math/s_csinf.c (__csinf): Likewise.
12090 * math/s_csinh.c (__csinh): Likewise.
12091 * math/s_csinhf.c (__csinhf): Likewise.
12092 * math/s_csinhl.c (__csinhl): Likewise.
12093 * math/s_csinl.c (__csinl): Likewise.
12094 * math/s_ctan.c (__ctan): Likewise.
12095 * math/s_ctanf.c (__ctanf): Likewise.
12096 * math/s_ctanh.c (__ctanh): Likewise.
12097 * math/s_ctanhf.c (__ctanhf): Likewise.
12098 * math/s_ctanhl.c (__ctanhl): Likewise.
12099 * math/s_ctanl.c (__ctanl): Likewise.
12100 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
12101 csin, csinh, ctan and ctanh.
12102 * math/auto-libm-test-out: Regenerated.
12103 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
12104 * sysdeps/i386/fpu/libm-test-ulps: Update.
12105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12106
12107 2015-06-24 Roland McGrath <roland@hack.frob.com>
12108
12109 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
12110 return value is wrong, print the expected value too.
12111
12112 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
12113
12114 [BZ #18585]
12115 * elf/readlib.c (is_gdb_python_file): New.
12116 (process_file): Don't issue errors on filenames with -gdb.py
12117 suffix.
12118
12119 2015-06-24 Joseph Myers <joseph@codesourcery.com>
12120
12121 * math/auto-libm-test-in: Add more tests of csin and csinh.
12122 * math/auto-libm-test-out: Regenerated.
12123 * math/libm-test.inc (csin_test_data): Remove tests moved to
12124 auto-libm-test-in.
12125 (csinh_test_data): Likewise.
12126
12127 [BZ #18593]
12128 * math/s_csin.c (__csin): Negate before rather than after possibly
12129 overflowing multiplication.
12130 * math/s_csinf.c (__csinf): Likewise.
12131 * math/s_csinh.c (__csinh): Likewise.
12132 * math/s_csinhf.c (__csinhf): Likewise.
12133 * math/s_csinhl.c (__csinhl): Likewise.
12134 * math/s_csinl.c (__csinl): Likewise.
12135 * math/auto-libm-test-in: Add some tests of csin and csinh.
12136 * math/auto-libm-test-out: Regenerated.
12137 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
12138 (csinh_test_data): Likewise.
12139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12140
12141 [BZ #18586]
12142 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
12143 underflow exception for small results.
12144
12145 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
12146
12147 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12148 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
12149 variable and included header.
12150 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
12151 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
12152 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
12153 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
12154 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
12155 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12156 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12157 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
12158 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
12159 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
12160 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
12161 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
12162 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
12163 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
12164 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
12165 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
12166
12167 2015-06-23 Joseph Myers <joseph@codesourcery.com>
12168
12169 [BZ #16526]
12170 [BZ #16538]
12171 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
12172 (__sin): Force underflow exception for arguments with small
12173 absolute value.
12174 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
12175 (__kernel_sinf): Force underflow exception for arguments with
12176 small absolute value.
12177 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
12178 (__kernel_sincosl): Force underflow exception for arguments with
12179 small absolute value.
12180 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
12181 (__kernel_sinl): Force underflow exception for arguments with
12182 small absolute value.
12183 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
12184 (__kernel_sincosl): Force underflow exception for arguments with
12185 small absolute value.
12186 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
12187 (__kernel_sinl): Force underflow exception for arguments with
12188 small absolute value.
12189 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
12190 (__kernel_sinl): Force underflow exception for arguments with
12191 small absolute value.
12192 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
12193 (__kernel_sinf): Force underflow exception for arguments with
12194 small absolute value.
12195 * math/auto-libm-test-in: Add more tests of sin and sincos.
12196 * math/auto-libm-test-out: Regenerated.
12197
12198 [BZ #18245]
12199 [BZ #18583]
12200 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
12201 (__kernel_standard_l): Use feholdexcept and fesetenv around
12202 conversion to double instead of special-casing overflow and
12203 underflow.
12204 * math/libm-test.inc (fmod_test_data): Add more tests.
12205 (remainder_test_data): Likewise.
12206 (sqrt_test_data): Likewise.
12207
12208 2015-06-23 Torvald Riegel <triegel@redhat.com>
12209
12210 [BZ #17403]
12211 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
12212 atomic_read_barrier, atomic_write_barrier): Define.
12213 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
12214 atomic_read_barrier, atomic_write_barrier): Define.
12215
12216 2015-06-23 Joseph Myers <joseph@codesourcery.com>
12217
12218 * math/Makefile [$(PERL) != no]
12219 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
12220 dependency on libm-test.stmp below the inclusion of Rules.
12221
12222 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
12223
12224 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12225 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
12226 and included header.
12227 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
12228 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
12229 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
12230 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
12231 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
12232 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
12233 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12234 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12235 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
12236 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
12237 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
12238 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
12239 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
12240 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
12241 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
12242 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
12243 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
12244 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
12245 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
12246
12247 2015-06-23 Joseph Myers <joseph@codesourcery.com>
12248
12249 [BZ #18371]
12250 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
12251 intermediate but not final result might underflow.
12252 * math/s_csqrtf.c (__csqrtf): Likewise.
12253 * math/s_csqrtl.c (__csqrtl): Likewise.
12254 * math/auto-libm-test-in: Add more tests of csqrt.
12255 * math/auto-libm-test-out: Regenerated.
12256 * sysdeps/i386/fpu/libm-test-ulps: Update.
12257
12258 [BZ #18219]
12259 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
12260 threshold on absolute value of exponent for which scaling is used.
12261 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12262 * math/auto-libm-test-in: Add more tests of exp2.
12263 * math/auto-libm-test-out: Regenerated.
12264
12265 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
12266
12267 [BZ #17977]
12268 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
12269 when initializing interface list, based on the bug analysis
12270 and the patch proposed by Eric Newton.
12271 * resolv/tst-res_hconf_reorder.c: New test.
12272 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
12273 tst-res_hconf_reorder.
12274 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
12275 and $(shared-thread-library).
12276 (tst-res_hconf_reorder-ENV): New variable.
12277
12278 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
12279 in comment.
12280
12281 2015-06-22 Joseph Myers <joseph@codesourcery.com>
12282
12283 [BZ #16353]
12284 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
12285 (__expm1): Force underflow exception for arguments with small
12286 absolute value.
12287 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
12288 (__expm1f): Force underflow exception for arguments with small
12289 absolute value.
12290 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
12291 (__expm1): Force underflow exception for arguments with small
12292 absolute value.
12293 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
12294 (__expm1f): Force underflow exception for arguments with small
12295 absolute value.
12296 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12297 Check for small arguments before calling __expm1.
12298 * math/auto-libm-test-in: Do not mark underflow exceptions as
12299 possibly missing for bug 16353.
12300 * math/auto-libm-test-out: Regenerated.
12301
12302 2015-06-22 Andreas Schwab <schwab@suse.de>
12303
12304 [BZ #18513]
12305 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
12306 PTR queries.
12307
12308 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
12309
12310 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
12311
12312 * string/strcoll_l.c: Remove unused struct element idxnow.
12313
12314 2015-06-21 Joseph Myers <joseph@codesourcery.com>
12315
12316 [BZ #18569]
12317 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
12318 underflow and return argument in case of subnormal argument.
12319 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12320 Likewise.
12321 * math/auto-libm-test-in: Add more tests of expm1.
12322 * math/auto-libm-test-out: Regenerated.
12323
12324 [BZ #16361]
12325 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12326 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12327 tiny results.
12328 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12329 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12330 tiny results.
12331 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
12332 mark underflow exceptions as possibly missing for bug 16361.
12333 * math/auto-libm-test-out: Regenerated.
12334
12335 2015-06-19 Joseph Myers <joseph@codesourcery.com>
12336
12337 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
12338 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
12339 Remove variable.
12340 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12341 (test-xfail-XOPEN2K8/utmpx.h/conform).
12342
12343 * conform/conformtest.pl ($xerrors): New variable.
12344 (note_error): New function.
12345 (compiletest): New argument $xfail. Use not_error.
12346 (runtest): Likewise.
12347 (top level): Handle xfail- lines. Update calls to compiletest and
12348 runtest. Handle xfail- and optional- in headers listed with
12349 allow-header.
12350 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
12351 (O_EXEC): Likewise.
12352 (O_SEARCH): Likewise.
12353 * conform/data/stropts.h-data (ioctl): Likewise.
12354 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
12355 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
12356 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
12357 (msghdr.msg_controllen): Likewise.
12358 (cmsghdr.cmsg_len): Likewise.
12359 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
12360 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
12361 variable.
12362 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12363 (test-xfail-XPG4/stropts.h/conform): Likewise.
12364 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12365 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12366 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12367 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12368 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12369 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12370 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12371 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12372 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12373 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12374 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12375 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12376 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12377 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12378 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12379 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12380 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12381 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12382 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12383
12384 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
12385
12386 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
12387 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
12388 definitions for proper unfolding of __MATHDECL_VEC.
12389
12390 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12391
12392 * benchtests/bench-strcoll.c:
12393 Include string.h.
12394 (main): Remove unused variable res.
12395
12396 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12397
12398 * timezone/Makefile (%/UTC %/Universal):
12399 Generate test-result files for UTC and Universal.
12400
12401 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12402
12403 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12404
12405 2015-06-18 Joseph Myers <joseph@codesourcery.com>
12406
12407 [BZ #16350]
12408 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
12409 for arguments with small absolute value.
12410 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
12411 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
12412 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
12413 (__asinh): Force underflow exception for arguments with small
12414 absolute value.
12415 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
12416 (__asinhf): Force underflow exception for arguments with small
12417 absolute value.
12418 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
12419 (__asinhl): Force underflow exception for arguments with small
12420 absolute value.
12421 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
12422 (__asinhl): Force underflow exception for arguments with small
12423 absolute value.
12424 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
12425 (__asinhl): Force underflow exception for arguments with small
12426 absolute value.
12427 * math/auto-libm-test-in: Do not mark underflow exceptions as
12428 possibly missing for bug 16350.
12429 * math/auto-libm-test-out: Regenerated.
12430
12431 * include/bits/ipc.h: Remove file.
12432 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
12433 variable.
12434 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12435 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12436 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12437 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12438 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12439 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12440 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12441 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12442 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12443
12444 * math/auto-libm-test-in: Remove spurious underflow allowance for
12445 tests of cexp.
12446 * math/auto-libm-test-out: Regenerated.
12447
12448 [BZ #18558]
12449 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
12450 unconditional definition.
12451 (MCAST_BLOCK_SOURCE): Likewise.
12452 (MCAST_UNBLOCK_SOURCE): Likewise.
12453 (MCAST_LEAVE_GROUP): Likewise.
12454 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12455 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12456 (MCAST_MSFILTER): Likewise.
12457 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
12458 Remove variable.
12459 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12460 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12461 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12462 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12463 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12464
12465 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
12466
12467 * NEWS: Mention addition of x86_64 vector sincosf.
12468 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
12469 * math/test-float-vlen4.h: Likewise.
12470 * math/test-float-vlen8.h: Likewise.
12471 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12472 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
12473 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12474 * sysdeps/x86_64/fpu/Versions: New versions added.
12475 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12476 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12477 Added build of SSE, AVX2 and AVX512 IFUNC versions.
12478 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
12479 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12480 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
12481 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12482 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
12483 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12484 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
12485 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
12486 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
12487 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
12488 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
12489 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
12490 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
12491 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
12492 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12493 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12494 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12495 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12496 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12497 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12498 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12499
12500 * NEWS: Mention addition of x86_64 vector sincos.
12501 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
12502 * math/math.h (__MATHDECL_VEC): New macro.
12503 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
12504 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
12505 declaration under condition.
12506 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
12507 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
12508 TEST_VEC_LOOP change.
12509 * math/test-double-vlen4.h: Likewise.
12510 * math/test-double-vlen8.h: Likewise.
12511 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
12512 * math/test-float-vlen4.h: Likewise.
12513 * math/test-float-vlen8.h: Likewise.
12514 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12515 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
12516 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12517 * sysdeps/x86_64/fpu/Versions: New versions added.
12518 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12519 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12520 Added build of SSE, AVX2 and AVX512 IFUNC versions.
12521 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
12522 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
12523 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
12524 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
12525 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
12526 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
12527 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
12528 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
12529 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
12530 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
12531 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
12532 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
12533 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
12534 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
12535 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12536 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12537 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12538 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12539 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12540 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12541 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12542
12543 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12544 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12545 redirections for powf.
12546 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12547 * sysdeps/x86_64/fpu/Versions: New versions added.
12548 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12549 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12550 Added build of SSE, AVX2 and AVX512 IFUNC versions.
12551 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
12552 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
12553 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
12554 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
12555 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
12556 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
12557 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
12558 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
12559 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
12560 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
12561 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
12562 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
12563 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
12564 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
12565 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12566 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12567 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12568 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12569 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12570 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12571 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12572 * math/test-float-vlen16.h: Fixed 2 argument macro.
12573 * math/test-float-vlen4.h: Likewise.
12574 * math/test-float-vlen8.h: Likewise.
12575 * NEWS: Mention addition of x86_64 vector powf.
12576
12577 2015-06-17 Joseph Myers <joseph@codesourcery.com>
12578
12579 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12580 and redefine.
12581 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12582 and redefine.
12583 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
12584 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12585 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12586
12587 [BZ #18553]
12588 * resource/getpriority.c (getpriority): Rename to __getpriority
12589 and define as weak alias of __getpriority.
12590 * resource/setpriority.c (setpriority): Rename to __setpriority
12591 and define as weak alias of __setpriority.
12592 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
12593 __getpriority and define as weak alias of __getpriority.
12594 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
12595 __setpriority and define as weak alias of __setpriority.
12596 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
12597 strong name.
12598 (setpriority): Use __setpriority as strong name.
12599 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
12600 __getpriority and define as weak alias of __getpriority.
12601 * include/sys/resource.h (__getpriority): Declare. Use
12602 libc_hidden_proto.
12603 (__setpriority): Likewise.
12604 (getpriority): Don't use libc_hidden_proto.
12605 (setpriority): Likewise.
12606 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
12607 getpriority. Call __setpriority instead of setpriority.
12608 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
12609 Remove variable.
12610
12611 [BZ #18547]
12612 * misc/getttyent.c (getttynam): Rename to __getttynam and define
12613 as weak alias of __getttynam. Use prototype function definition.
12614 Call __setttyent, __getttyent and __endttyent instead of
12615 setttyent, getttyent and endttyent.
12616 (getttyent): Rename to __getttyent and define as weak alias of
12617 __getttyent. Call __setttyent instead of setttyent. Call
12618 __fgets_unlocked instead of fgets_unlocked.
12619 (setttyent): Rename to __setttyent and define as weak alias of
12620 __setttyent.
12621 (endttyent): Rename to __endttyent and define as weak alias of
12622 __endttyent.
12623 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
12624 (__setttyent): Likewise.
12625 (__endttyent): Likewise.
12626 (getttyent): Don't use libc_hidden_proto.
12627 (setttyent): Likewise.
12628 (endttyent): Likewise.
12629 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
12630 __endttyent instead of setttyent, getttyent and endttyent.
12631 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
12632 Remove variable.
12633
12634 [BZ #18546]
12635 * socket/recv.c (__recv): Use libc_hidden_def.
12636 * socket/socket.c (__socket): Likewise.
12637 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12638 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12639 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
12640 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
12641 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
12642 libc_hidden_def.
12643 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
12644 libc_hidden_weak.
12645 * include/sys/socket.h (__socket): Do not use attribute_hidden.
12646 Use libc_hidden_proto.
12647 (__recv): Likewise.
12648 * socket/Versions (libc): Export __recv and __socket at version
12649 GLIBC_PRIVATE.
12650 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
12651 instead of recv.
12652 (init_mq_netlink): Call __socket instead of socket.
12653 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
12654 Remove variable.
12655
12656 [BZ #18545]
12657 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
12658 __mq_timedreceive and define as alias of __mq_timedreceive. Use
12659 hidden_weak.
12660 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
12661 define as alias of __mq_timedsend. Use hidden_weak.
12662 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
12663 __mq_timedsend as strong name.
12664 (mq_timedreceive): Use __mq_timedreceive as strong name.
12665 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
12666 (__mq_timedreceive): Likewise.
12667 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
12668 __mq_timedreceive instead of mq_timedreceive.
12669 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
12670 instead of mq_timedsend.
12671 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
12672 Remove variable.
12673
12674 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
12675 hidden_def and hidden_weak instead of libc_hidden_def and
12676 libc_hidden_weak.
12677 (top level): Refer to hidden_def in comment.
12678 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
12679 macro. Use it instead of libc_hidden_def.
12680 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
12681 specify __GI_* name explicitly.
12682 (mq_timedreceive): Likewise.
12683 (mq_setattr): Likewise.
12684
12685 [BZ #18544]
12686 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
12687 __pthread_barrier_init and define as weak alias of
12688 __pthread_barrier_init.
12689 * sysdeps/sparc/nptl/pthread_barrier_init.c
12690 (pthread_barrier_init): Likewise.
12691 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
12692 __pthread_barrier_wait and define as weak alias of
12693 __pthread_barrier_wait.
12694 * sysdeps/sparc/nptl/pthread_barrier_wait.c
12695 (pthread_barrier_wait): Likewise.
12696 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12697 (pthread_barrier_wait): Likewise.
12698 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
12699 (pthread_barrier_wait): Likewise.
12700 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
12701 (pthread_barrier_wait): Likewise.
12702 * nptl/Versions (libpthread): Export __pthread_barrier_init and
12703 __pthread_barrier_wait at version GLIBC_PRIVATE.
12704 * include/pthread.h (__pthread_barrier_init): Declare.
12705 (__pthread_barrier_wait): Likewise.
12706 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
12707 Call __pthread_barrier_wait instead of pthread_barrier_wait.
12708 (helper_thread): Likewise.
12709 (init_mq_netlink): Call __pthread_barrier_init instead of
12710 pthread_barrier_init.
12711
12712 [BZ #18542]
12713 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
12714 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
12715 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
12716 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
12717 vswscanf.
12718 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
12719 Remove variable.
12720
12721 [BZ #18540]
12722 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
12723 strong alias of _IO_fflush. Use libc_hidden_def.
12724 * libio/iofflush_u.c (fflush_unlocked): Rename to
12725 __fflush_unlocked and define as weak alias of __fflush_unlocked.
12726 Use libc_hidden_weak.
12727 * include/stdio.h (__fflush_unlocked): Declare. Use
12728 libc_hidden_proto.
12729 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
12730 fflush_unlocked.
12731 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
12732 Remove variable.
12733
12734 [BZ #18539]
12735 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
12736 define as weak alias of __addseverity.
12737 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
12738 Remove variable.
12739 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12740 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12741 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12742
12743 [BZ #18536]
12744 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
12745 (__tfind): Likewise.
12746 (__tdelete): Likewise.
12747 (__twalk): Likewise.
12748 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
12749 __twalk to GLIBC_PRIVATE.
12750 * include/search.h (__tsearch): Use libc_hidden_proto.
12751 (__tfind): Likewise.
12752 (__tdelete): Likewise.
12753 (__twalk): Likewise.
12754 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
12755 Call __tdelete instead of tdelete.
12756 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
12757 tfind. Call __tsearch instead of tsearch.
12758 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
12759 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
12760 Remove variable.
12761 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12762
12763 [BZ #18534]
12764 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
12765 (dprintf): Define as a weak alias of __dprintf, not a strong
12766 alias.
12767 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
12768 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
12769 dprintf.
12770 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
12771 Remove variable.
12772 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12773 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12774
12775 [BZ #18533]
12776 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
12777 not a strong alias.
12778 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
12779 Remove variable.
12780
12781 [BZ #18532]
12782 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
12783 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
12784 (in6addr_loopback): Rename to __in6addr_loopback and define as
12785 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
12786 * include/netinet/in.h (__in6addr_loopback): Declare. Use
12787 libc_hidden_proto.
12788 (__in6addr_any): Likewise.
12789 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
12790 in6addr_any.
12791 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
12792 variable.
12793 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12794
12795 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
12796
12797 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
12798 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
12799 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12800 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12801 redirections for pow.
12802 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12803 * sysdeps/x86_64/fpu/Versions: New versions added.
12804 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12805 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12806 build of SSE, AVX2 and AVX512 IFUNC versions.
12807 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
12808 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
12809 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
12810 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
12811 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
12812 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
12813 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
12814 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
12815 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
12816 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
12817 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
12818 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
12819 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
12820 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
12821 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12822 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12823 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12824 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12825 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12826 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12827 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12828 * NEWS: Mention addition of x86_64 vector pow.
12829
12830 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12831 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12832 redirections for expf.
12833 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12834 * sysdeps/x86_64/fpu/Versions: New versions added.
12835 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12836 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12837 build of SSE, AVX2 and AVX512 IFUNC versions.
12838 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
12839 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
12840 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
12841 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
12842 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
12843 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
12844 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
12845 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
12846 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
12847 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
12848 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
12849 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
12850 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
12851 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12852 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12853 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12854 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12855 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12856 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12857 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12858 * NEWS: Mention addition of x86_64 vector expf.
12859
12860 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
12861 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
12862 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12863 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12864 redirections for exp.
12865 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12866 * sysdeps/x86_64/fpu/Versions: New versions added.
12867 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12868 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12869 build of SSE, AVX2 and AVX512 IFUNC versions.
12870 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
12871 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
12872 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
12873 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
12874 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
12875 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
12876 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
12877 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
12878 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
12879 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
12880 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
12881 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
12882 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
12883 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12884 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12885 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12886 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12887 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12888 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12889 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12890 * NEWS: Mention addition of x86_64 vector exp.
12891
12892 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12893 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12894 redirections for logf.
12895 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12896 * sysdeps/x86_64/fpu/Versions: New versions added.
12897 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12898 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12899 build of SSE, AVX2 and AVX512 IFUNC versions.
12900 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
12901 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
12902 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
12903 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
12904 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
12905 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
12906 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
12907 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
12908 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
12909 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
12910 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
12911 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
12912 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
12913 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12914 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12915 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12916 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12917 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12918 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12919 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12920 * NEWS: Mention addition of x86_64 vector logf.
12921
12922 * bits/libm-simd-decl-stubs.h: Added stubs for log.
12923 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
12924 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12925 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12926 redirections for log.
12927 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12928 * sysdeps/x86_64/fpu/Versions: New versions added.
12929 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12930 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12931 build of SSE, AVX2 and AVX512 IFUNC versions.
12932 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
12933 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
12934 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
12935 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
12936 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
12937 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
12938 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
12939 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
12940 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
12941 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
12942 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
12943 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
12944 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
12945 test.
12946 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12947 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12948 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12949 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12950 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12951 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12952 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12953 * NEWS: Mention addition of x86_64 vector log.
12954
12955 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
12956
12957 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
12958 cfi_adjust_cfa_offset argument.
12959 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
12960 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
12961
12962 [BZ #18034]
12963 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
12964 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
12965 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
12966 ordering using ldar.
12967 (_dl_tlsdesc_dynamic): Likewise.
12968 (_dl_tlsdesc_return_lazy): Likewise.
12969 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
12970 relaxed atomics instead of volatile and synchronize with release store.
12971 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
12972 volatile.
12973 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12974
12975 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
12976
12977 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12978 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
12979 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12980 * sysdeps/x86_64/fpu/Versions: New versions added.
12981 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12982 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12983 build of SSE, AVX2 and AVX512 IFUNC versions.
12984 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
12985 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
12986 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
12987 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
12988 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
12989 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
12990 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
12991 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
12992 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
12993 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
12994 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
12995 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
12996 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
12997 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12998 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12999 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13000 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13001 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13002 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13003 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13004 * NEWS: Mention addition of x86_64 vector sinf.
13005
13006 2015-06-14 Joseph Myers <joseph@codesourcery.com>
13007
13008 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
13009 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
13010 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
13011 Remove variable.
13012 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13013 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13014
13015 2015-06-12 Joseph Myers <joseph@codesourcery.com>
13016
13017 [BZ #18530]
13018 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
13019 strong alias of _IO_fputs. Use libc_hidden_def.
13020 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
13021 and define as weak alias of __fputs_unlocked. Use
13022 libc_hidden_weak.
13023 * include/stdio.h (__fputs_unlocked): Declare. Use
13024 libc_hidden_proto.
13025 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
13026 fputs_unlocked.
13027
13028 [BZ #18529]
13029 * resolv/netdb.h [__USE_POSIX]: Change condition to
13030 [__USE_XOPEN2K].
13031 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
13032 not expect.
13033 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
13034 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
13035 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
13036 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
13037 [XPG4 || UNIX98] (AI_ALL): Likewise.
13038 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
13039 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
13040 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
13041 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
13042 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
13043 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
13044 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
13045 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
13046 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
13047 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
13048 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
13049 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
13050 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
13051 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
13052 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
13053 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13054 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13055 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
13056 [XPG4 || UNIX98] (gai_strerror): Likewise.
13057 [XPG4 || UNIX98] (getaddrinfo): Likewise.
13058 [XPG4 || UNIX98] (getnameinfo): Likewise.
13059
13060 [BZ #18528]
13061 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
13062 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
13063 __USE_XOPEN2K8].
13064 (getgrent): Likewise.
13065 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
13066 expect.
13067 [XPG3 || POSIX2008] (endgrent): Likewise.
13068 [XPG3] (setgrent): Likewise.
13069 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
13070 variable.
13071 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13072
13073 [BZ #18527]
13074 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
13075 define as weak alias of __getlogin_r. Use libc_hidden_weak.
13076 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
13077 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
13078 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
13079 * include/unistd.h (__getlogin_r): Declare. Use
13080 libc_hidden_proto.
13081 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
13082 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
13083 variable.
13084 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13085 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13086 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13087
13088 2015-06-12 Martin Sebor <msebor@redhat.com>
13089
13090 [BZ #18512]
13091 * Makerules (check-install-supported): New target.
13092 (install): Add check-install-supported as a dependency.
13093 * manual/install.texi (Installing the C Library): Document
13094 that overriding prefix and exec_prefix is not supported.
13095 Mention DESTDIR.
13096 * INSTALL: Regenerate from the above.
13097
13098 2015-06-12 Joseph Myers <joseph@codesourcery.com>
13099
13100 [BZ #18519]
13101 * posix/Versions (libc): Export __libc_pread at version
13102 GLIBC_PRIVATE.
13103 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
13104 instead of pread.
13105 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
13106 variable.
13107
13108 [BZ #18522]
13109 * misc/efgcvt_r.c
13110 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
13111 (cvt_symbol): Use weak_alias instead of strong_alias.
13112 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
13113 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
13114 Remove variable.
13115 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13116 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13117
13118 [BZ #18520]
13119 * inet/herrno.c (h_errno): Rename to __h_errno.
13120 (__libc_h_errno): Define as alias of __h_errno not h_errno.
13121 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
13122 to __h_errno instead of h_errno.
13123 * nptl/herrno.c (h_errno): Rename to __h_errno.
13124 (__h_errno_location): Refer to __h_errno not h_errno.
13125 * resolv/Versions (h_errno): Rename to __h_errno.
13126 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
13127 Remove variable.
13128 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13129
13130 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
13131
13132 * configure.ac: More strict check for AVX512 assembler support.
13133 * configure: Regenerated.
13134
13135 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
13136 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
13137 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13138 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
13139 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13140 * sysdeps/x86_64/fpu/Versions: New versions added.
13141 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13142 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13143 Added build of SSE, AVX2 and AVX512 IFUNC versions.
13144 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
13145 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
13146 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
13147 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
13148 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
13149 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
13150 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
13151 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
13152 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
13153 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
13154 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
13155 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
13156 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
13157 test.
13158 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13159 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13160 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13161 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13162 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13163 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13164 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13165 * NEWS: Mention addition of x86_64 vector sin.
13166
13167 2015-06-11 Florian Weimer <fweimer@redhat.com>
13168
13169 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
13170 comment.
13171
13172 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
13173
13174 [BZ #18479]
13175 * nptl/pt-interp.c: New file.
13176 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
13177 Add pt-interp.
13178 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
13179 $(common-objpfx)runtime-linker.h.
13180
13181 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
13182
13183 * Makeconfig (+interp): Remove unused variable.
13184 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
13185 only. Depend on $(common-objpfx)runtime-linker.h instead of
13186 $(elf-objpfx)runtime-linker.h.
13187 ($(elf-objpfx)runtime-linker.h): Rename to
13188 $(common-objpfx)runtime-linker.h and move ...
13189 * Makerules [$(build-shared) = yes]: ... here.
13190 * elf/interp.c: Include <runtime-linker.h> instead of
13191 <elf/runtime-linker.h>.
13192
13193 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13194
13195 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
13196 (__gettimeofday_syscall): Remove vsyscall fallback.
13197 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
13198 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
13199 Add syscall fallback function.
13200 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
13201 if vDSO is not present.
13202 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
13203 fallback function.
13204 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
13205 present.
13206 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
13207 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13208
13209 2015-06-09 Joseph Myers <joseph@codesourcery.com>
13210
13211 [BZ #18497]
13212 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
13213 of wcscmp.
13214 (wcscmp): Define as weak alias of WCSCMP.
13215 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
13216 wcscoll.
13217 (USE_HIDDEN_DEF): Define.
13218 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
13219 __wcscoll. Don't use libc_hidden_weak.
13220 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
13221 wcscmp.
13222 * sysdeps/i386/i686/multiarch/wcscmp-c.c
13223 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
13224 __GI_wcscmp.
13225 (weak_alias): Undefine and redefine.
13226 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
13227 __wcscmp and define as weak alias of __wcscmp.
13228 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
13229 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
13230 (__wcscoll): Likewise.
13231 (wcscmp): Don't use libc_hidden_proto.
13232 (wcscoll): Likewise.
13233 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
13234 wcscoll.
13235 * posix/regexec.c (check_node_accept_bytes): Likewise.
13236 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
13237 variable.
13238 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13239 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13240
13241 [BZ #18507]
13242 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
13243 __fstatvfs and define as weak alias of __fstatvfs. Use
13244 libc_hidden_weak.
13245 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
13246 and define as weak alias of __statvfs. Use libc_hidden_weak.
13247 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
13248 Define as alias of __fstatvfs, not fstatvfs.
13249 (fstatvfs64): Likewise.
13250 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
13251 Define as alias of __statvfs, not statvfs.
13252 (statvfs64): Likewise.
13253 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
13254 Remove variable.
13255
13256 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13257
13258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13259 (HAVE_GETCPU_VSYSCALL): Define.
13260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13261 (HAVE_GETCPU_VSYSCALL): Likewise.
13262 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
13263 * sysdeps/unix/sysv/linux/sched_getcpu.c
13264 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
13265 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
13266 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
13267 prototype.
13268 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13269 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
13270 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
13271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
13272 Define.
13273 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
13274 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13275 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
13276 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13277
13278 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
13279
13280 * sysdeps/x86_64/fpu/Makefile: New file.
13281 * sysdeps/x86_64/fpu/Versions: New file.
13282 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
13283 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
13284 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
13285 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
13286 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
13287 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
13288 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
13289 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
13290 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
13291 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
13292 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
13293 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
13294 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
13295 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13296 Added build of SSE, AVX2 and AVX512 IFUNC versions.
13297 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
13298 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
13299 * sysdeps/x86_64/configure.ac: Options for libmvec build.
13300 * sysdeps/x86_64/configure: Regenerated.
13301 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
13302 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
13303 * manual/install.texi (Configuring and compiling): Document
13304 --disable-mathvec.
13305 * INSTALL: Regenerated.
13306 * NEWS: Mention addition of libmvec and x86_64 vector cos.
13307
13308 * math/Makefile: Added rules for vector tests.
13309 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
13310 declaration under condition.
13311 * math/test-double-vlen2.h: New file.
13312 * math/test-double-vlen4.h: New file.
13313 * math/test-double-vlen8.h: New file.
13314 * math/test-vec-loop.h: Added initialization macro.
13315 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
13316 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
13317 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
13318 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
13319 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
13320 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
13321 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
13322 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
13323 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
13324 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
13325 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
13326
13327 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13328 * sysdeps/x86_64/fpu/Versions: New versions added.
13329 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
13330 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
13331 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
13332 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
13333 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
13334 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
13335 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
13336 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
13337 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
13338 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
13339 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
13340 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
13341 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
13342 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13343 Added build of SSE, AVX2 and AVX512 IFUNC versions.
13344 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13345 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
13346 * NEWS: Mention addition of x86_64 vector cosf.
13347
13348 * math/Makefile: Added CFLAGS for new tests.
13349 * math/test-float-vlen16.h: New file.
13350 * math/test-float-vlen4.h: New file.
13351 * math/test-float-vlen8.h: New file.
13352 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
13353 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
13354 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13355 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
13356 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
13357 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
13358 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
13359 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
13360 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
13361 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
13362 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
13363
13364 2015-06-09 Marko Myllynen <myllynen@redhat.com>
13365
13366 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
13367 * locale/programs/ld-ctype.c: Likewise.
13368
13369 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
13370
13371 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
13372 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
13373 bit_ZMM16_31_state): New macro.
13374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13375 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
13376
13377 2015-06-08 Joseph Myers <joseph@codesourcery.com>
13378
13379 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
13380
13381 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
13382
13383 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
13384
13385 2015-06-05 Joseph Myers <joseph@codesourcery.com>
13386
13387 [BZ #18498]
13388 * libio/memstream.c (open_memstream): Rename to __open_memstream
13389 and define as weak alias of __open_memstream.
13390 * include/stdio.h (__open_memstream): Declare. Use
13391 libc_hidden_proto.
13392 (open_memstream): Don't use libc_hidden_proto.
13393 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
13394 open_memstream.
13395 * posix/getopt.c (_getopt_internal_r): Likewise.
13396 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
13397 variable.
13398 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13399 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13400 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13401
13402 [BZ #18496]
13403 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
13404 instead of wcrtomb.
13405
13406 [BZ #18483]
13407 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
13408 [__USE_XOPEN2K8]. Remove redundant #endif.
13409 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
13410 Remove redundant #if.
13411 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
13412 Remove variable.
13413 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13414 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13415
13416 [BZ #18495]
13417 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
13418 (__iswlower): Likewise.
13419 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
13420 (__iswlower): Likewise.
13421 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
13422 instead of towlower.
13423 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
13424 instead of iswlower. Call __towupper instead of towupper.
13425 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
13426 instead of iswalnum.
13427
13428 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13429
13430 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
13431 errors to stderr.
13432
13433 2015-06-05 Florian Weimer <fweimer@redhat.com>
13434
13435 [BZ #15661]
13436 [BZ #17322]
13437 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13438 Check for overflow properly. Check for O_APPEND. Ignore large
13439 file system block sizes. Add comments about problems.
13440 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
13441 * manual/filesys.texi (Storage Allocation): New node.
13442
13443 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13444
13445 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
13446 cancellable syscalls.
13447 (SYS_ify): Add guard to no redefine it.
13448 (INLINE_SYSCALL): Likewise.
13449 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
13450 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
13451 SYSCALL_CANCEL instead.
13452 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
13453 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13454 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13455 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13456 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13457 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
13458 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
13459 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
13460 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13461 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13462 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
13463 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
13464 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
13465 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
13466 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
13467 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13468 Likewise.
13469 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13470 (__libc_pread64): Likewise.
13471 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
13472 (__libc_preadv): Likewise.
13473 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
13474 (__libc_readv64): Likewise.
13475 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13476 (__libc_pwrite): Likewise.
13477 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13478 (__libc_pwrite64): Likewise.
13479 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
13480 (__libc_pwritev): Likewise.
13481 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
13482 (__libc_pwritev64): Likewise.
13483 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
13484 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13485 (sync_file_range): Likewise.
13486 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
13487 Likewise.
13488 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
13489 Likewise.
13490 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13491 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13492 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13493 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13494 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13495 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13496 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13497 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
13498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13499 Likewise.
13500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13501 (__libc_read64): Likewise.
13502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
13503 Likewise.
13504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
13505 Likewise.
13506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
13507 Likewise.
13508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
13509 Likewise.
13510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13511 (__libc_pread64): Likewise.
13512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
13513 Likewise.
13514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13515 (__libc_pwrite64): Likewise.
13516 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
13517 (sync_file_range): Likewise.
13518 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
13519 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13520 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13521 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
13522 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
13523 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13524 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13525 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
13526 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
13527 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13528 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13529 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13530 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13531 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13532 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
13533 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13534 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13535 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13536 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13537 Likewise.
13538 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
13539 Likewise.
13540 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
13541 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
13542 Likewise.
13543 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
13544 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
13545 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
13546 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
13547 Likewise.
13548 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
13549 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
13550 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
13551 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
13552 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
13553
13554 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
13555
13556 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
13557 Include dl-vdso.
13558 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
13559 Use VDSO routines for gettimeofday, clock_gettime if
13560 available.
13561 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
13562 Declare VDSO symbols.
13563 * sysdeps/unix/sysv/linux/arm/sysdep.h:
13564 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
13565 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13566 * sysdeps/unix/sysv/linux/arm/Versions: Add
13567 __vdso_clock_gettime.
13568
13569 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13570
13571 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
13572 be an inline implementation regardless of library is built within.
13573 (open_not_cancel_2): Likewise.
13574 (__read_nocancel): Likewise.
13575 (__write_nocancel): Likewise.
13576 (openat_not_cancel): Likewise.
13577 (openat_not_cancel_3): Likewise.
13578 (openat64_not_cancel): Likewise.
13579 (openat64_not_cancel_3): Likewise.
13580 (__close_nocancel): Likewise.
13581 (pause_not_cancel): Likewise.
13582 (nanosleep_not_cancel): Likewise.
13583 (sigsuspend_not_cancel): Likewise.
13584
13585 2015-06-04 Torvald Riegel <triegel@redhat.com>
13586
13587 [BZ #14958]
13588 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
13589 wake-up.
13590 (__pthread_rwlock_rdlock_slow): Likewise.
13591 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13592 Likewise.
13593 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13594 Likewise.
13595 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
13596 * nptl/tst-rwlock16.c: New file.
13597 * nptl/Makefile (tests): Add new test.
13598
13599 2015-06-04 Torvald Riegel <triegel@redhat.com>
13600
13601 [BZ #18324]
13602 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
13603 missing wake-up of readers.
13604 * nptl/tst-rwlock15.c: New file.
13605 * nptl/Makefile (tests): Add new test.
13606
13607 2015-06-03 Roland McGrath <roland@hack.frob.com>
13608
13609 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
13610 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
13611 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
13612 and __nacl_supply_interface_rtld.
13613 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
13614 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
13615 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
13616 Add __nacl_supply_interface_rtld.
13617 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
13618
13619 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
13620
13621 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
13622 isfinite.
13623 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13624 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
13625
13626 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
13627
13628 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
13629 __signbit* with standard C99 macros.
13630 * math/e_exp10l.c: Likewise.
13631 * math/e_exp2l.c: Likewise.
13632 * math/e_scalb.c: Likewise.
13633 * math/e_scalbf.c: Likewise.
13634 * math/e_scalbl.c: Likewise.
13635 * math/s_ldexp.c: Likewise.
13636 * math/s_ldexpf.c: Likewise.
13637 * math/s_ldexpl.c: Likewise.
13638 * math/w_atan2.c: Likewise.
13639 * math/w_atan2f.c: Likewise.
13640 * math/w_atan2l.c: Likewise.
13641 * math/w_cosh.c: Likewise.
13642 * math/w_coshf.c: Likewise.
13643 * math/w_coshl.c: Likewise.
13644 * math/w_exp10.c: Likewise.
13645 * math/w_exp10f.c: Likewise.
13646 * math/w_exp10l.c: Likewise.
13647 * math/w_exp2.c: Likewise.
13648 * math/w_exp2f.c: Likewise.
13649 * math/w_exp2l.c: Likewise.
13650 * math/w_fmod.c: Likewise.
13651 * math/w_fmodf.c: Likewise.
13652 * math/w_fmodl.c: Likewise.
13653 * math/w_hypot.c: Likewise.
13654 * math/w_hypotf.c: Likewise.
13655 * math/w_hypotl.c: Likewise.
13656 * math/w_jnl.c: Likewise.
13657 * math/w_lgamma.c: Likewise.
13658 * math/w_lgamma_r.c: Likewise.
13659 * math/w_lgammaf.c: Likewise.
13660 * math/w_lgammaf_r.c: Likewise.
13661 * math/w_lgammal.c: Likewise.
13662 * math/w_lgammal_r.c: Likewise.
13663 * math/w_pow.c: Likewise.
13664 * math/w_powf.c: Likewise.
13665 * math/w_powl.c: Likewise.
13666 * math/w_remainder.c: Likewise.
13667 * math/w_remainderf.c: Likewise.
13668 * math/w_remainderl.c: Likewise.
13669 * math/w_scalb.c: Likewise.
13670 * math/w_scalbf.c: Likewise.
13671 * math/w_scalbl.c: Likewise.
13672 * math/w_scalbln.c: Likewise.
13673 * math/w_scalblnf.c: Likewise.
13674 * math/w_scalblnl.c: Likewise.
13675 * math/w_sinh.c: Likewise.
13676 * math/w_sinhf.c: Likewise.
13677 * math/w_sinhl.c: Likewise.
13678 * math/w_tgamma.c: Likewise.
13679 * math/w_tgammaf.c: Likewise.
13680 * math/w_tgammal.c: Likewise.
13681 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13682 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
13683 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13684 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13685 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13686 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13687 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13688 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13689 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13690 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13691 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13692 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13693 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13694 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13695 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13696 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13697 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13698 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13699 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13700 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13701 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13702 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13703 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13704 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13705 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
13708 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13709 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13710 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13711 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
13712 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
13713 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
13714 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
13715 * stdio-common/printf_fp.c: Likewise.
13716 * stdio-common/printf_fphex.c: Likewise.
13717 * stdio-common/printf_size.c: Likewise.
13718
13719 2015-06-03 Joseph Myers <joseph@codesourcery.com>
13720
13721 [BZ #18470]
13722 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
13723 strnlen.
13724 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
13725 Remove variable.
13726 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13727 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13728 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13729 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13730 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13731 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13732 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13733 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13734 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13735 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13736
13737 [BZ #18468]
13738 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
13739 weak alias of __wmemchr. Use libc_hidden_weak.
13740 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
13741 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
13742 instead of wmemchr.
13743
13744 2015-06-02 Roland McGrath <roland@hack.frob.com>
13745
13746 [BZ #18383]
13747 * elf/tst-tlsalign-extern.c: New file.
13748 * elf/tst-tlsalign-extern-static.c: New file.
13749 * elf/tst-tlsalign-vars.c: New file.
13750 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
13751 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
13752 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
13753 ($(objpfx)tst-tlsalign-extern-static): Likewise.
13754 (test-xfail-tst-tlsalign-extern-static): New variable.
13755
13756 2015-06-02 Joseph Myers <joseph@codesourcery.com>
13757
13758 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
13759 Use variable name _sc_err instead of err.
13760 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
13761 instead of ret.
13762 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
13763 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
13764 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
13765 (INLINE_SYSCALL): Likewise.
13766
13767 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
13768 * include/string.h (__strnlen): Use libc_hidden_proto.
13769 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
13770 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
13771 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
13772 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
13773 (libc_hidden_def): Undefine and redefine.
13774 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
13775 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
13776 __GI_strnlen.
13777 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
13778 libc_hidden_def.
13779 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
13780
13781 [BZ #18469]
13782 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
13783 weak alias of __towlower. Use libc_hidden_weak.
13784 (towupper): Rename to __towupper and define as weak alias of
13785 __towupper. Use libc_hidden_weak.
13786 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
13787 (__towupper): Likewise.
13788 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
13789 __towlower instead of towlower.
13790
13791 2015-06-02 Roland McGrath <roland@hack.frob.com>
13792
13793 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
13794 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
13795
13796 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13797
13798 * sysdeps/aarch64/libm-test-ulps: Update.
13799
13800 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13801
13802 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13803 Define.
13804 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13805 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13806 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13807 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13808 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
13809 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
13810 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
13811
13812 2015-06-01 Martin Sebor <msebor@redhat.com>
13813
13814 [BZ #18116]
13815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13816 (__setcontext): Use extended four-operand version of mtsf whenever
13817 possible.
13818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13819 (__novec_swapcontext): Likewise.
13820
13821 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13822
13823 * benchtests/scripts/compare_bench.py: New file.
13824 * benchtests/scripts/import_bench.py (mean): New function.
13825 (split_list): Likewise.
13826 (do_for_all_timings): Likewise.
13827 (compress_timings): Likewise.
13828
13829 * benchtests/scripts/import_bench.py: New file.
13830 * benchtests/scripts/validate_benchout.py: Import import_bench
13831 instead of jsonschema.
13832 (validate_bench): Remove function.
13833 (main): Use import_bench.
13834
13835 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
13836
13837 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
13838 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
13839
13840 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13841
13842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13843
13844 2015-05-28 Roland McGrath <roland@hack.frob.com>
13845
13846 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
13847 set THREAD_SELF->tid to a magic value and futex-wake it.
13848 Pass its address to the thread_exit system call.
13849 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
13850 bit is clear.
13851 * sysdeps/nacl/lowlevellock.h: New file.
13852 * sysdeps/nacl/lll_timedwait_tid.c: New file.
13853
13854 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
13855 Add TIMEOUT to current time, don't subtract it.
13856
13857 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
13858
13859 [BZ #2981]
13860 [BZ #18422]
13861 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
13862 ($(objpfx)tst-audit2.out): Also depend on
13863 $(objpfx)tst-auditmod9b.so.
13864 * elf/tst-audit2.c: Include <dlfcn.h>.
13865 (calloc_called): New.
13866 (calloc): Allow to be called more than once.
13867 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
13868
13869 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
13870
13871 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
13872 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
13873
13874 2015-05-27 Marko Myllynen <myllynen@redhat.com>
13875
13876 * stdlib/monetary.h: Fix comment.
13877
13878 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
13879
13880 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
13881 Avoid using variables in #defines that might cause shadowing.
13882 (INTERNAL_VSYSCALL_CALL): Likewise.
13883
13884 2015-05-26 Roland McGrath <roland@hack.frob.com>
13885
13886 * sysdeps/nacl/lll_timedlock_wait.c: New file.
13887
13888 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
13889 * nptl/lll_timedlock_wait.c: ... to this new file.
13890 * nptl/Makefile (libpthread-routines): Add it.
13891 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
13892 * nptl/lll_timedwait_tid.c: ... to this new file.
13893 * nptl/Makefile (libpthread-routines): Add it.
13894 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
13895 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
13896 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
13897 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
13898 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
13899 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
13900 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
13901 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
13902 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
13903 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
13904
13905 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13906
13907 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
13908 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13909 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13910 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
13911 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13912 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13913 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13914 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13915 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13916 * sysdeps/unix/sysv/linux/tile/sysdep.h
13917 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13918 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
13919 using vDSO syscall macro.
13920
13921 2015-05-26 Andriy Rysin <arysin@gmail.com>
13922
13923 [BZ #17293]
13924 * uk_UA: Fix sorting order for Ukrainian locale
13925
13926 2015-05-26 Marko Myllynen <myllynen@redhat.com>
13927
13928 * stdlib/monetary.h: Fix comment.
13929
13930 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
13931
13932 [BZ #18234]
13933 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
13934 st_mtim and st_ctim members.
13935 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
13936 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
13937 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
13938 (struct stat64): Likewise.
13939 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
13940 (struct stat64): Likewise.
13941 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
13942 (struct stat64): Likewise.
13943
13944 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13945
13946 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
13947 Define and include sysdep-vdso.h.
13948 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
13949 Likewise.
13950 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
13951 Likewise.
13952 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
13953 Define with VDSO_SYMBOL and use PTR_MANGLE.
13954 (__vdso_clock_gettime): Likewise.
13955 (__vdso_clock_getres): Likewise.
13956 (_libc_vdso_platform_setup): Likewise.
13957 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13958 Likewise.
13959 (_libc_vdso_platform_setup): Likewise.
13960 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
13961 Likewise.
13962 (__vdso_clock_gettime): Likewise.
13963 (__vdso_clock_getres): Likewise.
13964 (__vdso_get_tbfreq): Likewise.
13965 (__vdso_getcpu): Likewise.
13966 (__vdso_time): Likewise.
13967 (__vdso_sigtramp_rt64): Likewise.
13968 (__vdso_signtramp32): Likewise.
13969 (__vdso_sigtramp_rt32): Likewise.
13970 (_libc_vdso_platform_setup): Likewise.
13971 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
13972 Likewise.
13973 (__vdso_clock_gettime): Likewise.
13974 (__vdso_clock_getres): Likewise.
13975 (_libc_vdso_platform_setup): Likewise.
13976 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
13977 Likewise.
13978 (__vdso_clock_gettime): Likewise.
13979 (_libc_vdso_platform_setup): Likewise.
13980 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13981 Likewise.
13982 (__vdso_getcpu): Likewise.
13983 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
13984 Use VDSO_SYMBOL macro to define.
13985 (__vdso_clock_gettime): Likewise.
13986 (__vdso_clock_getres): Likewise.
13987 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
13988 Likewise.
13989 (__vdso_clock_gettime): Likewise.
13990 (__vdso_clock_getres): Likewise.
13991 (__vdso_get_tbfreq): Likewise.
13992 (__vdso_getcpu): Likewise.
13993 (__vdso_time): Likewise.
13994 (__vdso_sigtramp_rt64): Likewise.
13995 (__vdso_signtramp32): Likewise.
13996 (__vdso_sigtramp_rt32): Likewise.
13997 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
13998 Likewise.
13999 (__vdso_clock_gettime): Likewise.
14000 (__vdso_clock_getres): Likewise.
14001 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
14002 Likewise.
14003 (__vdso_clock_gettime): Likewise.
14004 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14005 Likewise.
14006 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
14007 macro.
14008 (INTERNAL_VSYSCALL): Likewise.
14009 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
14010 Remove macro.
14011 (INTERNAL_VSYSCALL): Likewise.
14012 (INTERNAL_VSYSCALL_NCS): Likewise.
14013 (INTERNAL_VSYSCALL_CALL): New macro.
14014 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14015 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
14016 Likewise.
14017 (INTERNAL_VSYSCALL): Likewise.
14018 (INTERNAL_VSYSCALL_NCS): Likewise.
14019 (INTERNAL_VSYSCALL_CALL): New macro.
14020 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14022 (INLINE_VSYSCALL): Remove macro.
14023 (INTERNAL_VSYSCALL): Remove macro.
14024 (INTERNAL_VSYSCALL_NCS): Remove macro.
14025 (INTERNAL_VSYSCALL_CALL): New macro.
14026 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
14027 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
14028 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14029 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
14030 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
14031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14032 (INLINE_VSYSCALL): Remove macro.
14033 (INTERNAL_VSYSCALL): Likewise.
14034 (INTERNAL_VSYSCALL_NCS): Likewise.
14035 (INTERNAL_VSYSCALL_CALL): New macro.
14036 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
14037 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
14038 PTR_DEMANGLE on vDSO pointer.
14039 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14040 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
14041 macro.
14042 (INTERNAL_SYSCALL): Likewise.
14043 (INTERNAL_VSYSCALL_NCS): Remove macro.
14044 (INTERNAL_VSYSCALL_CALL): New macro.
14045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
14046 Remove macro.
14047 (INTERNAL_VSYSCALL): Likewise.
14048 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
14049 sysdep-vdso.h instead of libc-vdso.h.
14050 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
14051 definition.
14052 (INLINE_VSYSCALL): Likewise.
14053 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
14054 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
14055 definition.
14056 (INLINE_VSYSCALL): Likewise.
14057 (INTERNAL_VSYSCALL): Likewise.
14058 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14059 * sysdeps/unix/sysv/linux/timespec_get.c
14060 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14061 (timespec_get): Use ANSI prototype.
14062 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
14063 and definition for Linux.
14064
14065 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
14066
14067 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
14068 * include/libc-symbols.h: libmvec_hidden_* macro series added.
14069
14070 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
14071
14072 [BZ #2981]
14073 [BZ #18410]
14074 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
14075 for missing DT_PLTRELSZ.
14076
14077 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
14078
14079 Remove obsolete aliases that broke 'locale -a'
14080 [BZ #18412]
14081 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
14082 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
14083 breaking some applications that use 'locale -a' output.
14084 Change the encoding of this file from Latin-1 to ASCII to avoid
14085 other potential problems with people grepping this file.
14086
14087 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14088
14089 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
14090 -fasynchronous-unwind-tables.
14091 (CFLAGS-sendto.c): Likewise.
14092 (CFLAGS-sendmsg.c): Likewise.
14093 (CFLAGS-connect.c): Likewise.
14094 (CFLAGS-recvmsg.c): Likewise.
14095 (CFLAGS-recvfrom.c): Likewise.
14096 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
14097 (SOCKETCALL): New macro: non-cancellable socketcall.
14098 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
14099 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
14100 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
14101 * sysdeps/unix/sysv/linux/accept.c: New file.
14102 * sysdeps/unix/sysv/linux/bind.c: Likewise.
14103 * sysdeps/unix/sysv/linux/connect.c: Likewise.
14104 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
14105 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
14106 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
14107 * sysdeps/unix/sysv/linux/listen.c: Likewise.
14108 * sysdeps/unix/sysv/linux/recv.c: Likewise.
14109 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
14110 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14111 * sysdeps/unix/sysv/linux/send.c: Likewise.
14112 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14113 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
14114 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
14115 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
14116 * sysdeps/unix/sysv/linux/socket.c: Likewise.
14117 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
14118 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
14119 prototype.
14120 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
14121 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14122 instead of __internal_xxx function.
14123 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
14124 prototype.
14125 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
14126 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14127 instead of __internal_xxx function.
14128 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
14129 prototype.
14130 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
14131 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14132 instead of __internal_xxx function.
14133 * sysdeps/unix/sysv/linux/accept.S: Remove file.
14134 * sysdeps/unix/sysv/linux/bind.S: Likewise.
14135 * sysdeps/unix/sysv/linux/connect.S: Likewise.
14136 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
14137 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
14138 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
14139 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
14140 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
14141 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
14142 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
14143 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
14144 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14145 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
14146 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
14147 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
14148 * sysdeps/unix/sysv/linux/listen.S: Likewise.
14149 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
14150 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
14151 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
14152 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
14153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
14154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
14155 * sysdeps/unix/sysv/linux/recv.S: Likewise.
14156 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
14157 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
14158 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
14159 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14160 * sysdeps/unix/sysv/linux/send.S: Likewise.
14161 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
14162 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
14163 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
14164 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
14165 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
14166 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
14167 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
14168 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
14169 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
14170 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
14171 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
14172 socketcall is implemented in GLIBC.
14173
14174 2015-05-22 Joseph Myers <joseph@codesourcery.com>
14175
14176 * soft-fp/fmadf4.c: Include <libc-internal.h>.
14177 (__fma): Ignore uninitialized warnings around packing.
14178 * soft-fp/fmasf4.c: Include <libc-internal.h>.
14179 (__fmaf): Ignore uninitialized warnings around packing.
14180 * soft-fp/fmatf4.c: Include <libc-internal.h>.
14181 (__fmal): Ignore uninitialized warnings around packing.
14182
14183 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
14184 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14185 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
14186 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14187
14188 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
14189 switch statement into default case.
14190 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
14191
14192 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
14193 a conditional in forcing "inexact".
14194 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14195 Likewise.
14196
14197 2015-05-22 Roland McGrath <roland@hack.frob.com>
14198
14199 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14200 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
14201 for each INTERNAL_SYSCALL use.
14202
14203 2015-05-22 Joseph Myers <joseph@codesourcery.com>
14204
14205 [BZ #438]
14206 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
14207 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
14208 variable.
14209
14210 [BZ #18444]
14211 * string/basename.c (basename): Rename to __basename and define as
14212 weak alias of __basename. Use libc_hidden_weak.
14213 * include/string.h (__basename): Declare. Use libc_hidden_proto.
14214 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
14215 __basename instead of basename.
14216 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
14217 Remove variable.
14218 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14219
14220 2015-05-18 Florian Weimer <fweimer@redhat.com>
14221
14222 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
14223 (_IO_JUMPS_FILE_plus): New.
14224 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
14225 _IO_CAST_FIELD_ACCESS.
14226 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
14227 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
14228 * libio/freopen.c (freopen): Likewise.
14229 * libio/freopen64.c (freopen64): Likewise.
14230 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
14231 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
14232 * libio/iofwide.c (_IO_fwide): Likewise.
14233 * libio/memstream.c (open_memstream): Likewise.
14234 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14235 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14236 * libio/oldiopopen.c (_IO_old_popen): Likewise.
14237
14238 2015-05-21 Joseph Myers <joseph@codesourcery.com>
14239
14240 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
14241 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
14242 NADJ.
14243 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
14244 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
14245 NADJ.
14246 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
14247 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
14248 NADJ.
14249
14250 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
14251 (p == 4) case.
14252
14253 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
14254 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
14255 Remove variable.
14256 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14257 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14258 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14259
14260 2015-05-21 Florian Weimer <fweimer@redhat.com>
14261
14262 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
14263 Adjust jump table label generation macros.
14264
14265 2015-05-21 Florian Weimer <fweimer@redhat.com>
14266
14267 * stdio-common/vfprintf.c (vfprintf): Move local variables
14268 args_malloced, specs, specs_malloced, and the code after
14269 do_positional to the printf_positional function.
14270 (printf_positional): New function.
14271
14272 2015-05-21 Florian Weimer <fweimer@redhat.com>
14273
14274 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
14275 function.
14276 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
14277 STEP4_TABLE, process_arg): Move macro definitions
14278 out of the vfprintf function. (Cosmetic change only.)
14279
14280 2015-05-21 Carlos O'Donell <carlos@redhat.com>
14281
14282 * benchtests/Makefile (stdio-common-bench): Define.
14283 (benchset): Add stdio-common-bench.
14284 * sprintf-inputs: New file.
14285 * sprintf-source.c: New file.
14286
14287 2015-05-21 Andreas Schwab <schwab@suse.de>
14288
14289 [BZ #13028]
14290 [BZ #17053]
14291 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
14292 of struct __res_state.
14293 * resolv/res_send.c (__libc_res_nsend): Likewise.
14294 (get_nsaddr): New function.
14295 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
14296 statp directly.
14297
14298 2015-05-20 Joseph Myers <joseph@codesourcery.com>
14299
14300 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
14301 -D_POSIX_C_SOURCE=199506L.
14302
14303 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
14304
14305 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
14306 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
14307 Do not mention otherwise.
14308 [POSIX] (_XOPEN_VERSION): Do not expect.
14309 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
14310 [POSIX] (_POSIX2_C_BIND): Likewise.
14311 [POSIX] (_POSIX2_VERSION): Likewise.
14312 [POSIX] (_XOPEN_XPG2): Likewise.
14313 [POSIX] (_XOPEN_XPG3): Likewise.
14314 [POSIX] (_XOPEN_XPG4): Likewise.
14315 [POSIX] (_XOPEN_UNIX): Likewise.
14316 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
14317 [POSIX] (_POSIX_BARRIERS): Likewise.
14318 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
14319 [POSIX] (_POSIX_CPUTIME): Likewise.
14320 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
14321 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
14322 [POSIX] (_POSIX_SHELL): Likewise.
14323 [POSIX] (_POSIX_SPAWN): Likewise.
14324 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
14325 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
14326 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
14327 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
14328 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
14329 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
14330 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
14331 [POSIX] (_XBS5_LP64_OFF64): Likewise.
14332 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
14333 [POSIX] (_POSIX_TIMEOUTS): Likewise.
14334 [POSIX] (_POSIX2_PBS): Likewise.
14335 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
14336 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
14337 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
14338 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
14339 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
14340 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
14341 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
14342 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
14343 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
14344 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
14345 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
14346 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
14347 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
14348 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
14349 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
14350 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
14351 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
14352 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
14353 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
14354 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
14355 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
14356 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
14357 [POSIX] (_SC_2_C_BIND): Likewise.
14358 [POSIX] (_SC_2_C_VERSION): Likewise.
14359 [POSIX] (_SC_2_PBS): Likewise.
14360 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
14361 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
14362 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
14363 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
14364 [POSIX] (_SC_2_PBS_TRACK): Likewise.
14365 [POSIX] (_SC_ATEXIT_MAX): Likewise.
14366 [POSIX] (_SC_BARRIERS): Likewise.
14367 [POSIX] (_SC_BASE): Likewise.
14368 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
14369 [POSIX] (_SC_DEVICE_IO): Likewise.
14370 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
14371 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
14372 [POSIX] (_SC_FD_MGMT): Likewise.
14373 [POSIX] (_SC_FIFO): Likewise.
14374 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
14375 [POSIX] (_SC_FILE_LOCKING): Likewise.
14376 [POSIX] (_SC_FILE_SYSTEM): Likewise.
14377 [POSIX] (_SC_IOV_MAX): Likewise.
14378 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
14379 [POSIX] (_SC_NETWORKING): Likewise.
14380 [POSIX] (_SC_PAGE_SIZE): Likewise.
14381 [POSIX] (_SC_PASS_MAX): Likewise.
14382 [POSIX] (_SC_PIPE): Likewise.
14383 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
14384 [POSIX] (_SC_REGEXP): Likewise.
14385 [POSIX] (_SC_SHELL): Likewise.
14386 [POSIX] (_SC_SIGNALS): Likewise.
14387 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
14388 [POSIX] (_SC_SPIN_LOCKS): Likewise.
14389 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
14390 [POSIX] (_SC_USER_GROUPS): Likewise.
14391 [POSIX] (_SC_USER_GROUPS_R): Likewise.
14392 [POSIX] (_SC_STREAMS): Likewise.
14393 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
14394 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
14395 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
14396 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
14397 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
14398 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
14399 [POSIX] (_PC_FILESIZEBITS): Likewise.
14400 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
14401 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
14402 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
14403 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
14404 [POSIX] (uid_t): Likewise.
14405 [POSIX] (gid_t): Likewise.
14406 [POSIX] (off_t): Likewise.
14407 [POSIX] (pid_t): Likewise.
14408 [POSIX] (cuserid): Allow.
14409 (_SC_2_CHAR_TERM): Require constant.
14410 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
14411 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
14412 variable.
14413
14414 2015-05-20 Roland McGrath <roland@hack.frob.com>
14415
14416 * sysdeps/nacl/pthread-pids.h: New file.
14417 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
14418 (create_thread): Use __nacl_get_tid to initialize PD->tid.
14419
14420 * nptl/pthread-pids.h: New file.
14421 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
14422 * nptl/nptl-init.c: Include <pthread-pids.h>.
14423 (__pthread_initialize_minimal_internal):
14424 Call __pthread_initialize_pids instead of set_tid_address syscall.
14425
14426 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
14427 * sysdeps/posix/usleep.c: ... here.
14428
14429 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14430
14431 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
14432 call_pselect6 object.
14433 [$(subdir) = io]: Remove call_sync_file_range object.
14434 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
14435 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
14436 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
14437 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
14438
14439 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
14440
14441 * math/s_cproj.c: Add include "math_private.h".
14442 * math/s_cprojf.c: Likewise.
14443 * math/s_cprojl.c: Likewise.
14444
14445 2015-05-19 Joseph Myers <joseph@codesourcery.com>
14446
14447 [BZ #18244]
14448 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
14449 high mantissa bit when testing whether P is a NaN.
14450 * math/libm-test.inc (remainder_test_data): Add more tests.
14451 (remquo_test_data): Likewise.
14452
14453 [BZ #18049]
14454 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
14455 below -32, return the argument, with underflow if subnormal.
14456 * math/auto-libm-test-in: Add more tests of atanh.
14457 * math/auto-libm-test-out: Regenerated.
14458
14459 2015-05-19 Roland McGrath <roland@hack.frob.com>
14460
14461 [BZ #18434]
14462 * nptl/tst-sem15.c: New file.
14463 * nptl/Makefile (tests): Add it.
14464 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
14465 s/<</>>/ to fix typo in EOVERFLOW check.
14466 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
14467
14468 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14469
14470 * manual/strings.texi (envz_remove): Fix typo in safety
14471 annotations.
14472
14473 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
14474 Steve Ellcey <sellcey@imgtec.com>
14475
14476 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
14477 in order to avoid strict alias warnings.
14478 (iruserok_af): Ditto for ra.
14479
14480 2015-05-19 James Lemke <jwlemke@codesourcery.com>
14481
14482 [BZ #17581]
14483 * malloc/hooks.c
14484 (magicbyte): Convert to a function and avoid returning 0x01.
14485 (mem2mem_check): Avoid using a length byte equal to the magic byte.
14486 (mem2chunk_check): Fix unsigned comparisons to zero.
14487 Hoist defs of sz and magic.
14488
14489 2015-05-19 Richard Henderson <rth@redhat.com>
14490
14491 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
14492
14493 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14494
14495 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14496
14497 [BZ #16159]
14498 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
14499 * malloc/arena.c (arena_lock): Check if arena is corrupt.
14500 (reused_arena): Find a non-corrupt arena.
14501 (heap_trim): Pass arena to unlink.
14502 * malloc/hooks.c (malloc_check_get_size): Pass arena to
14503 malloc_printerr.
14504 (top_check): Likewise.
14505 (free_check): Likewise.
14506 (realloc_check): Likewise.
14507 * malloc/malloc.c (malloc_printerr): Add arena argument.
14508 (unlink): Likewise.
14509 (munmap_chunk): Adjust.
14510 (ARENA_CORRUPTION_BIT): New macro.
14511 (arena_is_corrupt): Likewise.
14512 (set_arena_corrupt): Likewise.
14513 (sysmalloc): Use mmap if there are no usable arenas.
14514 (_int_malloc): Likewise.
14515 (__libc_malloc): Don't fail if arena_get returns NULL.
14516 (_mid_memalign): Likewise.
14517 (__libc_calloc): Likewise.
14518 (__libc_realloc): Adjust for additional argument to
14519 malloc_printerr.
14520 (_int_free): Likewise.
14521 (malloc_consolidate): Likewise.
14522 (_int_realloc): Likewise.
14523 (_int_memalign): Don't touch corrupt arenas.
14524 * malloc/tst-malloc-backtrace.c: New test case.
14525
14526 * Makefile (summarize-tests): Fix return value on success.
14527
14528 * manual/string.texi (Envz Functions): Add envz_remove.
14529
14530 2015-05-18 Roland McGrath <roland@hack.frob.com>
14531
14532 * sysdeps/posix/opendir.c: Include <stdbool.h>.
14533 (invalid_name): New function, broken out of ...
14534 (__opendirat): ... here. Call it.
14535 (need_isdir_precheck): New function, broken out of ...
14536 (__opendirat): ... here. Call it.
14537 Use __fxstatat64, not __xstatat64.
14538 (opendir_oflags): New function, broken out of ...
14539 (__opendirat): ... here. Call it.
14540 (opendir_tail): New function, broken out of ...
14541 (__opendirat): ... here. Call it.
14542 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
14543 opendir_tail, rather than punting to __opendirat.
14544 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
14545
14546 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14547
14548 * .gitignore: Ignore generated *.pyc.
14549
14550 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
14551
14552 * include/stdio.h: Define __need_wint_t.
14553 * test-skeleton.c: Avoid `for' loop initial declaration.
14554 * nptl/tst-initializers1.c: Use test-skeleton.c.
14555
14556 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14557
14558 [BZ #18418]
14559 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
14560
14561 2015-05-15 Joseph Myers <joseph@codesourcery.com>
14562
14563 [BZ #16352]
14564 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
14565 (__ieee754_atanh): Force underflow exception for results with
14566 small absolute value.
14567 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
14568 (__ieee754_atanhf): Force underflow exception for results with
14569 small absolute value.
14570 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
14571 (__ieee754_atanh): Force underflow exception for results with
14572 small absolute value.
14573 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
14574 (__ieee754_atanhf): Force underflow exception for results with
14575 small absolute value.
14576 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
14577 (__ieee754_atanhl): Force underflow exception for results with
14578 small absolute value.
14579 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
14580 (__ieee754_atanhl): Force underflow exception for results with
14581 small absolute value.
14582 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
14583 (__ieee754_atanhl): Force underflow exception for results with
14584 small absolute value.
14585 * math/auto-libm-test-in: Do not allow missing underflow
14586 exceptions from atanh.
14587 * math/auto-libm-test-out: Regenerated.
14588
14589 [BZ #18221]
14590 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
14591 2**-28 as threshold for returning x or +/- 1/x.
14592 * math/auto-libm-test-in: Add more tests of tan.
14593 * math/auto-libm-test-out: Regenerated.
14594
14595 [BZ #18220]
14596 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14597 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
14598 * math/auto-libm-test-in: Add another test of lgamma.
14599 * math/auto-libm-test-out: Regenerated.
14600
14601 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
14602
14603 * stdio-common/printf_fp.c (___printf_fp): Use abs.
14604 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
14605 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
14606 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
14607 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
14608 (ADD2A): Use fabs. (SUB2A): Use fabs.
14609 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
14610 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
14611 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
14612 (log1): Use fabs. (my_log2): Use fabs.
14613 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
14614 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
14615 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
14616 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
14617 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
14618 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
14619 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
14620 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
14621 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
14622 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
14623 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
14624
14625 2015-05-15 Joseph Myers <joseph@codesourcery.com>
14626
14627 [BZ #18217]
14628 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
14629 as threshold for returning 1 - x.
14630 * math/auto-libm-test-in: Add more tests of erfc.
14631 * math/auto-libm-test-out: Regenerated.
14632
14633 2015-05-14 Joseph Myers <joseph@codesourcery.com>
14634
14635 [BZ #18196]
14636 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
14637 threshold for large arguments.
14638 * math/auto-libm-test-in: Add another test of atan.
14639 * math/auto-libm-test-out: Regenerated.
14640
14641 [BZ #16339]
14642 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
14643 (__log1p): Force underflow exception for results with small
14644 absolute value.
14645 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
14646 (__log1pf): Force underflow exception for results with small
14647 absolute value.
14648 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
14649 (__log1p): Force underflow exception for results with small
14650 absolute value.
14651 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
14652 (__log1pf): Force underflow exception for results with small
14653 absolute value.
14654 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
14655 (__log1pl): Force underflow exception for results with small
14656 absolute value.
14657 * math/auto-libm-test-in: Do not allow missing underflow
14658 exceptions from log1p.
14659 * math/auto-libm-test-out: Regenerated.
14660
14661 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
14662 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14663
14664 [BZ #16704]
14665 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
14666
14667 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
14668
14669 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
14670 (libmvec): New variable.
14671 * configure.ac: Added option for mathvec build.
14672 * configure: Regenerated.
14673 * mathvec/Depend: New file.
14674 * mathvec/Makefile: New file.
14675 * shlib-versions: Added libmvec.
14676 * math/Makefile: Added rule for libm.so installation.
14677
14678 * bits/math-vector.h: New file.
14679 * bits/libm-simd-decl-stubs.h: New header.
14680 * math/Makefile (headers): Added new header
14681 libm-simd-decl-stubs.h.
14682 * math/math.h (__MATHCALL_VEC): New macro.
14683
14684 * math/gen-libm-have-vector-test.sh: Script generates series of macros
14685 for conditions in testing functions.
14686 * math/Makefile: Added call of libm-have-vector-test.sh.
14687 * math/libm-test.inc (HAVE_VECTOR): New macros.
14688
14689 * math/libm-test.inc: START refactored.
14690 * math/test-double.c (TEST_MATHVEC): Add define.
14691 * math/test-float.c: Likewise.
14692 * math/test-idouble.c: Likewise.
14693 * math/test-ifloat.c: Likewise.
14694 * math/test-ildoubl.c: Likewise.
14695 * math/test-ldouble.c: Likewise.
14696 * sysdeps/generic/math-tests-arch.h
14697 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
14698 architecture check.
14699
14700 * math/test-double.c (FUNC_TEST): New macro.
14701 * math/test-float.c: Likewise.
14702 * math/test-idouble.c: Likewise.
14703 * math/test-ifloat.c: Likewise.
14704 * math/test-ildoubl.c: Likewise.
14705 * math/test-ldouble.c: Likewise.
14706 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
14707
14708 2015-05-13 Roland McGrath <roland@hack.frob.com>
14709
14710 * sysdeps/nacl/fdopendir.c: New file.
14711
14712 * dirent/scandir-tail.c: New file.
14713 * dirent/scandir64-tail.c: New file.
14714 * dirent/Makefile (routines): Add them.
14715 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
14716 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
14717 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
14718 [!SCANDIR] (SCANDIR_TAIL): New macro.
14719 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
14720 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
14721 (SCANDIRAT): Macro removed.
14722 (SCANDIR_TAIL): New macro.
14723 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
14724 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
14725 (SCANDIRAT): Just call __opendirat and __scandir_tail.
14726 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
14727 (READDIR): Macro removed.
14728 (SCANDIR_TAIL): New macro.
14729 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
14730 (SCANDIR_TAIL): New macro.
14731
14732 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
14733 * dirent/scandir-cancel.c: ... to this new file.
14734 * dirent/Makefile (routines): Add it.
14735 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
14736 * sysdeps/unix/sysv/linux/i386/scandir64.c
14737 (SKIP_SCANDIR_CANCEL): Macro removed.
14738 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
14739
14740 * dirent/tst-scandir.c: New file.
14741 * dirent/tst-scandir64.c: New file.
14742 * dirent/Makefile (tests): Add them.
14743
14744 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
14745
14746 [BZ #18409]
14747 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
14748
14749 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
14750
14751 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
14752 list.
14753
14754 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
14755
14756 * benchtests/bench-strcoll.c: New benchmark.
14757 * benchtests/Makefile: Generate locales and run benchmark.
14758 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
14759 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14760 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
14761 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
14762 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
14763 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
14764 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
14765 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
14766 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
14767 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
14768 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
14769 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
14770 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
14771 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
14772 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
14773 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
14774 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
14775 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
14776 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
14777 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
14778 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
14779 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
14780 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
14781 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
14782
14783 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
14784
14785 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
14786 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14787
14788 2015-05-12 Roland McGrath <roland@hack.frob.com>
14789
14790 * posix/uname-values.h: New file.
14791 * posix/uname.c: Include that instead of <config-name.h>.
14792 * sysdeps/nacl/uname-values.h: New file.
14793 * sysdeps/arm/nacl/uname-values.h: New file.
14794
14795 2015-05-12 Joseph Myers <joseph@codesourcery.com>
14796
14797 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
14798 splitting into fields.
14799
14800 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
14801
14802 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
14803 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
14804 * locale/localeinfo.h: Add enum collation_encoding_type.
14805 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
14806 * programs/ld-collate.c (collate_output): Add encoding type info.
14807 * string/strcoll_l.c (STRDIFF): New function.
14808 * (STRCOLL): Use STRDIFF to skip over equal prefix.
14809 * wcsmbs/wcscoll_l.c: Define STRDIFF.
14810
14811 2015-05-11 Joseph Myers <joseph@codesourcery.com>
14812
14813 [BZ #18397]
14814 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
14815 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
14816 <fpu_control.h> instead of <math/fpu_control.c>.
14817 * sysdeps/mips/mips32/fpu/Makefile: New file.
14818
14819 2015-05-11 Andreas Schwab <schwab@suse.de>
14820
14821 [BZ #18007]
14822 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
14823 nss_endgrent.
14824 (_nss_compat_endgrent): Call nss_endgrent.
14825 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
14826 nss_endpwent.
14827 (_nss_compat_endpwent): Call nss_endpwent.
14828 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
14829 needent, call nss_setspent only if non-zero.
14830 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
14831 (internal_endspent): Don't call nss_endspent.
14832 (_nss_compat_endspent): Call nss_endspent.
14833 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
14834 Remove. All uses removed.
14835 (internal_setent): Remove parameter stayopen, add parameter
14836 stream. Use it instead of global variable.
14837 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
14838 (internal_endent, internal_getent): Add parameter stream. Use it
14839 instead of global variable.
14840 (CONCAT(_nss_files_end,ENTNAME))
14841 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
14842 (_nss_files_get##name##_r): Pass local stream. Remove locking.
14843 * nss/nss_files/files-alias.c (position, last_use): Remove. All
14844 uses removed.
14845 (internal_setent, internal_endent): Add parameter stream. Use it
14846 instead of global variable.
14847 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
14848 stream.
14849 (get_next_alias): Add parameter stream.
14850 (_nss_files_getaliasent_r): Pass global stream.
14851 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
14852 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
14853 (_nss_files_gethostbyname4_r): Pass local stream to
14854 internal_setent, internal_getent and internal_endent. Remove
14855 locking.
14856
14857 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14858
14859 * tst-strfmon1.c (tests): Update expected currency symbol.
14860
14861 2015-05-08 Roland McGrath <roland@hack.frob.com>
14862
14863 * sysdeps/nacl/gethostname.c: New file.
14864
14865 2015-05-08 Joseph Myers <joseph@codesourcery.com>
14866
14867 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
14868 and sinh.
14869 * math/auto-libm-test-out: Regenerated.
14870 * sysdeps/i386/fpu/libm-test-ulps: Update.
14871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14872
14873 2015-05-08 Carlos O'Donell <carlos@redhat.com>
14874
14875 [BZ #18125]
14876 * stdlib/tst-setcontext3.c: New file.
14877 * stdlib/tst-setcontext3.sh: New file.
14878 * stdlib/Makefile (tests): Add tst-setcontext3.
14879 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
14880 to verify test program created output file.
14881 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
14882 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
14883 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
14884 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
14885
14886 2015-05-06 Roland McGrath <roland@hack.frob.com>
14887
14888 [BZ #18383]
14889 * elf/tst-tlsalign.c: New file.
14890 * elf/tst-tlsalign-static.c: New file.
14891 * elf/tst-tlsalign-lib.c: New file.
14892 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
14893 (tests-static): Add tst-tlsalign-static.
14894 (modules-names): Add tst-tlsalign-lib.
14895 (test-xfail-tst-tlsalign): New variable.
14896 (test-xfail-tst-tlsalign-static): New variable.
14897
14898 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
14899 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
14900
14901 2015-05-06 Joseph Myers <joseph@codesourcery.com>
14902
14903 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
14904 csqrt, erfc, sin and sincos.
14905 * math/auto-libm-test-out: Regenerated.
14906 * sysdeps/i386/fpu/libm-test-ulps: Update.
14907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14908
14909 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14910
14911 * sysdeps/aarch64/libm-test-ulps: Update.
14912
14913 2015-05-05 Joseph Myers <joseph@codesourcery.com>
14914
14915 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
14916 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
14917 * math/auto-libm-test-out: Regenerated.
14918 * sysdeps/i386/fpu/libm-test-ulps: Update.
14919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14920
14921 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
14922
14923 [BZ #18265]
14924 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
14925 (wcsncpy): Likewise.
14926
14927 2015-05-05 Florian Weimer <fweimer@redhat.com>
14928
14929 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14930 Assume __ASSUME_FALLOCATE is always true.
14931 * sysdeps/unix/sysv/linux/posix_fallocate64.c
14932 (__posix_fallocate64_l64): Likweise.
14933 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
14934 (posix_fallocate): Likewise.
14935 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
14936 (__posix_fallocate64_l64): Likewise.
14937 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14938 [!__ASSUME_FALLOCATE]: Add comment.
14939
14940 2015-05-05 Florian Weimer <fweimer@redhat.com>
14941
14942 * sysdeps/unix/sysv/linux/i386/Makefile
14943 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
14944 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
14945 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
14946 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14947 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14948 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
14949 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
14950
14951 2015-05-02 Joseph Myers <joseph@codesourcery.com>
14952
14953 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
14954 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
14955 tgamma.
14956 * math/auto-libm-test-out: Regenerated.
14957 * sysdeps/i386/fpu/libm-test-ulps: Update.
14958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14959
14960 2015-05-01 Joseph Myers <joseph@codesourcery.com>
14961
14962 * math/auto-libm-test-in: Add more tests of tgamma.
14963 * math/auto-libm-test-out: Regenerated.
14964 * sysdeps/i386/fpu/libm-test-ulps: Update.
14965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14966
14967 * math/auto-libm-test-in: Add more tests of tanh.
14968 * math/auto-libm-test-out: Regenerated.
14969 * sysdeps/i386/fpu/libm-test-ulps: Update.
14970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14971
14972 * math/auto-libm-test-in: Add more tests of tan.
14973 * math/auto-libm-test-out: Regenerated.
14974 * sysdeps/i386/fpu/libm-test-ulps: Update.
14975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14976
14977 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
14978 * math/auto-libm-test-out: Regenerated.
14979 * sysdeps/i386/fpu/libm-test-ulps: Update.
14980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14981
14982 * math/auto-libm-test-in: Add another test of pow.
14983 * math/auto-libm-test-out: Regenerated.
14984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14985
14986 * math/auto-libm-test-in: Add more tests of lgamma.
14987 * math/auto-libm-test-out: Regenerated.
14988 * sysdeps/i386/fpu/libm-test-ulps: Update.
14989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14990
14991 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
14992 log1p.
14993 * math/auto-libm-test-out: Regenerated.
14994 * sysdeps/i386/fpu/libm-test-ulps: Update.
14995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14996
14997 2015-05-01 Mark Wielaard <mjw@redhat.com>
14998
14999 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
15000 Elf64_Chdr structs and ELFCOMPRESS constants.
15001
15002 2015-05-01 Joseph Myers <joseph@codesourcery.com>
15003
15004 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
15005 expm1.
15006 * math/auto-libm-test-out: Regenerated.
15007 * sysdeps/i386/fpu/libm-test-ulps: Update.
15008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15009
15010 * math/auto-libm-test-in: Add more tests of erf and erfc.
15011 * math/auto-libm-test-out: Regenerated.
15012 * sysdeps/i386/fpu/libm-test-ulps: Update.
15013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15014
15015 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
15016
15017 * config.h.in (HAVE_AARCH64_BE): Add.
15018
15019 2015-04-30 Joseph Myers <joseph@codesourcery.com>
15020
15021 * math/auto-libm-test-in: Add more tests of csqrt.
15022 * math/auto-libm-test-out: Regenerated.
15023 * sysdeps/i386/fpu/libm-test-ulps: Update.
15024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15025
15026 * math/auto-libm-test-in: Add more tests of cosh and sinh.
15027 * math/auto-libm-test-out: Regenerated.
15028 * sysdeps/i386/fpu/libm-test-ulps: Update.
15029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15030
15031 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
15032
15033 2015-04-29 Roland McGrath <roland@hack.frob.com>
15034
15035 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
15036 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
15037
15038 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
15039 (euidaccess, eaccess): Define as weak aliases.
15040
15041 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
15042 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
15043 but __suseconds_t is often 'long int' so some sources assume that
15044 type is being used (e.g. they use %ld to print tv_usec).
15045
15046 2015-04-29 Florian Weimer <fweimer@redhat.com>
15047
15048 [BZ #18007]
15049 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
15050 (CVE-2014-8121)
15051 * nss/tst-nss-getpwent.c: New file.
15052 * nss/Makefile (tests): Add new test.
15053
15054 2015-04-28 Joseph Myers <joseph@codesourcery.com>
15055
15056 [BZ #18346]
15057 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
15058 exponents less than 48 as cases where high part of mantissa needs
15059 examining to determine whether argument is integral.
15060 * math/libm-test.inc (round_test_data): Add more tests.
15061
15062 2015-04-28 Mark Wielaard <mjw@redhat.com>
15063
15064 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
15065
15066 2015-04-27 David S. Miller <davem@davemloft.net>
15067
15068 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
15069 __tls_get_addr.
15070 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
15071
15072 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
15073
15074 [BZ#18333]
15075 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
15076
15077 2015-04-27 Florian Weimer <fweimer@redhat.com>
15078
15079 [BZ#18333]
15080 * time/tzset.c (parse_tzname): Return error on memory allocation
15081 failure.
15082 * test-skeleton.c (struct temp_name_list): Change type of name
15083 member to non-const.
15084 (add_temp_file): Create a copy of the file name.
15085 (delete_temp_files): Deallocate memory.
15086 (create_temp_file): Add comment.
15087
15088 2015-04-24 Florian Weimer <fweimer@redhat.com>
15089
15090 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
15091 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
15092
15093 2015-04-24 Roland McGrath <roland@hack.frob.com>
15094
15095 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
15096 * sysdeps/arm/configure: Regenerated.
15097
15098 2015-04-24 Florian Weimer <fweimer@redhat.com>
15099
15100 [BZ #17715]
15101 * time/tzfile.c (__tzfile_read): Check for large values of
15102 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
15103 * time/tzset.c (__tzstring_len): New function, based on the old
15104 __tzstring function.
15105 (__tzstring): Call __tzstring_len.
15106 (parse_tzname): New helper function extracted from
15107 __tzset_parse_tz. Call __tzstring_len, without making a copy of
15108 the input string.
15109 (parse_offset): New helper function extracted from
15110 __tzset_parse_tz. Replace switch with fallthrough with
15111 initialization before sscanf.
15112 (parse_rule): Likewise.
15113 (__tzset_parse_tz): Rewrite using the new helper functions. Use
15114 new-style function definition.
15115 * timezone/Makefile (tests): Add tst-tzset.
15116 (tst-tzset.out): Dependencies on time zone files.
15117 (tst-tzset-ENV): Set TZDIR.
15118 (testdata/XT%): Copy crafted time zone files.
15119 * timezone/README: Mention crafted time zone files.
15120 * timezone/testdata/XT1, timezone/testdata/XT2,
15121 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
15122 files.
15123 * timezone/tst-tzset.c: New test.
15124
15125 2015-04-24 Florian Weimer <fweimer@redhat.com>
15126
15127 * Makeconfig (+gccwarn): Remove -Winline.
15128
15129 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15130
15131 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
15132
15133 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15134
15135 * NEWS: Mention sysconf() cache information support for s390.
15136 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
15137
15138 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
15139
15140 * math/k_casinh.c (__kernel_casinh): Use __copysign.
15141 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
15142 (__nearbyint): Likewise.
15143 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
15144 (copysignl): Likewise.
15145
15146 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
15147
15148 [BZ #18287]
15149 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
15150 based on padding. (CVE-2015-1781)
15151
15152 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15153
15154 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
15155 libc-vdso.h.
15156 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
15157 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
15158 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
15159 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15160 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15161 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
15162 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
15163 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15164 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15165 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
15166 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15167 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15168 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15169 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
15170 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15171 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
15172 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
15173 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
15174 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
15175 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
15176 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
15177 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
15178 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
15179
15180 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
15181
15182 * stdlib/setenv.c (__add_to_environ):
15183 Dump core quickly if setenv (..., NULL, ...) is called.
15184 This time, do it the right way, and pacify GCC with a pragma.
15185
15186 2015-04-17 Roland McGrath <roland@hack.frob.com>
15187
15188 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
15189 IMAP->l_prev cannot be null, and #if out the code for the contrary
15190 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
15191 believe that NS (&_dl_ns[NSID]) could point outside the array.
15192
15193 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
15194 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
15195 before using NSID as an index.
15196
15197 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
15198
15199 [BZ #17825]
15200 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
15201 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
15202 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15203
15204 2015-04-17 Roland McGrath <roland@hack.frob.com>
15205
15206 Add preliminary port to Google Native Client on ARM.
15207 * abi-tags (.*-.*-nacl.*): New entry.
15208 * sysdeps/arm/nacl: New directory.
15209 * sysdeps/nacl: New directory.
15210
15211 2015-04-16 David S. Miller <davem@davemloft.net>
15212
15213 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
15214 lowlevellock-futex.h
15215
15216 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
15217
15218 * sysdeps/tile/configure.ac: New file.
15219 * sysdeps/tile/configure: Regenerated.
15220
15221 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15222
15223 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
15224 conditionals for weak_alias and libc_hidden_weak.
15225 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
15226 libc_hidden_weak and weak_alias.
15227 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
15228 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
15229 and weak_alias for static one.
15230
15231 2015-04-15 David S. Miller <davem@davemloft.net>
15232
15233 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15234
15235 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15236
15237 [BZ #18206]
15238 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
15239 Use signed comparision instead of substraction to avoid
15240 overflow bug.
15241 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
15242 Take the sign of ret.
15243 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
15244 Do not expect precise return values. Only the sign matters.
15245 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
15246 * wcsmbs/test-wcsncmp.c: New File.
15247 * string/test-strncmp.c: Add wcsncmp support.
15248
15249 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15250
15251 [BZ #6792]
15252 * math/w_log1p.c: New file.
15253 * math/w_log1pf.c: Likewise.
15254 * math/w_log1pl.c: Likewise.
15255 * math/Makefile (libm-calls): Add w_log1p.
15256 * math/s_log1pl.c (log1pl): Remove weak_alias.
15257 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
15258 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
15259 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
15260 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
15261 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
15262 [NO_LONG_DOUBLE] (log1pl): Likewise.
15263 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
15264 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
15265 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
15266 (log1p): Remove long_double_symbol.
15267 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
15268 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
15269 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
15270 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
15271 remove weak_alias for corresponding log1p function.
15272 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
15273 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15274 * sysdeps/ia64/fpu/w_log1p.c: New file.
15275 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
15276 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
15277 * math/libm-test.inc (log1p_test_data): Add errno expectations.
15278
15279 2015-04-10 Joseph Myers <joseph@codesourcery.com>
15280
15281 [BZ #18247]
15282 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
15283 decimal exponent by 1.
15284 * stdlib/tst-strtod-round-data: Add more tests.
15285 * stdlib/tst-strtod-round.c (tests): Regenerated.
15286
15287 2015-04-09 Joseph Myers <joseph@codesourcery.com>
15288
15289 * math/auto-libm-test-in: Add more tests of clog and clog10.
15290 * math/auto-libm-test-out: Regenerated.
15291 * sysdeps/i386/fpu/libm-test-ulps: Update.
15292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15293
15294 2015-04-09 Roland McGrath <roland@hack.frob.com>
15295
15296 * Makeconfig (module-cppflags): Exclude all .v.i files.
15297 (skip-module-cppflags): Variable removed.
15298
15299 * configure.ac (libc_config_ok): Initialize before reading
15300 preconfigure scripts, not after.
15301 * configure: Regenerated.
15302
15303 * test-skeleton.c (TIMEOUT): Move #define to top level.
15304 (main): Grok environment variable TEST_DIRECT. If set, print
15305 test expectation details into that file and then behave as if
15306 given --direct.
15307
15308 2015-04-09 Florian Weimer <fweimer@redhat.com>
15309
15310 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
15311 warning on 32-bit.
15312
15313 2015-04-08 David S. Miller <davem@davemloft.net>
15314
15315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15316
15317 2015-04-08 Joseph Myers <joseph@codesourcery.com>
15318
15319 * math/auto-libm-test-in: Add more tests of atanh.
15320 * math/auto-libm-test-out: Regenerated.
15321 * sysdeps/i386/fpu/libm-test-ulps: Update.
15322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15323
15324 * math/auto-libm-test-in: Add more tests of atan.
15325 * math/auto-libm-test-out: Regenerated.
15326 * sysdeps/i386/fpu/libm-test-ulps: Update.
15327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15328
15329 2015-04-08 Florian Weimer <fweimer@redhat.com>
15330
15331 * elf/pldd.c (main): Rewrite to use struct
15332 scratch_buffer instead of extend_alloca.
15333 * elf/pldd-xx.c (find_maps): Likewise.
15334 * grp/initgroups.c: Include <scratch_buffer.h> instead of
15335 <alloca.h>.
15336 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
15337 scratch_buffer instead of extend_alloca.
15338 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
15339 grp/compat-initgroups.c.
15340 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
15341 Rewrite to use struct scratch_buffer instead of extend_alloca.
15342 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
15343 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15344
15345 2015-04-08 Joseph Myers <joseph@codesourcery.com>
15346
15347 * math/auto-libm-test-in: Add more tests of cbrt.
15348 * math/auto-libm-test-out: Regenerated.
15349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15350
15351 * math/auto-libm-test-in: Add more tests of cabs.
15352 * math/auto-libm-test-out: Regenerated.
15353 * sysdeps/i386/fpu/libm-test-ulps: Update.
15354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15355
15356 [BZ #18210]
15357 [BZ #18211]
15358 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
15359 (__ieee754_atan2): Set FE_TONEAREST mode for internal
15360 computations.
15361 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
15362 clog10.
15363 * math/auto-libm-test-out: Regenerated.
15364 * sysdeps/i386/fpu/libm-test-ulps: Update.
15365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15366
15367 [BZ #18197]
15368 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
15369 (atan): Set FE_TONEAREST mode for internal computations.
15370 * math/auto-libm-test-in: Add more tests of atan.
15371 * math/auto-libm-test-out: Regenerated.
15372
15373 2015-04-07 James Cowgill <james410@cowgill.org.uk>
15374
15375 [BZ #17930]
15376 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
15377
15378 2015-04-07 Florian Weimer <fweimer@redhat.com>
15379
15380 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
15381
15382 2015-04-07 Florian Weimer <fweimer@redhat.com>
15383
15384 * include/scratch_buffer.h: New file.
15385 * malloc/scratch_buffer_grow.c: Likewise.
15386 * malloc/scratch_buffer_grow_preserve.c: Likewise.
15387 * malloc/scratch_buffer_set_array_size.c: Likewise.
15388 * malloc/tst-scratch_buffer.c: Likewise.
15389 * malloc/Makefile (routines): Add scratch_buffer_grow.
15390 (tests): Add test case.
15391 * malloc/Versions (GLIBC_PRIVATE): Export
15392 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
15393 __libc_scratch_buffer_set_array_size.
15394
15395 2015-04-06 Richard Henderson <rth@redhat.com>
15396
15397 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
15398 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15399
15400 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
15401 unsigned int before printing.
15402
15403 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15404
15405 [BZ #17596]
15406 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
15407 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15408
15409 2015-04-02 Florian Weimer <fweimer@redhat.com>
15410
15411 * include/libc-internal.h (libc_max_align_t): Define.
15412
15413 2015-04-02 Andreas Schwab <schwab@suse.de>
15414
15415 [BZ #16850]
15416 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
15417
15418 2015-04-02 Mel Gorman <mgorman@suse.de>
15419
15420 [BZ #17195]
15421 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
15422 as well as the main arena.
15423
15424 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
15425
15426 [BZ #18185]
15427 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
15428 sharing L2 cache to 2 for Silvermont/Knights Landing.
15429
15430 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
15431
15432 [BZ #17711]
15433 * config.make.in (have-protected-data): New.
15434 * configure.ac: Check linker support for protected data symbol.
15435 * configure: Regenerated.
15436 * elf/Makefile (modules-names): Add tst-protected1moda and
15437 tst-protected1modb if $(have-protected-data) is yes.
15438 (tests): Add tst-protected1a and tst-protected1b if
15439 $(have-protected-data) is yes.
15440 ($(objpfx)tst-protected1a): New.
15441 ($(objpfx)tst-protected1b): Likewise.
15442 (tst-protected1modb.so-no-z-defs): Likewise.
15443 * elf/tst-protected1a.c: New file.
15444 * elf/tst-protected1b.c: Likewise.
15445 * elf/tst-protected1mod.h: Likewise.
15446 * elf/tst-protected1moda.c: Likewise.
15447 * elf/tst-protected1modb.c: Likewise.
15448
15449 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
15450
15451 [BZ #17711]
15452 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
15453 indicates it is called from do_lookup_x on relocation against
15454 protected data, skip the data definion in the executable from
15455 copy reloc.
15456 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
15457 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
15458 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
15459 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
15460 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
15461 otherwise to 0.
15462 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15463 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
15464 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
15465 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15466 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
15467 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
15468
15469 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
15470
15471 * sysdeps/nptl/pthread.h: Remove duplicate definition of
15472 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
15473
15474 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
15475
15476 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
15477 THREAD_SETMEM_NC.
15478 * sysdeps/x86_64/nptl/tls.h: Ditto.
15479
15480 2015-03-27 Roland McGrath <roland@hack.frob.com>
15481
15482 * dlfcn/tststatic.c (main): Converted to ...
15483 (do_test): ... this.
15484 (TEST_FUNCTION): New macro.
15485 Include test-skeleton.c.
15486
15487 2015-03-26 Alan Modra <amodra@gmail.com>
15488
15489 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
15490 Don't segfault if ifunc resolver returns a NULL. Do set plt to
15491 zero for undefined weak.
15492 (elf_machine_plt_conflict): Similarly.
15493
15494 2015-03-25 Joseph Myers <joseph@codesourcery.com>
15495
15496 * math/auto-libm-test-in: Add more tests of acosh, asinh and
15497 atanh.
15498 * math/auto-libm-test-out: Regenerated.
15499 * sysdeps/i386/fpu/libm-test-ulps: Update.
15500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15501
15502 * math/auto-libm-test-in: Add another test of asin.
15503 * math/auto-libm-test-out: Regenerated.
15504 * sysdeps/i386/fpu/libm-test-ulps: Update.
15505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15506
15507 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
15508 Remove macro.
15509 (LLL_EBX_REG): Likewise.
15510 (LLL_ENTER_KERNEL): Likewise.
15511
15512 * math/auto-libm-test-in: Add more tests of asin.
15513 * math/auto-libm-test-out: Regenerated.
15514 * sysdeps/i386/fpu/libm-test-ulps: Update.
15515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15516
15517 [BZ #18138]
15518 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
15519 libc_do_syscall_args): New structure.
15520 (INTERNAL_SYSCALL_MAIN_0): New macro.
15521 (INTERNAL_SYSCALL_MAIN_1): Likewise.
15522 (INTERNAL_SYSCALL_MAIN_2): Likewise.
15523 (INTERNAL_SYSCALL_MAIN_3): Likewise.
15524 (INTERNAL_SYSCALL_MAIN_4): Likewise.
15525 (INTERNAL_SYSCALL_MAIN_5): Likewise.
15526 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
15527 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
15528 Replace conditional definitions by conditional definitions of ....
15529 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
15530 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
15531 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
15532 (libpthread-sysdep_routines): Add libc-do-syscall.
15533 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
15534 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
15535 to __NR_futex not 240.
15536
15537 2015-03-25 Alan Modra <amodra@gmail.com>
15538
15539 * NEWS: Advertise TLS optimization.
15540 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
15541 (DT_PPC_NUM): Increment.
15542 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
15543 (CHECK_STATIC_TLS): Use here.
15544 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
15545 TLS descriptors.
15546 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15547 * sysdeps/powerpc/dl-tls.c: New file.
15548 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
15549 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
15550 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
15551 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
15552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
15553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15555
15556 2015-03-25 Alan Modra <amodra@gmail.com>
15557
15558 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
15559 for overlapping .opd entries" to "support...".
15560 * sysdeps/powerpc/powerpc64/configure: Regenerate
15561
15562 2015-03-25 Joseph Myers <joseph@codesourcery.com>
15563
15564 * math/auto-libm-test-in: Add more tests of acos.
15565 * math/auto-libm-test-out: Regenerated.
15566 * sysdeps/i386/fpu/libm-test-ulps: Update.
15567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15568
15569 * math/auto-libm-test-in: Add more tests of expm1.
15570 * math/auto-libm-test-out: Regenerated.
15571 * sysdeps/i386/fpu/libm-test-ulps: Update.
15572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15573
15574 2015-03-24 Joseph Myers <joseph@codesourcery.com>
15575
15576 * math/auto-libm-test-in: Add more tests of cosh and sinh.
15577 * math/auto-libm-test-out: Regenerated.
15578 * sysdeps/i386/fpu/libm-test-ulps: Update.
15579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15580
15581 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15583
15584 * math/auto-libm-test-in: Add more tests of log2.
15585 * math/auto-libm-test-out: Regenerated.
15586 * sysdeps/i386/fpu/libm-test-ulps: Update.
15587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15588
15589 2015-03-23 Roland McGrath <roland@hack.frob.com>
15590
15591 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
15592 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
15593 _IO_IS_APPENDING bit in READ_WRITE instead.
15594
15595 2015-03-23 Florian Weimer <fweimer@redhat.com>
15596
15597 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15598 (__determine_cpumask_size): Replace extend_alloca with a
15599 variable-length array. Do not treat res == 0 as an error.
15600
15601 2015-03-23 Florian Weimer <fweimer@redhat.com>
15602
15603 [BZ #18100]
15604 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
15605 and integer overflow.
15606 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
15607 (main): Add integer overflow tests.
15608 * manual/pattern.texi (Calling Wordexp): Document additional use
15609 for WRDE_SYNTAX.
15610
15611 2015-03-23 Alan Modra <amodra@gmail.com>
15612
15613 * config.h.in: Remove HAVE_ASM_PPC_REL16.
15614 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
15615 and false branch of conditional.
15616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15617 Likewise.
15618
15619 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
15620
15621 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
15622 libc-modules.h
15623 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
15624 unused declaration of _hurd_intr_rpc_msg_in_trap.
15625 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
15626 defined instead of whether it is non-zero.
15627 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
15628 input constraint instead of both input and output constraint. Use ecx
15629 clobber instead of %ecx.
15630 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
15631 mutex_unlock): Use a statement expression instead of an expression list.
15632 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
15633 type to vm_size_t instead of vm_address_t.
15634 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
15635 defined instead of whether it is non-zero.
15636 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
15637 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
15638 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
15639 comparisons with mapaddr.
15640 * nscd/nscd-client.h: Include <time.h>.
15641 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
15642 9th parameter to __vm_region instead of int.
15643 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
15644 * scripts/check-local-headers.sh (exclude): Add device/,
15645 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
15646 cthreads.h.
15647
15648 2015-03-19 Roland McGrath <roland@hack.frob.com>
15649
15650 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
15651 to account for alignment padding.
15652 * sysdeps/arm/memmove.S: Likewise.
15653
15654 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
15655
15656 * sysdeps/unix/sysv/linux/generic/README: New file.
15657
15658 2015-03-18 Joseph Myers <joseph@codesourcery.com>
15659
15660 [BZ #18138]
15661 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
15662 (futex_abstimed_wait)
15663 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
15664 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
15665 of lll_futex_timed_wait.
15666
15667 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
15668
15669 [BZ #17542]
15670 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
15671
15672 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
15673
15674 [BZ #17090]
15675 [BZ #17620]
15676 [BZ #17621]
15677 [BZ #17628]
15678 * NEWS: Update.
15679 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
15680 entries with Static TLS too. Skip entries past the end of the
15681 allocated DTV, from Alan Modra.
15682 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
15683 Static TLS DTV entry set up from...
15684 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
15685 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
15686 * nptl/allocatestack.c (init_one_static_tls): ... and here...
15687 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
15688 for Static TLS.
15689 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
15690 that the slot we find is associated with the given map before
15691 using its generation count.
15692 * nptl_db/db_info.c: Include ldsodefs.h.
15693 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
15694 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
15695 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
15696 (link_map::l_tls_offset): New struct field.
15697 (dtv_t::counter): Likewise.
15698 (rtld_global): New struct.
15699 (_rtld_global): New rtld variable.
15700 (dl_tls_dtv_slotinfo_list): New rtld global field.
15701 (dtv_slotinfo_list): New struct.
15702 (dtv_slotinfo): Likewise.
15703 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
15704 (td_lookup): Rename to...
15705 (td_mod_lookup): ... this. Use new mod parameter instead of
15706 LIBPTHREAD_SO.
15707 * nptl_db/td_thr_tlsbase.c: Include link.h.
15708 (dtv_slotinfo_list, dtv_slotinfo): New functions.
15709 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
15710 addresses even if the DTV is out of date or missing them.
15711 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
15712 index zero-length arrays.
15713 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
15714 (td_lookup): Make it a macro implemented in terms of...
15715 (td_mod_lookup): ... this declaration.
15716 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
15717 (DB_MAIN_VARIABLE): Likewise.
15718
15719 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
15720
15721 [BZ #18134]
15722 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15723
15724 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
15725
15726 * stdlib/setenv.c (__add_to_environ): Revert previous change.
15727
15728 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
15729
15730 [BZ #18128]
15731 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
15732 (atomic_add, atomic_increment_and_test)
15733 (atomic_decrement_and_test): Fix 64-bit arithmetic.
15734
15735 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
15736
15737 * stdlib/setenv.c (__add_to_environ):
15738 Dump core quickly if setenv (..., NULL, ...) is called.
15739
15740 2015-03-13 Roland McGrath <roland@hack.frob.com>
15741
15742 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
15743 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
15744 all the necessary asm magic in one place.
15745 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
15746 using those.
15747
15748 2015-03-13 Carlos O'Donell <carlos@redhat.com>
15749
15750 [BZ #14906]
15751 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
15752 traced file mtime. Use consistent log message.
15753 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
15754 (register_traced_file): Call install_watches. Always set mtime.
15755 (invalidate_cache): Iterate over all trace files. Call install_watches.
15756 (inotify_check_files): Don't inline. Handle watching parent
15757 directories and configuration file movement in and out.
15758 (handle_inotify_events): New function.
15759 (main_loop_poll): Call handle_inotify_events.
15760 (main_loop_epoll): Likewise.
15761 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
15762 (struct traced_file): Use array of inotify fds. Add parent directory,
15763 and basename.
15764 (struct database_dyn): Remove unused file_mtime.
15765 (init_traced_file): New inline function.
15766 (define_traced_file): New macro.
15767 * nss/nss_db/db-init.c: Use define_traced_file.
15768 (_nss_db_init): Use init_traced_file.
15769 * nss/nss_files/files-init.c: Use define_traced_file.
15770 (_nss_files_init): Use init_traced_file.
15771
15772 2015-03-12 Joseph Myers <joseph@codesourcery.com>
15773
15774 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
15775 [_LIBC]: Do not include <stdlib.h>.
15776 [!_LIBC] (abort): Remove declaration.
15777 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
15778 _FP_STATIC_ASSERT instead of conditionally calling abort.
15779 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
15780 (_FP_EXTEND_CNAN): Likewise.
15781 (FP_TRUNC): Likewise.
15782 (__FP_CLZ): Likewise.
15783 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
15784
15785 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
15786
15787 * manual/string.texi (XPG basename): Fix prototype.
15788
15789 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15790
15791 [BZ #18080]
15792 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
15793 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15794 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
15795 (__setcontext): Likewise.
15796 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
15797 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15798 Call rt_sigprocmask syscall one time to set new signal mask
15799 and retrieve the current signal mask instead of two calls.
15800 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
15801 (__swapcontext): Likewise.
15802 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15803 * stdlib/tst-setcontext2.c: New file.
15804
15805 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15806
15807 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15808
15809 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
15810
15811 [BZ #18093]
15812 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
15813 the wrong size.
15814
15815 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15816
15817 [BZ #18043]
15818 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
15819
15820 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
15821
15822 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
15823 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
15824 Remove define.
15825 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
15826 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
15827 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
15828 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
15829 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
15830 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
15831 define.
15832 * nptl_db/td_symbol_list.c (td_lookup): Remove
15833 HAVE_ASM_GLOBAL_DOT_NAME code.
15834 * sysdeps/powerpc/powerpc64/configure.ac: Remove
15835 HAVE_ASM_GLOBAL_DOT_NAME check.
15836 * sysdeps/powerpc/powerpc64/configure: Regenerate.
15837 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
15838 (DOT_LABEL): Remove define.
15839 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
15840 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
15841 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
15842 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
15843 (__TLS_GET_ADDR): Likewise.
15844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
15845 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
15846
15847 2015-03-11 Carlos O'Donell <carlos@redhat.com>
15848
15849 [BZ #18111]
15850 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
15851 (_FPU_SETCW): Initialize cw from fpsr before storing.
15852 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
15853 (fesetexceptflag): Rewrite using fpu_control.h.
15854 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
15855
15856 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
15857
15858 [BZ #18110]
15859 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
15860 asms.
15861 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15862
15863 2015-03-11 Joseph Myers <joseph@codesourcery.com>
15864
15865 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
15866 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
15867 abort.
15868 (_FP_FMA): Likewise.
15869 (_FP_DIV): Likewise.
15870
15871 2015-03-10 Roland McGrath <roland@hack.frob.com>
15872
15873 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
15874 with 0 in that case.
15875 * Makefile (summarize-tests): New canned sequence, factored out of
15876 commands for targets tests and xtests. Display summary lines that
15877 don't start with PASS: or XFAIL: rather than ones that do start with
15878 ERROR: or FAIL:. Make the commands fail if any summary lines fail
15879 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
15880 do start with ERROR: or FAIL:.
15881 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
15882 (except for [$(build-shared) = yes]).
15883 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
15884 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
15885 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
15886 * nptl/Makefile: Revert 2015-03-04 changes.
15887 [$(CXX) empty] (tests-unsupported): New variable.
15888 * debug/Makefile: Likewise.
15889
15890 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
15891 gnulib file. Replace __attribute with __attribute__ throughout.
15892
15893 2015-03-10 Carlos O'Donell <carlos@redhat.com>
15894
15895 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15896
15897 2015-03-10 Joseph Myers <joseph@codesourcery.com>
15898
15899 [BZ #18104]
15900 * math/auto-libm-test-in: Add another test of pow.
15901 * math/auto-libm-test-out: Regenerated.
15902
15903 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15904
15905 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
15906 $(config-cflags-nofma).
15907
15908 2015-03-10 Joseph Myers <joseph@codesourcery.com>
15909
15910 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
15911 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
15912 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
15913 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
15914 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
15915 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
15916 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
15917 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
15918 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
15919 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
15920 Add comment on closing #endif.
15921
15922 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15923
15924 * posix/wordexp.c (CHAR_IN_SET): New macro.
15925 (parse_param): Use it.
15926
15927 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15928
15929 * sysdeps/powerpc/fpu/libm-test-ulps: update.
15930
15931 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15932
15933 [BZ #18043]
15934 * posix/wordexp.c (parse_param): Fix buffer overflow.
15935 * posix/wordexp-test.c (test_case): Add test case.
15936
15937 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15938
15939 [BZ #18042]
15940 * posix/wordexp.c (parse_backtick): Fix off-by-one.
15941 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
15942
15943 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15944
15945 [BZ #18043]
15946 * posix/wordexp-test.c (test_case): Add test for BZ #18043
15947 (do_bz18043): Delete.
15948 (at_page_end): New.
15949 (testit): Refactor to have words at the edge of unreadable page.
15950
15951 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15952
15953 [BZ #16734]
15954 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
15955 Cleanup read-only streams as well.
15956 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
15957
15958 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
15959
15960 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
15961 <bits/libc-lockP.h>
15962
15963 2015-03-07 Joseph Myers <joseph@codesourcery.com>
15964
15965 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
15966 on [__KERNEL__].
15967 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
15968 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
15969 * soft-fp/op-common.h (_FP_DECL): Likewise.
15970
15971 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
15972
15973 * elf/ifuncdep2.c (global): Replace
15974 __attribute__((visibility("protected"))) with
15975 asm (".protected global").
15976 * elf/ifuncmod1.c (global): Likewise.
15977 * elf/ifuncmod5.c (global): Likewise.
15978
15979 2015-03-06 Joseph Myers <joseph@codesourcery.com>
15980
15981 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
15982 <asm/sfp-machine.h> instead of <sfp-machine.h>.
15983
15984 2015-03-06 Roland McGrath <roland@hack.frob.com>
15985
15986 * manual/install.texi (Configuring and compiling):
15987 Document test-wrapper-env-only.
15988 * INSTALL: Regenerated.
15989
15990 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15991
15992 [BZ #18043]
15993 * posix/wordexp.c (parse_param): Fix buffer overflow.
15994 * posix/wordexp-test.c (do_bz18043): Add test case.
15995
15996 2015-03-06 Vincent Bernat <vincent@bernat.im>
15997
15998 * time/tst-strptime2.c (do_test): Ensure failing tests are
15999 reported correctly.
16000 * time/tst-strptime3.c (do_test): Likewise.
16001
16002 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
16003
16004 Fix aio_error thread-safety.
16005 * sysdeps/pthread/aio_error.c: New file
16006 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
16007 synchronization.
16008
16009 2015-03-06 Florian Weimer <fweimer@redhat.com>
16010
16011 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
16012 (group_number, vfprintf): Use it.
16013 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
16014 (JUMP, REF): Use it.
16015 (WORK_BUFFER_SIZE): New enum constant.
16016 (process_arg, vfprintf): Use it.
16017
16018 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
16019
16020 * manual/errno.texi (Error Messages): Complete example function
16021 by adding missing #define.
16022 (program_invocation_name): Add statement indicating GNU
16023 extension and reference which header file declares the variable.
16024 (program_invocation_short_name): Likewise.
16025
16026 2015-03-06 Mike Frysinger <vapier@gentoo.org>
16027
16028 * manual/errno.texi (Error Messages): Delete strerror ISO C89
16029 compatibility note.
16030
16031 2015-03-05 Roland McGrath <roland@hack.frob.com>
16032
16033 * Makeconfig (test-wrapper-env-only): New variable.
16034 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
16035 then use that with $(test-wrapper-env-only) rather than using
16036 $(test-wrapper-env) $(run-program-env) $($*-ENV).
16037
16038 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
16039
16040 [BZ #18082]
16041 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
16042 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
16043 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
16044 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
16045 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
16046 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
16047 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
16048 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
16049 Likewise.
16050 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
16051 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
16052 Likewise.
16053 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
16054 Likewise.
16055 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
16056 Likewise.
16057 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
16058 Likewise.
16059 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
16060 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
16061 Likewise.
16062 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
16063 Likewise.
16064 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
16065 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
16066
16067 2015-03-04 Roland McGrath <roland@hack.frob.com>
16068
16069 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
16070 (ETH_ALEN): New macro.
16071 (struct ether_addr): Use it for length of ether_addr_octet.
16072
16073 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
16074 (setdb): Don't call __nss_configure_lookup for "rpc".
16075 (do_test): Don't call test_rpc.
16076 (output_rpcent, test_rpc): Functions moved ...
16077 * sunrpc/test-rpcent.c: ... to this new file.
16078 * sunrpc/Makefile (tests): Add it.
16079
16080 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
16081 __xpg_sigpause.
16082 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
16083 * nptl/tst-signal6.c: Likewise.
16084 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
16085 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
16086
16087 * configure.ac (libc_cv_cxx_link_ok): New check.
16088 Reset CXX to empty if it fails to link.
16089 * configure: Regenerated.
16090 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
16091 bug-atexit3-lib only if $(CXX) is nonempty.
16092 * nptl/Makefile (tests): Likewise for tst-cancel24.
16093 (tests, tests-static): Likewise for tst-cancel24-static.
16094 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
16095 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
16096 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
16097 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
16098
16099 2015-03-04 Andreas Schwab <schwab@suse.de>
16100
16101 [BZ #17631]
16102 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
16103 for non-GCC compilers.
16104 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16105 Likewise.
16106
16107 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
16108
16109 [BZ #17776]
16110 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
16111 integer before bitwise and assembly operations.
16112 (feclearexcept): Likewise.
16113 * math/test-fenvinline.c: New file.
16114 * math/Makefile: Add test-fenvinline test.
16115
16116 2015-03-03 Alan Modra <amodra@gmail.com>
16117
16118 [BZ #16512]
16119 * scripts/localplt.awk: Strip off symbol version.
16120 * NEWS: Mention bug fix.
16121
16122 2015-03-02 Roland McGrath <roland@hack.frob.com>
16123
16124 * sysdeps/pthread/timer_routines.c
16125 (timer_free_list, thread_free_list, thread_active_list): Make static.
16126
16127 2015-03-02 Joseph Myers <joseph@codesourcery.com>
16128
16129 [BZ #17779]
16130 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16131 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16132 Undefine.
16133 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16134 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16135 Likewise.
16136 * sysdeps/unix/sysv/linux/sh/kernel-features.h
16137 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16138 Likewise.
16139
16140 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16141
16142 [BZ #18036]
16143 * posix/fnmatch_loop.c (END): Detect invalid pattern.
16144 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
16145
16146 2015-03-02 Andreas Schwab <schwab@suse.de>
16147
16148 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
16149 variable name.
16150
16151 2015-03-02 Florian Weimer <fweimer@redhat.com>
16152
16153 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
16154 Return error status.
16155
16156 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
16157
16158 [BZ #15969]
16159 * locale/findlocale.c (_nl_find_locale): Introduce const
16160 version of loc_name and drop unsafe type casts.
16161
16162 2015-02-27 Roland McGrath <roland@hack.frob.com>
16163
16164 * dlfcn/tststatic2.c (main): Converted to ...
16165 (do_test): ... this.
16166 (TEST_FUNCTION): New macro.
16167 Include test-skeleton.c.
16168
16169 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
16170
16171 [BZ #17711]
16172 * elf/Makefile (tests): Add vismain only if PIE is enabled.
16173 (tests-pie): Add vismain.
16174 (CFLAGS-vismain.c): New.
16175 * elf/vismain.c: Add comments for PIE requirement.
16176
16177 2015-02-27 Joseph Myers <joseph@codesourcery.com>
16178
16179 [BZ #18046]
16180 [BZ #18047]
16181 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
16182 0x1p-56L as threshold for just returning the argument.
16183 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
16184 0x1p-32L as threshold for just returning the argument.
16185 * math/auto-libm-test-in: Add more tests of atanh.
16186 * math/auto-libm-test-out: Regenerated.
16187 * sysdeps/i386/fpu/libm-test-ulps: Update.
16188 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
16189
16190 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
16191
16192 * string/bcopy.c (bcopy): Call memmove for performance.
16193
16194 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
16195
16196 * string/bzero.c (__bzero): Call memset for performance.
16197
16198 2015-02-27 John David Anglin <dave.anglin@bell.net>
16199
16200 [BZ #18068]
16201 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
16202 to 00100000.
16203
16204 2015-02-27 Joseph Myers <joseph@codesourcery.com>
16205
16206 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
16207
16208 2015-02-26 Joseph Myers <joseph@codesourcery.com>
16209
16210 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
16211 (__kernel_standard): Use CSTR macro when setting exc.name.
16212 * sysdeps/ieee754/Makefile [$(subdir) = math]
16213 (CFLAGS-k_standard.c): Remove variable.
16214
16215 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
16216 setting p and q from "else if" to "else".
16217 (qzero): Likewise.
16218 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
16219 (qone): Likewise.
16220 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
16221 (qzerof): Likewise.
16222 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
16223 (qonef): Likewise.
16224 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
16225 (qzero): Likewise.
16226 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
16227 (qone): Likewise.
16228
16229 [BZ #18038]
16230 [BZ #18039]
16231 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
16232 return pi/2 for arguments below 0x1p-113L.
16233 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
16234 return pi/2 for arguments below 0x1p-106L.
16235 * math/auto-libm-test-in: Add more tests of acos.
16236 * math/auto-libm-test-out: Regenerated.
16237
16238 [BZ #16351]
16239 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
16240 (MO): New macro.
16241 (__ieee754_asin): Force underflow exception for results with small
16242 absolute value.
16243 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
16244 (MO): New macro.
16245 (__ieee754_asinf): Force underflow exception for results with
16246 small absolute value.
16247 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
16248 (__ieee754_asin): Force underflow exception for results with small
16249 absolute value.
16250 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
16251 (__ieee754_asinf): Force underflow exception for results with
16252 small absolute value.
16253 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
16254 (__ieee754_asinl): Force underflow exception for results with
16255 small absolute value.
16256 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
16257 (__ieee754_asinl): Force underflow exception for results with
16258 small absolute value.
16259 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
16260 (__ieee754_asinl): Force underflow exception for results with
16261 small absolute value.
16262 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16263 Include <math.h>.
16264 * math/auto-libm-test-in: Do not mark underflow exceptions as
16265 possibly missing for bug 16351.
16266 * math/auto-libm-test-out: Regenerated.
16267
16268 [BZ #18030]
16269 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
16270 of power of 2 down when low part has opposite sign.
16271 * math/libm-test.inc (logb_test_data): Add more tests.
16272
16273 2015-02-26 Andreas Schwab <schwab@suse.de>
16274
16275 [BZ #18032]
16276 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
16277 over collating symbol inside a bracket expression. Minor cleanup.
16278 * posix/tst-fnmatch3.c (do_test): Add test case.
16279
16280 2015-02-26 Joseph Myers <joseph@codesourcery.com>
16281
16282 [BZ #18029]
16283 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
16284 Adjust exponent of power of 2 down when low part has opposite
16285 sign.
16286 * math/libm-test.inc (ilogb_test_data): Add more tests.
16287
16288 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
16289
16290 [BZ #15969]
16291 * locale/findlocale.c (_nl_find_locale): Fix constness error in
16292 the previous change.
16293
16294 [BZ #15969]
16295 * locale/findlocale.c (_nl_find_locale): Retry archive search
16296 after alias expansion.
16297
16298 2015-02-25 Roland McGrath <roland@hack.frob.com>
16299
16300 * iconv/tst-iconv3.c (main): Converted to ...
16301 (do_test): ... this.
16302 (TEST_FUNCTION): New macro.
16303 Include test-skeleton.c.
16304
16305 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
16306 (convert): Make function static.
16307 (test_unalign): Likewise. Add const to argument pointee types.
16308 (main): Replace with static function do_test.
16309 Print "Succeeded." only if RET is zero.
16310 (TEST_FUNCTION): New macro.
16311 Include test-skeleton.c.
16312
16313 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
16314 returns a null pointer.
16315
16316 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16317
16318 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
16319 to __memcpy_ppc only for static builds.
16320
16321 2015-02-25 Joseph Myers <joseph@codesourcery.com>
16322
16323 [BZ #18020]
16324 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
16325 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
16326 * math/auto-libm-test-in: Add more tests of asinh.
16327 * math/auto-libm-test-out: Regenerated.
16328 * sysdeps/i386/fpu/libm-test-ulps: Update.
16329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16330
16331 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
16332
16333 [BZ #15850]
16334 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
16335 and ip6_mtuinfo definitions here.
16336 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
16337 in this define too. Update comment.
16338
16339 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
16340
16341 * elf/sprof.c (load_shobj): Tweak error message to match others.
16342
16343 2015-02-24 Kevin Easton <kevin@guarana.org>
16344
16345 [BZ #16145] (partial fix)
16346 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
16347 to reduce lock contention.
16348
16349 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
16350
16351 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
16352 (struct timex): Update time comment.
16353 (ADJ_SETOFFSET): Define.
16354
16355 2015-02-24 Joseph Myers <joseph@codesourcery.com>
16356
16357 [BZ #18019]
16358 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16359 2**56 not 2**28 as threshold for log (2x) formula.
16360 * math/auto-libm-test-in: Add more tests of acosh.
16361 * math/auto-libm-test-out: Regenerated.
16362 * sysdeps/i386/fpu/libm-test-ulps: Update.
16363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16364
16365 2015-02-24 Mike Frysinger <vapier@gentoo.org>
16366
16367 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
16368 parenthesis around the buf assignment.
16369 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
16370
16371 2015-02-24 Joseph Myers <joseph@codesourcery.com>
16372
16373 [BZ #16783]
16374 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
16375 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
16376 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
16377 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16378 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16379 * math/libm-test.inc (scalb_test_data): Add more tests.
16380
16381 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16382
16383 [BZ #17916]
16384 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
16385 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
16386
16387 2015-02-24 Eric Rannaud <e@nanocritical.com>
16388
16389 [BZ #17523]
16390 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
16391 * io/bits/fcntl2.h (open): Use it.
16392 (openat): Likewise.
16393 * io/open.c (__libc_open): Likewise.
16394 * io/open64.c (__libc_open64): Likewise.
16395 * io/open64_2.c (__open64_2): Likewise.
16396 * io/open_2.c (__open_2): Likewise.
16397 * io/openat.c (__openat): Likewise.
16398 * io/openat64.c (__openat64): Likewise.
16399 * io/openat64_2.c (__openat64_2): Likewise.
16400 * io/openat_2.c (__openat_2): Likewise.
16401 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
16402 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16403 * sysdeps/posix/open64.c (__libc_open64): Likewise.
16404 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16405 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16406 (__open_nocancel): Likewise.
16407 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16408 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16409 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
16410
16411 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16412
16413 [BZ #14841]
16414 * resolv/gethnamaddr.c (getanswer): Skip logging if
16415 RES_USE_DNSSEC is set.
16416 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16417
16418 2015-02-24 Mike Frysinger <vapier@gentoo.org>
16419
16420 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
16421
16422 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
16423
16424 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16425 201304L, for Unicode 7.
16426
16427 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
16428
16429 [BZ #17836]
16430 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
16431 shared library. Add gmon-start.os otherwise.
16432 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
16433 $(objpfx)gmon-start.os if builing shared library.
16434 ($(objpfx)g$(static-start-installed-name)): Likewise.
16435
16436 2015-02-23 Andreas Schwab <schwab@suse.de>
16437
16438 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
16439
16440 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16441
16442 [BZ #17269]
16443 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
16444 (enlarge_userbuf): Likewise.
16445
16446 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
16447
16448 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
16449 * math/atest-exp.c (TIMEOUT): Adjust to 200.
16450 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
16451 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
16452
16453 2015-02-20 Joseph Myers <joseph@codesourcery.com>
16454
16455 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
16456 expression inside statement expression.
16457
16458 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
16459
16460 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
16461 <sysdeps/nptl/lowlevellock.h> and remove macros and
16462 functions that are now defined there.
16463 (SYS_futex): Remove.
16464 (lll_compare_and_swap): Remove.
16465 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
16466
16467 2015-02-19 Joseph Myers <joseph@codesourcery.com>
16468
16469 [BZ #17999]
16470 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
16471 instead of scandirat.
16472 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
16473 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
16474 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
16475 __scandirat.
16476 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
16477 (__scandirat): Declare. Use libc_hidden_proto.
16478 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
16479 Remove variable.
16480 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16481
16482 2015-02-18 Joseph Myers <joseph@codesourcery.com>
16483
16484 [BZ #15319]
16485 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
16486 (MO): New macro.
16487 (__ieee754_atan2): For results with small absolute value, force
16488 underflow exception and remove excess range and precision from
16489 return value.
16490 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
16491 (MO): New macro.
16492 (__ieee754_atan2f): For results with small absolute value, force
16493 underflow exception and remove excess range and precision from
16494 return value.
16495 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
16496 (MO): New macro.
16497 (__atan): For results with small absolute value, force underflow
16498 exception and remove excess range and precision from return value.
16499 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
16500 (MO): New macro.
16501 (__atanf): For results with small absolute value, force underflow
16502 exception and remove excess range and precision from return value.
16503 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
16504 <math.h>.
16505 (__ieee754_atan2): Force underflow exception for results with
16506 small absolute value.
16507 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
16508 <math_private.h>.
16509 (atan): Force underflow exception for results with small absolute
16510 value.
16511 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
16512 (__atanf): Force underflow exception for results with small
16513 absolute value.
16514 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
16515 <math.h>.
16516 (__atanl): Force underflow exception for results with small
16517 absolute value.
16518 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
16519 (__atanl): Force underflow exception for results with small
16520 absolute value.
16521 * sysdeps/x86/fpu/bits/mathinline.h
16522 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
16523 (__ieee754_atan2): Only define inline for long double.
16524 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16525 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
16526 * math/auto-libm-test-in: Do not mark underflow exceptions as
16527 possibly missing for bug 15319. Add more tests of atan2.
16528 * math/auto-libm-test-out: Regenerated.
16529 * math/libm-test.inc (casin_test_data): Do not mark underflow
16530 exceptions as possibly missing for bug 15319.
16531 (casinh_test_data): Likewise.
16532 * sysdeps/i386/fpu/libm-test-ulps: Update.
16533
16534 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
16535
16536 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
16537 * sysdeps/mips/bits/endian.h: Fix comments.
16538
16539 2015-02-18 Joseph Myers <joseph@codesourcery.com>
16540
16541 [BZ #17996]
16542 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
16543 (hdestroy_r): Likewise.
16544 (hsearch_r): Likewise.
16545 (__hcreate_r): Declare and use libc_hidden_proto.
16546 (__hdestroy_r): Likewise.
16547 (__hsearch_r): Likewise.
16548 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
16549 (hcreate): Call __hcreate_r instead of hcreate_r.
16550 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
16551 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
16552 as weak alias of __hcreate_r.
16553 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
16554 __hdestroy_r.
16555 (hsearch_r): Rename to __hsearch_r and define as weak alias of
16556 __hsearch_r.
16557 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
16558 Remove variable.
16559 (test-xfail-XPG4/search.h/linknamespace): Likewise.
16560 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16561 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16562 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16563
16564 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16565
16566 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
16567 arena_lock into a single arena_get.
16568
16569 2015-02-17 Carlos O'Donell <carlos@redhat.com>
16570
16571 * dl-reloc.c: Inlucde libc-internal.h.
16572 (_dl_try_allocate_static_tls): Call ALIGN_UP.
16573 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
16574 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
16575 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
16576 (grow_heap): Likewise.
16577 * malloc/malloc.c: Include libc-internal.h.
16578 (do_check_malloc): Call powerof2.
16579 (sysmalloc): Use pagesize. Call ALIGN_UP.
16580 (systrim): Use pagesize.
16581 (mremap_chunk): Use pagesize. Call ALIGN_UP.
16582 (__libc_valloc): Use pagesize.
16583 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
16584
16585 2015-02-17 Joseph Myers <joseph@codesourcery.com>
16586
16587 [BZ #17991]
16588 * include/sys/resource.h (__getrlimit64): Declare. Use
16589 libc_hidden_proto.
16590 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
16591 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
16592 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
16593 getrlimit64.
16594 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
16595 __getrlimit64.
16596 [!getrlimit64] (getrlimit64): Define as weak alias of
16597 __getrlimit64. Use libc_hidden_weak.
16598 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
16599 using __getrlimit64 not __new_getrlimit64.
16600 (__GI_getrlimit64): Likewise.
16601 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
16602 Likewise.
16603 (__GI_getrlimit64): Likewise.
16604 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
16605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
16606 (getrlimit): Add __getrlimit64 alias.
16607 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
16608 Likewise.
16609 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
16610 Remove variable.
16611 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16612 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16613
16614 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16615
16616 * libio/fileops.c: Add missing sys/mman.h
16617 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
16618
16619 2015-02-17 Joseph Myers <joseph@codesourcery.com>
16620
16621 * manual/math.texi (Errors in Math Functions): Clarify goals
16622 regarding inexact and underflow exceptions.
16623
16624 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
16625
16626 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
16627 * sysdeps/mips/memset.S: Ditto.
16628
16629 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
16630
16631 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
16632
16633 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
16634
16635 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
16636 (__v1longjmp): Remove versioned symbol.
16637 (__v1siglongjmp): Remove alias and versioned symbol.
16638 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
16639 (__v2siglongjmp): Likewise.
16640
16641 2015-02-16 Torvald Riegel <triegel@redhat.com>
16642
16643 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
16644
16645 2015-02-16 Mike Frysinger <vapier@gentoo.org>
16646
16647 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
16648
16649 2015-02-16 Joseph Myers <joseph@codesourcery.com>
16650
16651 [BZ #17987]
16652 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
16653 zero result does not depend on the sign resulting from
16654 subtraction.
16655 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16656 Likewise.
16657 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16658 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16659 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16660 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16661 * math/libm-test.inc (remquo_test_data): Add more tests.
16662
16663 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
16664
16665 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
16666 Problem reported by J William Piggott.
16667
16668 2015-02-16 Joseph Myers <joseph@codesourcery.com>
16669
16670 [BZ #17978]
16671 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
16672 products 4 * y and 2 * y where those would overflow.
16673 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16674 Likewise.
16675 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16676 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16677 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16678 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16679 * math/libm-test.inc (remquo_test_data): Add more tests.
16680
16681 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
16682
16683 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
16684 [defined _COMPILING_NEWLIB].
16685 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
16686 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
16687
16688 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
16689 [!defined __mips_isa_rev || __mips_isa_rev < 6].
16690
16691 2015-02-16 Torvald Riegel <triegel@redhat.com>
16692
16693 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
16694 acquired.
16695
16696 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
16697
16698 [BZ #17792]
16699 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
16700 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
16701 HOST_STACK_END_ADDR): Likewise.
16702
16703 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
16704
16705 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
16706 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
16707 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
16708
16709 2015-02-13 Roland McGrath <roland@hack.frob.com>
16710
16711 * sysdeps/generic/c++-types.data: New file.
16712 * sysdeps/generic/ld.abilist: New file.
16713 * sysdeps/generic/libBrokenLocale.abilist: New file.
16714 * sysdeps/generic/libanl.abilist: New file.
16715 * sysdeps/generic/libc.abilist: New file.
16716 * sysdeps/generic/libcrypt.abilist: New file.
16717 * sysdeps/generic/libdl.abilist: New file.
16718 * sysdeps/generic/libm.abilist: New file.
16719 * sysdeps/generic/libpthread.abilist: New file.
16720 * sysdeps/generic/libresolv.abilist: New file.
16721 * sysdeps/generic/librt.abilist: New file.
16722
16723 2015-02-13 Joseph Myers <joseph@codesourcery.com>
16724
16725 [BZ #17569]
16726 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16727 Compute absolute value of x as modified by fmod, not original
16728 value of x.
16729 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
16730 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
16731 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
16732 RUN_TEST_ffI_f1_mod8.
16733 (remquo_test_data): Add more tests.
16734
16735 2015-02-13 Roland McGrath <roland@hack.frob.com>
16736
16737 * sysdeps/init_array/pt-crti.S: New file.
16738
16739 2015-02-13 Joseph Myers <joseph@codesourcery.com>
16740
16741 [BZ #17967]
16742 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
16743 __builtin_fmaf instead of relying on contraction of a * b + c.
16744
16745 2015-02-12 J William Piggott <elseifthen@gmx.com>
16746
16747 [BZ #17969]
16748 * manual/time.texi: correct the zoneinfo path in the TZ Variable
16749 node.
16750
16751 2015-02-12 Joseph Myers <joseph@codesourcery.com>
16752
16753 [BZ #17964]
16754 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
16755 __builtin_fma instead of relying on contraction of a * b + c.
16756
16757 2015-02-12 Roland McGrath <roland@hack.frob.com>
16758
16759 * Makeconfig (ASFLAGS): Add -Werror=undef.
16760 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
16761 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
16762 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
16763
16764 * Makeconfig (after-link): New variable.
16765 (+link-pie, +link-pie-tests): Use it.
16766 (+link-static, +link-static-tests): Likewise.
16767 (+link, +link-tests): Likewise.
16768 * Makerules (build-module, build-module-asneeded): Likewise.
16769 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
16770 Likewise.
16771 * elf/Makefile ($(objpfx)ld.so): Likewise.
16772
16773 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
16774
16775 [BZ #17965]
16776 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
16777 both struct timeval and struct timespec.
16778
16779 2015-02-12 Joseph Myers <joseph@codesourcery.com>
16780
16781 [BZ #16560]
16782 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16783 and redefine.
16784 (__ieee754_exp2l): Do not multiply small fractional parts by
16785 M_LN2l.
16786 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
16787 small argument.
16788 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16789 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16790 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
16791 * math/auto-libm-test-in: Add more tests of exp2.
16792 * math/auto-libm-test-out: Regenerated.
16793
16794 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16795
16796 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
16797 unaligned path.
16798
16799 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16800
16801 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
16802 little endian.
16803
16804 2015-02-12 Andreas Schwab <schwab@suse.de>
16805
16806 [BZ #15790]
16807 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16808 Filter out elision flags from value returned in kind.
16809 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
16810 * nptl/tst-pthread-mutexattr.c: New file.
16811
16812 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16813
16814 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
16815 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
16816 into gnu-gnu, and update comment to refer to abi-tags.
16817
16818 2015-02-11 Joseph Myers <joseph@codesourcery.com>
16819
16820 [BZ #15467]
16821 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
16822 (__sincos): Set errno to EDOM for infinite argument.
16823 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
16824 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
16825 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
16826 (__sincosl): Set errno to EDOM for infinite argument.
16827 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
16828 (__sincosl): Set errno to EDOM for infinite argument.
16829 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
16830 (__sincosl): Set errno to EDOM for infinite argument.
16831 * math/libm-test.inc (sincos_test_data): Test errno setting.
16832
16833 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
16834
16835 * string/strxfrm_l.c: Remove #define STRCMP.
16836 * string/strcoll_l.c: Remove #define STRLEN.
16837 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
16838 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
16839
16840 2015-02-10 Joseph Myers <joseph@codesourcery.com>
16841
16842 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
16843 * sysdeps/mips/mips32/sfp-machine.h: ... here.
16844 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
16845 * sysdeps/mips/mips64/Makefile: ... here.
16846 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
16847 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
16848 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
16849 * sysdeps/mips/mips64/sfp-machine.h: ... here.
16850 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
16851 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
16852 * sysdeps/mips/mips64/n64/Implies: Likewise.
16853
16854 2015-02-10 Roland McGrath <roland@hack.frob.com>
16855
16856 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
16857 <sys/time.h>, <string.h>, and <errno.h>.
16858 (dest_offset, dest_address, value, zero): Remove unused variables.
16859 (ldouble): Remove typedef.
16860 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
16861 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
16862 1). Fix code style.
16863 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
16864 (check): Function removed.
16865 (CHECK): New macro.
16866 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
16867 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
16868 Don't call set_sigaction_FP and remove_sigaction_FP here.
16869 (ldouble_test): Just use 'long double' as macro argument, no need for
16870 the 'ldouble' typedef.
16871 (do_test): Set up SIGFPE handler at start, using plain signal rather
16872 than sigaction. Fix code style.
16873
16874 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
16875
16876 [BZ #17949]
16877 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
16878 jump label.
16879
16880 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
16881
16882 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
16883 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16884
16885 * sysdeps/powerpc/configure.ac: Remove file.
16886 * sysdeps/powerpc/configure: Likewise.
16887
16888 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16889 [sysdep_routines]: Remove wordcopy-power6 object.
16890 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16891 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
16892 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
16893 (__memmove_ppc32): Likewise.
16894 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
16895 file.
16896 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
16897 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
16898 Remove preprocessor.
16899
16900 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16901 [sysdep_routines]: Remove wide chars objects.
16902 [wcsmbs]: New rule for wide char objects.
16903
16904 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16905 Remove wordcopy-power6 obejct.
16906 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
16907 Use local call for wordcopy and memcpy symbols.
16908 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
16909 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
16910 implementation for loader.
16911 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
16912
16913 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16914 Remove wordcopy-power7 object.
16915 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
16916 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
16917 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
16918 (_wordcopy_fwd_dest_aligned): Likewise.
16919 (_wordcopy_bwd_aligned): Likewise.
16920 (_wordcopy_bwd_dest_aligned): Likewise.
16921
16922 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
16923 Rewrite to call __memmove_ppc instead of include default
16924 implementation.
16925
16926 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16927 Remove wide chars objects.
16928 [wcsmbs]: New rule for wide char objects.
16929
16930 2015-02-09 Andreas Schwab <schwab@suse.de>
16931
16932 [BZ #17912]
16933 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16934 in terms of __O_DIRECTORY.
16935
16936 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
16937
16938 * time/getdate.c: Include <stdbool.h>.
16939 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
16940 call PTR_MANGLE.
16941 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
16942 PTR_DEMANGLE.
16943
16944 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
16945
16946 Add ersatz _Static_assert on older C hosts
16947 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
16948 pre-C11 C platform that is not known to support _Static_assert.
16949
16950 2015-02-07 Richard Braun <rbraun@sceen.net>
16951
16952 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
16953 sigstate.
16954 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
16955
16956 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
16957
16958 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
16959 priority against unexistent AIO_PRIO_DELTA_MAX.
16960 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
16961 instead of int.
16962 * misc/fchflags.c (fchflags): Likewise.
16963 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
16964 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
16965 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
16966 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
16967 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
16968 Declare macros.
16969 [__USE_MISC] (chflags, fchflags): Declare functions.
16970 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
16971 EINVAL when nfds is greater than FD_SETSIZE.
16972 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
16973 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
16974 45.
16975 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
16976 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
16977 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
16978 MACH_RCV_TIMED_OUT.
16979 * hurd/hurd/signal.h (_hurd_self_sigstate,
16980 _hurd_critical_section_lock, _hurd_critical_section_unlock):
16981 Explicit casts from void *.
16982 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
16983 * abi-tags: Rename gnu-gnu os into gnu.
16984
16985 [BZ #4719]
16986 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
16987 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
16988 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
16989 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
16990 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
16991 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
16992
16993 [BZ #17944]
16994 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
16995 duplicates ADDR->sun_path with sockaddr LEN limitation.
16996 * sysdeps/mach/hurd/connect.c: Include <string.h>
16997 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
16998 * sysdeps/mach/hurd/sendmsg.c: Likewise.
16999 * sysdeps/mach/hurd/sendto.c: Likewise.
17000 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
17001 implementing it by hand.
17002
17003 2015-02-06 Roland McGrath <roland@hack.frob.com>
17004
17005 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
17006 Use sfi_breg on ldr.
17007 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
17008 Likewise.
17009
17010 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
17011 it's defined.
17012 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
17013 Test SIGSETXID only if it's defined.
17014
17015 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
17016
17017 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
17018 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
17019
17020 * nptl/tst-align2.c: Moved ...
17021 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
17022 * nptl/Makefile (tests): Remove tst-align2.
17023 * sysdeps/unix/sysv/linux/Makefile
17024 [$(subdir) = nptl] (tests): Add tst-align-clone.
17025 * nptl/tst-getpid1.c: Moved ...
17026 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
17027 * nptl/tst-getpid2.c: Moved ...
17028 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
17029 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
17030 * sysdeps/unix/sysv/linux/Makefile
17031 [$(subdir) = nptl] (tests): ... here.
17032 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
17033 * sysdeps/unix/sysv/linux/Makefile
17034 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
17035
17036 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
17037 Drop trailing \n from perror argument. Use return rather than exit.
17038
17039 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
17040 on [SA_SIGINFO].
17041 * nptl/tst-cancel21.c (do_test): Likewise.
17042 * debug/tst-backtrace6.c: Include <signal.h> first thing.
17043 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
17044 [!SA_SIGINFO]: Make it a stub test.
17045
17046 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
17047 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
17048
17049 * posix/tst-getlogin.c: Move to ...
17050 * login/tst-getlogin.c: ... here.
17051 * posix/Makefile (tests): Move tst-getlogin to ...
17052 * login/Makefile (tests): ... here.
17053
17054 * libio/tst-atime.c (do_test): Move local variables SV and E
17055 inside [ST_NOATIME] conditional.
17056
17057 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
17058
17059 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
17060
17061 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
17062 (wait_code): New function replaces macro.
17063 Call nanosleep rather than syscall.
17064
17065 * nptl/pt-system.c: Rewritten. Put everything under
17066 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17067 Use IFUNC to redirect when possible.
17068
17069 * nptl/pt-longjmp.c: Rewritten. Put everything under
17070 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17071 Use IFUNC to redirect when possible.
17072
17073 * nptl/pt-fork.c: Rewritten. Put everything under
17074 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17075 Use IFUNC to redirect when possible.
17076 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
17077
17078 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
17079 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
17080 unconditionally nowadays. This included the only reference to
17081 __vdso_clock_gettime that appears outside libc proper.
17082 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
17083 Remove version set (containing only __vdso_clock_gettime).
17084 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17085 Add attribute_hidden.
17086 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17087 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
17088 libc_hidden_data_def.
17089 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17090 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17091
17092 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
17093 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
17094 setrpcent, and getrpcport to ...
17095 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
17096 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
17097 getrpcbynumber_r, and getrpcent_r to ...
17098 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
17099 * inet/getrpcbyname.c: Moved ...
17100 * sunrpc/getrpcbyname.c: ... here.
17101 * inet/getrpcbyname_r.c: Moved ...
17102 * sunrpc/getrpcbyname_r.c: ... here.
17103 * inet/getrpcbynumber.c: Moved ...
17104 * sunrpc/getrpcbynumber.c: ... here.
17105 * inet/getrpcbynumber_r.c: Moved ...
17106 * sunrpc/getrpcbynumber_r.c: ... here.
17107 * inet/getrpcent.c: Moved ...
17108 * sunrpc/getrpcent.c: ... here.
17109 * inet/getrpcent_r.c: Moved ...
17110 * sunrpc/getrpcent_r.c: ... here.
17111 * inet/Makefile (routines): Move those to ...
17112 * sunrpc/Makefile (routines): ... here.
17113 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
17114 the $(subdirs) list.
17115 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
17116 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
17117 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
17118 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
17119
17120 * elf/Makefile (routines): Include $(all-dl-routines), not just
17121 $(dl-routines).
17122 (rtld-routines): Likewise. Use = rather than :=.
17123 * sysdeps/aarch64/Makefile [$(subdir) = elf]
17124 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
17125 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
17126 * sysdeps/arm/Makefile: Likewise.
17127 * sysdeps/i386/Makefile: Likewise.
17128 * sysdeps/x86_64/Makefile: Likewise.
17129 * sysdeps/hppa/Makefile [$(subdir) = elf]
17130 (sysdep_routines, sysdep-rtld-routines): Don't add
17131 $(sysdep-dl-routines) to these.
17132 * sysdeps/ia64/Makefile: Likewise.
17133 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
17134 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
17135 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
17136 Don't add dl-static to these; sysdep-dl-routines alone is enough.
17137 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
17138 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
17139 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
17140 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
17141 * sysdeps/powerpc/Makefile [$(subdir) = elf]
17142 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
17143 these; sysdep-dl-routines alone is enough.
17144
17145 2015-02-06 Joseph Myers <joseph@codesourcery.com>
17146
17147 [BZ #17932]
17148 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
17149 where multiplication results in zero and third argument is finite
17150 and nonzero.
17151 * math/auto-libm-test-in: Add more tests of fma.
17152 * math/auto-libm-test-out: Regenerated.
17153
17154 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
17155 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
17156 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
17157 (_FP_CMP_EQ): Likewise.
17158 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
17159
17160 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
17161 extra argument CHECK_NAN. Redefine as wrapper around
17162 _FP_EXTEND_CNAN.
17163
17164 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
17165
17166 * version.h (RELEASE): Set to "stable".
17167 (VERSION): Set to "2.21"
17168 * include/features.h (__GLIBC_MINOR__): Set to 21.
17169
17170 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
17171
17172 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17173 Paul Eggert <eggert@cs.ucla.edu>
17174
17175 [BZ #16618]
17176 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
17177 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
17178 size in bytes. Store needed elements in wpmax. Use needed size
17179 in bytes for extend_alloca.
17180
17181 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
17182
17183 * manual/install.texi: Latest tested versions are GCC 4.9.2,
17184 binutls 2.25, and texinfo 5.2.
17185 * INSTALL: Regenerate.
17186 * sysdeps/nios2/configure: Regenerate.
17187 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
17188 * manual/contrib.texi: Update.
17189 * po/be.po: Update.
17190 * po/bg.po: Update.
17191 * po/ca.po: Update.
17192 * po/cs.po: Update.
17193 * po/da.po: Update.
17194 * po/de.po: Update.
17195 * po/el.po: Update.
17196 * po/eo.po: Update.
17197 * po/es.po: Update.
17198 * po/fi.po: Update.
17199 * po/fr.po: Update.
17200 * po/gl.po: Update.
17201 * po/hr.po: Update.
17202 * po/hu.po: Update.
17203 * po/ia.po: Update.
17204 * po/id.po: Update.
17205 * po/it.po: Update.
17206 * po/ja.po: Update.
17207 * po/ko.po: Update.
17208 * po/lt.po: Update.
17209 * po/nb.po: Update.
17210 * po/nl.po: Update.
17211 * po/pl.po: Update.
17212 * po/pt_BR.po: Update.
17213 * po/ru.po: Update.
17214 * po/rw.po: Update.
17215 * po/sk.po: Update.
17216 * po/sl.po: Update.
17217 * po/sv.po: Update.
17218 * po/tr.po: Update.
17219 * po/uk.po: Update.
17220 * po/vi.po: Update.
17221 * po/zh_CN.po: Update.
17222 * po/zh_TW.po: Update.
17223
17224 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
17225 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
17226 * sysdeps/hppa/dl-irel.h: Remove #warning.
17227 * sysdeps/hppa/entry.h: Provide prototype for
17228 __canonicalize_funcptr_for_compare and cast argument.
17229 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
17230 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
17231 * sysdeps/hppa/sotruss-lib.c: New file.
17232 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
17233 (atomic_compare_and_exchange_val_acq): Use __typeof__.
17234 (atomic_compare_and_exchange_bool_acq): Likewise.
17235 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
17236 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
17237
17238 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
17239 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
17240 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
17241
17242 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
17243
17244 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
17245 called function in non-PIC case.
17246
17247 2015-01-31 David S. Miller <davem@davemloft.net>
17248
17249 * sysdeps/sparc/sparc32/bits/atomic.h
17250 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
17251 unlock not after it.
17252 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
17253 volatile register usage warnings from the compiler.
17254
17255 * sysdeps/sparc/nptl/sem_init.c: Delete.
17256 * sysdeps/sparc/nptl/sem_post.c: Delete.
17257 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
17258 * sysdeps/sparc/nptl/sem_wait.c: Delete.
17259 * sysdeps/sparc/sparc32/sem_init.c: New file.
17260 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
17261 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
17262 padding explicitly initialized.
17263 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
17264 padding for in-semaphore spinlock.
17265 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
17266 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
17267 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
17268 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
17269 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
17270 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
17271 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
17272 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
17273 version.
17274 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
17275 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
17276
17277 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
17278
17279 [BZ #17801]
17280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17281 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
17282 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
17283 New.
17284 (index_AVX_Fast_Unaligned_Load): Likewise.
17285 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
17286 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
17287 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
17288 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
17289 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
17290 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
17291 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
17292 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
17293 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
17294
17295 2015-01-29 Andreas Schwab <schwab@suse.de>
17296
17297 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
17298
17299 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17300
17301 [BZ #17892]
17302 * nscd/nscd_stat.c (send_stats): Initialize DATA.
17303
17304 2015-01-28 Martin Sebor <msebor@redhat.com>
17305
17306 * math/README.libm-test: Clarify. Add "How to read the test output."
17307
17308 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
17309
17310 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
17311 Define to 0.
17312
17313 2015-01-28 Joseph Myers <joseph@codesourcery.com>
17314
17315 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
17316 (__HAVE_64B_ATOMICS): Define to 0.
17317
17318 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
17319
17320 [BZ #17885]
17321 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
17322 value to set as new flag.
17323
17324 [BZ #16576]
17325 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
17326 and use _ARCH_PPCSQ instead.
17327 (__ieee754_sqrt): Likewise.
17328 (__ieee754_sqrtf): Likewise.
17329 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
17330 _ARCH_PPCSQ is defined.
17331 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
17332 fsqrt instruction.
17333 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
17334 _ARCH_PPCSQ is defined.
17335 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
17336 fsqrts instruction.
17337 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
17338
17339 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17340
17341 * iconv/loop.c: Suppress array out of bound warning caused by GCC
17342 bug (GCC BZ #64739).
17343
17344 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
17345
17346 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
17347 Mark _retval as used.
17348 (lll_futex_wake_unlock): Likewise.
17349 (lll_futex_timed_wait_requeue_pi): Likewise.
17350
17351 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17352 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
17353 register variables.
17354
17355 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
17356 libm_hidden_def.
17357
17358 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
17359 (__bswap_64): Mark as __always_inline.
17360
17361 2015-01-25 Bram <bug_rh@spam.wizbit.be>
17362
17363 [BZ #15378]
17364 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
17365 when none of the search directories exist.
17366
17367 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
17368
17369 [BZ #17869]
17370 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
17371 power8 in .machine directive.
17372
17373 [BZ #17868]
17374 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
17375 set dependency from opd value.
17376
17377 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
17378
17379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17380 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
17381 architecture.
17382
17383 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
17384
17385 [BZ #17870]
17386 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
17387 with uint64_t.
17388 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
17389 (uint64_t) 1.
17390 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
17391 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
17392 Replace 1UL with (uint64_t) 1.
17393 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
17394 int with uint64_t.
17395
17396 2015-01-23 Roland McGrath <roland@hack.frob.com>
17397
17398 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
17399 (if_freenameindex): Likewise.
17400
17401 * resource/getrlimit64.c: Add missing libc_hidden_def.
17402
17403 2015-01-22 Joseph Myers <joseph@codesourcery.com>
17404
17405 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
17406 __label__.
17407 (_FP_FMA): Likewise.
17408 (_FP_TO_INT_ROUND): Likewise.
17409 (_FP_FROM_INT): Likewise.
17410
17411 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17412
17413 [BZ #16418]
17414 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
17415 Make code racy and cancel safe.
17416
17417 2015-01-21 Carlos O'Donell <carlos@redhat.com>
17418
17419 * sysdeps/arm/unwind-resume.h: Fix copyright year.
17420 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
17421 attribution.
17422
17423 * pwd/tst-getpw.c: Rewrite.
17424
17425 [BZ #17702]
17426 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
17427 (modules-names): Add moddummy1 and moddummy2.
17428 ($(objpfx)tst-rec-dlopen): Define.
17429 * dlfcn/moddummy1.c: New file.
17430 * dlfcn/moddummy2.c: New file.
17431 * dlfcn/tst-rec-dlopen.c: New file.
17432 * elf/dl-cache.c (_dl_load_cache_lookup):
17433 Return char*. Copy result with alloca/strcpy/strdup.
17434 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
17435 returns char*. Free cached. If not saving realname
17436 free cached.
17437 * elf/dl-open.c (dl_open_worker): Do not assert that
17438 _r_debug->r_state is RT_CONSISTENT.
17439 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
17440 returns char*.
17441
17442 2015-01-21 Torvald Riegel <triegel@redhat.com>
17443 Carlos O'Donell <carlos@redhat.com>
17444
17445 [BZ #12674]
17446 * nptl/sem_waitcommon.c: New file.
17447 * nptl/sem_wait.c: Include sem_waitcommon.c.
17448 (__sem_wait_cleanup, do_futex_wait): Remove.
17449 (__new_sem_wait): Adapt.
17450 (__new_sem_trywait): New function.
17451 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
17452 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
17453 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
17454 (sem_timedwait): Adapt.
17455 * nptl/sem_post.c (__new_sem_post): Adapt.
17456 (futex_wake): New function.
17457 (__old_sem_post): Add release MO fence.
17458 * nptl/sem_open.c (sem_open): Adapt.
17459 * nptl/sem_init.c (__new_sem_init): Adapt.
17460 (futex_private_if_supported): New function.
17461 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
17462 (__old_sem_getvalue): Add using previous code.
17463 * sysdeps/nptl/internaltypes.h: Adapt.
17464 * nptl/tst-sem13.c (do_test): Adapt.
17465 * nptl/tst-sem11.c (main): Adapt.
17466 * nptl/sem_trywait.c: Remove.
17467 * nptl/DESIGN-sem.txt: Remove.
17468 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
17469 (gen-as-const-headers): Remove structsem.sym.
17470 * nptl/structsem.sym: Remove.
17471 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
17472 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
17473 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
17474 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
17475 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
17476 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
17477 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
17478 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
17479 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
17480 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
17481 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
17482 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
17483 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
17484 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
17485 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
17486 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
17487 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
17488 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
17489 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
17490 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
17491 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
17492 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
17493
17494 2015-01-20 Carlos O'Donell <carlos@redhat.com>
17495
17496 * INSTALL: Regenerated.
17497
17498 * po/libc.pot: Regenerated.
17499
17500 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
17501 Sandra Loosemore <sandra@codesourcery.com>
17502 Andrew Jenner <andrew@codesourcery.com>
17503 Joseph Myers <joseph@codesourcery.com>
17504 Nathan Sidwell <nathan@codesourcery.com>
17505
17506 * NEWS: Mention new Nios II port.
17507 * sysdeps/nios2/Implies: New file.
17508 * sysdeps/nios2/Makefile: New file.
17509 * sysdeps/nios2/Subdirs: New file.
17510 * sysdeps/nios2/Versions: New file.
17511 * sysdeps/nios2/__longjmp.S: New file.
17512 * sysdeps/nios2/abort-instr.h: New file.
17513 * sysdeps/nios2/backtrace.c: New file.
17514 * sysdeps/nios2/bits/endian.h: New file.
17515 * sysdeps/nios2/bits/fenv.h: New file.
17516 * sysdeps/nios2/bits/link.h: New file.
17517 * sysdeps/nios2/bits/setjmp.h: New file.
17518 * sysdeps/nios2/bsd-_setjmp.S: New file.
17519 * sysdeps/nios2/bsd-setjmp.S: New file.
17520 * sysdeps/nios2/configure: New generated file.
17521 * sysdeps/nios2/configure.ac: New file.
17522 * sysdeps/nios2/crti.S: New file.
17523 * sysdeps/nios2/crtn.S: New file.
17524 * sysdeps/nios2/dl-init.c: New file.
17525 * sysdeps/nios2/dl-machine.h: New file.
17526 * sysdeps/nios2/dl-sysdep.h: New file.
17527 * sysdeps/nios2/dl-tls.h: New file.
17528 * sysdeps/nios2/dl-trampoline.S: New file.
17529 * sysdeps/nios2/gccframe.h: New file.
17530 * sysdeps/nios2/gmp-mparam.h: New file.
17531 * sysdeps/nios2/jmpbuf-offsets.h: New file.
17532 * sysdeps/nios2/jmpbuf-unwind.h: New file.
17533 * sysdeps/nios2/ldsodefs.h: New file.
17534 * sysdeps/nios2/libc-tls.c: New file.
17535 * sysdeps/nios2/libm-test-ulps: New file.
17536 * sysdeps/nios2/machine-gmon.h: New file.
17537 * sysdeps/nios2/math-tests.h: New file.
17538 * sysdeps/nios2/math_private.h: New file.
17539 * sysdeps/nios2/memusage.h: New file.
17540 * sysdeps/nios2/nptl/Makefile: New file.
17541 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
17542 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
17543 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
17544 * sysdeps/nios2/nptl/pthreaddef.h: New file.
17545 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
17546 * sysdeps/nios2/nptl/tls.h: New file.
17547 * sysdeps/nios2/preconfigure: New file.
17548 * sysdeps/nios2/s_fma.c: New file.
17549 * sysdeps/nios2/s_fmaf.c: New file.
17550 * sysdeps/nios2/setjmp.S: New file.
17551 * sysdeps/nios2/sfp-machine.h: New file.
17552 * sysdeps/nios2/sotruss-lib.c: New file.
17553 * sysdeps/nios2/stackguard-macros.h: New file.
17554 * sysdeps/nios2/stackinfo.h: New file.
17555 * sysdeps/nios2/start.S: New file.
17556 * sysdeps/nios2/sysdep.h: New file.
17557 * sysdeps/nios2/tls-macros.h: New file.
17558 * sysdeps/nios2/tst-audit.h: New file.
17559 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
17560 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
17561 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
17562 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
17563 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
17564 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
17565 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
17566 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
17567 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
17568 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
17569 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
17570 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
17571 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
17572 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
17573 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
17574 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
17575 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
17576 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
17577 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
17578 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
17579 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
17580 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
17581 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
17582 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
17583 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
17584 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
17585 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
17586 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
17587 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
17588 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
17589 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
17590 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
17591 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
17592 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
17593 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
17594 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
17595 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
17596 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
17597 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
17598 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
17599 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
17600 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
17601 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
17602 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
17603
17604 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17605
17606 [BZ #17844]
17607 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
17608 (getutent): Use weak_alias in non SHARED case
17609 and default_symbol_version in SHARED case.
17610 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
17611 (getutent_r, pututline): Likewise.
17612 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
17613 (getutid): Likewise.
17614 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
17615 (getutid_r): Likewise.
17616 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
17617 (getutline): Likewise.
17618 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
17619 (getutline_r): Likewise.
17620 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
17621 (updwtmp): Likewise.
17622
17623 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17624
17625 [BZ #17848]
17626 * sysdeps/s390/s390-32/memcmp.S
17627 (memcmp_g5): Rename to __memcmp_g5.
17628 * sysdeps/s390/s390-32/memcpy.S
17629 (memcpy_g5): Rename to __memcpy_g5.
17630 Jump to __memcpy_mvcle instead of memcpy_mvcle.
17631 (memcpy_mvcle) Rename to __memcpy_mvcle.
17632 * sysdeps/s390/s390-32/memset.S
17633 (memset_g5): Rename to __memset_g5.
17634 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17635 (IFUNC_RESOLVE): Prefix ifunc-resolve function
17636 and use prefixed functions.
17637 * sysdeps/s390/s390-32/multiarch/memcmp.S
17638 (memcmp_z196): Rename to __memcmp_z196.
17639 (memcmp_z10): Rename to __memcmp_z10.
17640 (memcmp): Set alias to __memcmp_g5.
17641 (bcmp): Set alias to __memcmp_g5.
17642 * sysdeps/s390/s390-32/multiarch/memcpy.S
17643 (memcpy_z196): Rename to __memcpy_z196.
17644 Jump to __memcpy_mvcle instead of memcpy_mvcle.
17645 (memcpy_z10): Rename to __memcpy_z10.
17646 Jump to __memcpy_mvcle instead of memcpy_mvcle.
17647 (memcpy): Set alias to __memcpy_g5.
17648 * sysdeps/s390/s390-32/multiarch/memset.S
17649 (memset_z196): Rename to __memset_z196.
17650 Jump to __memset_mvcle instead of memset_mvcle.
17651 (memset_z10): Rename to __memset_z10.
17652 Jump to __memset_mvcle instead of memset_mvcle.
17653 (memset_mvcle) Rename to __memset_mvcle.
17654 (memset): Set alias to __memset_g5.
17655 * sysdeps/s390/s390-64/memcmp.S
17656 (memcmp_z900): Rename to __memcmp_z900.
17657 * sysdeps/s390/s390-64/memcpy.S
17658 (memcpy_z900): Rename to __memcpy_z900.
17659 Jump to __memcpy_mvcle instead of memcpy_mvcle.
17660 (memcpy_mvcle) Rename to __memcpy_mvcle.
17661 * sysdeps/s390/s390-64/memset.S
17662 (memset_z900): Rename to __memset_z900.
17663 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
17664 (IFUNC_RESOLVE): Prefix ifunc-resolve function
17665 and use prefixed functions.
17666 * sysdeps/s390/s390-64/multiarch/memcmp.S
17667 (memcmp_z196): Rename to __memcmp_z196.
17668 (memcmp_z10): Rename to __memcmp_z10.
17669 (memcmp): Set alias to __memcmp_z900.
17670 (bcmp): Set alias to __memcmp_z900.
17671 * sysdeps/s390/s390-64/multiarch/memcpy.S
17672 (memcpy_z196): Rename to __memcpy_z196.
17673 Jump to __memcpy_mvcle instead of memcpy_mvcle.
17674 (memcpy_z10): Rename to __memcpy_z10.
17675 Jump to __memcpy_mvcle instead of memcpy_mvcle.
17676 (memcpy): Set alias to __memcpy_z900.
17677 * sysdeps/s390/s390-64/multiarch/memset.S
17678 (memset_z196): Rename to __memset_z196.
17679 Jump to __memset_mvcle instead of memset_mvcle.
17680 (memset_z10): Rename to __memset_z10.
17681 Jump to __memset_mvcle instead of memset_mvcle.
17682 (memset_mvcle) Rename to __memset_mvcle.
17683 (memset): Set alias to __memset_z900.
17684
17685 2015-01-14 Joseph Myers <joseph@codesourcery.com>
17686
17687 [BZ #17748]
17688 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
17689 __fesetenv instead of fesetenv.
17690
17691 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17692
17693 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
17694 macro.
17695
17696 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17697
17698 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
17699 regression on LE.
17700
17701 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
17702 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
17703 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17704 strncmp-power8 object.
17705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17706 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
17707 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
17708 * NEWS: Update.
17709
17710 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17711 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17712
17713 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
17714 trailing byte check.
17715
17716 2015-01-13 David S. Miller <davem@davemloft.net>
17717
17718 * include/signal.h (__sigreturn): Guard with __USE_MISC.
17719
17720 2015-01-13 Roland McGrath <roland@hack.frob.com>
17721
17722 * login/logout.c (logout): Use memset rather than bzero.
17723 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
17724 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
17725 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
17726 (_gethtbyaddr): Likewise.
17727 * locale/programs/simple-hash.c (bcopy): Macro removed.
17728
17729 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17730
17731 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17732 Add strcmp-power8 object.
17733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17734 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
17735 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
17736 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
17737 __strcmp_power8 implementation.
17738 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
17739 * NEWS: Update.
17740
17741 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17742 Add strncpy-power8 and stpncpy-power8 objects.
17743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17744 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
17745 implementations.
17746 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
17747 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
17748 __stpncpy_power8 implementation.
17749 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
17750 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
17751 __strncpy_power8 implementation.
17752 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
17753 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
17754 * NEWS: Update.
17755
17756 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
17757 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
17758 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
17759
17760 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17761 strncat-power8 object.
17762 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
17763 __strcat_power8 implementation.
17764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17765 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
17766 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
17767 optimized strcat for power8.
17768
17769 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17770 strcpy-power8 and stpcpy-power8 objects.
17771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17772 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
17773 implementations.
17774 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
17775 multiarch stpcpy implementation for POWER8.
17776 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
17777 multiarch strcpy implementation for POWER8.
17778 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
17779 __strcpy_power8 function.
17780 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
17781 stpcpy for POWER8.
17782 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
17783 strcpy for POWER8.
17784 * NEWS: Update.
17785
17786 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
17787
17788 [BZ #16009]
17789 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
17790 weights and rules. Use do_xfrm_cached if data fits in cache,
17791 do_xfrm otherwise. Moved former main loop to...
17792 * (do_xfrm_cached): New function.
17793 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
17794 find_idx, find_position and stack_push.
17795 * (find_idx): New function.
17796 * (find_position): Likewise.
17797 * localedata/sort-test.sh: Added test run for do_xfrm.
17798 * localedata/xfrm-test.c (main): Added command line option
17799 -nocache to run the test with strings that are too large for
17800 the STRXFRM cache.
17801
17802 2015-01-13 Torvald Riegel <triegel@redhat.com>
17803
17804 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
17805 variable to lll_futex_wake call, not the value itself.
17806
17807 2015-01-12 Joseph Myers <joseph@codesourcery.com>
17808
17809 [BZ #17803]
17810 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
17811 twom64. Adjust value to 0x1p-64L.
17812 (__scalblnl): Only return standard underflowing result for K <=
17813 -64 not K <= -63; adjust exponent for underflowing result by 64
17814 not 63.
17815 * math/libm-test.inc (scalbn_test_data): Add more tests.
17816 (scalbln_test_data): Likewise.
17817
17818 [BZ #17834]
17819 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
17820 0x1p63L.
17821 (__scalblnl): Get new exponent of adjusted subnormal value from ES
17822 not HX.
17823 * math/libm-test.inc (scalbn_test_data): Add more tests.
17824 (scalbln_test_data): Likewise.
17825
17826 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17827 Stefani Seibold <stefani@seibold.net>
17828
17829 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
17830 (sysdep_routines): Add dl-vdso here, ...
17831 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
17832 (sysdep_routines): ... not here.
17833 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
17834 fallback when vDSO is not presented.
17835 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17836 Define with libc_hidden_proto/libc_hidden_data_def definitions.
17837 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
17838 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
17839 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
17840 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
17841 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
17842 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
17843 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
17844 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
17845 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
17846 fallback configurable symbol when vDSO is not available.
17847 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
17848 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
17849 be able to redefine fallback symbol when vDSO is not available.
17850 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
17851 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
17852
17853 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17854
17855 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
17856 (TLS_INIT_TP): Add tm_capable initialization.
17857 (TLS_DEFINE_INIT_TP): Likewise.
17858 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
17859 TCB.
17860 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
17861 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
17862 calculation.
17863 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
17864 transactoion is lock elision is built and TCB tm_capable is set.
17865 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
17866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17867 (INTERNAL_SYSCALL_NCS): Likewise.
17868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17869 (INTERNAL_SYSCALL_NCS): Likewise.
17870 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
17871
17872 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
17873 for powerpc.
17874 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17875 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
17876 and remove it for 32 bits case.
17877 [pthread_rwlock_t] (__rwelision): New field for lock elision.
17878 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
17879 initialization.
17880 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
17881 Disable lock elision with rdlocks if elision is not available.
17882
17883 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
17884 (sysdep_routines): Add lock elision objects.
17885 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17886 [pthread_mutex_t] (__spins): Rework to add lock elision field.
17887 [pthread_mutex_t] (__elision): Add field.
17888 [__PTHREAD_SPINS]: Adjust to init lock elision field.
17889 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
17890 elision definitions for powerpc.
17891 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
17892 implementation of lock elision for powerpc.
17893 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
17894 implementation of timed lock elision for powerpc.
17895 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
17896 implementation of trylock with lock elision for powerpc.
17897 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
17898 implementaion of unlock for lock elision for powerpc.
17899 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
17900 automatic enable lock elision for mutexes.
17901 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
17902 transaction execution definitions for powerpc.
17903 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
17904 definitions.
17905 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
17906 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
17907 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
17908 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
17909 * NEWS: Update.
17910
17911 2015-01-09 Roland McGrath <roland@hack.frob.com>
17912
17913 * sysdeps/posix/shm-directory.c: Use <> rather than ""
17914 for #include of <shm-directory.h>.
17915
17916 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
17917
17918 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
17919 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
17920
17921 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
17922
17923 [BZ #17791]
17924 * NEWS: Mention bug fix.
17925 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
17926 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
17927 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
17928
17929 2015-01-09 Torvald Riegel <triegel@redhat.com>
17930
17931 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
17932
17933 2015-01-09 Torvald Riegel <triegel@redhat.com>
17934
17935 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
17936
17937 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
17938
17939 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
17940 pointer and cast to uintptr_t.
17941
17942 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
17943
17944 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
17945 removed.
17946 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
17947
17948 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
17949
17950 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
17951 of 0.
17952
17953 2015-01-08 Roland McGrath <roland@hack.frob.com>
17954
17955 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
17956 <nptl/pthreadP.h> instead.
17957 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
17958
17959 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
17960 already defined.
17961 [__SIGRTMIN] (init): Function removed.
17962 [__SIGRTMIN] (initialized): Variable removed.
17963 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
17964 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
17965 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
17966 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
17967 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
17968 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
17969 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
17970 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
17971 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
17972 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
17973 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
17974 * sysdeps/nptl/allocrtsig.c: New file.
17975 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
17976 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
17977 * sysdeps/generic/testrtsig.h: File removed.
17978
17979 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
17980 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
17981
17982 * nptl/nptl-init.c (pthread_functions): Conditionalize
17983 .ptr__nptl_setxid initialization on [SIGSETXID].
17984
17985 * sysdeps/nptl/sys/procfs.h: New file.
17986 * nptl_db/Makefile (headers): Add it.
17987 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
17988
17989 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
17990 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
17991 * nptl/pthread_attr_setaffinity.c: Include it.
17992 * nptl/pthread_setattr_default_np.c: Likewise.
17993 * nptl/check-cpuset.h: New file.
17994
17995 2015-01-08 Richard Henderson <rth@redhat.com>
17996
17997 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
17998 (CFLAGS-tst-execstack-prog.c): Likewise.
17999 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
18000
18001 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
18002 Sandra Loosemore <sandra@codesourcery.com>
18003 Andrew Jenner <andrew@codesourcery.com>
18004 Joseph Myers <joseph@codesourcery.com>
18005 Nathan Sidwell <nathan@codesourcery.com>
18006
18007 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
18008 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
18009 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
18010 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
18011 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
18012 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
18013 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
18014 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
18015 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
18016 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
18017 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
18018 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
18019 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
18020 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
18021 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
18022 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
18023 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
18024
18025 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18026
18027 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
18028 timespec struct member in syscall macro.
18029 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18030 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
18031 first timeval struct member in syscall macro.
18032 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
18033
18034 2015-01-07 Joseph Myers <joseph@codesourcery.com>
18035
18036 [BZ #17748]
18037 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
18038 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
18039 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
18040 __feupdateenv and define as weak alias of __feupdateenv. Use
18041 libm_hidden_weak.
18042 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
18043 libm_hidden_def.
18044 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
18045 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
18046 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18047 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
18048 libm_hidden_def.
18049 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
18050 __feupdateenv and define as weak alias of __feupdateenv. Use
18051 libm_hidden_weak.
18052 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
18053 libm_hidden_def.
18054 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
18055 __feupdateenv and define as weak alias of __feupdateenv. Use
18056 libm_hidden_weak.
18057 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
18058 libm_hidden_def.
18059 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18060 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18061 (__feupdateenv): Likewise.
18062 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
18063 __feupdateenv and define as weak alias of __feupdateenv. Use
18064 libm_hidden_weak.
18065 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18066 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
18067 libm_hidden_def.
18068 * sysdeps/tile/math_private.h (__feupdateenv): New inline
18069 function.
18070 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
18071 libm_hidden_def.
18072 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
18073 __feupdateenv instead of feupdateenv.
18074 (default_libc_feupdateenv_test): Likewise.
18075 (libc_feresetround_ctx): Likewise.
18076
18077 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18078
18079 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
18080 prototype.
18081
18082 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
18083
18084 * posix/regcomp.c (parse_bracket_exp): Initialize type to
18085 COLL_SYM in a couple of places to avoid uninitialized variable
18086 wanings on tilegx gcc 4.8.2.
18087
18088 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
18089
18090 * sysdeps/aarch64/strcpy.S: New file.
18091 * sysdeps/aarch64/stpcpy.S: New file.
18092 * NEWS: Updated.
18093
18094 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
18095
18096 * sysdeps/aarch64/strrchr.S: New file.
18097 * NEWS: Updated.
18098
18099 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
18100
18101 [BZ #17658]
18102 * stdlib/setenv.c: Fix memory leak when setting large,
18103 duplicate string.
18104
18105 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
18106
18107 [BZ #17273]
18108 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
18109 and tabs from buffer before parsing fstab entry.
18110 * misc/tst-mntent.c (main): Add test for mount entry with
18111 trailing spaces and tabs.
18112
18113 2015-01-06 Joseph Myers <joseph@codesourcery.com>
18114
18115 [BZ #17748]
18116 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
18117 * math/fesetround.c (fesetround): Rename to __fesetround and
18118 define as weak alias of __fesetround. Use libm_hidden_weak.
18119 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
18120 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
18121 * sysdeps/arm/fesetround.c (fesetround): Likewise.
18122 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
18123 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
18124 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
18125 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
18126 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
18127 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
18128 __fesetround_inline.
18129 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
18130 __fesetround_inline instead of __fesetround.
18131 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
18132 __fesetround and define as weak alias of __fesetround. Use
18133 libm_hidden_weak. Call __fesetround_inline instead of
18134 __fesetround.
18135 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
18136 __fesetround and define as weak alias of __fesetround. Use
18137 libm_hidden_weak.
18138 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
18139 Likewise.
18140 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
18141 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18142 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
18143 * sysdeps/tile/math_private.h (__fesetround): New inline function.
18144 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
18145 __fesetround and define as weak alias of __fesetround. Use
18146 libm_hidden_weak.
18147 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
18148 __fesetround instead of fesetround.
18149 (default_libc_feholdexcept_setround): Likewise.
18150 (libc_feholdsetround_ctx): Likewise.
18151 (libc_feholdsetround_noex_ctx): Likewise.
18152
18153 [BZ #17748]
18154 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
18155 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
18156 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18157 and define as weak alias of __fesetenv. Use libm_hidden_weak.
18158 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18159 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
18160 define as weak alias of __fesetenv. Use libm_hidden_weak.
18161 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18162 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18163 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18164 define as weak alias of __fesetenv. Use libm_hidden_weak.
18165 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18166 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18167 define as weak alias of __fesetenv. Use libm_hidden_weak.
18168 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
18169 libm_hidden_def.
18170 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
18171 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
18172 Likewise.
18173 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18174 define as weak alias of __fesetenv. Use libm_hidden_weak.
18175 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18176 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18177 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
18178 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18179 and define as weak alias of __fesetenv. Use libm_hidden_weak.
18180 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
18181 __fesetenv instead of fesetenv.
18182 (libc_feresetround_noex_ctx): Likewise.
18183 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18184 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18185 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
18186 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18187 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18188 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18189 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18190 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18191 (__feupdateenv): Likewise.
18192 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18193 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18194 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18195 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
18196
18197 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
18198
18199 [BZ #17806]
18200 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
18201 addresses have been freed.
18202
18203 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
18204
18205 * resolv/res_init.c (__res_vinit): Improve comments about nserv
18206 and nservall.
18207
18208 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
18209
18210 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
18211 Clean up check_pf allocation pattern. addresses
18212
18213 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18214
18215 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
18216 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
18217 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
18218 * nptl/pthread_exit.c (__pthread_exit): Likewise.
18219 * nptl/pthread_join.c (pthread_join): Likewise.
18220 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18221 * sysdeps/posix/waitid.c (__waitid): Likewise.
18222 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18223 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18224 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18225 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18226 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18227 Likewise.
18228 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18229 (__libc_pread64): Likewise.
18230 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18231 (__libc_pwrite): Likewise.
18232 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18233 (__libc_pwrite64): Likewsie.
18234 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18235 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18236 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18237 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18238 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18239 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18240 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18242 Likewise.
18243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18244 (__libc_pread64): Likewise.
18245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
18246 Likewise.
18247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18248 (__libc_pwrite64): Likewise.
18249 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18250 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18251 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
18252 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
18253 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18254 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18255 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
18256 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18257 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18258 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18259 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
18260 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18261 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18262 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
18263 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18264 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18265 Likewise.
18266
18267 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
18268
18269 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
18270 (CFLAGS-test-double.c): Likewise.
18271 (CFLAGS-test-ldouble.c): Likewise.
18272 (CPPFLAGS-test-ifloat.c): Likewise.
18273 (CPPFLAGS-test-idouble.c): Likewise.
18274 (CPPFLAGS-test-ildoubl.c): Likewise.
18275 (CFLAGS-test-test-fenv.c): Remove variable.
18276 (CFLAGS-test-misc.c): Likewise.
18277
18278 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
18279
18280 [BZ #17797]
18281 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
18282 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
18283 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
18284 CLOCKS_PER_SEC == 1000000.
18285 * time/clocktest.c (main): Replace %ld with %jd and cast to
18286 intmax_t.
18287
18288 2015-01-05 Roland McGrath <roland@hack.frob.com>
18289
18290 * sysdeps/generic/unwind-resume.h: New file.
18291 * sysdeps/gnu/unwind-resume.c: Include it.
18292 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
18293 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
18294 argument list.
18295 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
18296 global rather than static.
18297 (_Unwind_Resume): Update user.
18298 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
18299 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
18300 rather than static. Add __attribute__ ((cold)).
18301 (_Unwind_Resume, __gcc_personality_v0): Update callers.
18302 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18303 * sysdeps/arm/arm-unwind-resume.S: New file.
18304 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
18305 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
18306 * sysdeps/arm/Makefile [$(subdir) = csu]
18307 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
18308 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18309 Add rt-arm-unwind-resume.
18310 [$(subdir) = nptl]
18311 (libpthread-sysdep_routines, libpthread-shared-only-routines):
18312 Add pt-arm-unwind-resume.
18313 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
18314 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
18315
18316 2015-01-05 Joseph Myers <joseph@codesourcery.com>
18317
18318 [BZ #17748]
18319 * include/fenv.h (__feholdexcept): Declare. Use
18320 libm_hidden_proto.
18321 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
18322 define as weak alias of __feholdexcept. Use libm_hidden_weak.
18323 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18324 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
18325 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
18326 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
18327 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
18328 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18329 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
18330 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
18331 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18332 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
18333 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
18334 (feholdexcept): Likewise.
18335 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18336 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18337 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18338 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18339 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
18340 __feholdexcept instead of feholdexcept.
18341 (default_libc_feholdexcept_setround): Likewise.
18342
18343 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
18344
18345 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
18346 to avoid using stl/str to align destination.
18347
18348 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
18349
18350 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
18351
18352 2015-01-05 Joseph Myers <joseph@codesourcery.com>
18353
18354 [BZ #17796]
18355 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
18356 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
18357 Define as weak alias not strong alias.
18358
18359 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
18360
18361 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
18362 bltzal with addiupc.
18363 (RTLD_START): Ditto.
18364
18365 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
18366
18367 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
18368 for __vdso_* functions in declarations.
18369 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
18370 definitions.
18371 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
18372 INTERNAL_VSYSCALL): Use struct return types to check for error.
18373
18374 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
18375 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
18376 function with cast from llround().
18377 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
18378 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18379 Define.
18380
18381 2015-01-05 Joseph Myers <joseph@codesourcery.com>
18382
18383 [BZ #17793]
18384 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
18385 Define as weak alias not strong alias.
18386
18387 [BZ #17635]
18388 * ctype/ctype-c99.c: New file. isblank implementation moved from
18389 ...
18390 * ctype/ctype-extn.c: ... here.
18391 (__isblank_l): Move to ...
18392 * ctype/ctype-c99_l.c: ... here. New file.
18393 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
18394 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
18395 Remove variable.
18396 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18397 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18398 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18399 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18400 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18401
18402 [BZ #17777]
18403 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
18404 (posix_fadvise64): Define as weak alias not strong alias.
18405 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18406 (posix_fallocate64): Likewise.
18407 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
18408 Remove variable.
18409 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18410 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18411 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18412 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18413 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18414
18415 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
18416
18417 [BZ #16191]
18418 * NEWS: Mention bug fix.
18419 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
18420 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
18421 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
18422 (HOST_STACK_END_ADDR): Likewise.
18423
18424 2015-01-02 Joseph Myers <joseph@codesourcery.com>
18425
18426 [BZ #17748]
18427 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
18428 * math/fegetround.c (fegetround): Rename to __fegetround and
18429 define as weak alias of __fegetround. Use libm_hidden_weak.
18430 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
18431 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
18432 * sysdeps/arm/fegetround.c (fegetround): Likewise.
18433 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
18434 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18435 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
18436 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
18437 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
18438 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18439 Undefine after rather than before function definition; use
18440 parentheses around function name in definition.
18441 (__fegetround): Also undefine macro after function definition.
18442 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
18443 __fegetround and define as weak alias of __fegetround. Use
18444 libm_hidden_weak. Do not undefine as macro.
18445 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18446 Likewise.
18447 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
18448 __fegetround and define as weak alias of __fegetround. Use
18449 libm_hidden_weak.
18450 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18451 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18452 * sysdeps/tile/math_private.h (__fegetround): New inline function.
18453 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
18454 __fegetround and define as weak alias of __fegetround. Use
18455 libm_hidden_weak.
18456 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
18457 __fegetround instead of fegetround.
18458
18459 [BZ #17782]
18460 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
18461 Condition macro definition on [__USE_MISC].
18462
18463 [BZ #17781]
18464 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
18465 (struct sigaction): Change type of sa_flags field to int.
18466
18467 [BZ #17780]
18468 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
18469 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
18470 __glibc_reserved0.
18471
18472 * nptl/version.c (banner): Use single year in copyright notice.
18473
18474 * NEWS: Update copyright dates.
18475 * catgets/gencat.c (print_version): Likewise.
18476 * csu/version.c (banner): Likewise.
18477 * debug/catchsegv.sh: Likewise.
18478 * debug/pcprofiledump.c (print_version): Likewise.
18479 * debug/xtrace.sh (do_version): Likewise.
18480 * elf/ldconfig.c (print_version): Likewise.
18481 * elf/ldd.bash.in: Likewise.
18482 * elf/pldd.c (print_version): Likewise.
18483 * elf/sotruss.sh: Likewise.
18484 * elf/sprof.c (print_version): Likewise.
18485 * iconv/iconv_prog.c (print_version): Likewise.
18486 * iconv/iconvconfig.c (print_version): Likewise.
18487 * locale/programs/locale.c (print_version): Likewise.
18488 * locale/programs/localedef.c (print_version): Likewise.
18489 * login/programs/pt_chown.c (print_version): Likewise.
18490 * malloc/memusage.sh (do_version): Likewise.
18491 * malloc/memusagestat.c (print_version): Likewise.
18492 * malloc/mtrace.pl: Likewise.
18493 * manual/libc.texinfo: Likewise.
18494 * nptl/version.c (banner): Likewise.
18495 * nscd/nscd.c (print_version): Likewise.
18496 * nss/getent.c (print_version): Likewise.
18497 * nss/makedb.c (print_version): Likewise.
18498 * posix/getconf.c (main): Likewise.
18499 * scripts/test-installation.pl: Likewise.
18500 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18501
18502 2015-01-02 Will Newton <will.newton@linaro.org>
18503
18504 * sysdeps/arm/armv7/configure: Removed.
18505 * sysdeps/arm/armv7/configure.ac: Likewise.
18506
18507 2015-01-02 Joseph Myers <joseph@codesourcery.com>
18508
18509 * All files with FSF copyright notices: Update copyright dates
18510 using scripts/update-copyrights.
18511 * intl/plural.c: Regenerated.
18512 * locale/programs/charmap-kw.h: Likewise.
18513 * locale/programs/locfile-kw.h: Likewise.
18514
18515 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18516
18517 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
18518
18519 2014-12-31 Joseph Myers <joseph@codesourcery.com>
18520
18521 [BZ #17748]
18522 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
18523 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
18524 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18525 and define as weak alias of __fegetenv. Use libm_hidden_weak.
18526 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18527 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
18528 define as weak alias of __fegetenv. Use libm_hidden_weak.
18529 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
18530 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18531 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18532 define as weak alias of __fegetenv. Use libm_hidden_weak.
18533 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18534 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18535 define as weak alias of __fegetenv. Use libm_hidden_weak.
18536 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
18537 libm_hidden_def.
18538 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
18539 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
18540 Likewise.
18541 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18542 define as weak alias of __fegetenv. Use libm_hidden_weak.
18543 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18544 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18545 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
18546 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18547 and define as weak alias of __fegetenv. Use libm_hidden_weak.
18548 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
18549 __fegetenv instead of fegetenv.
18550 (libc_feholdsetround_noex_ctx): Likewise.
18551
18552 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
18553
18554 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
18555 (Elf_MIPS_ABIFlags_v0): New structure.
18556 (EF_MIPS_FP64): Define.
18557 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
18558 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
18559 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
18560 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
18561 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
18562 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
18563 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
18564 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
18565 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
18566 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
18567 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
18568 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
18569 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
18570 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
18571 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
18572 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
18573 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
18574 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
18575 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
18576 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
18577 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
18578 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
18579 field.
18580 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
18581 EF_MIPS_FP64.
18582 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
18583 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
18584 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
18585 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
18586 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
18587 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
18588 * sysdeps/mips/tst-abi-interlink.c: Likewise.
18589 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
18590 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
18591 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
18592 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
18593 record the current FP ABI extension.
18594 (mips-mode-switch): Define to show if kernel headers support mode
18595 switching.
18596 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18597 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
18598 supported SYSV ABI version to 3.
18599 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
18600 feature.
18601
18602 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18603 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18604
18605 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
18606 path.
18607 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
18608
18609 2014-12-31 Joseph Myers <joseph@codesourcery.com>
18610
18611 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
18612 __fegetround and redefine to call __fegetround. Remove condition
18613 on [!__NO_MATH_INLINES].
18614 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
18615 function.
18616 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
18617 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18618 Remove macro.
18619 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
18620 instead of <fenv_libc.h>.
18621 (__llrintl): Call fegetround instead of __fegetround.
18622 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
18623 instead of <fenv_libc.h>.
18624 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18625 (__lrintl): Call fegetround instead of __fegetround.
18626 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
18627 instead of <fenv_libc.h>.
18628 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18629 (__rintl): Call fegetround instead of __fegetround.
18630
18631 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18632
18633 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
18634 arrays.
18635
18636 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
18637
18638 [BZ #17775]
18639 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
18640 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
18641 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
18642
18643 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
18644
18645 * sysdeps/i386/tls-macros.h: Include <features.h>.
18646 (TLS_LE): Use non-PIC version for GCC >= 5.0.
18647 (TLS_IE): Likewise.
18648 (TLS_LD): Likewise.
18649 (TLS_GD): Likewise.
18650 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
18651 define for GCC >= 5.0.
18652
18653 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
18654
18655 * math/test-fenv.c (test_single_exception, set_single_exc,
18656 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
18657 feexcp_mask_test, feenable_test, fe_single_test): Add
18658 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
18659 case where they are not used.
18660 * math/libm-test.inc: Likewise.
18661 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
18662 unused in the absence of FP rounding/exception support.
18663 * stdio-common/tst-printf-round.c: Likewise.
18664 * stdlib/tst-strtod-round.c: Likewise.
18665 * stdlib/tst-strtod-underflow.c: Likewise.
18666
18667 2014-12-30 Joseph Myers <joseph@codesourcery.com>
18668
18669 [BZ #17723]
18670 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
18671 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
18672 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18673 __feraiseexcept and define as weak alias of __feraiseexcept. Use
18674 libm_hidden_weak.
18675 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
18676 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18677 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
18678 libm_hidden_def.
18679 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18680 __feraiseexcept and define as weak alias of __feraiseexcept. Use
18681 libm_hidden_weak.
18682 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
18683 Likewise.
18684 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
18685 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18686 __feraiseexcept and define as weak alias of __feraiseexcept. Use
18687 libm_hidden_weak.
18688 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18689 libm_hidden_def.
18690 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18691 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
18692 (__feraiseexcept): Likewise.
18693 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18694 __feraiseexcept and define as weak alias of __feraiseexcept. Use
18695 libm_hidden_weak.
18696 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18697 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18698 libm_hidden_def.
18699 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
18700 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
18701 Use libm_hidden_def.
18702 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
18703 libm_hidden_def.
18704 (feraiseexcept): Define as weak not strong alias. Use
18705 libm_hidden_weak.
18706 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
18707 New inline function. Factored out of ...
18708 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
18709 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
18710 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
18711 feraiseexcept.
18712 * math/w_acos.c (__acos): Likewise.
18713 * math/w_asin.c (__asin): Likewise.
18714 * math/w_ilogb.c (__ilogb): Likewise.
18715 * math/w_j0.c (y0): Likewise.
18716 * math/w_j1.c (y1): Likewise.
18717 * math/w_jn.c (yn): Likewise.
18718 * math/w_log.c (__log): Likewise.
18719 * math/w_log10.c (__log10): Likewise.
18720 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
18721 * sysdeps/aarch64/fpu/math_private.h
18722 (libc_feupdateenv_test_aarch64): Likewise.
18723 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18724 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
18725 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
18726 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18727 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18728 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18729 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
18730 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18731 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18732 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18733
18734 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
18735
18736 [BZ #17732]
18737 * io/test-utime.c (main): Replace %ld with %jd and cast to
18738 intmax_t.
18739 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
18740 * nptl/tst-mutex5.c: Include <stdint.h>.
18741 (do_test): Replace %ld with %jd and cast to intmax_t.
18742 * posix/tst-regex.c (run_test): Likewise.
18743 (run_test_backwards): Likewise.
18744 * rt/tst-clock.c: Include <stdint.h>.
18745 (clock_test): Replace %ld with %jd and cast to intmax_t.
18746 * rt/tst-cpuclock1.c: Include <stdint.h>.
18747 (do_test): Replace %lu with %ju and cast to uintmax_t.
18748 * rt/tst-cpuclock2.c: Include <stdint.h>.
18749 (do_test): Replace %lu with %ju and cast to uintmax_t.
18750 * rt/tst-mqueue1.c: Include <stdint.h>.
18751 (check_attrs): Replace %ld with %jd and cast to intmax_t.
18752 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
18753 intmax_t.
18754 * rt/tst-mqueue4.c (do_test): Likewise.
18755 * rt/tst-timer4.c: Include <stdint.h>.
18756 (check_ts): Replace %ld with %jd and cast to intmax_t.
18757 (do_test): Likewise.
18758 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
18759 and cast to intmax_t.
18760 * sysdeps/pthread/tst-timer.c (main): Likewise.
18761 * time/clocktest.c (main): Likewise.
18762 * time/tst-posixtz.c (do_test): Likewise.
18763 * timezone/tst-timezone.c (main): Likewise.
18764
18765 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
18766 H.J. Lu <hongjiu.lu@intel.com>
18767
18768 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
18769 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18770 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
18771 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
18772 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
18773 version if bit_Fast_Unaligned_Load is set.
18774 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18775 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18776 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18777 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18778 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18779 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18780 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18781 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
18782 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
18783 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
18784 to 4.
18785 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
18786 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
18787 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
18788 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
18789
18790 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
18791
18792 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
18793 instead of #if to avoid a Wundef warning.
18794 * stdlib/tst-limits.c (do_test): Likewise.
18795
18796 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
18797 parallel other exception macros.
18798 (fegetenv): Convert from macro to extern inline so that it applies
18799 retroactively to inline functions already seen by the compiler.
18800 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
18801
18802 * posix/Makefile (before-compile): Use $(objpfx) for
18803 posix-conf-vars-def.h.
18804
18805 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18806
18807 * posix/getconf.c (main): Use size_t for type of I.
18808 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
18809 NSPEC.
18810
18811 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
18812 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
18813 * posix/posix-envs.def: Likewise.
18814 * sysdeps/posix/sysconf.c: Likewise.
18815 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
18816 (specs): Remove array.
18817 * scripts/gen-posix-conf-vars.awk: Support generation of specs
18818 array.
18819
18820 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
18821 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
18822 (__sysconf): Use CONF_IS_* macros.
18823
18824 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
18825 ($(objpfx)posix-conf-vars-def.h): New target.
18826 * posix/posix-conf-vars.list: New file.
18827 * posix/posix-conf-vars.h: New file.
18828 * posix/confstr.c: Include posix-conf-vars.h.
18829 (confstr): Use CONF_IS_* macros.
18830 * posix/posix-envs.def: Include posix-conf-vars.h. Use
18831 CONF_IS_* macros.
18832 * scripts/gen-posix-conf-vars.awk: New file.
18833
18834 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
18835
18836 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
18837 fegetround): Add no-op macros to avoid linknamespace issues.
18838
18839 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
18840 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
18841
18842 * sysdeps/unix/sysv/linux/tile/sysdep.h
18843 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
18844 assembly-specific section to avoid a redefinition warning.
18845
18846 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
18847 long before casting to pointer to avoid a cast warning.
18848
18849 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
18850
18851 * sysdeps/tile/tilegx/Implies: New file.
18852
18853 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
18854
18855 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
18856
18857 2014-12-23 Florian Weimer <fweimer@redhat.com>
18858
18859 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
18860
18861 2014-12-22 Joseph Myers <joseph@codesourcery.com>
18862
18863 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
18864 not define.
18865 * sysdeps/unix/sysv/linux/utimes.c: Do not include
18866 <kernel-features.h>.
18867 (__utimes) [__NR_utimes]: Make code unconditional.
18868 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
18869 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18870 (__ASSUME_UTIMES): Do not undefine.
18871 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18872 (__ASSUME_UTIMES): Likewise.
18873 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18874 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
18875 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
18876 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
18877
18878 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
18879
18880 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
18881
18882 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
18883
18884 [BZ #17747]
18885 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
18886 alias to weak alias for j0l, y0l.
18887 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
18888 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
18889
18890 [BZ #17746]
18891 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
18892 conversion.
18893
18894 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
18895
18896 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
18897 to zero if not already defined.
18898
18899 2014-12-22 Joseph Myers <joseph@codesourcery.com>
18900
18901 [BZ #17724]
18902 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
18903 (__kernel_standard_f): Remove. Moved to k_standardf.c.
18904 (__kernel_standard_l): Remove. Moved to k_standardl.c with
18905 (char *) casts added.
18906 * sysdeps/ieee754/k_standardf.c: New file.
18907 * sysdeps/ieee754/k_standardl.c: Likewise.
18908 * math/Makefile (libm-support): Remove k_standard.
18909 (libm-calls): Add k_standard.
18910
18911 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
18912
18913 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18914 Optimize to avoid an unnecessary FPCR read.
18915
18916 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
18917
18918 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18919 Optimize to reduce FPCR/FPSR accesses.
18920
18921 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
18922
18923 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
18924 Call libc_fetestexcept_aarch64.
18925
18926 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
18927
18928 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
18929 Call libc_fesetround_aarch64.
18930
18931 2014-12-22 Joseph Myers <joseph@codesourcery.com>
18932
18933 [BZ #17733]
18934 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
18935 (__bind): Do not define as weak alias.
18936 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
18937 define.
18938 (__getsockname): Do not define as weak alias.
18939
18940 2014-12-22 Will Newton <will.newton@linaro.org>
18941
18942 * manual/install.texi: Document that we require bison 2.7
18943 or above.
18944 * INSTALL: Regenerate.
18945 * configure.ac: Use AC_CHECK_PROG_VER instead of
18946 AC_PATH_PROG when checking for bison and check for
18947 version 2.7 or above.
18948 * configure: Regenerate.
18949
18950 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
18951
18952 [BZ #17745]
18953 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
18954 * sysdeps/tile/ffsll.c (ffsll): To here.
18955
18956 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
18957
18958 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
18959
18960 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
18961 if not defined.
18962 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
18963 definition.
18964 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18965 hidden ___tls_get_addr.
18966 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18967 hidden __tls_get_addr.
18968 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
18969 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
18970 Likewise.
18971
18972 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
18973
18974 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
18975 _dl_init call.
18976
18977 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
18978
18979 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
18980 from "call _dl_init@PLT".
18981 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
18982
18983 2014-12-21 Anders Kaseorg <andersk@mit.edu>
18984
18985 * manual/search.texi: (Array Sort Function): Clarify stable sorting
18986 guarantees.
18987
18988 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
18989
18990 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
18991
18992 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
18993
18994 [BZ #17744]
18995 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
18996 strnlen.
18997
18998 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
18999
19000 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
19001 of multu on MIPSr6.
19002 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
19003 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
19004 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
19005 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
19006 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
19007
19008 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
19009
19010 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
19011 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
19012 (PTR_SUBU): Use subu for mips32r6/mips64r6.
19013 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
19014 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
19015 mips32r6/mips64r6.
19016 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
19017
19018 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
19019
19020 * string/strncat.c (STRNCAT): Simplify implementation.
19021
19022 2014-12-19 David S. Miller <davem@davemloft.net>
19023
19024 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
19025 access the quad as both a long double and as a series of 4 words.
19026
19027 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
19028 link_map->l_info array access.
19029
19030 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
19031
19032 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
19033
19034 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
19035 * math/atest-exp2.c (TIMEOUT): Likewise.
19036 * math/atest-sincos.c (TIMEOUT): Likewise.
19037
19038 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
19039
19040 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
19041 -Wno-error with -fno-builtin-lround.
19042
19043 2014-12-19 Torvald Riegel <triegel@redhat.com>
19044
19045 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
19046 Contains futex constants and functions moved over from ...
19047 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
19048 <lowlevellock-futex.h>.
19049 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19050 (lll_timedwait_tid): Add comments and parentheses around macro
19051 arguments.
19052
19053 2014-12-19 Torvald Riegel <triegel@redhat.com>
19054
19055 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
19056 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
19057 (__lll_private_flag): Remove.
19058 (lll_futex_wait): Likewise.
19059 (lll_futex_timed_wait): Likewise.
19060 (lll_futex_wake): Likewise.
19061 (lll_futex_requeue): Likewise.
19062 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19063 (__lll_timedwait_tid): Spell out argument names.
19064 (lll_timedwait_tid): Add comments and parentheses around macro
19065 arguments.
19066 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
19067 LLL_SHARED and LLL_PRIVATE usable from assembly code.
19068
19069 2014-12-19 Torvald Riegel <triegel@redhat.com>
19070
19071 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
19072 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19073 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19074 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
19075 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
19076 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
19077 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
19078 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
19079 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
19080 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
19081 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
19082 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
19083 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
19084 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
19085 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
19086 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
19087 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
19088 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
19089 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
19090
19091 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
19092
19093 * sysdeps/x86_64/x32/Makefile: New file.
19094
19095 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
19096
19097 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
19098 1L with (mp_limb_t) 1.
19099
19100 2014-12-17 Roland McGrath <roland@hack.frob.com>
19101
19102 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
19103 * nptl/libc_pthread_init.c: ... here.
19104 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
19105 * nptl/register-atfork.c: ... here.
19106
19107 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
19108 Use pthread_sigmask rather than INTERNAL_SYSCALL.
19109 Use assert_perror to check its return value.
19110 (__gai_create_helper_thread): Likewise.
19111
19112 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
19113
19114 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
19115
19116 2014-12-17 Joseph Myers <joseph@codesourcery.com>
19117
19118 [BZ #17725]
19119 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
19120 __profil_counter.
19121 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
19122 Likewise.
19123 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
19124 Likewise.
19125 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
19126 Likewise.
19127 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
19128 (profil_counter): Likewise.
19129 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
19130 (profil_counter): Likewise.
19131 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
19132 Likewise.
19133 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
19134 Likewise.
19135 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
19136 (profil_counter): Likewise.
19137 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
19138 Likewise.
19139 [!__profil_counter] (profil_counter): Define as weak alias of
19140 __profil_counter.
19141 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
19142 (profil_counter): Rename to __profil_counter.
19143 [!__profil_counter] (profil_counter): Define as weak alias of
19144 __profil_counter.
19145 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
19146 (profil_counter): Rename to __profil_counter.
19147 [!__profil_counter] (profil_counter): Define as weak alias of
19148 __profil_counter.
19149 * sysdeps/posix/profil.c: Update comment referring to
19150 profil_counter.
19151 (__profil): Use __profil_counter instead of profil_counter.
19152 * sysdeps/posix/sprofil.c (profil_counter): Rename to
19153 __profil_counter. Use __profil_counter_ushort and
19154 __profil_counter_uint in definitions.
19155 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
19156 instead of profil_counter_uint and profil_counter_ushort.
19157
19158 [BZ #17722]
19159 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
19160 define as weak alias of __inet_makeaddr.
19161 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
19162 as weak alias of __inet_addr.
19163 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
19164 as weak alias of __inet_pton. Use libc_hidden_weak.
19165 * include/arpa/inet.h (__inet_pton): Declare. Use
19166 libc_hidden_proto.
19167 (inet_makeaddr): Don't use libc_hidden_proto.
19168 (__inet_makeaddr): Declare. Use libc_hidden_proto.
19169 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
19170 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
19171 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
19172 Remove variable.
19173 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19174 (test-xfail-POSIX/time.h/linknamespace): Likewise.
19175
19176 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
19177
19178 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
19179
19180 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
19181
19182 * stdio-common/bug-vfprintf-nargs.c (do_test):
19183 Cast value to intptr_t to avoid format warning
19184 for usage with PRIdPTR printing macro.
19185
19186 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
19187
19188 * libio/tst-widetext.c (do_test):
19189 Use format type %td instead of %Zd for ptrdiff_t
19190 in order to avoid format warning.
19191
19192 2014-12-17 Andreas Schwab <schwab@suse.de>
19193
19194 * nscd/mem.c (gc): Add size_t cast to match printf format.
19195
19196 2014-12-16 Roland McGrath <roland@hack.frob.com>
19197
19198 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
19199 (init): Apply PTR_MANGLE to pointers before storing them.
19200 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
19201 before using them.
19202
19203 2014-12-16 Joseph Myers <joseph@codesourcery.com>
19204
19205 [BZ #17719]
19206 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
19207 define as weak alias of __memrchr.
19208 (__memrchr): Do not define as strong alias of memrchr.
19209 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
19210 Remove variable.
19211 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19212 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19213 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19214
19215 [BZ #17717]
19216 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
19217 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
19218 (if_indextoname): Rename to __if_indextoname and define as weak
19219 alias of __if_indextoname. Use libc_hidden_weak.
19220 (if_freenameindex): Rename to __if_freenameindex and define as
19221 weak alias of __if_freenameindex.
19222 (if_nameindex): Rename to __if_nameindex and define as weak alias
19223 of __if_nameindex.
19224 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
19225 __if_nametoindex and define as weak alias of __if_nametoindex.
19226 Use libc_hidden_weak.
19227 (if_freenameindex): Rename to __if_freenameindex and define as
19228 weak alias of __if_freenameindex.
19229 (if_nameindex): Rename to __if_nameindex and define as weak alias
19230 of __if_nameindex.
19231 (if_indextoname): Rename to __if_indextoname and define as weak
19232 alias of __if_indextoname. Use libc_hidden_weak.
19233 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
19234 __if_nametoindex and define as weak alias of __if_nametoindex.
19235 Use libc_hidden_weak.
19236 (if_freenameindex): Rename to __if_freenameindex and define as
19237 weak alias of __if_freenameindex. Use libc_hidden_weak.
19238 (if_nameindex_netlink): Use __if_freenameindex instead of
19239 if_freenameindex.
19240 (if_nameindex): Rename to __if_nameindex and define as weak alias
19241 of __if_nameindex. Use libc_hidden_weak.
19242 (if_indextoname): Rename to __if_indextoname and define as weak
19243 alias of __if_indextoname. Use libc_hidden_weak.
19244 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
19245 libc_hidden_proto.
19246 [!_ISOMAC] (__if_freenameindex): Likewise.
19247 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
19248 if_nametoindex.
19249 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
19250 variable.
19251 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19252 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19253 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19254 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19255 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19256 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19257 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19258
19259 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
19260 Remove variable.
19261 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19262 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19263
19264 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19265
19266 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
19267 subscript above bounds'
19268
19269 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
19270 bounds.
19271
19272 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
19273
19274 * libio/tst-fopenloc.c: Use test-skeleton.c.
19275
19276 * stdlib/tst-bsearch.c: Use test-skeleton.c.
19277 (entry): Rename to ITEM.
19278 (do_test, comp): Adjust.
19279
19280 * stdio-common/tst-fseek.c: Use test-skeleton.c.
19281
19282 2014-12-16 Torvald Riegel <triegel@redhat.com>
19283
19284 * string/tester.c: Include <libc-internal.h>.
19285 (test_memset): Ignore -Wmemset-transposed-args.
19286
19287 2014-12-16 Torvald Riegel <triegel@redhat.com>
19288
19289 * misc/tst-mntent2.c (do_test): Fix warning.
19290
19291 2014-12-16 Torvald Riegel <triegel@redhat.com>
19292
19293 * elf/tst-unique4lib.cc(a): Mark as used.
19294
19295 2014-12-16 Florian Weimer <fweimer@redhat.com>
19296
19297 [BZ #17630]
19298 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
19299 names.
19300
19301 2014-12-16 Allan McRae <allan@archlinux.org>
19302
19303 * stdio-common/Makefile (tests): Re-add bug26.
19304
19305 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
19306
19307 [BZ #17657]
19308 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
19309 static array.
19310
19311 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
19312
19313 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
19314 (__lll_lock_wait): Likewise.
19315 (__lll_timedlock_wait): Likewise.
19316 (__lll_timedwait_tid): Likewise.
19317 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
19318 (__lll_robust_timedlock_wait): Likewise.
19319 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
19320 (lll_cond_trylock): Likewise.
19321 (__lll_lock): Likewise.
19322 (__lll_robust_lock): Likewise.
19323 (__lll_cond_lock): Likewise.
19324 (lll_robust_cond_lock): Likewise.
19325 (__lll_timedlock): Likewise.
19326 (__lll_robust_timedlock): Likewise.
19327 (__lll_unlock): Likewise.
19328 (__lll_robust_unlock): Likewise.
19329 (lll_wait_tid): Likewise.
19330 (lll_timedwait_tid): Likewise.
19331
19332 2014-12-15 Torvald Riegel <triegel@redhat.com>
19333
19334 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
19335
19336 2014-12-15 Torvald Riegel <triegel@redhat.com>
19337
19338 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
19339
19340 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
19341
19342 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
19343 * stdio-common/tst-sprintf.c: Likewise.
19344
19345 2014-12-15 Torvald Riegel <triegel@redhat.com>
19346
19347 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
19348
19349 2014-12-15 Jeff Law <law@redhat.com>
19350
19351 [BZ #16617]
19352 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
19353 on the heap. (CVE-2012-3406)
19354 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
19355 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
19356 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
19357
19358 2014-12-15 Will Newton <will.newton@linaro.org>
19359
19360 * manual/install.texi: Bump required version of texinfo
19361 to 4.7 from 4.5.
19362 * INSTALL: Regenerated.
19363 * configure.ac: Check for makeinfo version 4.7 and above.
19364 * configure: Regenerated.
19365
19366 2014-12-12 Roland McGrath <roland@hack.frob.com>
19367
19368 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
19369 PREFIX, string constant to insert between directory and name.
19370 * sysdeps/posix/shm_open.c: Update caller.
19371 * sysdeps/posix/shm_unlink.c: Likewise.
19372 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
19373 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
19374 (SEM_SHM_PREFIX): New macro.
19375 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
19376 [$(have-thread-library) = no].
19377 * nptl/Makefile (libpthread-routines): Add shm-directory.
19378 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
19379 * sysdeps/nptl/shm-directory.h: New file.
19380 * sysdeps/posix/shm-directory.c
19381 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
19382 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
19383 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
19384 INTERNAL_SYSCALL.
19385 (__where_is_shmfs): Function removed.
19386 (mountpoint, defaultmount, defaultdir, __namedsem_once):
19387 Variables removed.
19388 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
19389 Use SHM_GET_NAME.
19390 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
19391
19392 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
19393 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
19394 unconditional for use inside libpthread.
19395 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
19396
19397 2014-12-12 Roland McGrath <roland@hack.frob.com>
19398
19399 * nptl/pthread_getaffinity.c: New file.
19400 * nptl/pthread_setaffinity.c: New file.
19401 * nptl/pthread_getname.c: New file.
19402 * nptl/pthread_setname.c: New file.
19403
19404 * nptl/pthread_create.c (START_THREAD_DEFN)
19405 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
19406
19407 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19408 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19409
19410 * resolv/res_send.c (send_vc): Disable warning resplen may
19411 be used uninitialized.
19412
19413 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19414
19415 * nptl/tst-mutex6.c
19416 (ATTR_NULL): New define checks ATTR against NULL.
19417 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
19418 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
19419
19420 2014-12-11 James Lemke <jwlemke@codesourcery.com>
19421
19422 [BZ #17581]
19423 * malloc/hooks.c
19424 (mem2mem_check): Revert my previous change.
19425 (malloc_check_get_size): Revert my previous change.
19426 (mem2chunk_check): Revert my previous change.
19427
19428 2014-12-11 Roland McGrath <roland@hack.frob.com>
19429
19430 * sysdeps/posix/shm-directory.c: New file.
19431 * sysdeps/posix/shm-directory.h: New file.
19432 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
19433 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
19434 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
19435 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
19436 Transmute EPERM to EACCES.
19437 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
19438 from ...
19439 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
19440 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
19441
19442 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19443
19444 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
19445 pointer and cast to uintptr_t.
19446 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
19447 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
19448 Add cast to avoid warning.
19449 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
19450
19451 2014-12-11 Joseph Myers <joseph@codesourcery.com>
19452
19453 * nptl/semaphore.h: Move to ...
19454 * sysdeps/pthread/semaphore.h: ... here.
19455 * Makefile (installed-headers): Change nptl/semaphore.h to
19456 sysdeps/pthread/semaphore.h.
19457
19458 2014-12-11 Roland McGrath <roland@hack.frob.com>
19459
19460 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
19461 generated error format strings.
19462
19463 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
19464 -Wformat-extra-args warnings for scanf formats.
19465 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
19466 test of zero-length format (duh).
19467 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
19468 corner-case scanf format test.
19469 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
19470 generated fprintf format string.
19471 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
19472 corner-case sprintf format tests.
19473 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
19474 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
19475 -Wformat-extra-args warnings throughout.
19476 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
19477 (CFLAGS-scanf4.c): Likewise.
19478 (CFLAGS-scanf7.c): Likewise.
19479 (CFLAGS-tst-sprintf.c): Likewise.
19480 (CFLAGS-tst-printf.c): Likewise.
19481 (CFLAGS-tst-printfsz.c): Likewise.
19482
19483 2014-12-11 Joseph Myers <joseph@codesourcery.com>
19484
19485 * include/cpio.h: New file.
19486 * include/fmtmsg.h: Likewise.
19487
19488 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
19489 corresponding format argument to size_t.
19490 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
19491 arguments.
19492 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
19493 corresponding format argument to size_t.
19494 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
19495 arguments.
19496 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
19497 corresponding format argument to size_t.
19498 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
19499 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
19500 (CFLAGS-tst-mbswcs2.c): Likewise.
19501 (CFLAGS-tst-mbswcs3.c): Likewise.
19502 (CFLAGS-tst-mbswcs4.c): Likewise.
19503 (CFLAGS-tst-mbswcs5.c): Likewise.
19504 (CFLAGS-tst-trans.c): Likewise.
19505
19506 2014-12-11 Roland McGrath <roland@hack.frob.com>
19507
19508 * posix/regexbug1.c (main): Use "%s" format with regerror results,
19509 rather than assuming they won't contain any '%'s.
19510
19511 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
19512
19513 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
19514 inhibit_loop_to_libcall to avoid recursive calls.
19515 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
19516 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
19517
19518 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
19519
19520 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
19521 prototype.
19522
19523 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
19524
19525 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
19526 integer value instead of boolean.
19527
19528 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
19529
19530 * malloc/malloc.c: Fix powerof2 check.
19531
19532 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19533
19534 * locale/programs/locfile.h (maybe_swap_uint32):
19535 Remove inline and add unused attribute.
19536
19537 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19538
19539 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19540 Truncating assembler expression to a .long expression.
19541
19542 2014-12-11 Andreas Schwab <schwab@suse.de>
19543
19544 * elf/rtld.c (struct map_args): Constify str member.
19545 (do_preload): Constify fname argument.
19546
19547 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19548
19549 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
19550 constants definition.
19551
19552 2014-12-11 Andreas Schwab <schwab@suse.de>
19553
19554 [BZ #16657]
19555 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
19556 FORCE_ELISION instead of DO_ELISION.
19557 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
19558 Remove.
19559 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
19560 Likewise.
19561
19562 * iconvdata/gconv-modules: Remove duplicate entry.
19563
19564 2014-12-11 Will Newton <will.newton@linaro.org>
19565
19566 Merge gettext 0.19.3 into intl/.
19567
19568 This involves a number of cosmetic changes to comments
19569 and ANSI function definitions and prototypes throughout
19570 all the files. The gettext copyright header is used but
19571 with the date ranges taken from the glibc copy.
19572
19573 * NEWS: Add gettext merge to 2.21.
19574 * intl/bindtextdom.c: Switch to gettext copyright.
19575 Use ANSI definitions and prototypes.
19576 Use gl_* locking primitives rather than __libc_* ones.
19577 Use __builtin_expect rather than __glibc_likely/unlikely.
19578 * intl/dcgettext.c: Switch to gettext copyright.
19579 Use ANSI definitions and prototypes.
19580 * intl/dcigettext.c: Switch to gettext copyright.
19581 Use ANSI definitions and prototypes.
19582 (INTDIV0_RAISES_SIGFPE): New define.
19583 Use gl_* locking primitives rather than __libc_* ones.
19584 Include eval-plural.h instead of plural-eval.c.
19585 Use __builtin_expect rather than __glibc_likely/unlikely.
19586 * intl/dcngettext.c: Switch to gettext copyright.
19587 Use ANSI definitions and prototypes.
19588 * intl/dgettext.c: Likewise.
19589 * intl/dngettext.c: Likewise.
19590 * intl/plural-eval.c: Renamed to...
19591 * intl/eval-plural.h: ...this.
19592 * intl/explodename.c: Switch to gettext copyright.
19593 Use ANSI definitions and prototypes.
19594 (_nl_explode_name): Use strchr instead of __rawmemchr.
19595 * intl/finddomain.c: Switch to gettext copyright.
19596 Use ANSI definitions and prototypes.
19597 Use gl_* locking primitives rather than __libc_* ones.
19598 (_nl_find_domain): Use malloc rather than alloca for
19599 allocation of temporary locale name.
19600 * intl/gettext.c: Switch to gettext copyright.
19601 Use ANSI definitions and prototypes.
19602 * intl/gettextP.h: Switch to gettext copyright.
19603 Use ANSI definitions and prototypes.
19604 Use gl_* locking primitives rather than __libc_* ones.
19605 * intl/gmo.h: Switch to gettext copyright.
19606 (struct sysdep_string): Move struct segment_pair outside of
19607 struct definition.
19608 * intl/hash-string.c: Use ANSI definitions and prototypes.
19609 * intl/hash-string.h: Switch to gettext copyright.
19610 Use ANSI definitions and prototypes.
19611 * intl/l10nflist.c: Switch to gettext copyright.
19612 Use ANSI definitions and prototypes.
19613 (_nl_normalize_codeset): Avoid integer overflow.
19614 * intl/loadinfo.h: Switch to gettext copyright.
19615 Use ANSI definitions and prototypes.
19616 (LIBINTL_DLL_EXPORTED): New define.
19617 (PATH_SEPARATOR): New define.
19618 * intl/loadmsgcat.c: Switch to gettext copyright.
19619 * intl/localealias.c: Switch to gettext copyright.
19620 Use ANSI definitions and prototypes.
19621 (_nl_expand_alias): Use PATH_SEPARATOR.
19622 * intl/ngettext.c: Switch to gettext copyright.
19623 Use ANSI definitions and prototypes.
19624 * intl/plural-exp.c: Likewise.
19625 * intl/plural-exp.h: Switch to gettext copyright.
19626 Use ANSI definitions and prototypes.
19627 (struct expression): Move definition of enum operator outside
19628 of struct definition.
19629 * intl/plural.c: Regenerate.
19630 * intl/plural.y: Switch to gettext copyright.
19631 Use ANSI definitions and prototypes.
19632 Port to bison 3.0.
19633 * intl/textdomain.c: Switch to gettext copyright.
19634 Use ANSI definitions and prototypes.
19635 Use gl_* locking primitives rather than __libc_* ones.
19636
19637 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
19638
19639 * debug/warning-nop.c: Add used atrribute.
19640
19641 2014-12-10 Joseph Myers <joseph@codesourcery.com>
19642
19643 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
19644
19645 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
19646 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
19647 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
19648
19649 2014-12-10 Joseph Myers <joseph@codesourcery.com>
19650 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19651
19652 [BZ #17634]
19653 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
19654 Undefine after defining function. Define as weak alias of
19655 __wcschr. Use libc_hidden_weak.
19656 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
19657 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
19658 (libc_hidden_def): Also define __GI___wcschr alias.
19659 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
19660 __wcschr and define as weak alias of __wcschr.
19661 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
19662 __wcschr.
19663 [!WCSCHR] (DEFAULT_WCSCHR): Define.
19664 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
19665 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
19666 libc_hidden_weak. Do not use libc_hidden_def.
19667 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
19668 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
19669 __GI___wcschr alias.
19670 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
19671 [IS_IN (libc)] (wcschr): Define as macro expanding to
19672 __redirect_wcschr.
19673 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
19674 [IS_IN (libc)] (__wcschr_power6): Likewise.
19675 [IS_IN (libc)] (__wcschr_power7): Likewise.
19676 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
19677 instead of wcschr.
19678 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
19679 __libc_wcschr.
19680 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
19681 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
19682 __wcschr and define as weak alias of __wcschr. Use
19683 libc_hidden_builtin_def.
19684 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
19685 as weak alias of __wcschr. Use libc_hidden_weak.
19686 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
19687 wcschr.
19688 * time/era.c (_nl_init_era_entries): Likewise.
19689 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
19690 variable.
19691 (test-xfail-XPG3/time.h/linknamespace): Likewise.
19692 (test-xfail-XPG4/time.h/linknamespace): Likewise.
19693
19694 2014-12-10 Joseph Myers <joseph@codesourcery.com>
19695
19696 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
19697 format for long int variable.
19698
19699 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
19700
19701 [BZ #10672]
19702 * manual/search.texi: (Array Sort Function): Remove claim how to make
19703 qsort stable.
19704
19705 2014-12-10 Andreas Schwab <schwab@suse.de>
19706
19707 [BZ #12847]
19708 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
19709 user-controlled locks.
19710
19711 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
19712
19713 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
19714 register.
19715
19716 2014-12-10 Joseph Myers <joseph@codesourcery.com>
19717
19718 * configure.ac (--disable-werror): New configure option.
19719 (enable_werror): New AC_SUBST.
19720 * configure: Regenerated.
19721 * config.make.in (enable-werror): New variable.
19722 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
19723 -Wno-error=undef.
19724 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
19725 * manual/install.texi (Configuring and compiling): Document
19726 --disable-werror.
19727 * INSTALL: Regenerated.
19728 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
19729 (CFLAGS-tst-chk2.c): Likewise.
19730 (CFLAGS-tst-chk3.c): Likewise.
19731 (CFLAGS-tst-chk4.cc): Likewise.
19732 (CFLAGS-tst-chk5.cc): Likewise.
19733 (CFLAGS-tst-chk6.cc): Likewise.
19734 (CFLAGS-tst-lfschk1.c): Likewise.
19735 (CFLAGS-tst-lfschk2.c): Likewise.
19736 (CFLAGS-tst-lfschk3.c): Likewise.
19737 (CFLAGS-tst-lfschk4.cc): Likewise.
19738 (CFLAGS-tst-lfschk5.cc): Likewise.
19739 (CFLAGS-tst-lfschk6.cc): Likewise.
19740
19741 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
19742 (main): Disable -Wdeprecated-declarations around calls to
19743 register_printf_function.
19744
19745 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
19746 (do_test): Disable -Wdiv-by-zero around some calls to
19747 fwrite_unlocked and fread_unlocked.
19748
19749 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
19750 (DIAG_POP_NEEDS_COMMENT): Likewise.
19751 (_DIAG_STR1): Likewise.
19752 (_DIAG_STR): Likewise.
19753 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
19754 * stdio-common/bug21.c: Include <libc-internal.h>.
19755 (do_test): Disable -Wformat around call to sscanf.
19756 * stdio-common/scanf14.c: Include <libc-internal.h>.
19757 (main): Disable -Wformat around some calls to scanf functions.
19758
19759 2014-12-09 Torvald Riegel <triegel@redhat.com>
19760
19761 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
19762
19763 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19764
19765 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
19766 stack variable alignment.
19767
19768 2014-12-06 Joseph Myers <joseph@codesourcery.com>
19769
19770 [BZ #17682]
19771 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
19772 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
19773 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
19774 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
19775 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
19776 __getrlimit instead of getrlimit.
19777 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
19778 __gettimeofday instead of gettimeofday.
19779 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19780 Likewise.
19781 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19782 Likewise.
19783 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19784 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
19785 Remove variable.
19786 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19787 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19788
19789 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19790
19791 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
19792 for wide-character tests.
19793
19794 2014-12-04 Roland McGrath <roland@hack.frob.com>
19795
19796 * io/openat64.c: #include <libc-internal.h>
19797 (__openat64): Prototypify. Use ignore_value on MODE.
19798 * io/openat.c: Likewise.
19799 * misc/reboot.c: #include <libc-internal.h>
19800 (reboot): Prototypify. Use ignore_value on HOWTO.
19801 * misc/ptrace.c: #include <libc-internal.h>
19802 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
19803
19804 2014-12-04 Joseph Myers <joseph@codesourcery.com>
19805
19806 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
19807 XPG4, UNIX98 and XOPEN2K.
19808 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
19809 Remove variable.
19810 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19811
19812 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19813
19814 * libio/fileops.c: Use ISO C style for function definitions.
19815 * libio/iofopen.c: Likewise.
19816 * libio/wfileops.c: Likewise.
19817
19818 [BZ #17653]
19819 * libio/fileops.c (_IO_new_file_underflow): Unset cached
19820 offset on EOF.
19821 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19822 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
19823 (fgets_func): Function pointer to fgets and fgetws.
19824 (do_ftell_test): Add test to verify ftell value after read
19825 EOF.
19826 (do_test): Set fgets_func.
19827
19828 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
19829 O_TRUNC flag for w and w+ modes.
19830 (do_rewind_test): Likewise.
19831 (do_ftell_test): Likewise.
19832 (do_write_test): Likewise.
19833
19834 [BZ #17647]
19835 * libio/fileops.c (do_ftell): Seek only when there are
19836 unflushed writes.
19837 * libio/wfileops.c (do_ftell_wide): Likewise.
19838 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
19839 test case.
19840 (do_one_test): Call it.
19841
19842 2014-12-03 Joseph Myers <joseph@codesourcery.com>
19843
19844 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
19845 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
19846 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
19847 Remove variable.
19848 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19849 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19850 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19851
19852 2014-12-02 Joseph Myers <joseph@codesourcery.com>
19853
19854 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
19855 Remove variable.
19856 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19857
19858 [BZ #17668]
19859 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
19860 as weak alias of __getifaddrs. Use libc_hidden_weak.
19861 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19862 __freeifaddrs. Use libc_hidden_weak.
19863 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
19864 define as weak alias of __getifaddrs. Use libc_hidden_weak.
19865 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19866 __freeifaddrs. Use libc_hidden_weak.
19867 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
19868 __getifaddrs and define as weak alias of __getifaddrs. Use
19869 libc_hidden_weak.
19870 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19871 __freeifaddrs. Use libc_hidden_weak.
19872 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
19873 Remove variable.
19874 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19875 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19876
19877 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
19878
19879 [BZ #17601]
19880 * sysdeps/mips/start.S (__start): Use indirect jump to call
19881 __libc_start_main.
19882
19883 2014-12-02 Joseph Myers <joseph@codesourcery.com>
19884
19885 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
19886
19887 * nptl/tst-mutex1.c: Include <stdbool.h>.
19888 [!ATTR] (ATTR_NULL): New macro.
19889 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
19890 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
19891 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
19892
19893 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
19894 to char *.
19895
19896 [BZ #17665]
19897 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
19898 Change conditional to [__USE_MISC].
19899
19900 [BZ #17664]
19901 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
19902 fgets_unlocked.
19903 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
19904 __fgets_unlocked.
19905 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
19906 fgets_unlocked.
19907 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
19908 Remove variable.
19909 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19910 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19911 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19912 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19913 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19914 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19915 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19916 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19917 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19918
19919 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
19920
19921 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19922
19923 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19924 Remove strpbrk objects.
19925 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19926 (__libc_ifunc_impl_list): Remove strpbrk implementation.
19927 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
19928 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
19929 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
19930 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
19931
19932 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19933 Remove strcspn objects.
19934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19935 (__libc_ifunc_impl_list): Remove strcspn implementation.
19936 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
19937 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
19938 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
19939 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
19940
19941 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19942 Remove strspn objetcs.
19943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19944 (__libc_ifunc_impl_list): Remove strspn implementation.
19945 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
19946 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19947 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
19948 * sysdeps/powerpc/powerpc64/strspn.S: New file.
19949
19950 2014-12-01 James Lemke <jwlemke@codesourcery.com>
19951
19952 [BZ #17581]
19953 * malloc/hooks.c
19954 (mem2mem_check): Add a terminator to the chain of checking blocks.
19955 (malloc_check_get_size): Use it here.
19956 (mem2chunk_check): Ditto.
19957
19958 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19959
19960 * sysdeps/powerpc/powerpc64/strtok.S: New file.
19961 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
19962
19963 2014-11-29 Carlos O'Donell <carlos@redhat.com>
19964
19965 * bits/ioctl-types.h: Indent preprocessor directives correctly.
19966
19967 * nptl/nptl-init.c: Include libc-internal.h.
19968 (__pthread_initialize_minimal_internal): Use ROUND_UP.
19969
19970 * elf/ldconfig.c (search_dir): Expand comment.
19971
19972 2014-11-29 Joseph Myers <joseph@codesourcery.com>
19973
19974 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
19975 variable.
19976 (linknamespace-symlist-stdlibs-tests): Likewise.
19977 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
19978 instead of $(objpfx)symlist-stdlibs.
19979 (linknamespace-libs-isoc): New variable.
19980 (linknamespace-libs): Use $(linknamespace-libs-isoc).
19981 (linknamespace-libs-ISO): New variable.
19982 (linknamespace-libs-ISO99): Likewise.
19983 (linknamespace-libs-ISO11): Likewise.
19984 (linknamespace-libs-XPG3): Likewise.
19985 (linknamespace-libs-XPG4): Likewise.
19986 (linknamespace-libs-POSIX): Likewise.
19987 (linknamespace-libs-UNIX98): Likewise.
19988 (linknamespace-libs-XOPEN2K): Likewise.
19989 (linknamespace-libs-POSIX2008): Likewise.
19990 (linknamespace-libs-XOPEN2K8): Likewise.
19991 ($(objpfx)symlist-stdlibs): Replace by
19992 $(linknamespace-symlist-stdlibs-tests). Use
19993 $(linknamespace-libs-$*) as set of libraries.
19994 ($(linknamespace-header-tests)): Update dependencies. Use
19995 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
19996 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
19997 * conform/linknamespace.pl: Remove comment about considering
19998 definitions of symbols from irrelevant libraries.
19999
20000 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
20001
20002 [BZ #13862]
20003 * elf/dl-tls.c: Include <atomic.h>.
20004 (oom): Remove #ifdef SHARED/#endif.
20005 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
20006 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
20007 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
20008 big enough.
20009 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
20010 * nptl/Makefile (tests): Add tst-stack4.
20011 (modules-names): Add tst-stack4mod.
20012 ($(objpfx)tst-stack4): New.
20013 (tst-stack4mod.sos): Likewise.
20014 ($(objpfx)tst-stack4.out): Likewise.
20015 ($(tst-stack4mod.sos)): Likewise.
20016 (clean): Likewise.
20017 * nptl/tst-stack4.c: New file.
20018 * nptl/tst-stack4mod.c: Likewise.
20019
20020 2014-11-27 J. Brown <jb999@gmx.de>
20021
20022 * sysdeps/x86/bits/string.h: Add recent CPUs.
20023
20024 2014-11-27 Joseph Myers <joseph@codesourcery.com>
20025
20026 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
20027 sigblock.
20028
20029 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
20030 feof.
20031
20032 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
20033 variable.
20034
20035 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
20036
20037 * nscd/connections.c: Include libc-internal.h because of macro
20038 usage ignore_value.
20039
20040 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20041
20042 * string/bits/string3.h (__warn_memset_zero_len): Don't
20043 declare for gcc newer than 5.0.
20044 (memset): Don't test for zero-length __LEN for gcc newer than
20045 5.0.
20046
20047 2014-11-27 Joseph Myers <joseph@codesourcery.com>
20048
20049 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
20050 size_t for %zu format.
20051
20052 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
20053 difference, not %ju.
20054
20055 2014-11-26 Joseph Myers <joseph@codesourcery.com>
20056
20057 * include/libc-internal.h (ignore_value): New macro.
20058 * nscd/connections.c (restart): Wrap calls to setuid and setgid
20059 with ignore_value.
20060
20061 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
20062 definition.
20063
20064 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
20065 pthread_cleanup_push to void *.
20066
20067 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
20068 Undefine.
20069
20070 [BZ #16619]
20071 [BZ #16740]
20072 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
20073 instead of 1L << 52.
20074
20075 * libio/bug-rewind.c (do_test): Check fwscanf return values.
20076 * libio/bug-rewind2.c (do_test): Likewise.
20077
20078 * debug/test-stpcpy_chk-ifunc.c: Remove file.
20079 * debug/test-strcpy_chk-ifunc.c: Likewise.
20080 * wcsmbs/test-wcschr-ifunc.c: Likewise.
20081 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20082 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20083 * wcsmbs/test-wcslen-ifunc.c: Likewise.
20084 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20085 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20086 * Rules [$(multi-arch) = no] (tests): Do not filter out
20087 $(tests-ifunc).
20088 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
20089 * debug/Makefile (tests-ifunc): Remove variable.
20090 (tests): Do not add $(tests-ifunc).
20091 * wcsmbs/Makefile (tests-ifunc): Remove variable.
20092 (tests): Do not add $(tests-ifunc).
20093 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
20094 [TEST_IFUNC]: Remove conditionals.
20095 * string/test-string.h (TEST_IFUNC): Remove macro.
20096 [TEST_IFUNC]: Remove conditionals.
20097
20098 * string/test-strchr.c [!WIDE] (L): New macro.
20099 [WIDE] (L): Likewise.
20100 (check1): Use CHAR instead of char. Use L on string and character
20101 constants.
20102
20103 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
20104
20105 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
20106 tests.
20107 * sysdeps/powerpc/bits/atomic.h
20108 (__arch_atomic_exchange_and_add_32_acq): Add definition.
20109 (__arch_atomic_exchange_and_add_32_rel): Likewise.
20110 (atomic_exchange_and_add_acq): Likewise.
20111 (atomic_exchange_and_add_rel): Likewise.
20112 * sysdeps/powerpc/powerpc32/bits/atomic.h
20113 (__arch_atomic_exchange_and_add_64_acq): Add definition.
20114 (__arch_atomic_exchange_and_add_64_rel): Likewise.
20115 * sysdeps/powerpc/powerpc64/bits/atomic.h
20116 (__arch_atomic_exchange_and_add_64_acq): Add definition.
20117 (__arch_atomic_exchange_and_add_64_rel): Likewise.
20118
20119 2014-11-26 Torvald Riegel <triegel@redhat.com>
20120
20121 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
20122 Change synchronization of __sched_fifo_min_prio and
20123 __sched_fifo_max_prio.
20124 * nptl/pthread_mutexattr_getprioceiling.c
20125 (pthread_mutexattr_getprioceiling): Likewise.
20126 * nptl/pthread_mutexattr_setprioceiling.c
20127 (pthread_mutexattr_setprioceiling): Likewise.
20128 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20129 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
20130 Likewise.
20131
20132 2014-11-26 Joseph Myers <joseph@codesourcery.com>
20133
20134 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
20135 void.
20136
20137 2014-11-25 Joseph Myers <joseph@codesourcery.com>
20138
20139 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
20140 third argument const.
20141
20142 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
20143
20144 fnmatch: work around GCC compiler warning bug with uninit var
20145 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
20146 This works around a bug with x86-64 GCC 4.9.2 and earlier
20147 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
20148 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
20149 used uninitialized in this function [-Wmaybe-uninitialized]".
20150
20151 2014-11-25 Joseph Myers <joseph@codesourcery.com>
20152
20153 * posix/bug-regex31.c (main): Return RES not 0.
20154
20155 2014-11-25 Anton Blanchard <anton@samba.org>
20156
20157 * sysdeps/powerpc/bits/atomic.h
20158 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
20159
20160 2014-11-24 Sterling Augustine <saugustine@google.com>
20161
20162 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
20163
20164 2014-11-24 Ryan Cumming <etaoins@gmail.com>
20165
20166 [BZ #17608]
20167 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
20168
20169 2014-11-24 Joseph Myers <joseph@codesourcery.com>
20170
20171 [BZ #17633]
20172 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
20173 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
20174 variable.
20175 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20176 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20177
20178 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
20179
20180 * string/strncpy.c (strncpy): Improve performance by using memset.
20181
20182 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
20183
20184 * string/strcpy.c (strcpy):
20185 Improve performance by using strlen and memcpy.
20186
20187 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
20188
20189 * string/strcoll_l.c (get_next_seq): __always_inline.
20190 * string/strcoll_l.c (do_compare): __always_inline.
20191
20192 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20193
20194 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
20195 defined.
20196 * include/mqueue.h: Likewise.
20197 * include/stdlib.h: Likewise.
20198
20199 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
20200 (get_null_defines): Adjust.
20201 * sunrpc/Makefile: Adjust comment.
20202 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
20203 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
20204 (CFLAGS-interp.c): Likewise.
20205 (CFLAGS-ldconfig.c): Likewise.
20206 (CPPFLAGS-.os): Likewise.
20207 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20208 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20209 * extra-modules.mk (extra-modules.mk): Likewise.
20210 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
20211 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
20212 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
20213 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
20214 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
20215 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
20216 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
20217 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
20218 * iconvdata/Makefile (CPPFLAGS): Likewise.
20219 (cpp-srcs-left): Add libof for all iconvdata routines.
20220 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
20221 * include/assert.h: Likewise.
20222 * include/ctype.h: Likewise.
20223 * include/errno.h: Likewise.
20224 * include/libc-symbols.h: Likewise.
20225 * include/math.h: Likewise.
20226 * include/netdb.h: Likewise.
20227 * include/resolv.h: Likewise.
20228 * include/stdio.h: Likewise.
20229 * include/stdlib.h: Likewise.
20230 * include/string.h: Likewise.
20231 * include/sys/stat.h: Likewise.
20232 * include/wctype.h: Likewise.
20233 * intl/l10nflist.c: Likewise.
20234 * libidn/idn-stub.c: Likewise.
20235 * libio/libioP.h: Likewise.
20236 * nptl/libc_multiple_threads.c: Likewise.
20237 * nptl/pthreadP.h: Likewise.
20238 * posix/regex_internal.h: Likewise.
20239 * resolv/res_hconf.c: Likewise.
20240 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
20241 * sysdeps/arm/memmove.S: Likewise.
20242 * sysdeps/arm/sysdep.h: Likewise.
20243 * sysdeps/generic/_itoa.h: Likewise.
20244 * sysdeps/generic/symbol-hacks.h: Likewise.
20245 * sysdeps/gnu/errlist.awk: Likewise.
20246 * sysdeps/gnu/errlist.c: Likewise.
20247 * sysdeps/i386/i586/memcpy.S: Likewise.
20248 * sysdeps/i386/i586/memset.S: Likewise.
20249 * sysdeps/i386/i686/memcpy.S: Likewise.
20250 * sysdeps/i386/i686/memmove.S: Likewise.
20251 * sysdeps/i386/i686/mempcpy.S: Likewise.
20252 * sysdeps/i386/i686/memset.S: Likewise.
20253 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20254 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20255 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
20256 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
20257 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20258 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20259 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
20260 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20261 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20262 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20263 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20264 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20265 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20266 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20267 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20268 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20269 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
20270 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
20271 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
20272 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20273 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20274 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20275 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20276 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20277 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20278 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20279 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
20280 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20281 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
20282 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20283 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20284 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20285 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20286 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20287 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20288 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20289 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20290 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20291 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20292 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20293 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20294 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20295 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20296 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20297 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20298 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20299 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
20300 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
20301 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20302 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20303 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20304 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
20305 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
20306 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20307 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20308 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
20309 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20310 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
20311 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
20312 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20313 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20314 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20315 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
20316 * sysdeps/nptl/bits/libc-lock.h: Likewise.
20317 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20318 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
20319 * sysdeps/posix/closedir.c: Likewise.
20320 * sysdeps/posix/opendir.c: Likewise.
20321 * sysdeps/posix/readdir.c: Likewise.
20322 * sysdeps/posix/rewinddir.c: Likewise.
20323 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
20324 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
20325 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20326 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20327 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20328 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
20329 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
20330 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
20331 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
20332 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
20333 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
20334 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
20335 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
20336 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
20337 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
20338 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
20339 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
20340 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
20341 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
20342 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
20343 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
20344 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
20345 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
20346 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
20347 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
20348 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
20349 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
20350 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
20351 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
20352 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
20353 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
20354 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
20355 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
20356 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
20357 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
20358 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
20359 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20360 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20361 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
20362 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
20363 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
20364 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
20365 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
20366 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
20367 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20368 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
20369 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
20370 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
20371 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
20372 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
20373 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
20374 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
20375 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20376 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
20377 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
20378 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
20379 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
20380 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
20381 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
20382 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
20383 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
20384 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
20385 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20386 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
20387 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
20388 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
20389 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
20390 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
20391 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
20392 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
20393 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
20394 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
20395 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
20396 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
20397 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
20398 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
20399 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
20400 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
20401 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20402 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
20403 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
20404 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20405 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
20406 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
20407 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20408 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
20409 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
20410 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20411 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20412 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20413 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
20414 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
20415 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
20416 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20417 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20418 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
20419 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20420 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20421 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
20422 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
20423 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20424 * sysdeps/unix/alpha/sysdep.S: Likewise.
20425 * sysdeps/unix/alpha/sysdep.h: Likewise.
20426 * sysdeps/unix/make-syscalls.sh: Likewise.
20427 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20428 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20429 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20430 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
20431 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20432 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20433 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
20434 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20435 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20436 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
20437 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20438 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20439 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20440 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20441 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20442 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20443 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20444 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20445 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20446 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20447 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20448 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20449 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20450 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20451 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20452 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20453 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20456 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
20457 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20458 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20459 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20460 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20461 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20462 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20463 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20464 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20465 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20466 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20467 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20468 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20469 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20470 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20471 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20472 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20473 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20474 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20476 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20477 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20478 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20479 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20480 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20481 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
20482 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20483 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20485 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
20486 * sysdeps/x86_64/memcpy.S: Likewise.
20487 * sysdeps/x86_64/memmove.c: Likewise.
20488 * sysdeps/x86_64/memset.S: Likewise.
20489 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
20490 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20491 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20492 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
20493 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20494 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20495 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20496 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20497 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20498 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20499 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20500 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20501 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
20502 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20503 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20504 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
20505 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20506 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20507 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20508 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20509 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
20510 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20511 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20512 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20513 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20514 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20515 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20516 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
20517 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20518 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20519 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
20520 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20521 * sysdeps/x86_64/strcmp.S: Likewise.
20522
20523 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
20524
20525 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
20526 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
20527 * elf/rtld-Rules: Likewise.
20528 * elf/setup-vdso.h: Likewise.
20529 * include/assert.h: Likewise.
20530 * include/bits/stdlib-float.h: Likewise.
20531 * include/errno.h: Likewise.
20532 * include/sys/stat.h: Likewise.
20533 * include/unistd.h: Likewise.
20534 * sysdeps/aarch64/setjmp.S: Likewise.
20535 * sysdeps/alpha/setjmp.S: Likewise.
20536 * sysdeps/arm/__longjmp.S: Likewise.
20537 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
20538 * sysdeps/arm/setjmp.S: Likewise.
20539 * sysdeps/arm/sysdep.h: Likewise.
20540 * sysdeps/generic/_itoa.h: Likewise.
20541 * sysdeps/generic/dl-sysdep.h: Likewise.
20542 * sysdeps/generic/ldsodefs.h: Likewise.
20543 * sysdeps/i386/dl-tls.h: Likewise.
20544 * sysdeps/i386/setjmp.S: Likewise.
20545 * sysdeps/m68k/setjmp.c: Likewise.
20546 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
20547 * sysdeps/mach/hurd/opendir.c: Likewise.
20548 * sysdeps/posix/getcwd.c: Likewise.
20549 * sysdeps/posix/opendir.c: Likewise.
20550 * sysdeps/posix/profil.c: Likewise.
20551 * sysdeps/powerpc/dl-procinfo.h: Likewise.
20552 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20553 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20554 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20555 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20556 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
20557 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20558 * sysdeps/s390/dl-tls.h: Likewise.
20559 * sysdeps/s390/s390-32/setjmp.S: Likewise.
20560 * sysdeps/s390/s390-64/setjmp.S: Likewise.
20561 * sysdeps/sh/sh3/setjmp.S: Likewise.
20562 * sysdeps/sh/sh4/setjmp.S: Likewise.
20563 * sysdeps/unix/alpha/sysdep.h: Likewise.
20564 * sysdeps/unix/arm/sysdep.S: Likewise.
20565 * sysdeps/unix/i386/sysdep.S: Likewise.
20566 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20567 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
20568 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20569 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20570 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20571 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20572 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20573 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20574 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20575 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20576 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20577 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20578 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20581 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20582 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20583 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20584 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20585 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20586 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20587 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20588 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20589 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20590 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20591 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20592 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20593 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20594 * sysdeps/x86_64/setjmp.S: Likewise.
20595
20596 * include/math.h: Use IS_IN instead of IS_IN_libm.
20597 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
20598 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20599 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20600 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
20601 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20602 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20603 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20604 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20605 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20606 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20607 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
20608 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
20609 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
20610 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
20611 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
20612 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
20613 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
20614 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
20615 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
20616 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
20617 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
20618 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
20619 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
20620 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
20621 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
20622 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
20623 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
20624 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
20625 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
20626 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
20627 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
20628 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20629 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20631 Likewise.
20632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
20633 Likewise.
20634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
20635 Likewise.
20636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
20637 Likewise.
20638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
20639 Likewise.
20640 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20641 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
20642 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20643 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20644 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20645 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
20647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
20648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
20649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
20650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
20651 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
20652 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
20653 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20654 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20655 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20656 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20657 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20658 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20659 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20660 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
20661 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
20662 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
20663 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
20664 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
20665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20666 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
20667
20668 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
20669 * nptl/pthreadP.h: Likewise.
20670 * nptl_db/structs.def: Likewise.
20671 * sysdeps/arm/sysdep.h: Likewise.
20672 * sysdeps/nptl/bits/libc-lock.h: Likewise.
20673 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20674 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
20675 * sysdeps/unix/alpha/sysdep.h: Likewise.
20676 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20677 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20678 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20679 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20680 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20681 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20682 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20683 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20684 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20685 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20686 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20687 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20688 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20689 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20692 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20693 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20694 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20695 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20696 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20697 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20698 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20699 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20700 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
20701 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20702
20703 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
20704 * nptl/pthreadP.h: Likewise.
20705 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20706 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20707 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20708 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20709 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20710 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20711 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20712 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20713 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20714 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20715 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20716 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20718 Likewise.
20719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20720 Likewise.
20721 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20722 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20723 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20724 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20726 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20727 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20728 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20729
20730 * dlfcn/dladdr.c: Use IS_IN.
20731 * dlfcn/dladdr1.c: Likewise.
20732 * dlfcn/dlclose.c: Likewise.
20733 * dlfcn/dlerror.c: Likewise.
20734 * dlfcn/dlinfo.c: Likewise.
20735 * dlfcn/dlmopen.c: Likewise.
20736 * dlfcn/dlopen.c: Likewise.
20737 * dlfcn/dlsym.c: Likewise.
20738 * dlfcn/dlvsym.c: Likewise.
20739
20740 * include/ifaddrs.h: Use IS_IN.
20741 * inet/check_pf.c: Likewise.
20742 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20743 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
20744
20745 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
20746 IS_IN_ldconfig.
20747 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
20748 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
20749
20750 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
20751 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
20752 IS_IN (libc).
20753
20754 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
20755
20756 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
20757 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20758 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20759 * include/libc-symbols.h (IS_IN_LIB): New macro.
20760 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
20761 * include/netdb.h: Likewise.
20762 * include/stap-probe.h: Remove all uses of IN_LIB.
20763
20764 * Makeconfig (module-cppflags-real): Define MODULE_NAME
20765 instead of IN_MODULE.
20766 * include/libc-symbols.h (IN_MODULE): Define using
20767 MODULE_NAME.
20768 (PASTE_NAME, PASTE_NAME1): New macros.
20769 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
20770 of IN_LIB.
20771 (STAP_PROBE_ASM): Likewise.
20772
20773 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
20774
20775 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
20776 __mach_init in dlopened libc.
20777
20778 2014-11-22 Mike Frysinger <vapier@gentoo.org>
20779
20780 * sysdeps/arm/preconfigure.ac: Delete EABI check.
20781 * sysdeps/arm/preconfigure: Regenerate.
20782
20783 2014-11-21 Roland McGrath <roland@hack.frob.com>
20784
20785 * nptl/pthread_create.c (__pthread_create_2_1): Set
20786 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
20787 when copying values from IATTR into PD.
20788
20789 2014-11-21 Will Newton <will.newton@linaro.org>
20790 Andrew Pinski <andrew.pinski@caviumnetworks.com>
20791
20792 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
20793 Refactor inline-asm. Also add comment.
20794
20795 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
20796 ElfW macro instead of hardcoded Elf64 types.
20797 (la_aarch64_gnu_pltenter): Likewise.
20798 * sysdeps/aarch64/dl-machine.h
20799 (elf_machine_runtime_setup): Use ElfW(Addr).
20800
20801 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20802 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
20803 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
20804 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
20805 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
20806 (R_AARCH64_TLS_DTPMOD64): Rename to ..
20807 (R_AARCH64_TLS_DTPMOD): This.
20808 (R_AARCH64_TLS_DTPREL64): Rename to ...
20809 (R_AARCH64_TLS_DTPREL): This.
20810 (R_AARCH64_TLS_TPREL64): Rename to ...
20811 (R_AARCH64_TLS_TPREL): This.
20812 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
20813 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
20814 R_AARCH64_TLS_TPREL64.
20815 (elf_machine_rela): Likewise.
20816
20817 2014-11-21 Torvald Riegel <triegel@redhat.com>
20818
20819 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
20820 by setting it to 0. 64b atomics are not supported currently.
20821
20822 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20823
20824 [BZ #16469]
20825 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
20826 search domain names.
20827
20828 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20829
20830 [BZ #16469]
20831 * NEWS: Update.
20832 * resolv/res_query.c (__libc_res_nquerydomain): Retain
20833 trailing dot.
20834 * posix/tst-getaddrinfo5.c: New.
20835 * posix/Makefile (tests): Add it.
20836
20837 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20838
20839 [BZ #14498]
20840 * NEWS: Fixed.
20841 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
20842 after parsing line but before break_if_match.
20843 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
20844 if there is a protocol mismatch.
20845
20846 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
20847
20848 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
20849 because the potential race is on the user-supplied stream.
20850
20851 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20852
20853 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
20854 string literal if not passed a buffer.
20855 * manual/job.texi (ctermid): Update reasoning, note deviation
20856 from posix, suggest mtasurace when not passed a buffer, for
20857 future non-preliminary safety notes.
20858
20859 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20860
20861 * manual/users.texi (cuserid): Fix MT-Safety note for the case
20862 of not passing it a buffer.
20863 Reported by Peng Haitao.
20864
20865 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20866
20867 * manual/Makefile ($(objpfx)stamp-summary): Require
20868 check-safety.sh to pass.
20869 * manual/check-safety.sh: Wish for verification that every
20870 @deftypefn and @deftypefun is followed by a @safety remark.
20871
20872 2014-11-20 Roland McGrath <roland@hack.frob.com>
20873
20874 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
20875
20876 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
20877 PTHREAD_CANCEL_ASYNCHRONOUS.
20878 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
20879 send SIGCANCEL.
20880
20881 * nptl/default-sched.h: New file.
20882 * sysdeps/unix/sysv/linux/default-sched.h: New file.
20883 * nptl/pthread_create.c: Include it.
20884 (__pthread_create_2_1): Use collect_default_sched instead of making
20885 Linux syscalls here directly.
20886
20887 2014-11-20 Torvald Riegel <triegel@redhat.com>
20888
20889 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
20890 __pthread_once): Use C11 atomics.
20891
20892 2014-11-20 Torvald Riegel <triegel@redhat.com>
20893
20894 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
20895
20896 2014-11-20 Torvald Riegel <triegel@redhat.com>
20897
20898 * include/atomic.h (__atomic_link_error, __atomic_check_size,
20899 atomic_thread_fence_acquire, atomic_thread_fence_release,
20900 atomic_thread_fence_seq_cst, atomic_load_relaxed,
20901 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
20902 atomic_compare_exchange_weak_relaxed,
20903 atomic_compare_exchange_weak_acquire,
20904 atomic_compare_exchange_weak_release,
20905 atomic_exchange_acquire, atomic_exchange_release,
20906 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
20907 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
20908 atomic_fetch_and_acquire,
20909 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
20910
20911 2014-11-20 Torvald Riegel <triegel@redhat.com>
20912
20913 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
20914 USE_ATOMIC_COMPILER_BUILTINS): Define.
20915 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
20916 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20917 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
20918 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20919 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
20920 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20921 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
20922 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20923 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
20924 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20925 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
20926 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20927 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
20928 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20929 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
20930 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20931 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20932 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20933 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20934 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20935 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
20936 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20937 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20938 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20939 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
20940 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20941 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20942 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20943 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
20944 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20945 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
20946 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20947 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
20948 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20949 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20950 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20951 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
20952 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20953 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
20954 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20955
20956 2014-11-19 Roland McGrath <roland@hack.frob.com>
20957
20958 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
20959 the sched_priority value here. It was already checked when the user
20960 called pthread_attr_setschedparam.
20961
20962 * nptl/tst-bad-schedattr.c: New file.
20963 * nptl/Makefile (tests): Add it.
20964
20965 2014-11-19 Carlos O'Donell <carlos@redhat.com>
20966 Florian Weimer <fweimer@redhat.com>
20967 Joseph Myers <joseph@codesourcery.com>
20968 Adam Conrad <adconrad@0c3.net>
20969 Andreas Schwab <schwab@suse.de>
20970 Brooks <bmoses@google.com>
20971
20972 [BZ #17625]
20973 * wordexp-test.c (__dso_handle): Add prototype.
20974 (__register_atfork): Likewise.
20975 (__app_register_atfork): New function.
20976 (registered_forks): New global.
20977 (register_fork): New function.
20978 (test_case): Add 3 new tests for WRDE_CMDSUB.
20979 (main): Call __app_register_atfork.
20980 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
20981 fork count is non-zero fail the test.
20982 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
20983 is set.
20984 (parse_dollars): Remove check for WRDE_NOCMD.
20985 (parse_dquote): Likewise.
20986
20987 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20988
20989 * Makeconfig (built-modules): List non-library modules to be
20990 built.
20991 (module-cppflags): Include libc-modules.h for
20992 everything except shlib-versions.v.i.
20993 (CPPFLAGS): Use it.
20994 (before-compile): Add libc-modules.h.
20995 ($(common-objpfx)libc-modules.h,
20996 $(common-objpfx)libc-modules.stmp): New targets.
20997 (common-generated): Add libc-modules.h and libc-modules.stmp.
20998 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
20999 * include/libc-symbols.h: Don't include libc-modules.h.
21000 * include/libc-modules.h: Remove file.
21001 * scripts/gen-libc-modules.awk: New script to generate
21002 libc-modules.h.
21003 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
21004 Depend on libc-modules.stmp.
21005
21006 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
21007
21008 * Makeconfig (in-module): Get value of libof set for the
21009 translation unit.
21010 (CPPFLAGS): Use $(in-module).
21011 * Makerules: Don't suffix routine names for nonlib.
21012 * include/libc-modules.h: New file.
21013 * include/libc-symbols.h: Include libc-modules.h
21014 (IS_IN): New macro to replace IS_IN_* macros.
21015 * elf/Makefile: Set libof-* for each routine.
21016 * elf/rtld-Rules: Likewise.
21017 * extra-modules.mk: Likewise.
21018 * iconv/Makefile: Likewise.
21019 * iconvdata/Makefile: Likewise.
21020 * locale/Makefile: Likewise.
21021 * malloc/Makefile: Likewise.
21022 * nss/Makefile: Likewise.
21023 * sysdeps/gnu/Makefile: Likewise.
21024 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
21025 * sysdeps/unix/sysv/linux/Makefile: Likewise.
21026 * sysdeps/s390/s390-64/Makefile: Likewise.
21027 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
21028 CPPFLAGS for nscd instead of nonlib.
21029
21030 2014-11-18 Roland McGrath <roland@hack.frob.com>
21031
21032 * nptl/createthread.c: New file.
21033
21034 * nptl/createthread.c: Moved ...
21035 * sysdeps/unix/sysv/linux/createthread.c: ... here.
21036
21037 * nptl/createthread.c: Add proper top-line comment.
21038 (do_clone): Folded into ...
21039 (create_thread): ... here. Take new arguments STOPPED_START and
21040 THREAD_RAN. Always set PD->stopped_start to something here. Don't
21041 increment __nptl_threads, do event-reporting logic, do
21042 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
21043 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
21044 resource cleanup if sched_setaffinity or sched_setscheduler fails,
21045 just send SIGCANCEL.
21046 * nptl/pthread_create.c: Forward-declare create_thread before
21047 including createthread.c.
21048 (start_thread): Use new macro START_THREAD_DEFN to replace defining
21049 declaration, and new macro START_THREAD_SELF to replace argument.
21050 Remove return statement.
21051 (report_thread_creation): New function.
21052 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
21053 synchronization logic, and __nptl_nthreads increment here, around
21054 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
21055 PD->parent_cancelhandling here, before create_thread. When
21056 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
21057 __deallocate_stack, and ENOMEM translation here.
21058
21059 2014-11-18 Joseph Myers <joseph@codesourcery.com>
21060
21061 [BZ #17616]
21062 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
21063 (mptwo): Rename to __mptwo.
21064 (__inv): Use __mptwo instead of mptwo.
21065 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
21066 (mptwo): Rename to __mptwo.
21067 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
21068 of mpone and __mptwo instead of mptwo.
21069 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
21070 instead of mpone.
21071 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21072 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
21073 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
21074 of mpone and __mptwo instead of mptwo.
21075 (__mpranred): Use __mpone instead of mpone.
21076 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
21077 variable.
21078 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21079 (test-xfail-ISO99/math.h/linknamespace): Likewise.
21080 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21081 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21082 (test-xfail-ISO11/math.h/linknamespace): Likewise.
21083 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21084 (test-xfail-XPG3/math.h/linknamespace): Likewise.
21085 (test-xfail-XPG4/math.h/linknamespace): Likewise.
21086 (test-xfail-POSIX/math.h/linknamespace): Likewise.
21087 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21088 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21089 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21090 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21091 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21092 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21093 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21094 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21095 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21096 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21097
21098 2014-11-18 Tom de Vries <tom@codesoucery.com>
21099
21100 * manual/signal.texi (Primitives Interrupted by Signals): In section,
21101 replace BSD Handler xref with BSD Signal Handling.
21102
21103 2014-11-17 Richard Henderson <rth@redhat.com>
21104
21105 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
21106 (_FP_PACK_RAW_2): Remove.
21107 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
21108 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
21109 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
21110 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
21111 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
21112 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
21113 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
21114 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
21115 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
21116 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
21117 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
21118 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
21119 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
21120 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
21121 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
21122 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
21123
21124 2014-11-14 Roland McGrath <roland@hack.frob.com>
21125
21126 * signal/signal.h [__USE_MISC]
21127 (struct sigvec): Remove type.
21128 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
21129 (sigvec): Remove declaration.
21130 * sysdeps/posix/sigvec.c: Moved ...
21131 * signal/sigvec.c: ... here, replacing old file.
21132 (struct sigvec): New type, copied from old signal.h definition.
21133 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
21134 (__sigvec): Convert definition to prototype.
21135 (sigvec): Replace weak_alias with compat_symbol.
21136 * signal/Versions (libc: GLIBC_2.21): New version set.
21137 * include/signal.h: Remove __sigvec declaration.
21138 * sysdeps/unix/bsd/sigvec.c: Remove file.
21139 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
21140 * manual/signal.texi (BSD Handler): Remove subsection.
21141 Move siginterrupt up to ...
21142 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
21143 (Blocking in BSD): Fold subsection into its parent.
21144 * NEWS: Mention sigvec removal.
21145
21146 2014-11-14 Joseph Myers <joseph@codesourcery.com>
21147
21148 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
21149 (DLA_FMS): Make definition conditional only on [__FMA4__].
21150 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
21151 definition.
21152
21153 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
21154 Make definition conditional only on [PROF].
21155 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
21156 definition.
21157 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
21158 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
21159
21160 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
21161 !__GNUC__].
21162 * include/signal.h (__sigpause): Move declaration above call to
21163 libc_hidden_proto.
21164 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
21165 variable.
21166 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21167 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21168
21169 2014-11-14 David S. Miller <davem@davemloft.net>
21170
21171 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
21172 Define before including <string/memcpy.c> and <string/mempcpy.c>.
21173
21174 2014-11-14 Joseph Myers <joseph@codesourcery.com>
21175
21176 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
21177 * configure: Regenerated.
21178 * manual/install.texi (Tools for Compilation): Document a
21179 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
21180 compiler verified to work.
21181 * INSTALL: Regenerated.
21182
21183 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
21184 redeclare with asm name.
21185 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
21186 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
21187 including <string.h>.
21188 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21189 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
21190 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21191 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
21192 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21193 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21194 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21195
21196 2014-11-13 Joseph Myers <joseph@codesourcery.com>
21197
21198 * stdlib/strtol.c (__strtol): Use prototype definition.
21199
21200 [BZ #17594]
21201 * stdlib/strtol.c (SYM__): New macro.
21202 (SYM__1): Likewise.
21203 (__strtol): Likewise.
21204 (strtol): Rename to __strtol and define as weak alias of
21205 __strtol. Use libc_hidden_weak.
21206
21207 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
21208
21209 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
21210 Use numbered labels in inline assembly.
21211
21212 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
21213
21214 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
21215 Add setjmp LIBC_PROBE.
21216 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
21217 Likewise.
21218 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
21219 Add longjmp, longjmp_target LIBC_PROBE.
21220 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
21221 Likewise.
21222
21223 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
21224
21225 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21226 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
21227 to get rid of unused variable warning.
21228
21229 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
21230
21231 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
21232 Check for unwind_backtrace == NULL only in SHARED case.
21233 (__backchain_backtrace): Compile only in SHARED case.
21234 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
21235 Likewise.
21236 (__backchain_backtrace): Declare as static.
21237
21238 2014-11-12 Roland McGrath <roland@hack.frob.com>
21239
21240 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
21241 (__libc_multiple_threads_ptr): Variable moved ...
21242 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
21243
21244 2014-11-12 Joseph Myers <joseph@codesourcery.com>
21245
21246 * conform/GlibcConform.pm: New file.
21247 * conform/conformtest.pl: Use GlibcConform module.
21248 * conform/linknamespace.pl: New file.
21249 * conform/list-header-symbols.pl: Likewise.
21250 * conform/Makefile (linknamespace-symlists-base): New variable.
21251 (linknamespace-symlists-tests): Likewise.
21252 (linknamespace-header-base): Likewise.
21253 (linknamespace-header-tests): Likewise.
21254 (tests-special): Add new tests.
21255 ($(linknamespace-symlists-tests)): New rule.
21256 (linknamespace-libs): New variable.
21257 ($(objpfx)symlist-stdlibs): New rule.
21258 ($(linknamespace-header-tests)): Likewise.
21259 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
21260 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
21261 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
21262 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
21263 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
21264 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
21265 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
21266 (test-xfail-ISO/math.h/linknamespace): Likewise.
21267 (test-xfail-ISO/signal.h/linknamespace): Likewise.
21268 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
21269 (test-xfail-ISO/time.h/linknamespace): Likewise.
21270 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21271 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
21272 (test-xfail-ISO99/math.h/linknamespace): Likewise.
21273 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21274 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21275 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21276 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21277 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21278 (test-xfail-ISO11/math.h/linknamespace): Likewise.
21279 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21280 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21281 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21282 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21283 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
21284 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
21285 (test-xfail-XPG3/math.h/linknamespace): Likewise.
21286 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
21287 (test-xfail-XPG3/search.h/linknamespace): Likewise.
21288 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
21289 (test-xfail-XPG3/time.h/linknamespace): Likewise.
21290 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
21291 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21292 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21293 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
21294 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21295 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21296 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
21297 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
21298 (test-xfail-XPG4/math.h/linknamespace): Likewise.
21299 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
21300 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21301 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21302 (test-xfail-XPG4/search.h/linknamespace): Likewise.
21303 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21304 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
21305 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
21306 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
21307 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
21308 (test-xfail-XPG4/time.h/linknamespace): Likewise.
21309 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
21310 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21311 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
21312 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21313 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21314 (test-xfail-POSIX/math.h/linknamespace): Likewise.
21315 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
21316 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
21317 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21318 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21319 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
21320 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21321 (test-xfail-POSIX/time.h/linknamespace): Likewise.
21322 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
21323 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21324 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21325 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21326 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21327 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21328 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21329 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21330 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21331 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21332 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
21333 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21334 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21335 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21336 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
21337 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21338 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21339 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
21340 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21341 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21342 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21343 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21344 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21345 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21346 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
21347 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
21348 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21349 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
21350 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21351 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
21352 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21353 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21354 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21355 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
21356 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21357 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21358 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21359 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
21360 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
21361 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
21362 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21363 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21364 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21365 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21366 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
21367 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
21368 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21369 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21370 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21371 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21372 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21373 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21374 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21375 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21376 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21377 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21378 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
21379 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21380 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21381 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
21382 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21383 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21384 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21385 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21386 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21387 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21388 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21389 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21390 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21391 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21392 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21393 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21394 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21395 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21396 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
21397 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21398 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21399 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21400 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21401 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21402 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
21403 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21404 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21405 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21406 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21407 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21408 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21409 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21410 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21411 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21412 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21413 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21414 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21415 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21416 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
21417 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21418 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21419 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21420
21421 [BZ #17589]
21422 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
21423 of fgets_unlocked.
21424
21425 [BZ #17585]
21426 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
21427 (memmem): Rename to __memmem and define as weak alias of
21428 __memmem. Use libc_hidden_weak.
21429 (__memmem): Use libc_hidden_def.
21430 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
21431 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
21432 memmem.
21433
21434 [BZ #17582]
21435 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
21436 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
21437 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
21438 and define as weak alias of __fgets_unlocked. Use
21439 libc_hidden_weak.
21440 (__fgets_unlocked): Use libc_hidden_def.
21441 * include/stdio.h (__fgets_unlocked): Declare. Use
21442 libc_hidden_proto.
21443 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
21444 __fgets_unlocked instead of fgets_unlocked.
21445 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
21446 (GET_NPROCS_CONF_PARSER): Likewise.
21447 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
21448 (GET_NPROCS_CONF_PARSER): Likewise.
21449
21450 [BZ #17574]
21451 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
21452 weak alias of __wmemset. Use libc_hidden_weak.
21453 (__wmemset): Use libc_hidden_def.
21454 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
21455 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
21456 of wmemset.
21457
21458 [BZ #17573]
21459 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
21460 with asm name __mempcpy.
21461 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
21462
21463 [BZ #17572]
21464 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
21465 and define as weak alias of __rawmemchr.
21466 (__rawmemchr): Do not define as strong alias of rawmemchr.
21467
21468 [BZ #17571]
21469 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
21470 alias of __qsort_r.
21471 (qsort): Call __qsort_r instead of qsort_r.
21472 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
21473 (__qsort_r): Declare. Call libc_hidden_proto.
21474 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
21475 instead of qsort_r.
21476 * nscd/gai.c (__qsort_r): Define to qsort_r.
21477 * posix/tst-rfc3484.c (__qsort_r): Likewise.
21478 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
21479 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
21480
21481 [BZ #17570]
21482 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
21483 define as weak alias of __malloc_info.
21484
21485 [BZ #17584]
21486 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
21487 as weak alias of __rewinddir. Don't use libc_hidden_def.
21488 (__rewinddir): Use libc_hidden_def.
21489 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
21490 as weak alias of __rewinddir. Don't use libc_hidden_def.
21491 (__rewinddir): Use libc_hidden_def.
21492 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
21493 weak alias of __rewinddir. Don't use libc_hidden_def.
21494 (__rewinddir): Use libc_hidden_def.
21495 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
21496 (__rewinddir): Use libc_hidden_proto.
21497 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
21498 rewinddir.
21499 (__getcwd): Use __rewinddir instead of rewinddir.
21500
21501 [BZ #17583]
21502 * libio/fileno.c (fileno): Rename to __fileno and define as weak
21503 alias of __fileno. Use libc_hidden_weak.
21504 (__fileno): Use libc_hidden_def.
21505 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
21506 * libio/ftello.c (ftello): Rename to __ftello and define as weak
21507 alias of __ftello.
21508 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
21509 __ftello.
21510 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
21511 (__fread_unlocked): Define as strong alias of _IO_fread. Use
21512 libc_hidden_def.
21513 (fread_unlocked): Don't use libc_hidden_ver.
21514 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
21515 and define as weak alias of __fread_unlocked. Don't use
21516 libc_hidden_def.
21517 (__fread_unlocked): Use libc_hidden_def.
21518 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
21519 (ftello): Don't use libc_hidden_proto.
21520 (__ftello): Declare. Use libc_hidden_proto.
21521 (fread_unlocked): Don't use libc_hidden_proto.
21522 (__fread_unlocked): Declare. Use libc_hidden_proto.
21523 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
21524 and __ftello instead of fileno, fread_unlocked and ftello.
21525
21526 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21527
21528 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
21529 GOT12.
21530 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21531 Likewise.
21532 (_dl_start_user): Likewise.
21533 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
21534
21535 2014-11-12 Carlos O'Donell <carlos@redhat.com>
21536 Siddhesh Poyarekar <siddhesh@redhat.com>
21537
21538 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
21539 Move argv and envp down instead of moving argc up.
21540 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
21541
21542 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
21543
21544 [BZ #17506]
21545 * test-skeleton.c (main): Return successful if one of
21546 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
21547 * string/tst-strcoll-overflow.c: Define expected status.
21548
21549 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
21550
21551 [BZ #17475]
21552 * locale/iso-639.def: Define Bhili and Tulu language codes.
21553
21554 2014-11-11 Alan Hayward <alan.hayward@arm.com>
21555
21556 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
21557
21558 2014-11-10 Renlin Li <Renlin.Li@arm.com>
21559
21560 [BZ #17555]
21561 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
21562
21563 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
21564
21565 * configure.ac: Updated check of minimal required version to
21566 2.22.
21567 * manual/install.texi (Tools for Compilation): Updated version
21568 number.
21569 * configure: Regenerated.
21570 * INSTALL: Likewise.
21571
21572 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
21573
21574 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
21575 __tls_get_addr.
21576
21577 2014-11-07 Joseph Myers <joseph@codesourcery.com>
21578
21579 * include/sys/wait.h (__libc_waitpid): Remove declaration.
21580 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
21581 (__waitpid): Don't define as alias. Use libc_hidden_def not
21582 libc_hidden_weak.
21583 (waitpid): Define as alias of __waitpid.
21584 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
21585 __waitpid.
21586 (__waitpid): Don't define as alias. Use libc_hidden_def not
21587 libc_hidden_weak.
21588 (waitpid): Define as alias of __waitpid.
21589 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
21590 __libc_waitpid alias.
21591 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
21592 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
21593 Likewise.
21594 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
21595 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
21596 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
21597 alias.
21598 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
21599 __waitpid.
21600 (__waitpid): Don't define as alias. Use libc_hidden_def not
21601 libc_hidden_weak.
21602 (waitpid): Define as alias of __waitpid.
21603
21604 2014-11-06 Carlos O'Donell <carlos@redhat.com>
21605
21606 * manual/llio.texi: Add comment that write safety has been
21607 fixed in Linux.
21608
21609 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
21610 (localplt-build-dso): Add elf/ld.so.
21611 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
21612 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
21613 and free for ld.so.
21614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
21615 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
21616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
21617 Likewise.
21618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21619 Likewise.
21620 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
21621 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
21622 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
21623 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
21624 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21625 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
21626 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
21627 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
21628 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21629 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
21630 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21631
21632 2014-11-05 Joseph Myers <joseph@codesourcery.com>
21633
21634 [BZ #14132]
21635 * include/libc-symbols.h (INTUSE): Remove macro.
21636 (INTDEF): Likewise.
21637 (INTVARDEF): Likewise.
21638 (_INTVARDEF): Likewise.
21639 (INTDEF2): Likewise.
21640 (INTVARDEF2): Likewise.
21641 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
21642 rtld_hidden_def instead of INTVARDEF.
21643 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
21644 (_dl_starting_up_internal): Remove declaration.
21645 (_dl_starting_up): Use rtld_hidden_proto.
21646 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
21647 declaration.
21648 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
21649 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
21650 _dl_starting_up.
21651 * elf/dl-writev.h (_dl_writev): Likewise.
21652 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
21653 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
21654 _dl_starting_up_internal.
21655
21656 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21657
21658 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21659 test-skeleton.c.
21660
21661 2014-11-05 Will Newton <will.newton@linaro.org>
21662
21663 * benchtests/Makefile: (bench-malloc): Add malloc thread
21664 scalability benchmark.
21665 * benchtests/bench-malloc-threads.c: New file.
21666
21667 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
21668
21669 * sysdeps/aarch64/strchrnul.S: New file.
21670
21671 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21672
21673 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
21674 definition.
21675 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21676 Likwise.
21677 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21678 Likewise.
21679 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21680 Likewise.
21681 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21682 Likewise.
21683 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21684 Likewise.
21685
21686 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
21687
21688 * catgets/test-gencat.c: Use test-skeleton.c.
21689 * catgets/tst-catgets.c: Likewise.
21690 * csu/tst-empty.c: Likewise.
21691 * elf/tst-audit2.c: Likewise.
21692 * elf/tst-global1.c: Likewise.
21693 * elf/tst-pathopt.c: Likewise.
21694 * elf/tst-piemod1.c: Likewise.
21695 * elf/tst-tls10.c: Likewise.
21696 * elf/tst-tls11.c: Likewise.
21697 * elf/tst-tls12.c: Likewise.
21698 * gnulib/tst-gcc.c: Likewise.
21699 * iconvdata/tst-e2big.c: Likewise.
21700 * iconvdata/tst-loading.c: Likewise.
21701 * iconv/tst-iconv1.c: Likewise.
21702 * iconv/tst-iconv2.c: Likewise.
21703 * inet/test-inet6_opt.c: Likewise.
21704 * inet/tst-gethnm.c: Likewise.
21705 * inet/tst-network.c: Likewise.
21706 * inet/tst-ntoa.c: Likewise.
21707 * intl/tst-codeset.c: Likewise.
21708 * intl/tst-gettext2.c: Likewise.
21709 * intl/tst-gettext3.c: Likewise.
21710 * intl/tst-ngettext.c: Likewise.
21711 * intl/tst-translit.c: Likewise.
21712 * io/test-stat.c: Likewise.
21713 * libio/test-fmemopen.c: Likewise.
21714 * libio/tst-freopen.c: Likewise.
21715 * libio/tst-sscanf.c: Likewise.
21716 * libio/tst-ungetwc1.c: Likewise.
21717 * libio/tst-ungetwc2.c: Likewise.
21718 * libio/tst-widetext.c: Likewise.
21719 * localedata/tst-ctype.c: Likewise.
21720 * localedata/tst-digits.c: Likewise.
21721 * localedata/tst-leaks.c: Likewise.
21722 * localedata/tst-mbswcs1.c: Likewise.
21723 * localedata/tst-mbswcs2.c: Likewise.
21724 * localedata/tst-mbswcs3.c: Likewise.
21725 * localedata/tst-mbswcs4.c: Likewise.
21726 * localedata/tst-mbswcs5.c: Likewise.
21727 * localedata/tst-setlocale.c: Likewise.
21728 * localedata/tst-trans.c: Likewise.
21729 * localedata/tst-wctype.c: Likewise.
21730 * localedata/tst-xlocale1.c: Likewise.
21731 * login/tst-grantpt.c: Likewise.
21732 * malloc/tst-calloc.c: Likewise.
21733 * malloc/tst-malloc.c: Likewise.
21734 * malloc/tst-mallocstate.c: Likewise.
21735 * malloc/tst-mcheck.c: Likewise.
21736 * malloc/tst-mtrace.c: Likewise.
21737 * malloc/tst-obstack.c: Likewise.
21738 * math/atest-exp2.c: Likewise.
21739 * math/atest-exp.c: Likewise.
21740 * math/atest-sincos.c: Likewise.
21741 * math/test-matherr.c: Likewise.
21742 * math/test-misc.c: Likewise.
21743 * math/test-powl.c: Likewise.
21744 * math/tst-definitions.c: Likewise.
21745 * misc/tst-dirname.c: Likewise.
21746 * misc/tst-efgcvt.c: Likewise.
21747 * misc/tst-fdset.c: Likewise.
21748 * misc/tst-hsearch.c: Likewise.
21749 * misc/tst-mntent2.c: Likewise.
21750 * nptl/tst-sem7.c: Likewise.
21751 * nptl/tst-sem8.c: Likewise.
21752 * nptl/tst-sem9.c: Likewise.
21753 * nss/test-netdb.c: Likewise.
21754 * posix/tst-fnmatch.c: Likewise.
21755 * posix/tst-getlogin.c: Likewise.
21756 * posix/tst-gnuglob.c: Likewise.
21757 * posix/tst-mmap.c: Likewise.
21758 * pwd/tst-getpw.c: Likewise.
21759 * resolv/tst-inet_ntop.c: Likewise.
21760 * rt/tst-timer.c: Likewise.
21761 * stdio-common/test-fseek.c: Likewise.
21762 * stdio-common/test-popen.c: Likewise.
21763 * stdio-common/test-vfprintf.c: Likewise.
21764 * stdio-common/tst-cookie.c: Likewise.
21765 * stdio-common/tst-fileno.c: Likewise.
21766 * stdio-common/tst-gets.c: Likewise.
21767 * stdio-common/tst-obprintf.c: Likewise.
21768 * stdio-common/tst-perror.c: Likewise.
21769 * stdio-common/tst-sprintf2.c: Likewise.
21770 * stdio-common/tst-sprintf3.c: Likewise.
21771 * stdio-common/tst-sprintf.c: Likewise.
21772 * stdio-common/tst-swprintf.c: Likewise.
21773 * stdio-common/tst-tmpnam.c: Likewise.
21774 * stdio-common/tst-unbputc.c: Likewise.
21775 * stdio-common/tst-wc-printf.c: Likewise.
21776 * stdlib/tst-environ.c: Likewise.
21777 * stdlib/tst-fmtmsg.c: Likewise.
21778 * stdlib/tst-limits.c: Likewise.
21779 * stdlib/tst-rand48-2.c: Likewise.
21780 * stdlib/tst-rand48.c: Likewise.
21781 * stdlib/tst-random2.c: Likewise.
21782 * stdlib/tst-random.c: Likewise.
21783 * stdlib/tst-strtol.c: Likewise.
21784 * stdlib/tst-strtoll.c: Likewise.
21785 * stdlib/tst-tls-atexit.c: Likewise.
21786 * stdlib/tst-xpg-basename.c: Likewise.
21787 * string/test-ffs.c: Likewise.
21788 * string/tst-bswap.c: Likewise.
21789 * string/tst-inlcall.c: Likewise.
21790 * string/tst-strtok.c: Likewise.
21791 * string/tst-strxfrm.c: Likewise.
21792 * sysdeps/x86_64/tst-audit10.c: Likewise.
21793 * sysdeps/x86_64/tst-audit3.c: Likewise.
21794 * sysdeps/x86_64/tst-audit4.c: Likewise.
21795 * sysdeps/x86_64/tst-audit5.c: Likewise.
21796 * time/tst-ftime_l.c: Likewise.
21797 * time/tst-getdate.c: Likewise.
21798 * time/tst-mktime3.c: Likewise.
21799 * time/tst-mktime.c: Likewise.
21800 * time/tst-posixtz.c: Likewise.
21801 * time/tst-strptime2.c: Likewise.
21802 * time/tst-strptime3.c: Likewise.
21803 * wcsmbs/tst-btowc.c: Likewise.
21804 * wcsmbs/tst-mbrtowc.c: Likewise.
21805 * wcsmbs/tst-mbsrtowcs.c: Likewise.
21806 * wcsmbs/tst-wchar-h.c: Likewise.
21807 * wcsmbs/tst-wcpncpy.c: Likewise.
21808 * wcsmbs/tst-wcrtomb.c: Likewise.
21809 * wcsmbs/tst-wcsnlen.c: Likewise.
21810 * wcsmbs/tst-wcstof.c: Likewise.
21811
21812 2014-11-04 Joseph Myers <joseph@codesourcery.com>
21813
21814 [BZ #14132]
21815 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
21816 INTDEF.
21817 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
21818 declaration.
21819 (_dl_mcount): Use rtld_hidden_proto.
21820 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
21821 _dl_mcount.
21822 * elf/rtld.c (_rtld_global_ro): Likewise.
21823
21824 [BZ #14132]
21825 * elf/dl-init.c (_dl_init): Don't use INTDEF.
21826 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
21827 of _dl_init_internal.
21828 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
21829 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
21830 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
21831 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21832 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
21833 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
21834 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
21835 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
21836 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
21837 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
21838 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
21839 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
21840 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21841 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21842 * sysdeps/tile/dl-start.S (_start): Likewise.
21843 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
21844 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
21845
21846 [BZ #14132]
21847 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
21848 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
21849 (rtld_progname): Make macro definition unconditional.
21850 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
21851 INTDEF.
21852 (dlmopen_doit): Do not use INTUSE with _dl_argv.
21853 (dl_main): Likewise.
21854 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21855 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
21856 instead of _dl_argv_internal.
21857 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21858 __GI__dl_argv instead of INTUSE(_dl_argv).
21859 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
21860 __GI__dl_argv instead of _dl_argv_internal.
21861
21862 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
21863 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
21864 macro.
21865 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
21866 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
21867 New macro.
21868 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
21869 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
21870 macro.
21871 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
21872 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
21873
21874 2014-11-04 Andreas Schwab <schwab@suse.de>
21875
21876 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
21877
21878 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21879
21880 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
21881 mtvsrd instruction in binary form.
21882
21883 2014-11-03 Andreas Schwab <schwab@suse.de>
21884
21885 [BZ #17522]
21886 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
21887 for less than MB_LEN_MAX use a local buffer of that size.
21888 * libio/tst-fputws.c: New file.
21889 * libio/Makefile (tests): Add tst-fputws.
21890
21891 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
21892
21893 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
21894 the size of the fpu_fr.fpu_dregs[] array.
21895
21896 2014-11-01 Joseph Myers <joseph@codesourcery.com>
21897
21898 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
21899 (__nanosleep): Do not define as alias.
21900 (nanosleep): Define as alias of __nanosleep.
21901 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
21902 __libc_nanosleep name.
21903
21904 2014-10-31 Joseph Myers <joseph@codesourcery.com>
21905
21906 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
21907 install.texi in comment.
21908
21909 2014-10-31 Torvald Riegel <triegel@redhat.com>
21910
21911 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
21912 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
21913 ... add here and use lwsync or sync ...
21914 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
21915 ... and add here using lwsync.
21916
21917 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
21918
21919 * elf/dl-machine-reject-phdr.h: New file.
21920 * elf/dl-load.c: #include that.
21921 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
21922 if that returned true.
21923
21924 2014-10-31 Roland McGrath <roland@hack.frob.com>
21925
21926 [BZ #17496]
21927 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
21928 gen-as-const-headers chunk. Add a big scare comment after the last
21929 safe place to touch before-compile.
21930
21931 2014-10-31 Joseph Myers <joseph@codesourcery.com>
21932
21933 * manual/install.texi (Tools for Compilation): Update autoconf
21934 version requirements.
21935 * INSTALL: Regenerated.
21936
21937 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
21938 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
21939 (__libc_pselect): Likewise.
21940
21941 [BZ #14138]
21942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
21943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21946
21947 2014-10-31 Torvald Riegel <triegel@redhat.com>
21948
21949 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
21950 correct barrier instruction.
21951 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
21952 Likewise.
21953 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
21954 Likewise.
21955
21956 2014-10-30 Roland McGrath <roland@hack.frob.com>
21957
21958 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
21959 after defining inlines. Instead, just use parens to defeat macro
21960 expansion of __isctype in its declaration.
21961
21962 2014-10-30 Joseph Myers <joseph@codesourcery.com>
21963
21964 * include/sys/uio.h (__libc_readv): Remove declaration.
21965 (__libc_writev): Likewise.
21966 * misc/readv.c (__libc_readv): Rename to __readv.
21967 (__readv): Do not define as alias.
21968 (readv): Define as alias of __readv.
21969 * misc/writev.c (__libc_writev): Rename to __writev.
21970 (__writev): Do not define as alias.
21971 (writev): Define as alias of __writev.
21972 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
21973 (__readv): Do not define as alias.
21974 (readv): Define unconditionally as alias of __readv.
21975 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
21976 (__writev): Do not define as alias.
21977 (writev): Define unconditionally as alias of __writev.
21978 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
21979 name.
21980 (writev): Do not define __libc_writev name.
21981
21982 2014-10-30 Roland McGrath <roland@hack.frob.com>
21983
21984 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
21985 (convert_charseq): New function, broken out of ...
21986 (use_from_charmap): ... here. Call it.
21987 (use_to_charmap): Use convert_charseq and free instead of duplicating
21988 its code with a variable-length stack struct.
21989
21990 2014-10-30 Joseph Myers <joseph@codesourcery.com>
21991
21992 * include/fcntl.h (__libc_creat): Remove declaration.
21993 * io/creat.c (__libc_creat): Rename to creat.
21994 (creat): Do not define as alias.
21995 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
21996 of creat instead of __libc_creat.
21997 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
21998 to creat.
21999 (creat): Do not define as alias.
22000 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
22001 __libc_creat.
22002 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
22003 __libc_creat name.
22004 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
22005 Likewise.
22006
22007 2014-10-29 Carlos O'Donell <carlos@redhat.com>
22008
22009 * manual/llio.texi: Add comments discussing why write() may be
22010 considered MT-unsafe on Linux.
22011
22012 2014-10-28 Carlos O'Donell <carlos@redhat.com>
22013
22014 * dl-load.c (local_strdup): Remove.
22015 (expand_dynamic_string_token): Use __strdup.
22016 (decompose_rpath): Likewise.
22017 (_dl_map_object): Likewise.
22018
22019 2014-10-28 Joseph Myers <joseph@codesourcery.com>
22020
22021 [BZ #14132]
22022 * sysdeps/generic/unwind-dw2-fde.c
22023 (__register_frame_info_bases_internal): Do not declare.
22024 (__register_frame_info_table_bases_internal): Likewise.
22025 (__deregister_frame_info_bases_internal): Likewise.
22026 (__register_frame_info_bases): Declare and use hidden_proto before
22027 definition. Use hidden_def instead of INTDEF.
22028 (__register_frame_info_table_bases): Likewise.
22029 (__deregister_frame_info_bases): Likewise.
22030 (__register_frame_info): Do not use INTUSE.
22031 (__register_frame): Likewise.
22032 (__register_frame_info_table): Likewise.
22033 (__register_frame_table): Likewise.
22034 (__deregister_frame_info): Likewise.
22035 (__deregister_frame): Likewise.
22036
22037 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
22038
22039 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22040 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
22041 not undefine.
22042 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
22043 Likewise.
22044 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
22045 Likewise.
22046
22047 2014-10-27 Joseph Myers <joseph@codesourcery.com>
22048
22049 [BZ #14138]
22050 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
22051 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
22052 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
22053 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
22054 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
22055 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
22056 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
22057 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
22058 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
22059 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
22060 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
22061 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
22062 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
22063 syscall.
22064 (setfsuid): Likewise.
22065 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
22066 (setfsuid): Likewise.
22067 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
22068 (setfsuid): Likewise.
22069 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
22070 Likewise.
22071 (setfsuid): Likewise.
22072 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
22073 (setfsuid): Likewise.
22074 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
22075 Likewise.
22076 (setfsuid): Likewise.
22077
22078 2014-10-27 Andreas Schwab <schwab@suse.de>
22079
22080 [BZ #17501]
22081 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
22082 check for Slow_SSE4_2 feature bit.
22083 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
22084 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22085 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
22086 Likewise. Fix check for Fast_Unaligned_Load feature bit.
22087
22088 2014-10-24 Roland McGrath <roland@hack.frob.com>
22089
22090 * configure.ac: Validate compiler version with a empirical test of
22091 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
22092 $CC -v output.
22093 * configure: Regenerated.
22094
22095 * inet/htons.c (htons): Prototypify.
22096 * inet/htonl.c (htonl): Likewise.
22097
22098 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22099
22100 * string/strncat.c (strncat): Improve performance by using strlen.
22101
22102 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22103
22104 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
22105
22106 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22107
22108 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
22109 Call libc_fetestexcept_aarch64.
22110
22111 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22112
22113 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
22114 Call libc_feholdexcept_aarch64.
22115
22116 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22117
22118 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
22119 Call get_rounding_mode.
22120
22121 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22122
22123 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22124 Simplify logic.
22125
22126 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22127
22128 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
22129 Simplify logic.
22130
22131 2014-10-24 Joseph Myers <joseph@codesourcery.com>
22132
22133 [BZ #14138]
22134 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
22135 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
22136 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
22137 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
22138 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
22139 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
22140 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
22141 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
22142 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
22143 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
22144 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22145 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
22146 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
22147 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
22148 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
22149 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
22150 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
22151 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
22152 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
22153 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
22154 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
22155 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
22156 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
22157 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
22158 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
22159 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
22160 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
22161 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
22162 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
22163 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
22164 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
22165 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
22166 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
22167 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
22168 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
22169 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
22170 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
22171 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
22172 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
22173 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
22174 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
22175 syscall.
22176 (geteuid): Likewise.
22177 (getgid): Likewise.
22178 (getuid): Likewise.
22179 (getresgid): Likewise.
22180 (getresuid): Likewise.
22181 (getgroups): Likewise.
22182 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
22183 (geteuid): Likewise.
22184 (getgid): Likewise.
22185 (getuid): Likewise.
22186 (getresgid): Likewise.
22187 (getresuid): Likewise.
22188 (getgroups): Likewise.
22189 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
22190 (geteuid): Likewise.
22191 (getgid): Likewise.
22192 (getuid): Likewise.
22193 (getresgid): Likewise.
22194 (getresuid): Likewise.
22195 (getgroups): Likewise.
22196 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
22197 Likewise.
22198 (geteuid): Likewise.
22199 (getgid): Likewise.
22200 (getuid): Likewise.
22201 (getresgid): Likewise.
22202 (getresuid): Likewise.
22203 (getgroups): Likewise.
22204 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
22205 (geteuid): Likewise.
22206 (getgid): Likewise.
22207 (getuid): Likewise.
22208 (getresgid): Likewise.
22209 (getresuid): Likewise.
22210 (getgroups): Likewise.
22211 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
22212 Likewise.
22213 (geteuid): Likewise.
22214 (getgid): Likewise.
22215 (getuid): Likewise.
22216 (getgroups): Likewise.
22217
22218 [BZ #14138]
22219 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
22220 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
22221 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
22222 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22223 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
22224 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
22225 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
22226 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
22227 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
22228 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
22229 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
22230 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
22231 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
22232 __chown.
22233 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
22234 (lchown): Likewise.
22235 (fchown): Likewise.
22236 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
22237 Likewise.
22238 (lchown): Likewise.
22239 (fchown): Likewise.
22240 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
22241 (lchown): Likewise.
22242 (fchown): Likewise.
22243 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
22244 Likewise.
22245 (lchown): Likewise.
22246 (fchown): Likewise.
22247
22248 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22249
22250 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
22251 Simplify logic.
22252
22253 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22254
22255 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22256 Cleanup logic.
22257
22258 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22259
22260 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22261 Remove unused include.
22262
22263 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22264
22265 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
22266 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
22267 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
22268 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
22269
22270 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
22271 Helge Deller <deller@gmx.de>
22272
22273 [BZ #17508]
22274 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
22275 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
22276 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
22277
22278 2014-10-23 Joseph Myers <joseph@codesourcery.com>
22279
22280 [BZ #14132]
22281 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
22282 Remove macro definition.
22283 (__ashrdi3_v_glibc20): Likewise.
22284 (__lshrdi3_v_glibc20): Likewise.
22285 (__cmpdi2_v_glibc20): Likewise.
22286 (__ucmpdi2_v_glibc20): Likewise.
22287 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
22288 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22289 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22290 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22291 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22292 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
22293
22294 2014-10-22 Roland McGrath <roland@hack.frob.com>
22295
22296 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
22297 old GNU extension [0] syntax.
22298 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
22299 alloca rather than an array member with variable length.
22300 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
22301 * nscd/nscd.c (invalidate_db): New function, broken out of ...
22302 (parse_opt): ... here. Likewise use alloca there.
22303 Validate the -i argument before checking for rootness.
22304 (send_shutdown): New function, broken out of ...
22305 (parse_opt): ... here.
22306
22307 2014-10-22 Roland McGrath <roland@hack.frob.com>
22308
22309 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
22310 macro to get at the _rt_local_ro field.
22311 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
22312 ([PIC] case) or _dl_hwcap ([!PIC] case).
22313 * sysdeps/arm/setjmp.S: Likewise.
22314
22315 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
22316 * sysdeps/arm/configure.ac: New check to define it.
22317 * sysdeps/arm/configure: Regenerated.
22318 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
22319 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
22320 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
22321 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
22322 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
22323 Use move/movt pair instead of a load.
22324 (LDST_GLOBAL): Macro removed.
22325 (LDR_GLOBAL): New macro replaces it.
22326 (LDR_HIDDEN): New macro.
22327 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
22328 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
22329
22330 * setjmp/tst-setjmp-static.c: New file.
22331 * setjmp/Makefile (tests): Add it.
22332 (tests-static): New variable.
22333
22334 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
22335
22336 [BZ #17485]
22337 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
22338
22339 2014-10-21 Joseph Myers <joseph@codesourcery.com>
22340
22341 [BZ #14132]
22342 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
22343
22344 2014-10-21 Roland McGrath <roland@hack.frob.com>
22345
22346 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
22347
22348 2014-10-20 Roland McGrath <roland@hack.frob.com>
22349
22350 * io/fts.c (dirent_not_directory): New function.
22351 (fts_build): Call it.
22352
22353 2014-10-20 Roland McGrath <roland@hack.frob.com>
22354
22355 * nptl/version.c (__nptl_main): Use normal __write rather than
22356 INTERNAL_SYSCALL.
22357 (banner): Update copyright years.
22358
22359 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
22360 gettimeofday.
22361 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22362 * nptl/pthread_cond_timedwait.c: Likewise.
22363 * nptl/pthread_mutex_timedlock.c: Likewise.
22364 * nptl/sem_timedwait.c: Likewise.
22365
22366 * sysdeps/nptl/bits/libc-lock.h
22367 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22368 (__libc_lock_init_recursive): Return void, not 0.
22369 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
22370 (__libc_rwlock_init): Likewise.
22371 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
22372
22373 2014-10-20 Torvald Riegel <triegel@redhat.com>
22374
22375 [BZ #15215]
22376 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
22377 (__pthread_once_slow): ... here.
22378 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
22379 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
22380
22381 2014-10-20 Torvald Riegel <triegel@redhat.com>
22382
22383 [BZ #15215]
22384 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
22385 __PTHREAD_ONCE_FORK_GEN_INCR): New.
22386 * sysdeps/nptl/fork.c (__libc_fork): Use them.
22387 * nptl/pthread_once.c (__pthread_once): Likewise.
22388 Update comments.
22389
22390 2014-10-20 Joseph Myers <joseph@codesourcery.com>
22391
22392 [BZ #14138]
22393 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
22394 name.
22395 (writev): Use __libc_writev as strong name.
22396 * sysdeps/unix/sysv/linux/readv.c: Remove file.
22397 * sysdeps/unix/sysv/linux/writev.c: Likewise.
22398
22399 2014-10-17 Roland McGrath <roland@hack.frob.com>
22400
22401 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
22402
22403 * sysdeps/i386/nptl/tls.h
22404 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
22405 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
22406 New macros.
22407 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
22408 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
22409 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
22410 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
22411 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
22412 Call CHECK_THREAD_SYSINFO instead of doing an assert.
22413
22414 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22415 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
22416 on [__NR_futex].
22417 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
22418 broken out of ...
22419 (__pthread_mutex_init): ... here. Call it.
22420 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
22421 Conditionalize PI cases on [__NR_futex].
22422 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
22423 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
22424 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22425
22426 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
22427 conditional on [SIGSETXID].
22428 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
22429 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
22430 is defined. Likewise for SIGSETXID.
22431 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
22432 Conditionalize definitions on [SIGSETXID].
22433 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
22434 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
22435 unblocking on [SIGCANCEL].
22436
22437 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
22438 [__NR_set_robust_list].
22439
22440 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22441
22442 * string/strcoll_l.c (get_next_seq): Fix up formatting.
22443 (do_compare): Likewise.
22444
22445 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
22446
22447 [BZ #15884]
22448 * string/strcoll_l.c: Don't include stdio.h.
22449 (coll_seq): Remove members idxarr and rulearr.
22450 (get_next_seq_cached): Remove function.
22451 (get_next_seq): Likewise.
22452 (get_next_seq_nocache): Rename to get_next_seq.
22453 (do_compare): Remove function.
22454 (do_compare_nocache): Rename to do_compare.
22455 (STRCOLL): Remove weight and rules cache.
22456
22457 2014-10-16 Roland McGrath <roland@hack.frob.com>
22458
22459 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
22460 * sysdeps/arm/sfp-machine.h: ... to here.
22461 * sysdeps/arm/Implies: Remove arm/soft-fp.
22462
22463 2014-10-14 Joseph Myers <joseph@codesourcery.com>
22464
22465 * conform/data/sys/utsname.h-data (*_t): Allow.
22466 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
22467 [POSIX] (WEXITED): Do not expect constant.
22468 [POSIX] (WSTOPPED): Likewise.
22469 [POSIX] (WNOHANG): Likewise.
22470 [POSIX] (WNOWAIT): Likewise.
22471 [POSIX] (siginfo_t): Do not expect type or elements.
22472 [POSIX] (pid_t): Do not expect type.
22473 [POSIX] (signal.h): Do not allow header.
22474 [POSIX] (sys/resource.h): Likewise.
22475 [POSIX] (si_*): Do not allow pattern.
22476 [POSIX] (W*): Likewise.
22477 [POSIX] (P_*): Likewise.
22478 [POSIX] (BUS_*): Likewise.
22479 [POSIX] (CLD_*): Likewise.
22480 [POSIX] (FPE_*): Likewise.
22481 [POSIX] (ILL_*): Likewise.
22482 [POSIX] (POLL_*): Likewise.
22483 [POSIX] (SEGV_*): Likewise.
22484 [POSIX] (SI_*): Likewise.
22485 [POSIX] (TRAP_*): Likewise.
22486 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
22487 variable.
22488
22489 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
22490
22491 [BZ #12926]
22492 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
22493 infinite loop when __recvmsg returns 0.
22494
22495 2014-10-10 Joseph Myers <joseph@codesourcery.com>
22496
22497 * CANCEL-FCT-WAIVE: Remove file.
22498 * CANCEL-FILE-WAIVE: Likewise.
22499
22500 [BZ #14132]
22501 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
22502 instead of INTVARDEF.
22503 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22504 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
22505 rtld_hidden_data_def instead of INTVARDEF.
22506 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22507 * elf/dl-deps.c (expand_dst): Likewise.
22508 * elf/dl-load.c (_dl_dst_count): Likewise.
22509 (_dl_dst_substitute): Likewise.
22510 (decompose_rpath): Likewise.
22511 (_dl_init_paths): Likewise.
22512 (open_path): Likewise.
22513 (_dl_map_object): Likewise.
22514 * elf/rtld.c (dl_main): Likewise.
22515 (process_dl_audit): Likewise.
22516 (process_envvars): Likewise.
22517 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
22518 Remove declaration.
22519 (__libc_enable_secure): Use rtld_hidden_proto.
22520
22521 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22522
22523 * elf/dl-load.c
22524 (add_path): New function broken out of _dl_rtld_di_serinfo.
22525 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
22526
22527 2014-10-09 Joseph Myers <joseph@codesourcery.com>
22528
22529 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
22530 parentheses around macro arguments.
22531 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
22532 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
22533 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
22534 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
22535 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
22536 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22537 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22538 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
22539 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
22540 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
22541 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
22542 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
22543 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
22544 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
22545 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
22546 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
22547 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
22548 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
22549 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
22550 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
22551 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
22552 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
22553 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
22554 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22555 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22556 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
22557 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
22558 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
22559 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
22560 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
22561 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
22562 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
22563 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
22564 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
22565 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
22566 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
22567 Likewise.
22568 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
22569 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22570 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22571 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
22572 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
22573 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
22574 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
22575 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
22576 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
22577 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
22578 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
22579 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
22580 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
22581 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
22582 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
22583 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22584 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22585 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
22586 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
22587 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
22588 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
22589 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
22590 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
22591 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
22592 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
22593 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
22594 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
22595 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
22596 (_FP_FRAC_SRS_1): Likewise.
22597 (_FP_FRAC_CLZ_1): Likewise.
22598 (_FP_MUL_MEAT_1_imm): Likewise.
22599 (_FP_MUL_MEAT_1_wide): Likewise.
22600 (_FP_MUL_MEAT_1_hard): Likewise.
22601 (_FP_SQRT_MEAT_1): Likewise.
22602 (_FP_FRAC_ASSEMBLE_1): Likewise.
22603 (_FP_FRAC_DISASSEMBLE_1): Likewise.
22604 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
22605 (__FP_CLZ_2): Likewise.
22606 (_FP_MUL_MEAT_2_wide): Likewise.
22607 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22608 (_FP_MUL_MEAT_2_gmp): Likewise.
22609 (_FP_MUL_MEAT_2_120_240_double): Likewise.
22610 (_FP_SQRT_MEAT_2): Likewise.
22611 (_FP_FRAC_ASSEMBLE_2): Likewise.
22612 (_FP_FRAC_DISASSEMBLE_2): Likewise.
22613 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
22614 (_FP_FRAC_CLZ_4): Likewise.
22615 (_FP_MUL_MEAT_4_wide): Likewise.
22616 (_FP_MUL_MEAT_4_gmp): Likewise.
22617 (_FP_SQRT_MEAT_4): Likewise.
22618 (_FP_FRAC_ASSEMBLE_4): Likewise.
22619 (_FP_FRAC_DISASSEMBLE_4): Likewise.
22620 * soft-fp/op-common.h (_FP_CMP): Likewise.
22621 (_FP_CMP_EQ): Likewise.
22622 (_FP_CMP_UNORD): Likewise.
22623 (_FP_TO_INT): Likewise.
22624 (_FP_FROM_INT): Likewise.
22625 [!__FP_CLZ] (__FP_CLZ): Likewise.
22626 (_FP_DIV_HELP_imm): Likewise.
22627 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
22628 Likewise.
22629 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
22630 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
22631 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
22632 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
22633 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
22634 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22635 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22636 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
22637 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
22638 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
22639 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
22640 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
22641 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
22642 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
22643 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
22644 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
22645 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
22646 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
22647 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
22648 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
22649 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
22650 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
22651 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
22652 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22653 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22654 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
22655 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
22656 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
22657 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
22658 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
22659 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
22660 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
22661 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
22662 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
22663 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
22664 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
22665 (FP_UNPACK_RAW_SP): Likewise.
22666 (FP_PACK_RAW_S): Likewise.
22667 (FP_PACK_RAW_SP): Likewise.
22668 (FP_UNPACK_S): Likewise.
22669 (FP_UNPACK_SP): Likewise.
22670 (FP_UNPACK_SEMIRAW_S): Likewise.
22671 (FP_UNPACK_SEMIRAW_SP): Likewise.
22672 (FP_PACK_S): Likewise.
22673 (FP_PACK_SP): Likewise.
22674 (FP_PACK_SEMIRAW_S): Likewise.
22675 (FP_PACK_SEMIRAW_SP): Likewise.
22676 (_FP_SQRT_MEAT_S): Likewise.
22677 (FP_CMP_S): Likewise.
22678 (FP_CMP_EQ_S): Likewise.
22679 (FP_CMP_UNORD_S): Likewise.
22680 (FP_TO_INT_S): Likewise.
22681 (FP_FROM_INT_S): Likewise.
22682
22683 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
22684
22685 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
22686 (FP_EX_INVALID_IMZ): Likewise.
22687 (FP_EX_INVALID_IMZ_FMA): Likewise.
22688 (FP_EX_INVALID_ISI): Likewise.
22689 (FP_EX_INVALID_ZDZ): Likewise.
22690 (FP_EX_INVALID_IDI): Likewise.
22691 (FP_EX_INVALID_SQRT): Likewise.
22692 (FP_EX_INVALID_CVI): Likewise.
22693 (FP_EX_INVALID_VC): Likewise.
22694 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
22695 "invalid" exceptions.
22696 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
22697 (_FP_ADD_INTERNAL): Likewise.
22698 (_FP_MUL): Likewise.
22699 (_FP_FMA): Likewise.
22700 (_FP_DIV): Likewise.
22701 (_FP_CMP_CHECK_NAN): Likewise.
22702 (_FP_SQRT): Likewise.
22703 (_FP_TO_INT): Likewise.
22704 (FP_EXTEND): Likewise.
22705
22706 2014-10-09 Allan McRae <allan@archlinux.org>
22707
22708 * po/fr.po: Update French translation from translation project.
22709
22710 2014-10-09 Joseph Myers <joseph@codesourcery.com>
22711
22712 [BZ #14132]
22713 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
22714 of INTDEF.
22715 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
22716 (__cxa_atexit): Use libc_hidden_proto.
22717 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
22718
22719 [BZ #14132]
22720 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
22721 declaration.
22722 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
22723 [!_ISOMAC] (__iswspace_l_internal): Likewise.
22724 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
22725 [!_ISOMAC] (__iswctype_internal): Likewise.
22726 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
22727 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
22728 alias.
22729 (fcntl): Remove __fcntl_internal alias.
22730 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
22731 __connect_internal alias.
22732 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
22733 Likewise.
22734
22735 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
22736 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
22737 FP_DENORM_ZERO.
22738 (_FP_CHECK_FLUSH_ZERO): New macro.
22739 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
22740 (_FP_CMP): Likewise.
22741 (_FP_CMP_EQ): Likewise.
22742 (_FP_TO_INT): Do not set inexact for subnormal arguments if
22743 FP_DENORM_ZERO.
22744 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
22745 (FP_TRUNC): Likewise.
22746
22747 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
22748 treated as invalid conversion, not as normal exponent.
22749
22750 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
22751 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
22752 (_FP_CMP_EQ): Likewise.
22753 (_FP_CMP_UNORD): Likewise.
22754 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
22755 (FP_CMP_EQ_D): Likewise.
22756 (FP_CMP_UNORD_D): Likewise.
22757 * soft-fp/extended.h (FP_CMP_E): Likewise.
22758 (FP_CMP_EQ_E): Likewise.
22759 (FP_CMP_UNORD_E): Likewise.
22760 * soft-fp/quad.h (FP_CMP_Q): Likewise.
22761 (FP_CMP_EQ_Q): Likewise.
22762 (FP_CMP_UNORD_Q): Likewise.
22763 * soft-fp/single.h (FP_CMP_S): Likewise.
22764 (FP_CMP_EQ_S): Likewise.
22765 (FP_CMP_UNORD_S): Likewise.
22766 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
22767 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
22768 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
22769 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
22770 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
22771 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
22772 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
22773 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
22774 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
22775 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
22776 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
22777 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
22778 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
22779 to FP_CMP_Q.
22780 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
22781 FP_CMP_Q.
22782 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
22783 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
22784 FP_CMP_EQ_Q.
22785 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
22786 FP_CMP_Q.
22787 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
22788 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
22789 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
22790 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
22791 FP_CMP_EQ_Q.
22792 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
22793 FP_CMP_Q.
22794 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
22795 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
22796 FP_CMP_EQ_Q.
22797 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
22798 FP_CMP_Q.
22799 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
22800 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
22801 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
22802 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
22803 FP_CMP_EQ_Q.
22804
22805 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
22806 a subnormal result, set the underflow exception if trapping on
22807 underflow is enabled.
22808 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
22809 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
22810 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
22811 redefine to 0.
22812 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
22813 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22814 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22815 * soft-fp/extendxftf2.c (__extendxftf2): Use
22816 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
22817
22818 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
22819 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
22820 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22821 FP_HANDLE_EXCEPTIONS.
22822 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
22823 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22824 FP_HANDLE_EXCEPTIONS.
22825 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
22826 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22827 FP_HANDLE_EXCEPTIONS.
22828 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
22829 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22830 FP_HANDLE_EXCEPTIONS.
22831
22832 2014-10-08 Joseph Myers <joseph@codesourcery.com>
22833
22834 [BZ #14132]
22835 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
22836 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
22837 use INTUSE.
22838 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
22839 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
22840 Remove alias.
22841 (__adjtimex): Define using libc_hidden_ver.
22842 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
22843 Remove declaration.
22844 (ntp_gettime): Call __adjtimex directly.
22845 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
22846 Remove declaration.
22847 (ntp_gettimex): Call __adjtimex directly.
22848 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
22849 __adjtimex_internal alias.
22850
22851 2014-10-08 Roland McGrath <roland@hack.frob.com>
22852
22853 [BZ #17460]
22854 * nscd/nscd.c (more_help): Rewrite list of tables collection
22855 using xstrdup and asprintf.
22856
22857 * nscd/nscd_conf.c: Remove local xstrdup declaration.
22858
22859 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22860 Roland McGrath <roland@hack.frob.com>
22861
22862 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
22863 (do_lookup_unique): ... local function 'enter' here; update callers.
22864
22865 2014-10-06 Joseph Myers <joseph@codesourcery.com>
22866
22867 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
22868 compat_symbol calls on [SHARED].
22869 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
22870 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
22871 Remove.
22872 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22873 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
22874 (oldsetrlimit): Remove.
22875 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22877 (lchown): New syscall entry.
22878 (oldsetrlimit): Remove.
22879 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22880 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
22881 (oldsetrlimit): Remove.
22882 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22883
22884 [BZ #14138]
22885 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
22886 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
22887 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
22888 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
22889 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22890 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
22891 (fchown): Likewise.
22892 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
22893 (fchown): Likewise.
22894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
22895 Likewise.
22896
22897 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22898
22899 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
22900 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
22901 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
22902 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
22903 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
22904 Likewise.
22905 (__old_sem_post): Likewise.
22906
22907 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
22908
22909 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
22910 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
22911 HAVE_CLOCK_GETTIME_VSYSCALL macros.
22912 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
22913 Use INLINE_VSYSCALL macro.
22914 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
22915 __vdso_clock_gettime.
22916 * sysdeps/unix/sysv/linux/tile/init-first.c
22917 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
22918 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
22919 __vdso_clock_gettime.
22920
22921 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
22922 to set up frame more cleanly.
22923
22924 * sysdeps/tile/memcmp.c: New file.
22925
22926 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
22927
22928 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
22929 * sysdeps/tile/tilegx/strcasestr.c: New file.
22930 * sysdeps/tile/tilegx/strnlen.c: New file.
22931 * sysdeps/tile/tilegx/strstr.c: New file.
22932
22933 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
22934
22935 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
22936
22937 * nptl/tst-setuid3.c: Write errors to stdout.
22938
22939 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22940
22941 * elf/dl-deps.c
22942 (preload): New functions broken out of _dl_map_object_deps.
22943 (_dl_map_object_deps): Remove a nested function. Update call sites.
22944
22945 2014-10-01 Joseph Myers <joseph@codesourcery.com>
22946
22947 [BZ #14138]
22948 * sysdeps/unix/sysv/linux/execve.c: Remove file.
22949 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
22950
22951 2014-10-01 Steve Ellcey <sellcey@mips.com>
22952
22953 * sysdeps/mips/strcmp.S: New.
22954
22955 2014-09-30 Joseph Myers <joseph@codesourcery.com>
22956
22957 [BZ #14138]
22958 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
22959 (linkat): Likewise.
22960 (mkdirat): Likewise.
22961 (readlinkat): Likewise.
22962 (renameat): Likewise.
22963 (symlinkat): Likewise.
22964 (unlinkat): Likewise.
22965 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
22966 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
22967 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
22968 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
22969 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
22970 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
22971 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
22972
22973 2014-09-30 Will Newton <will.newton@linaro.org>
22974
22975 * math/math.h: Define long double math functions if
22976 _LIBC_TEST is defined.
22977 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
22978
22979 * localedata/Makefile: Move assignment to tests-special
22980 into an ifdef testing run-built-tests.
22981 * timezone/Makefile: Likewise.
22982
22983 2014-09-29 Joseph Myers <joseph@codesourcery.com>
22984
22985 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
22986 with $(BASH) not $(SHELL).
22987
22988 2014-09-29 Carlos O'Donell <carlos@redhat.com>
22989 Matthew LeGendre <legendre1@llnl.gov>
22990
22991 [BZ #17411]
22992 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
22993 l_reloc_result.
22994
22995 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22996
22997 * stdio-common/printf_fp.c
22998 (hack_digit): New function, broken out of ...
22999 (__printf_fp): ... local function here. Update call sites.
23000 hack_digit now takes an additional parameter that is a pointer
23001 to a struct of the referenced locals. Those locals moved inside
23002 the struct and references updated.
23003
23004 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
23005
23006 * aclocal.m4: Require autoconf 2.69.
23007 * configure: Regenerated.
23008 * sysdeps/aarch64/configure: Likewise.
23009 * sysdeps/alpha/configure: Likewise.
23010 * sysdeps/arm/armv7/configure: Likewise.
23011 * sysdeps/arm/configure: Likewise.
23012 * sysdeps/ia64/configure: Likewise.
23013 * sysdeps/mach/configure: Likewise.
23014 * sysdeps/mips/configure: Likewise.
23015 * sysdeps/s390/configure: Likewise.
23016 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
23017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
23018
23019 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
23020 file.
23021 * sysdeps/ia64/configure.ac: Likewise.
23022
23023 2014-09-26 Joseph Myers <joseph@codesourcery.com>
23024
23025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
23026 specify symbol version for ld.so. Do not include entry for
23027 libpthread.
23028 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23029 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23030 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23031
23032 [BZ #14171]
23033 * Makeconfig [$(build-shared) = yes]
23034 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
23035 makefiles.
23036 [$(build-shared) = yes && $(soversions.mk-done) = t]
23037 ($(common-objpfx)gnu/lib-names.h): Remove rule.
23038 [$(build-shared) = yes && $(soversions.mk-done) = t]
23039 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
23040 to Makerules.
23041 [$(build-shared) = yes && $(soversions.mk-done) = t]
23042 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
23043 here.
23044 [$(build-shared) = yes && $(soversions.mk-done) = t]
23045 (common-generated): Don't append gnu/lib-names.h and
23046 gnu/lib-names.stmp here.
23047 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
23048 (lib-names-h-abi): New variable.
23049 [$(build-shared) = yes && $(soversions.mk-done) = t]
23050 (lib-names-stmp-abi): Likewise.
23051 [$(build-shared) = yes && $(soversions.mk-done) = t &&
23052 abi-variants] (before-compile): Append
23053 $(common-objpfx)$(lib-names-h-abi).
23054 [$(build-shared) = yes && $(soversions.mk-done) = t &&
23055 abi-variants] (common-generated): Append gnu/lib-names.h.
23056 [$(build-shared) = yes && $(soversions.mk-done) = t &&
23057 abi-variants] (install-others-nosubdir): Depend on
23058 $(inst_includedir)/$(lib-names-h-abi).
23059 [$(build-shared) = yes && $(soversions.mk-done) = t &&
23060 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
23061 [$(build-shared) = yes && $(soversions.mk-done) = t]
23062 ($(common-objpfx)$(lib-names-h-abi)): New rule.
23063 [$(build-shared) = yes && $(soversions.mk-done) = t]
23064 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
23065 [$(build-shared) = yes && $(soversions.mk-done) = t]
23066 (common-generated): Append $(lib-names-h-abi) and
23067 $(lib-names-stmp-abi).
23068 * scripts/lib-names.awk: Do not handle multi being set.
23069 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
23070 Remove variable.
23071 (abi-lp64_be-ld-soname): Likewise.
23072 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
23073 Likewise.
23074 (abi-hard-ld-soname): Likewise.
23075 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
23076 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
23077 Remove variable.
23078 (abi-o32_hard-ld-soname): Likewise.
23079 (abi-o32_soft_2008-ld-soname): Likewise.
23080 (abi-o32_hard_2008-ld-soname): Likewise.
23081 (abi-n32_soft-ld-soname): Likewise.
23082 (abi-n32_hard-ld-soname): Likewise.
23083 (abi-n32_soft_2008-ld-soname): Likewise.
23084 (abi-n32_hard_2008-ld-soname): Likewise.
23085 (abi-n64_soft-ld-soname): Likewise.
23086 (abi-n64_hard-ld-soname): Likewise.
23087 (abi-n64_soft_2008-ld-soname): Likewise.
23088 (abi-n64_hard_2008-ld-soname): Likewise.
23089 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
23090 Likewise.
23091 (abi-64-v2-ld-soname): Likewise.
23092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
23093 ld.so entries.
23094 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
23095 variable.
23096 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
23097 entry.
23098 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
23099 variable.
23100 (abi-64-ld-soname): Likewise.
23101 (abi-x32-ld-soname): Likewise.
23102 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
23103 entry.
23104 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23105
23106 2014-09-23 Joseph Myers <joseph@codesourcery.com>
23107
23108 [BZ #14138]
23109 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
23110 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
23111 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
23112 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
23113 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
23114 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
23115 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
23116 syscall entry for GLIBC_2.2 symbol version.
23117 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
23118 Likewise.
23119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23120 (setrlimit): Likewise.
23121 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
23122 Likewise.
23123
23124 2014-09-23 Will Newton <will.newton@linaro.org>
23125
23126 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
23127 _LINUX_ARM_SYSDEP_H include guard too.
23128 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
23129 define.
23130
23131 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
23132
23133 * sysdeps/unix/sysv/linux/eventfd.c:
23134 Make first argument unsigned.
23135 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
23136 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
23137
23138 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
23139
23140 * socket/recvmmsg.c (recvmmsg): Drop const argument.
23141 * socket/sys/socket.h: Likewise.
23142 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
23143
23144 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23145
23146 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
23147
23148 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
23149
23150 * time/tst-ftime.c: New test.
23151 * time/Makefile (tests): Add tst-ftime.
23152
23153 2014-09-17 Joseph Myers <joseph@codesourcery.com>
23154
23155 * soft-fp/extended.h: Fix comment formatting.
23156 * soft-fp/op-1.h: Likewise.
23157 * soft-fp/op-2.h: Likewise.
23158 * soft-fp/op-4.h: Likewise.
23159 * soft-fp/op-8.h: Likewise.
23160 * soft-fp/op-common.h: Likewise.
23161 * soft-fp/soft-fp.h: Likewise.
23162
23163 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
23164
23165 2014-09-16 Joseph Myers <joseph@codesourcery.com>
23166
23167 [BZ #6652]
23168 * Makeconfig (soversions-default-setname): Remove variable.
23169 ($(common-objpfx)soversions.i): Don't pass default_setname to
23170 soversions.awk.
23171 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
23172 oldest_abi to abi-versions.awk.
23173 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
23174 * config.make.in (oldest-abi): Remove variable.
23175 * configure.ac (--enable-oldest-abi): Remove configure option.
23176 * configure: Regenerated.
23177 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
23178 text.
23179 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
23180 * scripts/soversions.awk: Do not handle default_setname variable.
23181 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
23182 variable.
23183 * sysdeps/mach/hurd/configure: Regenerated.
23184 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
23185 variable.
23186 * sysdeps/unix/sysv/linux/configure: Regenerated.
23187
23188 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23189
23190 * elf/Makefile (CFLAGS-interp.c): Remove.
23191 ($(elf-objpfx)runtime-linker.h): Generate header with linker
23192 path string.
23193 * elf/interp.c: Include generated runtime-linker.h
23194
23195 * Makerules (lib%.so): Don't include $(+interp) in
23196 prerequisites.
23197 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
23198 * dlfcn/eval.c: Remove file.
23199
23200 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
23201 macros.
23202
23203 [BZ #17266]
23204 * misc/sys/cdefs.h: Define __extern_always_inline for clang
23205 4.2 and newer.
23206
23207 [BZ #17370]
23208 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
23209
23210 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23211 Jakub Jelinek <jakub@redhat.com>
23212
23213 [BZ #17266]
23214 * libio/stdio.h: Check definition of __fortify_function
23215 instead of __extern_always_inline to include bits/stdio2.h.
23216 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
23217 check if __extern_always_inline is defined.
23218 [__USE_MISC || __USE_XOPEN]: Likewise.
23219 [__USE_ISOC99] Likewise.
23220 * misc/sys/cdefs.h (__fortify_function): Define only if
23221 __extern_always_inline is defined.
23222 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
23223 __extern_always_inline and __extern_inline only for g++-4.3
23224 and newer or a compatible gcc.
23225
23226 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
23227
23228 [BZ #17371]
23229 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23230 last change to handle zero prefix length.
23231
23232 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23233
23234 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
23235 _SC_REGEX_VERSION.
23236
23237 * posix/getconf.c (vars): Add _POSIX_IPV6 and
23238 _POSIX_RAW_SOCKETS.
23239
23240 2014-09-13 Allan McRae <allan@archlinux.org>
23241
23242 * po/ru.po: Update Russian translation from translation project.
23243
23244 2014-09-12 Roland McGrath <roland@hack.frob.com>
23245
23246 * locale/programs/locale.c (show_locale_vars): Inline local function
23247 into its sole call site. Clean up some style nits.
23248 (print_item): New function, broken out of ...
23249 (show_info): ... local function here. Clean up style nits.
23250
23251 * locale/programs/ld-ctype.c (set_one_default): New function, broken
23252 out of ...
23253 (set_class_defaults): ... local function set_default here.
23254 Define set_default as a macro locally to pass constant parameters.
23255 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
23256 rather than a shared local.
23257
23258 * stdlib/rpmatch.c (try): New function, broken out of ...
23259 (rpmatch): ... local function here. Also, prototypify definition.
23260
23261 2014-09-12 Joseph Myers <joseph@codesourcery.com>
23262
23263 * scripts/soversions.awk: Do not handle configuration names.
23264 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
23265 vendor and os variables to soversions.awk.
23266 * configure.ac: Do not modify gnu-* host_os.
23267 * configure: Regenerated
23268 * shlib-versions: Remove first column with configuration names.
23269 * nptl/shlib-versions: Likewise.
23270 * nptl_db/shlib-versions: Likewise.
23271 * sysdeps/hppa/shlib-versions: Likewise.
23272 * sysdeps/m68k/shlib-versions: Likewise.
23273 * sysdeps/mach/hurd/shlib-versions: Likewise.
23274 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
23275 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
23276 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
23277 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
23278 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
23279 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
23280 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
23281 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
23282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23283 Likewise.
23284 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23285 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23286 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23287 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23288 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23289 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
23290 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23291 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23292
23293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23294 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
23295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23296 Regenerated.
23297 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
23298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23299 Condition symbol version definitions on [HAVE_ELFV2_ABI].
23300
23301 * shlib-versions: Remove OS-specific entries. Moved to files in
23302 sysdeps.
23303 * sysdeps/mach/hurd/shlib-versions: New file.
23304 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23305
23306 * nptl/shlib-versions: Remove architecture-specific entries.
23307 Moved to files in sysdeps.
23308 * shlib-versions: Likewise.
23309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
23310 file.
23311 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23312 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23313 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23314 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23315
23316 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
23317 (UDP_NO_CHECK6_RX): Likewise.
23318
23319 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23320
23321 * sysdeps/posix/sysconf.c (__sysconf): Spell
23322 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
23323
23324 2014-08-12 Florian Weimer <fweimer@redhat.com>
23325
23326 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
23327 loading.
23328 * iconv/Versions (__gconv_transliterate): Export for use from
23329 gconv modules.
23330 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
23331 (struct __gconv_trans_data, __gconv_trans_fct,
23332 __gconv_trans_context_fct, __gconv_trans_query_fct,
23333 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
23334 definitions.
23335 (struct __gconv_step_data): Remove __trans member.
23336 (__gconv_transliterate): Declaration moved from gconv_int.h. No
23337 longer hidden. Remove unused trans_data argument.
23338 * iconv/gconv_int.h (struct trans_struct): Remove definition.
23339 (__gconv_translit_find): Remove declaration.
23340 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
23341 prototype.
23342 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
23343 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
23344 trans_data argument. Add hidden definition.
23345 (__gconv_translit_find): Remove.
23346 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
23347 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
23348 * iconv/skeleton.c: Remove transliteration initialization.
23349 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
23350 __gconv_step_data initialization.
23351 * libio/iofwide.c (__libio_translit_): Remove.
23352 (_IO_fwide): Adjust struct __gconv_step_data initialization.
23353 * wcsmbs/btowc.c (__btowc): Likewise.
23354 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23355 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23356 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23357 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23358 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
23359 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23360 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23361 * wcsmbs/wctob.c (wctob): Likewise.
23362
23363 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23364
23365 [BZ #16194]
23366 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
23367 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
23368 register usage.
23369 * sysdeps/x86/Makefile: Adjust.
23370
23371 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
23372 Roland McGrath <roland@hack.frob.com>
23373
23374 * locale/weight.h: Add include guard.
23375 (findidx): Make static rather than auto; take new parameters
23376 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
23377 * locale/weightwc.h: Likewise.
23378 * posix/fnmatch_loop.c
23379 (FCT): Change type of EXTRA from int32_t to wint_t.
23380 Don't include either header inside the function.
23381 Call FINDIDX rather than findidx, and pass new arguments.
23382 #undef FINDIDX at the end of the file.
23383 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
23384 FINDIDX before including fnmatch_loop.c for the non-wide version.
23385 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
23386 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
23387 for the wide version.
23388 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
23389 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
23390 Pass new arguments to findidx.
23391 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
23392 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
23393 Don't #include it inside the function. Pass new arguments to findidx.
23394 * posix/regex_internal.h
23395 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
23396 (re_string_elem_size_at): Don't #include it inside the function.
23397 Pass new arguments to findidx.
23398 * string/strcoll_l.c: #include WEIGHT_H at top level.
23399 (get_next_seq): Don't #include it inside the function.
23400 Pass new arguments to findidx.
23401 (get_next_seq_nocache): Likewise.
23402 * string/strxfrm_l.c: #include WEIGHT_H at top level.
23403 (STRXFRM): Don't #include it inside the function.
23404 Pass new arguments to findidx.
23405
23406 2014-09-11 Florian Weimer <fweimer@redhat.com>
23407
23408 [BZ #17344]
23409 * malloc/malloc.c (unlink): Turn asserts into a call to
23410 malloc_printerr.
23411
23412 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
23413
23414 [BZ #17370]
23415 * libio/wfileops (do_ftell_wide): Free OUT.
23416
23417 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
23418
23419 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
23420
23421 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23422
23423 [BZ #17363]
23424 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
23425 group if the current group is empty.
23426
23427 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23428
23429 * benchtests/bench-memset.c (test_main): Add more test from size
23430 from 32 to 512 bytes.
23431 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23432 Add POWER8 memset object.
23433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23434 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
23435 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
23436 implementation.
23437 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
23438 Likewise.
23439 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
23440 multiarch POWER8 memset optimization.
23441 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
23442 POWER8 memset optimization.
23443
23444 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23445 Remove bzero multiarch objects.
23446 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
23447 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
23448 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
23449 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
23450 Remove define.
23451 [__bzero]: Redefine to specific name.
23452 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23453 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23454 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
23455 define.
23456 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23457 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23458
23459 2014-09-10 Florian Weimer <fweimer@redhat.com>
23460
23461 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
23462 warnings into errors.
23463
23464 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
23465 __cxa_thread_atexit_impl prototype.
23466
23467 2014-09-09 Steve Ellcey <sellcey@mips.com>
23468
23469 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
23470 Fix capitalization of error message.
23471
23472 2014-09-09 Steve Ellcey <sellcey@mips.com>
23473
23474 * sysdeps/mips/preconfigure: Modify ABI tests.
23475
23476 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
23477
23478 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
23479
23480 2014-09-07 Roland McGrath <roland@hack.frob.com>
23481 Carlos O'Donell <carlos@systemhalted.org>
23482
23483 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
23484 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
23485 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
23486 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
23487 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
23488 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
23489 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
23490 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
23491 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
23492 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
23493 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
23494 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
23495 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
23496 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
23497 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
23498 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
23499 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
23500 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
23501 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
23502 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
23503 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
23504 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
23505 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
23506 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
23507 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
23508 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
23509 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
23510 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
23511 Deconditionalize the code that was previously under [RESET_PID].
23512 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
23513 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
23514 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
23515 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
23516 include sysdep.h.
23517
23518 2014-09-08 Allan McRae <allan@archlinux.org>
23519
23520 * version.h (RELEASE): Set to "development".
23521 (VERSION): Set to "2.20.90"
23522
23523 2014-09-07 Allan McRae <allan@archlinux.org
23524
23525 * version.h (RELEASE): Set to "stable".
23526 (VERSION): Set to "2.20"
23527 * include/features.h (__GLIBC_MINOR__): Set to 20.
23528
23529 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
23530 Liebler.
23531
23532 * po/ko.po: Update Korean translation from translation project.
23533
23534 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
23535
23536 [BZ #17354]
23537 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
23538 macro for handling signed relocations.
23539
23540 2014-09-03 Florian Weimer <fweimer@redhat.com>
23541
23542 [BZ #17325]
23543 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
23544 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
23545 assert.
23546 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
23547 * iconvdata/ibm935.c (BODY): Likewise.
23548 * iconvdata/ibm937.c (BODY): Likewise.
23549 * iconvdata/ibm939.c (BODY): Likewise.
23550 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
23551 assert.
23552 * iconvdata/Makefile (iconv-test.out): Pass module list to test
23553 script.
23554 * iconvdata/run-iconv-test.sh: New test loop for checking for
23555 decoder crashers.
23556
23557 2014-09-02 Khem Raj <raj.khem@gmail.com>
23558
23559 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
23560 libm_hidden_ver.
23561
23562 2014-09-01 Allan McRae <allan@archlinux.org>
23563
23564 * po/eo.po: Update Esperanto translation from translation project.
23565
23566 * po/ca.po: Update Catalan translation from translation project.
23567
23568 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
23569
23570 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
23571 __proc_dostop call.
23572
23573 2014-08-27 Mark Wielaard <mjw@redhat.com>
23574
23575 [BZ #17319]
23576 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
23577 to call set_thread_area instead of hand written asm.
23578 (__NR_set_thread_area): Removed define.
23579 (TLS_FLAG_WRITABLE): Likewise.
23580 (__ASSUME_SET_THREAD_AREA): Remove check.
23581 (TLS_EBX_ARG): Remove define.
23582 (TLS_LOAD_EBX): Likewise.
23583
23584 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
23585
23586 Simplify atomicity of socket creation in bind.
23587
23588 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
23589 looking up the name after linking the file.
23590
23591 2014-08-27 Allan McRae <allan@archlinux.org>
23592
23593 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23594
23595 2014-08-26 Florian Weimer <fweimer@redhat.com>
23596
23597 [BZ #17187]
23598 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
23599 trans_compare, open_translit, __gconv_translit_find):
23600 Remove module loading code.
23601
23602 2014-08-26 Allan McRae <allan@archlinux.org>
23603
23604 * po/vi.po: Update Vietnamese translation from translation project.
23605
23606 * po/uk.po: Update Ukrainian translation from translation project.
23607
23608 * po/fr.po: Update French translation from translation project.
23609
23610 * po/ru.po: Update Russian translation from translation project.
23611
23612 * po/pl.po: Update Polish translation from translation project.
23613
23614 * po/cs.po: Update Czech translation from translation project.
23615
23616 * po/de.po: Update German translation from translation project.
23617
23618 * po/bg.po: Update Bulgarian translation from translation project.
23619
23620 * po/sv.po: Update Sweedish translation from translation project.
23621
23622 * po/nl.po: Update Dutch translation from translation project.
23623
23624 * po/es.po: Update Spanish translation from translation project.
23625
23626 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23627
23628 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
23629
23630 * catgets/Makefile (CPPFLAGS-gencat): Remove.
23631 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
23632 (CPPFLAGS-iconvconfig): Likewise.
23633 * timezone/Makefile (CPPFLAGS-zic): Likewise.
23634
23635 * include/libc-symbols.h: Remove unnecessary check for
23636 NOT_IN_libc.
23637 * nptl/pthreadP.h: Likewise.
23638 * sysdeps/aarch64/setjmp.S: Likewise.
23639 * sysdeps/alpha/setjmp.S: Likewise.
23640 * sysdeps/arm/sysdep.h: Likewise.
23641 * sysdeps/i386/setjmp.S: Likewise.
23642 * sysdeps/m68k/setjmp.c: Likewise.
23643 * sysdeps/posix/getcwd.c: Likewise.
23644 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23645 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23646 * sysdeps/s390/s390-32/setjmp.S: Likewise.
23647 * sysdeps/s390/s390-64/setjmp.S: Likewise.
23648 * sysdeps/sh/sh3/setjmp.S: Likewise.
23649 * sysdeps/sh/sh4/setjmp.S: Likewise.
23650 * sysdeps/unix/alpha/sysdep.h: Likewise.
23651 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23652 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23653 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23654 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23657 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23658 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23659 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23660 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23662 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23663 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23664 * sysdeps/x86_64/setjmp.S: Likewise.
23665
23666 2014-08-13 Joseph Myers <joseph@codesourcery.com>
23667
23668 [BZ #17263]
23669 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
23670 <stdint.h>.
23671 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
23672 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
23673
23674 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23675
23676 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
23677
23678 [BZ #17262]
23679 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
23680 and __x86_64__ when disabling x87 inline functions.
23681
23682 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
23683
23684 [BZ #17259]
23685 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
23686 asm statement with __cpuid_count.
23687
23688 2014-08-12 Mike Frysinger <vapier@gentoo.org>
23689
23690 * configure.ac: Change __ehdr_start code to dereference the struct.
23691 Run readelf on the output to look for relocations.
23692 * configure: Regenerated.
23693
23694 2014-08-12 Joseph Myers <joseph@codesourcery.com>
23695
23696 [BZ #17261]
23697 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
23698 value to 0.
23699 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
23700
23701 2014-08-12 Roland McGrath <roland@hack.frob.com>
23702
23703 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
23704
23705 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
23706
23707 [BZ #16892]
23708 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
23709 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
23710
23711 2014-08-12 Sean Anderson <seanga2@gmail.com>
23712
23713 * malloc/malloc.c: Fix typo in comment.
23714
23715 2014-08-09 Allan McRae <allan@archlinux.org>
23716
23717 * Regenerate libc.po.
23718
23719 2014-08-08 Mike Frysinger <vapier@gentoo.org>
23720
23721 * intl/tst-gettext2.sh: Check every lang file for creation.
23722
23723 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
23724
23725 * sysdeps/aarch64/fpu/math_private.h
23726 (libc_feholdsetround_noex_aarch64_ctx): New function.
23727
23728 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
23729
23730 * sysdeps/arm/armv6/strcpy.S (strcpy):
23731 Fix performance issue in misaligned cases.
23732
23733 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23734
23735 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
23736 Move definition from termios.h.
23737 (struct termio): Likewise.
23738 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23739 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23740 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23741 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23742 Likewise.
23743 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
23744 Move definition to ioctl-types.h
23745 (struct termio): Likewise.
23746 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23747 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23748 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23749 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23750 Likewise.
23751
23752 2014-08-05 Richard Henderson <rth@redhat.com>
23753
23754 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
23755 exceptions.
23756 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
23757 Add fraiseexcpt.
23758 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
23759 Use __feraiseexcept.
23760 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
23761 Protect libm symbols with IS_IN_libm.
23762
23763 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
23764
23765 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
23766
23767 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
23768
23769 2014-08-04 Will Newton <will.newton@linaro.org>
23770
23771 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
23772 file.
23773
23774 2014-08-04 Mike Frysinger <vapier@gentoo.org>
23775
23776 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
23777 variants for each function.
23778
23779 2014-08-04 Roland McGrath <roland@hack.frob.com>
23780
23781 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
23782 appended ...
23783 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
23784 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
23785 appended ...
23786 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
23787 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
23788 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
23789 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
23790 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23791 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
23792 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
23793 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
23794 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
23795 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
23796 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
23797 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
23798 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
23799 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
23800 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23801 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
23802 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
23803 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
23804 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
23805 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
23806 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
23807 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
23808 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
23809 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
23810 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
23811 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
23812 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
23813 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
23814 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
23815 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
23816 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
23817 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
23818 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
23819 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
23820 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
23821 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
23822 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
23823 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
23824 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
23825 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
23826 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
23827 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
23828 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
23829 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
23830 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
23831 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
23832 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
23833 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
23834 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
23835 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
23836 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
23837 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
23838 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
23839 Update #include.
23840 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
23841 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
23842
23843 2014-08-04 Roland McGrath <roland@hack.frob.com>
23844
23845 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
23846 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
23847 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
23848 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
23849 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
23850 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
23851
23852 2014-08-04 Roland McGrath <roland@hack.frob.com>
23853
23854 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
23855 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
23856 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23857 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
23858
23859 2014-08-04 Roland McGrath <roland@hack.frob.com>
23860
23861 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
23862 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
23863 (__libc_vfork): Define function under this name.
23864 (__vfork): Define as an alias.
23865 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
23866 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
23867
23868 2014-08-04 Roland McGrath <roland@hack.frob.com>
23869
23870 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
23871 that was previously under [RESET_PID].
23872 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
23873
23874 2014-08-04 Andreas Schwab <schwab@suse.de>
23875
23876 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
23877
23878 2014-08-03 Mike Frysinger <vapier@gentoo.org>
23879
23880 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
23881 (main): Likewise.
23882
23883 2014-08-01 Roland McGrath <roland@hack.frob.com>
23884
23885 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
23886
23887 2014-08-01 Richard Henderon <rth@redhat.com>
23888
23889 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
23890 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
23891 typo in exact zero test.
23892 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23893 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23894 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23895
23896 2014-08-01 Roland McGrath <roland@hack.frob.com>
23897
23898 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
23899 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
23900 * sysdeps/arm/sysdep.h: ... here.
23901 [!__ASSEMBLER__]: Include <stdint.h>.
23902
23903 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23904
23905 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
23906 (HAVE_WCTYPE_H): Likewise.
23907 (HAVE_ISWCTYPE): Likewise.
23908 (ENABLE_NLS): Likewise.
23909 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
23910 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
23911
23912 * posix/regex_internal.c: Check if DEBUG is defined and is
23913 set.
23914
23915 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
23916 (HAVE_MBSRTOWCS): Likewise.
23917 * posix/fnmatch.c: Include string.h unconditionally.
23918
23919 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
23920
23921 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
23922 reversal.
23923
23924 2014-07-31 Roland McGrath <roland@hack.frob.com>
23925
23926 * sysdeps/generic/safe-fatal.h: New file.
23927 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
23928 * nptl/forward.c: Include it.
23929 (__pthread_unwind): Use __safe_fatal as default action, rather
23930 than a bogus use of INTERNAL_SYSCALL that could never work.
23931
23932 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
23933 * configure.ac (libc_cv_builtin_trap): New test.
23934 * configure: Regenerated.
23935 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
23936 (ABORT_INSTRUCTION): Define using __builtin_trap.
23937
23938 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
23939 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
23940 * sysdeps/nptl/nptl-signals.h: New file.
23941 * nptl/pthreadP.h: Include <nptl-signals.h>.
23942
23943 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23944
23945 * sysdeps/s390/s390-64/utf16-utf32-z9.c
23946 (ONE_DIRECTION): Define.
23947 * sysdeps/s390/s390-64/utf8-utf16-z9.c
23948 (ONE_DIRECTION): Define.
23949 * sysdeps/s390/s390-64/utf8-utf32-z9.c
23950 (ONE_DIRECTION): Define.
23951
23952 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23953
23954 * sysdeps/s390/Makefile: Delete file.
23955 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
23956 * sysdeps/s390/__longjmp.c: Delete file.
23957 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
23958 Remove fields __flags and __reserved.
23959 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
23960 and add versioning.
23961 * sysdeps/s390/rtld-__longjmp.c: Delete file.
23962 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
23963 * sysdeps/s390/rtld-setjmp.S: Likewise.
23964 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
23965 * sysdeps/s390/s390-32/__longjmp.c: ... here.
23966 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
23967 * sysdeps/s390/s390-32/setjmp.S: ... here.
23968 Add versioning.
23969 (__sigsetjmp): Remove setting __flags field.
23970 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
23971 * sysdeps/s390/s390-64/__longjmp.c: ... here.
23972 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
23973 * sysdeps/s390/s390-64/setjmp.S: ... here.
23974 Add versioning.
23975 (__sigsetjmp): Remove setting __flags field.
23976 * sysdeps/s390/setjmp.S: Delete file.
23977 * sysdeps/s390/sigjmp.c: Likewise.
23978 * sysdeps/s390/v1-longjmp.c: Likewise.
23979 * sysdeps/s390/v1-setjmp.h: Likewise.
23980 * sysdeps/s390/v1-sigjmp.c: Likewise.
23981 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
23982 Remove v1-longjmp_chk.
23983 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
23984 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
23985 Include debug/longjmp_chk.c and add versioning.
23986 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
23987 Include nptl/pt-longjmp.c and add versioning.
23988 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
23989 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
23990 Include __longjmp.c.
23991 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23992 Move to ...
23993 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
23994 (__getcontext): Remove setting __flags field.
23995 Add versioning.
23996 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23997 Don't restore upper high grps.
23998 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
23999 Likewise.
24000 (__swapcontext): Remove setting uc_flags field.
24001 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
24002 Delete file.
24003 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24004 Include __longjmp.c.
24005 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24006 Move to ...
24007 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
24008 (__getcontext): Remove setting __flags field.
24009 Add versioning.
24010 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
24011 (__swapcontext): Remove setting uc_flags field.
24012 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
24013 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
24014 Remove fields uc_high_gprs and __reserved.
24015 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
24016 New file with reverted content.
24017 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
24018 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
24019 Regenerated.
24020 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
24021 Regenerated.
24022
24023 2014-07-31 Andreas Schwab <schwab@suse.de>
24024
24025 * config.h.in (HAVE_IFUNC): Define to 0.
24026 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
24027 definedness.
24028
24029 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
24030
24031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24032 memmove-avx-unaligned, memcpy-avx-unaligned and
24033 mempcpy-avx-unaligned.
24034 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24035 Add tests for AVX memcpy functions.
24036 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
24037 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
24038 memcpy_chk.
24039 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
24040 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
24041 memmove_chk.
24042 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
24043 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
24044 mempcpy_chk.
24045 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
24046 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
24047 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
24048
24049 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24050
24051 [BZ #17213]
24052 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
24053 powerpc64le.
24054
24055 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
24056
24057 [BZ #16839]
24058 * manual/llio.texi: Add section about open file description locks.
24059 * manual/examples/ofdlocks.c: Example of open file description
24060 lock usage.
24061 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
24062 F_OFD_SETLK, and F_OFD_SETLKW.
24063
24064 2014-07-23 Allan McRae <allan@archlinux.org>
24065
24066 * po/es.po: Update Spanish translation from translation project.
24067
24068 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
24069
24070 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
24071
24072 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
24073
24074 [BZ #17078]
24075 * sysdeps/arm/dl-machine.h (elf_machine_rela)
24076 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
24077 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
24078
24079 2014-07-17 Joseph Myers <joseph@codesourcery.com>
24080
24081 [BZ #17088]
24082 * math/fesetenv.c (__fesetenv)
24083 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
24084 * math/feupdateenv.c (__feupdateenv)
24085 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
24086
24087 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
24088 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
24089 (__ASSUME_SOCKETCALL): Do not define.
24090
24091 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
24092 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
24093 (__ASSUME_SOCKETCALL): Do not define.
24094 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
24095 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24096 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24097 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24098 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24099 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
24100 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24101 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24102
24103 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
24104 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
24105 (__ASSUME_SOCKETCALL): Do not define.
24106 (__ASSUME_IPC64): Define unconditionally.
24107 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24108 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24109 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24110 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24111 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
24112 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24113 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
24114 Likewise.
24115
24116 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
24117 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
24118 (__ASSUME_SOCKETCALL): Do not define.
24119 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
24120 (__ASSUME_FUTEX_LOCK_PI): Likewise.
24121 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24122 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24123 (__ASSUME_REQUEUE_PI): Define unconditionally.
24124 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
24125 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
24126 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24127 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
24128 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24129 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24130
24131 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
24132 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
24133 (__ASSUME_SOCKETCALL): Do not define.
24134 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
24135 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24136 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24137 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
24138 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24139 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24140
24141 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
24142 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
24143 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24144 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
24145 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24146 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
24147 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24148 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
24149 (__ASSUME_GETCPU_SYSCALL): Likewise.
24150
24151 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
24152 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
24153 cases for individual architectures.
24154 * sysdeps/gnu/configure: Regenerated.
24155 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
24156 LIBC_SLIBDIR_RTLDDIR.
24157 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
24158 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
24159 LIBC_SLIBDIR_RTLDDIR.
24160 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
24161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
24162 LIBC_SLIBDIR_RTLDDIR.
24163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24164 Regenerated.
24165 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
24166 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
24167 file.
24168 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
24169 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
24170 file.
24171 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
24172 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
24173 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
24174 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
24175
24176 * sysdeps/aarch64/shlib-versions: Move to ...
24177 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
24178 * sysdeps/alpha/shlib-versions: Move to ...
24179 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
24180 * sysdeps/arm/shlib-versions: Move to ...
24181 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
24182 * sysdeps/hppa/shlib-versions: Move all contents except for
24183 libgcc_s entry to ...
24184 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
24185 entry from ...
24186 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
24187 * sysdeps/ia64/shlib-versions: Move to ...
24188 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
24189 entry from ...
24190 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
24191 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
24192 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
24193 * sysdeps/microblaze/shlib-versions: Move to ...
24194 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
24195 * sysdeps/mips/shlib-versions: Move to ...
24196 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
24197 entry from ...
24198 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
24199 * sysdeps/tile/shlib-versions: Move to ...
24200 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
24201 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
24202 from ...
24203 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
24204 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
24205 entry from ...
24206 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
24207
24208 2014-07-17 Will Newton <will.newton@linaro.org>
24209
24210 * sysdeps/arm/bits/atomic.h
24211 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
24212 (__arch_compare_and_exchange_bool_16_int): Likewise.
24213 (__arch_compare_and_exchange_bool_64_int): Likewise.
24214
24215 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
24216 into an #else block.
24217
24218 2014-07-16 Roland McGrath <roland@hack.frob.com>
24219
24220 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
24221 just Linux configurations. Test empirically that the compiler sets
24222 __ARM_EABI__, rather than using the tuple to decide.
24223 * sysdeps/arm/preconfigure: Regenerated.
24224 * sysdeps/unix/sysv/linux/arm/configure: File removed.
24225 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
24226 contents appended ...
24227 * sysdeps/arm/configure.ac: ... here.
24228 * sysdeps/arm/configure: Regenerated.
24229
24230 2014-07-15 Roland McGrath <roland@hack.frob.com>
24231
24232 * nptl/pthread_kill.c: New file.
24233 * nptl/pthread_sigmask.c: New file.
24234 * nptl/pthread_sigqueue.c: New file.
24235
24236 * sysdeps/nptl/lowlevellock.h: New file.
24237 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
24238 * sysdeps/nptl/lowlevellock-futex.h: New file.
24239
24240 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
24241 Remove dead declarations.
24242
24243 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
24244
24245 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
24246 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
24247 config-cflags-avx2.
24248 * sysdeps/x86_64/configure.ac: Likewise.
24249 * sysdeps/i386/configure: Regenerated.
24250 * sysdeps/x86_64/configure: Likewise.
24251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24252 memset-avx2 only if config-cflags-avx2 is yes.
24253 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24254 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
24255 defined.
24256 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
24257 only if HAVE_AVX2_SUPPORT is defined.
24258 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24259
24260 2014-07-14 Alan Modra <amodra@gmail.com>
24261
24262 [BZ #17153]
24263 * elf/elf.h (DT_PPC64_NUM): Correct value.
24264 * NEWS: Add to fixed bug list.
24265
24266 2014-07-13 Jim Meyering <meyering@fb.com>
24267
24268 [BZ 17150]
24269 regex: don't deref NULL upon heap allocation failure
24270 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
24271 failure in one more place.
24272 To trigger the segfault, configure grep -with-included-regex,
24273 build it, and run these commands:
24274 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
24275
24276 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
24277
24278 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24279
24280 2014-07-11 Richard Henderson <rth@redhat.com>
24281
24282 * sysdeps/aarch64/libm-test-ulps: Update.
24283
24284 2014-07-10 Florian Weimer <fweimer@redhat.com>
24285
24286 [BZ #17135]
24287 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
24288 * nptl/allocatestack.c (__nptl_setxid_error): New function.
24289 (__nptl_setxid): Initialize error member. Call
24290 __nptl_setxid_error.
24291 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
24292 * nptl/descr.h (struct xid_command): Add error member.
24293 * nptl/tst-setuid3.c: New file.
24294 * nptl/Makefile (tests): Add it.
24295
24296 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24297
24298 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
24299 New define.
24300 (__lll_trylock): Use __lll_base_trylock.
24301 (__lll_cond_trylock): Likewise.
24302
24303 2014-07-10 Roland McGrath <roland@hack.frob.com>
24304
24305 * nptl/pthread_create.c (start_thread): Use atomic_or and
24306 lll_futex_wake directly rather than lll_robust_dead.
24307 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24308 (lll_robust_dead): Macro removed.
24309 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
24310 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24311 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24312 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24313 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24314 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24315 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24316 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24317 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24318 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24319 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24320 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24321 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24322 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24323 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24324
24325 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24326 Use atomic_compare_and_exchange_val_acq directly rather than
24327 lll_robust_trylock.
24328 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24329 (__lll_robust_trylock, lll_robust_trylock): Removed.
24330 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24331 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24332 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24333 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24334 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24335 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24336 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24337 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24338 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24339 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24340 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24341 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24342 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24343 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24344
24345 2014-07-02 Florian Weimer <fweimer@redhat.com>
24346
24347 * manual/locale.texi (Locale Names): New section documenting
24348 locale name syntax. Adjust menu and node chaining accordingly.
24349 (Choosing Locale): Reference Locale Names, Locale Categories.
24350 Mention setting LC_ALL=C. Reflect that name syntax is now
24351 documented.
24352 (Locale Categories): New section title. Reference Locale Names.
24353 LC_ALL is an environment variable, but not a category.
24354 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
24355 description, now in Locale Name. Reference that section. Locale
24356 name syntax is now documented.
24357
24358 2014-07-02 Florian Weimer <fweimer@redhat.com>
24359
24360 [BZ #17137]
24361 * locale/findlocale.c (name_present, valid_locale_name): New
24362 functions.
24363 (_nl_find_locale): Use the loc_name variable to store name
24364 candidates. Call name_present and valid_locale_name to check and
24365 validate locale names. Return an error if the locale is invalid.
24366
24367 2014-07-02 Florian Weimer <fweimer@redhat.com>
24368
24369 * locale/setlocale.c (setlocale): Use strdup for allocating
24370 composite name copy.
24371
24372 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24373
24374 Sync up with gnulib.
24375 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
24376 [!_LIBC && ENABLE_NLS]: Include gettext.h.
24377 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
24378 and _GL_ARG_NONNULL.
24379 [USE_UNLOCKED_IO]: Include unlocked-io.h.
24380 [!_LIBC]: Include code for Windows and Cygwin.
24381 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
24382 Include prototype for int strerror_r.
24383 [!_LIBC] (is_open): New function.
24384 (flush_stdout): New function.
24385 (print_errno_message): Use it.
24386 (error): Likewise.
24387 (error_at_line): Likewise.
24388 (error_tail) Add function attribute macros. Use
24389 __builtin_expect.
24390
24391 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
24392
24393 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
24394
24395 * io/ftw.c: Include sys/param.h unconditionally.
24396
24397 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
24398
24399 [BZ #17125]
24400 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
24401 libc_freeres_ptr.
24402 (freecache): New function to free CACHE on exit.
24403
24404 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
24405 initialization.
24406
24407 2014-07-09 David S. Miller <davem@davemloft.net>
24408
24409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24410
24411 * sysdeps/sparc/nptl/internaltypes.h: Delete.
24412 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
24413 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
24414 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
24415 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
24416 * sysdeps/sparc/nptl/sem_init.c: Likewise.
24417 * sysdeps/sparc/nptl/sem_post.c: Likewise.
24418 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
24419 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
24420 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
24421 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
24422 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
24423 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
24424
24425 2014-07-09 Andreas Schwab <schwab@suse.de>
24426
24427 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
24428 output.
24429 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
24430 (do_test): Likewise.
24431
24432 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24433
24434 2014-07-09 Will Newton <will.newton@linaro.org>
24435
24436 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
24437 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
24438 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
24439 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
24440 * sysdeps/hppa/start.S (_start): Likewise.
24441
24442 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24443
24444 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
24445
24446 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
24447 defined.
24448
24449 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24450
24451 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
24452 after checking that it is non-NULL.
24453
24454 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
24455
24456 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24457
24458 * sysdeps/powerpc/memmove.c: Remove file.
24459 * sysdeps/powerpc/powerpc32/power4/memcopy.h
24460 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
24461 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24462 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
24463 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
24464 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
24465 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
24466 string memmove instead of removed powerpc one.
24467
24468 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24469 [weak_alias]: Fix compiler warning due trailing data.
24470 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
24471 [weak_alias]: Likewise.
24472 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
24473 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
24474
24475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24476 (__libc_ifunc_impl_list): Add memmove functions.
24477
24478 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24479
24480 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
24481 Remove code.
24482 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
24483 Likewise.
24484 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
24485 Likewise.
24486 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
24487 Likewise.
24488 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
24489 Likewise.
24490 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
24491 Likewise.
24492 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
24493 Likewise.
24494 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
24495 Likewise.
24496 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
24497 Likewise.
24498 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
24499 Likewise.
24500 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
24501 Likewise.
24502 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
24503 Likewise.
24504 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
24505 Likewise.
24506 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
24507 Likewise.
24508 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
24509 Likewise.
24510 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
24511 Likewise.
24512 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
24513 Likewise.
24514
24515 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24516
24517 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
24518 to avoid alignment traps in non-cacheable memory.
24519 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24520
24521 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
24522 multiarch objects.
24523 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
24524 file: multiarch power7 memmove.
24525 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
24526 multiarch default memmove.
24527 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
24528 multiarch memove for powerpc32/power4.
24529
24530 * string/bcopy.c: Use full path to include memmove.c.
24531 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
24532 multiarch objects.
24533 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
24534 bcopy for powerpc64.
24535 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
24536 bcopy for powerpc64.
24537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
24538 and memmove implementations.
24539 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
24540 optimized multiarch memmove for POWER7/powerpc64.
24541 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
24542 default multiarch memmove for powerpc64.
24543 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
24544 multiarch for powerpc64.
24545 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
24546 for POWER7/powerpc64.
24547 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
24548 memmove for POWER7/powerpc64.
24549
24550 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
24551 glibc default one.
24552
24553 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
24554 __ELF_NATIVE_CLASS equal to 64.
24555
24556 2014-07-07 Roland McGrath <roland@hack.frob.com>
24557
24558 * sysdeps/nptl/lowlevellock.h: File removed.
24559
24560 * NEWS: NPTL is no longer an add-on!
24561 * nptl/internaltypes.h: Moved ...
24562 * sysdeps/nptl/internaltypes.h: ... here.
24563 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
24564 * sysdeps/nptl/fork.c: Likewise.
24565 * sysdeps/nptl/gai_misc.h: Likewise.
24566 * sysdeps/nptl/librt-cancellation.c: Likewise.
24567 * sysdeps/nptl/jmp-unwind.c: Likewise.
24568 * sysdeps/nptl/setxid.h: Likewise.
24569 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
24570 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
24571 * sysdeps/unix/sysv/linux/arm/Implies: New file.
24572 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
24573 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
24574 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
24575 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
24576 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
24577 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
24578 * sysdeps/unix/sysv/linux/mips/Implies: New file.
24579 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
24580 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
24581 * sysdeps/unix/sysv/linux/sh/Implies: New file.
24582 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
24583 * sysdeps/unix/sysv/linux/tile/Implies: New file.
24584 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
24585 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
24586 * nptl/Makeconfig: Moved ...
24587 * sysdeps/nptl/Makeconfig: ... here.
24588 * nptl/configure: File removed.
24589 * nptl/ANNOUNCE: File removed.
24590 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
24591 * sysdeps/unix/sysv/linux/configure: Regenerated.
24592
24593 * nptl/Makefile (routines): Add libc_pthread_init,
24594 libc_multiple_threads, register-atfork and unregister-atfork.
24595 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
24596 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
24597 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
24598 pthread-pi-defines.sym, structsem.sym.
24599 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
24600 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
24601 [$(subdir) = nptl] (tests): Add tst-setgetname.
24602 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
24603 * sysdeps/unix/sysv/linux/sigaction.c: Just include
24604 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
24605 [!LIBC_SIGACTION]: Remove aliases.
24606 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24607 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24608 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24609 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
24610 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24611 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
24612 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24613 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24614 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24615 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
24616 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
24617 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
24618 __libc_allocate_rtsig_private.
24619 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
24620 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
24621 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24622 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24623 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
24624 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
24625 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
24626 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
24627 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
24628 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
24629 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
24630 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
24631 * nptl/internaltypes.h: ... here.
24632 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
24633 * sysdeps/nptl/jmp-unwind.c: ... here.
24634 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
24635 * nptl/libc-lowlevellock.c: ... here.
24636 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
24637 * nptl/libc_multiple_threads.c: ... here.
24638 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
24639 * nptl/libc_pthread_init.c: ... here.
24640 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
24641 * nptl/lowlevelbarrier.sym: ... here.
24642 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
24643 * nptl/lowlevelcond.sym: ... here.
24644 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
24645 * nptl/lowlevellock.c: ... here.
24646 * nptl/lowlevellock.h: Moved ...
24647 * sysdeps/nptl/lowlevellock.h: ... here.
24648 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
24649 * nptl/lowlevelrobustlock.c: ... here.
24650 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
24651 * nptl/lowlevelrobustlock.sym: ... here.
24652 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
24653 * nptl/lowlevelrwlock.sym: ... here.
24654 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
24655 * nptl/pt-fork.c: ... here.
24656 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
24657 * nptl/pthread-pi-defines.sym: ... here.
24658 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
24659 * nptl/pthread_attr_getaffinity.c: ... here.
24660 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
24661 * nptl/pthread_attr_setaffinity.c: ... here.
24662 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
24663 * nptl/pthread_mutex_cond_lock.c: ... here.
24664 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
24665 Update #include.
24666 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
24667 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
24668 * nptl/pthread_once.c: ... here, replacing old file.
24669 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
24670 * nptl/pthread_yield.c: ... here.
24671 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
24672 * nptl/register-atfork.c: ... here.
24673 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
24674 * nptl/sem_post.c: ... here.
24675 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
24676 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
24677 * nptl/sem_timedwait.c: ... here.
24678 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
24679 * nptl/sem_trywait.c: ... here.
24680 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
24681 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
24682 * nptl/sem_wait.c: ... here.
24683 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
24684 * nptl/structsem.sym: ... here.
24685 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
24686 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
24687 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
24688 * nptl/unregister-atfork.c: ... here.
24689 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
24690 * nptl/unwindbuf.sym: ... here.
24691 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
24692 * sysdeps/nptl/fork.c: ... here.
24693 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
24694 * sysdeps/nptl/fork.h: ... here.
24695 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
24696 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
24697 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
24698 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
24699 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
24700 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
24701 * sysdeps/unix/sysv/linux/getpid.c: ... here.
24702 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
24703 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
24704 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
24705 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
24706 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
24707 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
24708 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
24709 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
24710 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
24711 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
24712 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
24713 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
24714 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
24715 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
24716 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
24717 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
24718 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
24719 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
24720 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
24721 * sysdeps/unix/sysv/linux/raise.c: ... here.
24722 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
24723 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
24724 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
24725 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
24726 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
24727 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
24728 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
24729 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
24730 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
24731 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
24732 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
24733 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
24734 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
24735 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
24736 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
24737
24738 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24739
24740 * sysdeps/generic/memcopy.h: Add comment for
24741 MEMCPY_OK_FOR_FWD_MEMMOVE.
24742
24743 2014-07-04 Will Newton <will.newton@linaro.org>
24744
24745 * string/memchr.c: Merge from gnulib.
24746 [_LIBC]: Remove conditionals.
24747 (__ptr_t): Remove define.
24748 (LONG_MAX_32_BITS): Likewise.
24749 (LONG_MAX): Likewise.
24750 (MEMCHR): Use ANSI prototype and optimize algorithm.
24751
24752 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
24753
24754 2014-07-03 Roland McGrath <roland@hack.frob.com>
24755
24756 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
24757 (lll_futex_timed_wait_bitset): Fix syscall argument count.
24758
24759 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
24760 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
24761 in a bare environment with no <stdlib.h> installed.
24762 * sysdeps/nptl/configure: Regenerated.
24763
24764 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
24765
24766 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
24767 AC_EGREP_CPP for kernel header checks, so they only succeed if
24768 including <linux/version.h> actually works right.
24769 * sysdeps/unix/sysv/linux/configure: Regenerated.
24770
24771 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
24772 value so it's not diagnosed as unused.
24773
24774 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
24775 thing) with "ifeq ($(subdir),rt)".
24776
24777 2014-07-03 Richard Henderson <rth@redhat.com>
24778
24779 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
24780 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
24781 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
24782
24783 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
24784 (math_force_eval): New.
24785
24786 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
24787 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
24788
24789 * sysdeps/alpha/fpu/s_round.c: Remove file.
24790 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
24791
24792 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
24793 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
24794 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24795 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
24796 (_dl_start, print_statistics): Likewise.
24797 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
24798 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24799
24800 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24801 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24802 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24803 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24804 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24805 (HP_SMALL_TIMING_AVAIL): Define.
24806 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24807 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24808 (HP_SMALL_TIMING_AVAIL): Define.
24809 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24810 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24811
24812 * sysdeps/aarch64/hp-timing.h: New file.
24813
24814 * sysdeps/generic/hp-timing.h: Remove dead comment.
24815 * sysdeps/generic/hp-timing-common.h: New file.
24816 * sysdeps/alpha/hp-timing.h: Include it.
24817 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
24818 * sysdeps/i386/i686/hp-timing.h: Likewise.
24819 * sysdeps/ia64/hp-timing.h: Likewise.
24820 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24821 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24822 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24823 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24824 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
24825 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
24826 (hp_timing_t): New.
24827
24828 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
24829 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
24830 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
24831 * elf/rtld.c (_dl_start_final): Likewise.
24832 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
24833 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24834 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24835 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24836 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24837 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24838 (HP_TIMING_DIFF_INIT): Remove.
24839 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24840 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24841 (HP_TIMING_DIFF_INIT): Remove.
24842 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24843 * sysdeps/i386/i686/hp-timing.c: Remove file.
24844 * sysdeps/x86_64/hp-timing.c: Remove file.
24845 * sysdeps/ia64/hp-timing.c: Remove file.
24846 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
24847 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
24848 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
24849 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
24850
24851 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
24852 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
24853 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
24854 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24855 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24856 (HP_TIMING_ACCUM): Remove.
24857 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24858 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
24859 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24860
24861 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
24862 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
24863 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
24864 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
24865 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
24866 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24867 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
24868 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24869
24870 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
24871
24872 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
24873
24874 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
24875
24876 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24877
24878 Sync up with gettext.
24879 * intl/loadmsgcat.c: Define O_BINARY if not defined.
24880 [_MSC_VER]: Include malloc.h
24881 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
24882 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
24883 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
24884 TEMP_FAILURE_RETRY. Cast return of alloca.
24885 [!_LIBC] Call gl_rwlock_init.
24886 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
24887
24888 2014-07-02 Roland McGrath <roland@hack.frob.com>
24889
24890 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
24891 before checking its value.
24892
24893 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24894
24895 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
24896
24897 * debug/memcpy_chk.c: Don't include pagecopy.h.
24898 * debug/mempcpy_chk.c: Likewise.
24899 * string/memcpy.c: Likewise.
24900 * string/memmove.c: Likewise.
24901 * sysdeps/powerpc/memmove.c: Likewise.
24902 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
24903 definition of PAGE_COPY_FWD_MAYBE here...
24904 * sysdeps/generic/pagecopy.h: ... from here.
24905 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
24906
24907 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24908 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24909
24910 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
24911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
24912 optimizations.
24913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24914 (__libc_ifunc_impl_list): Likewise.
24915 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
24916 multiarch strcat for PPC64.
24917 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
24918 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
24919
24920 2014-07-02 Roland McGrath <roland@hack.frob.com>
24921
24922 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
24923
24924 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24925
24926 * intl/loadmsgcat.c: Remove declaration of
24927 get_sysdep_segment_value.
24928 (get_sysdep_segment_value): Use ISO C style.
24929 (_nl_load_domain): Use ISO C style. Get rid of redundant
24930 semicolon. Fix typo and formatting in comment.
24931 (_nl_unload_domain): Use ISO C style.
24932
24933 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
24934
24935 2014-07-02 Will Newton <will.newton@linaro.org>
24936
24937 * malloc/obstack.c: Merge from gnulib master.
24938 [HAVE_CONFIG_H]: Remove conditional code.
24939 [!_LIBC]: Include config.h.
24940 [!ELIDE_CODE]: Don't include inttypes.h, include
24941 stdint.h unconditionally.
24942 (print_and_abort): Mark as _Noreturn.
24943 (_obstack_allocated_p): Mark as __attribute_pure__.
24944 (obstack_free): Rename to __obstack_free.
24945 [!__attribute__]: Remove conditional code.
24946 * malloc/obstack.h: Merge from gnulib master.
24947 [__cplusplus]: Move conditional down.
24948 [!__attribute_pure__]: Define __attribute_pure__ here
24949 if it is not already defined.
24950 (_obstack_memory_used): Mark as __attribute_pure__.
24951 [!__obstack_free]: Define as obstack_free.
24952 [__GNUC__]: Remove check for ancient NeXT gcc.
24953
24954 2014-07-02 Will Newton <will.newton@linaro.org>
24955 Paul Eggert <eggert@cs.ucla.edu>
24956
24957 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
24958
24959 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24960
24961 * resolv/gethnamaddr.c: Add comment warning that the file is
24962 not maintained.
24963
24964 2014-07-01 Carlos O'Donell <carlos@redhat.com>
24965
24966 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
24967 entries.
24968
24969 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
24970 entry for aio_cancel and aio_cancel64.
24971 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
24972 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
24973 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
24974 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
24975 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
24976 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
24977 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
24978 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
24979 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
24980 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
24981 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
24982 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
24983 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
24984
24985 2014-07-01 Roland McGrath <roland@hack.frob.com>
24986
24987 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
24988 * nptl/pthread_mutex_lock.c: Likewise.
24989 * nptl/pthread_mutex_timedlock.c: Likewise.
24990 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
24991
24992 2014-07-01 Richard henderson <rth@redhat.com>
24993
24994 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
24995 (__isnan, __isnanl): Remove.
24996 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
24997
24998 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24999
25000 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
25001
25002 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25003
25004 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25005
25006 * resolv/nss_dns/dns-host.c (getanswer_r)
25007 [MULTI_PTRS_ARE_ALIASES]: Remove code.
25008
25009 2014-07-01 Joseph Myers <joseph@codesourcery.com>
25010
25011 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25012 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
25013 undefine.
25014 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
25015 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
25016
25017 2014-07-01 Roland McGrath <roland@hack.frob.com>
25018
25019 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
25020 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
25021
25022 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
25023 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
25024
25025 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
25026 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
25027 ... here.
25028 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
25029 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
25030
25031 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
25032 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
25033 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
25034 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
25035
25036 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
25037 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
25038 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
25039 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
25040 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
25041 Moved ...
25042 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
25043 ... here.
25044 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
25045 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
25046 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
25047 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
25048 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
25049 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
25050 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
25051 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
25052 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
25053 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
25054 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
25055 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
25056 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
25057 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
25058 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
25059 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
25060 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
25061 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
25062 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
25063 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
25064 ... here.
25065 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
25066 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
25067 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
25068 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
25069 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
25070 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
25071 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
25072 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
25073
25074 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
25075
25076 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
25077 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
25078 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
25079 Add sysdep.
25080
25081 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25082
25083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25084
25085 2014-06-30 Joseph Myers <joseph@codesourcery.com>
25086
25087 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25088 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25089
25090 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25091
25092 * sysdeps/arm/libm-test-ulps: Regenerated.
25093
25094 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
25095 Roland McGrath <roland@hack.frob.com>
25096
25097 * test-skeleton.c (signal_handler): Kill the whole process group
25098 before killing the child individually.
25099 (main): Report any failure on `setpgid'.
25100
25101 2014-06-30 Roland McGrath <roland@hack.frob.com>
25102
25103 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
25104 from _TLS_H to _ARM_NPTL_TLS_H.
25105 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
25106 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
25107
25108 2014-06-30 Joseph Myers <joseph@codesourcery.com>
25109
25110 [BZ #16539]
25111 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
25112 (__expm1l): Return argument unchanged when small but not
25113 subnormal.
25114
25115 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
25116 include macro name.
25117 (_FP_UNPACK_RAW_1_P): Likewise.
25118 (_FP_PACK_RAW_1): Likewise.
25119 (_FP_PACK_RAW_1_P): Likewise.
25120 (_FP_MUL_MEAT_1_wide): Likewise.
25121 (_FP_MUL_MEAT_DW_1_hard): Likewise.
25122 (_FP_MUL_MEAT_1_hard): Likewise.
25123 (_FP_DIV_MEAT_1_imm): Likewise.
25124 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
25125 (_FP_DIV_MEAT_1_udiv): Likewise.
25126 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
25127 (_FP_UNPACK_RAW_2): Likewise.
25128 (_FP_UNPACK_RAW_2_P): Likewise.
25129 (_FP_PACK_RAW_2): Likewise.
25130 (_FP_PACK_RAW_2_P): Likewise.
25131 (_FP_MUL_MEAT_DW_2_wide): Likewise.
25132 (_FP_MUL_MEAT_2_wide): Likewise.
25133 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
25134 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25135 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
25136 (_FP_MUL_MEAT_2_gmp): Likewise.
25137 (_FP_DIV_MEAT_2_udiv): Likewise.
25138 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
25139 (_FP_FRAC_SRL_4): Likewise.
25140 (_FP_FRAC_SRST_4): Likewise.
25141 (_FP_FRAC_SRS_4): Likewise.
25142 (_FP_UNPACK_RAW_4): Likewise.
25143 (_FP_UNPACK_RAW_4_P): Likewise.
25144 (_FP_PACK_RAW_4): Likewise.
25145 (_FP_PACK_RAW_4_P): Likewise.
25146 (_FP_MUL_MEAT_DW_4_wide): Likewise.
25147 (_FP_MUL_MEAT_4_wide): Likewise.
25148 (_FP_MUL_MEAT_4_gmp): Likewise.
25149 (umul_ppppmnnn): Likewise.
25150 (_FP_DIV_MEAT_4_udiv): Likewise.
25151 (__FP_FRAC_ADD_4): Likewise.
25152 (__FP_FRAC_SUB_3): Likewise.
25153 (__FP_FRAC_SUB_4): Likewise.
25154 (__FP_FRAC_DEC_3): Likewise.
25155 (__FP_FRAC_DEC_4): Likewise.
25156 (__FP_FRAC_ADDI_4): Likewise.
25157 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
25158 (_FP_FRAC_SRL_8): Likewise.
25159 (_FP_FRAC_SRS_8): Likewise.
25160
25161 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
25162 include macro name.
25163 (FP_UNPACK_RAW_EP): Likewise.
25164 (FP_PACK_RAW_E): Likewise.
25165 (FP_PACK_RAW_EP): Likewise.
25166 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
25167 (_FP_ISSIGNAN): Likewise.
25168 (_FP_ADD_INTERNAL): Likewise.
25169 (_FP_FMA): Likewise.
25170 (_FP_CMP): Likewise.
25171 (_FP_SQRT): Likewise.
25172 (_FP_TO_INT): Likewise.
25173 (_FP_FROM_INT): Likewise.
25174 (FP_EXTEND): Likewise.
25175 (_FP_DIV_MEAT_N_loop): Likewise.
25176
25177 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
25178
25179 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
25180 throughout.
25181
25182 2014-06-29 Joseph Myers <joseph@codesourcery.com>
25183
25184 [BZ #17097]
25185 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
25186 result with correct sign in case of exponents that produce
25187 overflow except for X very close to 1.
25188
25189 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
25190
25191 mktime: merge #if/#ifdef usage from glibc
25192 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
25193 as that works with both Glibc's and Gnulib's style.
25194 See thread starting at Siddhesh Poyarekar's bug report at:
25195 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
25196
25197 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25198
25199 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
25200 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
25201 * sysdeps/tile/tilegx/memmove.c: Remove file.
25202
25203 2014-06-27 Joseph Myers <joseph@codesourcery.com>
25204
25205 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
25206 abi-name definition.
25207 * scripts/soversions.awk: Do not handle or generate ABI lines.
25208 * shlib-versions: Remove ABI entries.
25209 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
25210 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
25211
25212 2014-06-27 Roland McGrath <roland@hack.frob.com>
25213
25214 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
25215 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
25216 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
25217 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
25218 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
25219 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
25220 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
25221 Moved ...
25222 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
25223 ... here.
25224 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
25225 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
25226 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
25227 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
25228 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
25229 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
25230 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
25231 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
25232 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
25233 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
25234 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
25235 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
25236 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
25237 Moved ...
25238 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
25239 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
25240 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
25241 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
25242 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
25243 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
25244 Moved ...
25245 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
25246 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
25247 Moved ...
25248 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
25249 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
25250 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
25251 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
25252 Moved ...
25253 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
25254 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
25255 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
25256 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
25257 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
25258 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
25259 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
25260 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
25261 Moved ...
25262 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
25263 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
25264 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
25265 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
25266 Moved ...
25267 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
25268 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
25269 Moved ...
25270 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
25271 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
25272 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
25273 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
25274 Moved ...
25275 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
25276 ... here.
25277 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
25278 Identical file removed.
25279 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
25280 Moved ...
25281 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
25282 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
25283 Identical file removed.
25284 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
25285 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
25286 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
25287 Moved ...
25288 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
25289 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
25290 Identical file removed.
25291 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
25292 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
25293 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
25294 Identical file removed.
25295 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
25296 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
25297 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
25298 Identical file removed.
25299 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
25300 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
25301 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
25302 Identical file removed.
25303 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
25304 Moved ...
25305 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
25306 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
25307 Identical file removed.
25308 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
25309 Moved ...
25310 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
25311 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
25312 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
25313 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
25314 Identical file removed.
25315 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
25316 Moved ...
25317 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
25318 ... here.
25319 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
25320 Identical file removed.
25321 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
25322 Moved ...
25323 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
25324 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
25325 Identical file removed.
25326 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
25327 Moved ...
25328 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
25329 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
25330 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
25331 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
25332 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
25333 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
25334 Moved ...
25335 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
25336 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
25337 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
25338
25339 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
25340 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
25341 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
25342 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
25343 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
25344
25345 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
25346
25347 [BZ #17092]
25348 * nscd/nscd.c (monitor_child): Return exit status of child
25349 instead of return value from wait syscall.
25350
25351 2014-06-27 Joseph Myers <joseph@codesourcery.com>
25352
25353 * configure.ac (libc_commonpagesize): Remove variable.
25354 (libc_relro_required): Likewise.
25355 (libc_cv_z_relro): Remove configure test.
25356 * configure: Regenerated.
25357 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
25358 variable.
25359 (libc_relro_required): Likewise.
25360 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
25361 (libc_relro_required): Likewise.
25362 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
25363 (libc_relro_required): Likewise.
25364 * sysdeps/arm/preconfigure: Regenerated.
25365 * sysdeps/ia64/preconfigure: Remove file.
25366 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
25367 variable.
25368 (libc_relro_required): Likewise.
25369
25370 [BZ #16561]
25371 [BZ #16562]
25372 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
25373 (__ieee754_yn): Set FE_TONEAREST mode internally and then
25374 recompute overflowing results in original rounding mode.
25375 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
25376 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
25377 recompute overflowing results in original rounding mode.
25378 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
25379 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25380 recompute overflowing results in original rounding mode.
25381 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
25382 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25383 recompute overflowing results in original rounding mode.
25384 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
25385 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25386 recompute overflowing results in original rounding mode.
25387 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
25388 (libc_feholdsetround_ctx): New macro.
25389 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
25390 * sysdeps/i386/fpu/libm-test-ulps: Update.
25391 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
25392
25393 2014-06-26 Joseph Myers <joseph@codesourcery.com>
25394
25395 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
25396 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
25397 corresponding .cpsetup call.
25398
25399 2014-06-26 Roland McGrath <roland@hack.frob.com>
25400
25401 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
25402 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
25403 * sysdeps/arm/Makefile [$(subdir) = csu]
25404 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
25405 (static-only-routines): Add aeabi_read_tp here.
25406 (shared-only-routines): Add libc-aeabi_read_tp here.
25407 (CFLAGS-libc-start.c): Add -fexceptions here.
25408 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
25409 (sysdep_routines, static-only-routines, shared-only-routines):
25410 Don't add to these here.
25411 (CFLAGS-libc-start.c): Likewise.
25412
25413 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
25414 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25415 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
25416 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25417 * sysdeps/arm/Makefile [$(subdir) = rt]
25418 (librt-sysdep_routines, librt-shared-only-routines):
25419 Append rt-aeabi_unwind_cpp_pr1 here.
25420 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
25421 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
25422 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
25423 (libpthread-sysdep_routines, libpthread-shared-only-routines):
25424 Append nptl-aeabi_unwind_cpp_pr1 here.
25425 (tests): Filter out tst-cleanupx4 here.
25426 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
25427 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
25428 Don't do those here.
25429
25430 2014-06-26 Joseph Myers <joseph@codesourcery.com>
25431
25432 * scripts/list-sources.sh: Do not handle ports specially.
25433
25434 2014-06-26 Roland McGrath <roland@hack.frob.com>
25435
25436 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
25437 * sysdeps/arm/feupdateenv.c: Likewise.
25438
25439 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
25440
25441 2014-06-26 Joseph Myers <joseph@codesourcery.com>
25442
25443 * manual/texinfo.tex: Update to version 2014-05-05.10 with
25444 trailing whitespace removed.
25445 * scripts/config.guess: Update to version 2014-03-23.
25446 * scripts/config.sub: Update to version 2014-05-01
25447 * scripts/install-sh: Update to version 2013-12-25.23.
25448 * scripts/move-if-change: Update from gnulib.
25449
25450 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25451
25452 * debug/memmove_chk.c: Remove pagecopy.h include.
25453
25454 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
25455
25456 * time/mktime.c (leapyear): Remove inline keyword. The code is now
25457 identical to gnulib mktime.
25458
25459 2014-06-26 Joseph Myers <joseph@codesourcery.com>
25460
25461 * configure.ac: Do not test for machine being rs6000. Do not test
25462 for powerpc*-*soft.
25463 * configure: Regenerated.
25464
25465 [BZ #11505]
25466 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
25467 test.
25468 * configure: Regenerated.
25469 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
25470 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
25471 Remove configure test.
25472 * sysdeps/arm/configure: Regenerated.
25473 * sysdeps/nptl/configure.ac: Do not check
25474 libc_cv_asm_cfi_directives.
25475 * sysdeps/nptl/configure: Regenerated.
25476 * sysdeps/x86_64/nptl/configure.ac: Remove file.
25477 * sysdeps/x86_64/nptl/configure: Remove generated file.
25478 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
25479 unconditional.
25480 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
25481
25482 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25483
25484 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
25485 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
25486 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
25487 it is defined.
25488
25489 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
25490 instead of whether it is defined.
25491 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
25492 * sysdeps/hppa/dl-machine.h: Likewise.
25493 * sysdeps/ia64/dl-machine.h: Likewise.
25494 * sysdeps/m68k/dl-machine.h: Likewise.
25495 * sysdeps/microblaze/dl-machine.h: Likewise.
25496 * sysdeps/mips/dl-machine.: Likewise.
25497 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25498 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25499 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25500 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25501 * sysdeps/sh/dl-machine.h: Likewise.
25502 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25503 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25504 * sysdeps/tile/dl-machine.h: Likewise.
25505 * sysdeps/x86_64/dl-machine.h: Likewise.
25506
25507 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
25508 code.
25509 (verify_persistent_db): Likewise.
25510
25511 2014-06-26 Roland McGrath <roland@hack.frob.com>
25512
25513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
25514 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
25515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
25516 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
25517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25518 Moved ...
25519 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
25520 ... here.
25521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
25522 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
25523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
25524 Identical file removed.
25525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
25526 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
25527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
25528 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
25529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
25530 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
25531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
25532 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
25533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
25534 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
25535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25536 Moved ...
25537 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
25538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
25539 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
25540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
25541 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
25542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25543 Moved ...
25544 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
25545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
25546 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
25547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
25548 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
25549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25550 Identical file removed.
25551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
25552 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
25553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
25554 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
25555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25556 Moved ...
25557 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
25558 ... here.
25559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
25560 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
25561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
25562 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
25563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
25564 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
25565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
25566 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
25567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
25568 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
25569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25570 Moved ...
25571 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
25572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
25573 Moved ...
25574 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
25575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
25576 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
25577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25578 Moved ...
25579 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
25580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
25581 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
25582
25583 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
25584 folded into ...
25585 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
25586 * sysdeps/unix/sysv/linux/s390/Versions
25587 (libpthread: GLIBC_2.19): New version set.
25588 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
25589 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
25590 (librt: GLIBC_2.3.3): New version set.
25591 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
25592 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
25593 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
25594 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
25595 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
25596 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
25597 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
25598 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
25599 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
25600 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
25601 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
25602 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
25603 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
25604 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
25605 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
25606 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
25607 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
25608 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
25609 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
25610 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
25611 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
25612 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
25613 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
25614 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
25615 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
25616 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
25617 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
25618 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
25619 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
25620 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
25621 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
25622 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
25623 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
25624 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
25625 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
25626 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
25627 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
25628 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
25629 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
25630 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
25631 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
25632 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
25633 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
25634 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
25635 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
25636
25637 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
25638 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
25639 (__libc_vfork): Define the function under this name.
25640 [!NOT_IN_libc] (__vfork): Make this an alias.
25641 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25642 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
25643 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
25644 (__libc_vfork): Define the function under this name.
25645 [!NOT_IN_libc] (__vfork): Make this an alias.
25646 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25647 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
25648 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
25649 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
25650 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
25651 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25652
25653 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
25654 code that was previously under [RESET_PID].
25655 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
25656 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
25657 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
25658
25659 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
25660 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
25661 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
25662 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
25663 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
25664 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
25665 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
25666 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
25667 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
25668 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
25669 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
25670 Moved ...
25671 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
25672 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
25673 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
25674 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
25675 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
25676 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
25677 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
25678 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
25679 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
25680 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
25681 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
25682 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
25683 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
25684 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
25685 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
25686 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
25687 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
25688 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
25689 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
25690 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
25691 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
25692 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
25693 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
25694 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
25695 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
25696 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
25697 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
25698 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
25699 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
25700
25701 2014-06-25 Roland McGrath <roland@hack.frob.com>
25702
25703 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
25704 that was previously under [RESET_PID].
25705 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
25706
25707 2014-06-25 Joseph Myers <joseph@codesourcery.com>
25708
25709 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
25710 not undefine and redefine.
25711 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
25712 [O_CLOEXEC]: Make code unconditional.
25713 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
25714 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
25715 <kernel-features.h>.
25716 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
25717 conditional variable definition.
25718 (shm_open) [O_CLOEXEC]: Make code unconditional.
25719 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
25720 code.
25721
25722 * configure.ac (USE_REGPARMS): Don't define here.
25723 * configure: Regenerated.
25724 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
25725 * sysdeps/i386/configure: Regenerated.
25726
25727 * nptl/createthread.c: Don't include kernel-features.h.
25728 * nptl/pthread_cancel.c: Likewise.
25729 * nptl/pthread_condattr_setclock.c: Likewise.
25730 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
25731 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
25732 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
25733 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
25734 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
25735 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
25736 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25737 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
25738 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25739 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
25740 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
25741 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
25742 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
25743 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
25744 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
25745 * nscd/gai.c: Likewise.
25746 * nss/nss_db/db-open.c: Likewise.
25747 * sysdeps/generic/ldsodefs.h: Likewise.
25748 * sysdeps/sh/nptl/tls.h: Likewise.
25749 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25750 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
25751 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
25752 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
25753 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
25754 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25755 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
25756 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25757 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25758 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25759 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25760 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25761 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
25762 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
25763 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
25764 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
25765 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
25766 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
25767 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
25768 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
25769 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
25770 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
25771 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
25772 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
25773 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
25774 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
25775 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
25776 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
25777 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25778 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
25779 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
25780 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
25781 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
25782 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25783 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25784 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25785 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25786 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
25787 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
25788 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25789 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25790 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
25791 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
25792 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25793 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
25794 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
25795 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
25796 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
25797 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
25798 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
25799 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
25800 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
25801 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
25802 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25803 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
25804 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25805 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25806 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
25807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
25809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
25810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
25811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
25812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
25813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
25814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
25815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
25818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
25819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
25820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
25821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
25827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
25828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
25829 * sysdeps/unix/sysv/linux/pread.c: Likewise.
25830 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
25831 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
25832 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
25833 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
25834 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
25835 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
25836 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
25837 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
25838 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
25839 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
25840 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
25841 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
25842 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
25843 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
25844 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
25845 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25846 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
25847 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
25848 * sysdeps/unix/sysv/linux/system.c: Likewise.
25849 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
25850 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25851 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25852 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25853 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25854 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25855 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25856
25857 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
25858 * configure: Regenerated.
25859 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
25860
25861 * configure.ac (base_machine): Do not set specially for particular
25862 machines here.
25863 * configure: Regenerated.
25864 * sysdeps/powerpc/preconfigure: Move machine and base_machine
25865 settings from configure.ac.
25866 * sysdeps/i386/preconfigure: New file.
25867 * sysdeps/s390/preconfigure: Likewise.
25868 * sysdeps/sh/preconfigure: Likewise.
25869 * sysdeps/sparc/preconfigure: Likewise.
25870
25871 2014-06-25 Roland McGrath <roland@hack.frob.com>
25872
25873 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
25874 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
25875 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
25876 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
25877 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
25878 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
25879 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
25880 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
25881 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
25882 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
25883 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
25884 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
25885 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
25886 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
25887 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
25888 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
25889 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
25890 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
25891 * sysdeps/sparc/sparc64/Makefile: ... appended here.
25892
25893 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
25894 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
25895 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
25896 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
25897 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
25898 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
25899 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
25900 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
25901 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
25902 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
25903 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
25904 * sysdeps/sparc/sparc32/sem_post.c: ... here.
25905 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
25906 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
25907 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
25908 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
25909 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
25910 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
25911 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
25912 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
25913 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
25914 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
25915 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
25916 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
25917 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
25918 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
25919 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
25920 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
25921 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
25922 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
25923 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
25924 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
25925 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
25926 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
25927 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
25928 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
25929 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
25930 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
25931
25932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
25933 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
25934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
25935 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
25936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25937 Moved ...
25938 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
25939 ... here.
25940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
25941 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
25942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
25943 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
25944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
25945 Moved ...
25946 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
25947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
25948 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
25949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
25950 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
25951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
25952 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
25953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25954 Moved ...
25955 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
25956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25957 Moved ...
25958 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
25959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
25960 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
25961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25962 Moved ...
25963 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
25964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
25965 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
25966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
25967 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
25968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
25969 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
25970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
25971 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
25972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25973 Moved ...
25974 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
25975 ... here.
25976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
25977 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
25978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
25979 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
25980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
25981 Moved ...
25982 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
25983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
25984 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
25985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
25986 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
25987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
25988 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
25989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25990 Moved ...
25991 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
25992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25993 Moved ...
25994 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
25995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
25996 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
25997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25998 Moved ...
25999 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
26000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
26001 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
26002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
26003 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
26004
26005 2014-06-25 Joseph Myers <joseph@codesourcery.com>
26006
26007 * timezone/checktab.awk: Update from tzcode 2014e.
26008 * timezone/private.h: Likewise.
26009 * timezone/tzfile.h: Likewise.
26010 * timezone/zdump.c: Likewise.
26011 * timezone/zic.c: Likewise.
26012
26013 * sysdeps/unix/sysv/linux/kernel-features.h
26014 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
26015 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
26016 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
26017 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26018 Remove conditional code.
26019
26020 2014-06-25 Will Newton <will.newton@linaro.org>
26021
26022 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
26023 (_dl_arm_cap_flags): Add HWCAP2 values.
26024 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
26025 (_DL_HWCAP_COUNT): Increase to 37.
26026 (_DL_HWCAP_LAST): New define.
26027 (_DL_HWCAP2_LAST): New define.
26028 (_dl_procinfo): Add support for printing
26029 AT_HWCAP2 entries.
26030 (_dl_string_hwcap): Use _dl_hwcap_string.
26031
26032 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26033
26034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26035
26036 2014-06-25 Joseph Myers <joseph@codesourcery.com>
26037
26038 * README: Do not mention ports directory.
26039
26040 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
26041 Remove macro.
26042 * sysdeps/unix/sysv/linux/futimes.c: Do not include
26043 <kernel-features.h>.
26044 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
26045 conditional variable definition.
26046 (__futimes): Update comment.
26047 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
26048 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
26049
26050 [BZ #16560]
26051 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
26052 arguments close to 0.
26053 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
26054 Likewise.
26055 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
26056 Likewise.
26057 * math/auto-libm-test-in: Add more tests of exp10.
26058 * math/auto-libm-test-out: Regenerated.
26059 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26060
26061 * sysdeps/unix/sysv/linux/kernel-features.h
26062 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
26063 * sysdeps/unix/sysv/linux/readv.c: Do not include
26064 <kernel-features.h>.
26065 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26066 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26067 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26068 unconditional.
26069 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26070 conditional code.
26071 * sysdeps/unix/sysv/linux/writev.c: Do not include
26072 <kernel-features.h>.
26073 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26074 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26075 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26076 unconditional.
26077 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26078 conditional code.
26079
26080 2014-06-25 Will Newton <will.newton@linaro.org>
26081
26082 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
26083 comment changes throughout the file. Remove checks
26084 for HAVE_*_H definitions that are not required.
26085 (__gen_tempname): Call abort if an unknown kind value is
26086 passed.
26087
26088 2014-06-25 Andreas Schwab <schwab@suse.de>
26089
26090 [BZ #17086]
26091 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
26092 scalbln, scalblnf, scalblnl in libc.
26093
26094 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26095
26096 [BZ #17086]
26097 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
26098 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26099 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26100
26101 2014-06-24 Roland McGrath <roland@hack.frob.com>
26102
26103 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
26104 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
26105 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
26106 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
26107 Update #include.
26108 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
26109 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
26110 Update #include.
26111 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
26112 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
26113 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
26114 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
26115 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
26116 * sysdeps/x86/bits/pthreadtypes.h: ... here.
26117 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
26118 * sysdeps/x86/bits/semaphore.h: ... here.
26119 * sysdeps/x86/nptl/elide.h: Moved ...
26120 * sysdeps/x86/elide.h: ... here.
26121 * sysdeps/x86_64/nptl/Implies: File removed.
26122 * sysdeps/i386/nptl/Implies: File removed.
26123
26124 2014-06-24 Joseph Myers <joseph@codesourcery.com>
26125
26126 [BZ #16539]
26127 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
26128 return the argument for normal arguments with exponent below -64.
26129 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26130 Likewise.
26131 * math/auto-libm-test-in: Add another test of expm1.
26132 * math/auto-libm-test-out: Regenerated.
26133
26134 [BZ #16287]
26135 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
26136 calling __erfcl for arguments at least 16.
26137 * math/auto-libm-test-in: Add more tests of erf.
26138 * math/auto-libm-test-out: Regenerated.
26139
26140 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
26141 individual architectures.
26142 * sysdeps/unix/sysv/linux/configure: Regenerated.
26143 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
26144 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
26145 * sysdeps/unix/sysv/linux/powerpc/configure.ac
26146 (ldd_rewrite_script): Define variable.
26147 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
26149 file.
26150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
26151 generated file.
26152 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
26153 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
26154 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
26155 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
26156 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
26157 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
26158 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
26159 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
26160
26161 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26162
26163 [BZ #17084]
26164 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
26165 Rename member __data.d to __data.__elision_data.
26166
26167 2014-06-24 Wilco <wdijkstr@arm.com>
26168
26169 * NEWS: Add 16918 to fixed bug list.
26170
26171 2014-06-24 Wilco <wdijkstr@arm.com>
26172
26173 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
26174
26175 2014-06-24 Wilco <wdijkstr@arm.com>
26176
26177 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
26178 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
26179 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
26180 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
26181 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
26182 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
26183 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
26184 Use _FPU_MASK_RM.
26185
26186 2014-06-24 Wilco <wdijkstr@arm.com>
26187
26188 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
26189
26190 2014-06-24 Wilco <wdijkstr@arm.com>
26191
26192 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
26193 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
26194 * sysdeps/arm/fesetround.c (fesetround): Remove space.
26195 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
26196
26197 2014-06-24 Wilco <wdijkstr@arm.com>
26198
26199 [BZ #16918]
26200 * sysdeps/arm/feupdateenv.c (feupdateenv):
26201 Rewrite to reduce FPSCR accesses and fix return value.
26202
26203 2014-06-24 Wilco <wdijkstr@arm.com>
26204
26205 * sysdeps/arm/fclrexcpt.c (feclearexcept):
26206 Optimize to avoid unnecessary FPSCR writes.
26207 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
26208 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
26209 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
26210 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
26211
26212 2014-06-24 Wilco <wdijkstr@arm.com>
26213
26214 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
26215 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
26216 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
26217 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
26218 Call libc_fetestexcept_vfp.
26219 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
26220 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
26221 __SOFTFP__ ifdef so that they can be built for softfp.
26222
26223 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26224
26225 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
26226 argument type signed char.
26227
26228 * Makerules (check-abi): Dump diff of symlist if the test
26229 fails.
26230
26231 2014-06-23 Roland McGrath <roland@hack.frob.com>
26232
26233 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
26234 using abort.
26235
26236 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26237 Remove unused variable ST.
26238
26239 2014-06-23 Joseph Myers <joseph@codesourcery.com>
26240
26241 [BZ #16354]
26242 [BZ #17061]
26243 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
26244 small arguments before calling __expm1.
26245 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
26246 small arguments before calling __expm1f.
26247 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
26248 small arguments before calling __expm1l.
26249 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26250 Likewise.
26251 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
26252 * math/auto-libm-test-in: Add more cosh tests. Do not allow
26253 spurious underflow for some cosh tests.
26254 * math/auto-libm-test-out: Regenerated.
26255 * sysdeps/i386/fpu/libm-test-ulps: Update.
26256
26257 [BZ #17050]
26258 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
26259 (__ieee754_y1): Set errno if return value overflows.
26260 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
26261 (__ieee754_y1f): Set errno if return value overflows.
26262 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
26263 (__ieee754_y1l): Set errno if return value overflows.
26264 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
26265 (__ieee754_y1l): Set errno if return value overflows.
26266 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
26267 * math/auto-libm-test-out: Regenerated.
26268
26269 * math/gen-auto-libm-tests.c: Document use of
26270 ignore-zero-inf-sign.
26271 (input_flag_type): Add value flag_ignore_zero_inf_sign.
26272 (input_flags): Add ignore-zero-inf-sign.
26273 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
26274 * math/gen-libm-test.pl (generate_testfile): Handle
26275 ignore-zero-inf-sign.
26276 * math/auto-libm-test-in: Mark some cpow tests with
26277 ignore-zero-inf-sign and some with xfail-rounding.
26278 * math/auto-libm-test-out: Regenerated.
26279 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
26280 * sysdeps/i386/fpu/libm-test-ulps: Update.
26281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26282
26283 [BZ #16315]
26284 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
26285 overflowing or underflowing operations take place with sign of
26286 result.
26287 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26288 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26289 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
26290 (__ieee754_pow): Recompute overflowing and underflowing results in
26291 original rounding mode.
26292 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
26293 (__powl_helper): Allow negative argument X and scale negated value
26294 as needed. Avoid passing value outside [-1, 1] to f2xm1.
26295 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
26296 overflowing or underflowing operations take place with sign of
26297 result.
26298 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
26299 Include <math.h>.
26300 * math/auto-libm-test-in: Add more tests of pow.
26301 * math/auto-libm-test-out: Regenerated.
26302 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
26303 (pow_tonearest_test_data): Remove.
26304 (pow_test_tonearest): Likewise.
26305 (pow_towardzero_test_data): Likewise.
26306 (pow_test_towardzero): Likewise.
26307 (pow_downward_test_data): Likewise.
26308 (pow_test_downward): Likewise.
26309 (pow_upward_test_data): Likewise.
26310 (pow_test_upward): Likewise.
26311 (main): Don't call removed functions.
26312 * sysdeps/i386/fpu/libm-test-ulps: Update.
26313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26314
26315 2014-06-23 Roland McGrath <roland@hack.frob.com>
26316
26317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
26318 Moved ...
26319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
26320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26321 Moved ...
26322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
26323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26324 Moved ...
26325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
26326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26327 Moved ...
26328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
26329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26330 File removed.
26331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26332 File removed.
26333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
26334 File removed.
26335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
26336 File removed.
26337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
26338 File removed.
26339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
26340 File removed.
26341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
26342 File removed.
26343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26344 File removed.
26345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
26346 File removed.
26347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26348 File removed.
26349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
26350 File removed.
26351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
26352 File removed.
26353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
26354 Moved ...
26355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
26356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
26357 Moved ...
26358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
26359 ... here.
26360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
26361 Moved ...
26362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
26363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
26364 Moved ...
26365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
26366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
26367 Moved ...
26368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
26369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
26370 Moved ...
26371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
26372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
26373 Moved ...
26374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
26375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
26376 Moved ...
26377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
26378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
26379 Moved ...
26380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
26381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
26382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
26383 ... here.
26384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
26385 Moved ...
26386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
26387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26388 Moved ...
26389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26390 ... here.
26391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
26392 Moved ...
26393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26394 ... here.
26395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26396 Moved ...
26397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26398 ... here.
26399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26400 Moved ...
26401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
26402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26403 Moved ...
26404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
26405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
26406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
26407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26408 Moved ...
26409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
26410 ... here.
26411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26412 Moved ...
26413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
26414 ... here.
26415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26416 Moved ...
26417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
26418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26419 Moved ...
26420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
26421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26422 Moved ...
26423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
26424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26425 Moved ...
26426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
26427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26428 Moved ...
26429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
26430 ... here.
26431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26432 Moved ...
26433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
26434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26435 Moved ...
26436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
26437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26438 Moved ...
26439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
26440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26441 Moved ...
26442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
26443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
26444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
26445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26446 Moved ...
26447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
26448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26449 Moved ...
26450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
26451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26452 Moved ...
26453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
26454 ... here.
26455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26456 Moved ...
26457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
26458 ... here.
26459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26460 Moved ...
26461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
26462 ... here.
26463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26464 Moved ...
26465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
26466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26467 Moved ...
26468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
26469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26470 Moved ...
26471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
26472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26473 Moved ...
26474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
26475 ... here.
26476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26477 Moved ...
26478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
26479 ... here.
26480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26481 Moved ...
26482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
26483 ... here.
26484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26485 Moved ...
26486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
26487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26488 Moved ...
26489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
26490
26491 2014-06-23 Will Newton <will.newton@linaro.org>
26492 Wilco <wdijkstr@arm.com>
26493
26494 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
26495 implementation. Include get-rounding-mode.h.
26496 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
26497 [!libc_feholdsetround_noex_ctx]: Define
26498 libc_feholdsetround_noex_ctx.
26499 [!libc_feholdsetround_noexf_ctx]: Define
26500 libc_feholdsetround_noexf_ctx.
26501 [!libc_feholdsetround_noexl_ctx]: Define
26502 libc_feholdsetround_noexl_ctx.
26503 (libc_feholdsetround_ctx): New function.
26504 (libc_feresetround_ctx): New function.
26505 (libc_feholdsetround_noex_ctx): New function.
26506 (libc_feresetround_noex_ctx): New function.
26507
26508 2014-06-23 Roland McGrath <roland@hack.frob.com>
26509
26510 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
26511 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
26512 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
26513 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
26514 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
26515 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
26516
26517 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
26518 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
26519 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
26520 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
26521 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
26522 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
26523 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
26524 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
26525 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
26526 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
26527 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
26528 Moved ...
26529 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
26530 ... here.
26531 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
26532 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
26533 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
26534 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
26535 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
26536 Moved ...
26537 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
26538 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
26539 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
26540 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
26541 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
26542 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
26543 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
26544 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
26545 Moved ...
26546 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
26547 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
26548 Moved ...
26549 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
26550 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
26551 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
26552 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
26553 Moved ...
26554 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
26555 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
26556 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
26557 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
26558 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
26559 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
26560 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
26561 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
26562 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
26563 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
26564 Moved ...
26565 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
26566 ... here.
26567 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
26568 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
26569 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
26570 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
26571 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
26572 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
26573 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
26574 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
26575 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
26576 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
26577 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
26578 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
26579 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
26580 Moved ...
26581 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
26582 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
26583 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
26584 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
26585 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
26586 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
26587 Moved ...
26588 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
26589 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
26590 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
26591 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
26592 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
26593
26594 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
26595 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
26596 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
26597 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
26598 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
26599 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
26600 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
26601 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
26602 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
26603 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
26604 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
26605 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
26606 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
26607 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
26608 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
26609 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
26610 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
26611 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
26612 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
26613 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
26614 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
26615 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
26616 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
26617 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
26618 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
26619 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
26620 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
26621 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
26622
26623 2014-06-23 Joseph Myers <joseph@codesourcery.com>
26624
26625 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26626 (FALLOC_FL_COLLAPSE_RANGE): New macro.
26627 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
26628 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
26629 (IPV6_PMTUDISC_INTERFACE): Likewise.
26630 (IPV6_PMTUDISC_OMIT): Likewise.
26631
26632 2014-06-23 Andreas Schwab <schwab@suse.de>
26633
26634 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
26635 Remove unused errout label.
26636
26637 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26638
26639 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
26640 macro: hardware supports Vector Crypto instructions.
26641
26642 2014-06-23 Will Newton <will.newton@linaro.org>
26643
26644 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
26645 rather than __builtin_expect.
26646
26647 * elf/dl-lookup.c (undefined_msg): Remove variable.
26648 (_dl_lookup_symbol_x): Replace undefined_msg with string
26649 literal.
26650
26651 * elf/dl-lookup.c (do_lookup_unique): New function.
26652 (do_lookup_x): Move STB_GNU_UNIQUE handling code
26653 to a separate function.
26654
26655 2014-06-23 Andreas Schwab <schwab@suse.de>
26656
26657 [BZ #17079]
26658 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
26659 before reading the next line.
26660
26661 2014-06-23 Will Newton <will.newton@linaro.org>
26662
26663 * test-skeleton.c (signal_handler): Use printf and %m
26664 rather than perror. Use printf rather than fprintf to
26665 stderr. Use puts rather than fputs to stderr.
26666 (main): Likewise.
26667
26668 2014-06-22 Ludovic Courtès <ludo@gnu.org>
26669
26670 * nscd/nscd.c (thread_info_t): Remove typedef.
26671 (thread_info): Remove variable.
26672
26673 2014-06-21 Allan McRae <allan@archlinux.org>
26674
26675 * NEWS: Mention CVE-2014-4043.
26676
26677 2014-06-20 Roland McGrath <roland@hack.frob.com>
26678
26679 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
26680 * nptl/smp.h: ... here.
26681
26682 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
26683
26684 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
26685 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
26686 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
26687 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
26688
26689 * nptl/allocatestack.c: Include <stack-aliasing.h>.
26690 * nptl/stack-aliasing.h: New file.
26691 * sysdeps/i386/i686/stack-aliasing.h: New file.
26692 * sysdeps/i386/i686/nptl/Makefile: File removed.
26693 * sysdeps/x86_64/stack-aliasing.h: New file.
26694 * sysdeps/x86_64/nptl/Makefile
26695 (CFLAGS-pthread_create.c): Variable removed.
26696
26697 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
26698 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
26699 old file.
26700 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
26701 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
26702 old file.
26703
26704 2014-06-21 Joseph Myers <joseph@codesourcery.com>
26705
26706 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26707 (__ASSUME_SIGFRAME_V2): Remove macro.
26708 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
26709 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
26710 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
26711 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
26712 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
26713 Declare as function. Remove conditional macro definitions.
26714 (__default_rt_sa_restorer): Likewise.
26715 (__default_sa_restorer_v1): Remove declaration.
26716 (__default_sa_restorer_v2): Likewise.
26717 (__default_rt_sa_restorer_v1): Likewise.
26718 (__default_rt_sa_restorer_v2): Likewise.
26719 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
26720 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
26721 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
26722
26723 2014-06-20 Roland McGrath <roland@hack.frob.com>
26724
26725 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
26726 (libpthread-routines): Add sysdep.
26727 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
26728 * sysdeps/unix/sysv/linux/sparc/Versions
26729 (libpthread: GLIBC_2.3.3): New version set.
26730 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
26731 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
26732 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
26733 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
26734 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
26735 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
26736 Moved ...
26737 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
26738 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
26739 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
26740 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
26741 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
26742 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
26743 * sysdeps/sparc/nptl/sem_init.c: ... here.
26744 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
26745 * sysdeps/sparc/nptl/sem_post.c: ... here.
26746 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
26747 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
26748 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
26749 * sysdeps/sparc/nptl/sem_wait.c: ... here.
26750 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
26751 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
26752 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
26753 (libpthread-routines): Add cpu_relax.
26754 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
26755 File removed.
26756 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
26757 (librt: GLIBC_2.3.3): New version set.
26758 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
26759 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
26760 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
26761 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
26762 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
26763 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
26764 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
26765 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
26766 Moved ...
26767 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
26768 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
26769 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
26770 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
26771 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
26772 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
26773 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
26774 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
26775 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
26776 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
26777 Moved ...
26778 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
26779 Update #include.
26780 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
26781 Moved ...
26782 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
26783 Update #include.
26784 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
26785 Moved ...
26786 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
26787 Update #include.
26788 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
26789 Moved ...
26790 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
26791 Update #include.
26792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
26793 Moved ...
26794 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
26795 Update #include.
26796 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
26797 Moved ...
26798 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
26799 Update #include.
26800 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
26801 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
26802 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
26803 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
26804 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
26805 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
26806 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
26807 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
26808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
26809 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
26810 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26811 Moved ...
26812 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
26813 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
26814 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
26815 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
26816 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
26817
26818 2014-06-20 Joseph Myers <joseph@codesourcery.com>
26819
26820 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
26821 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
26822 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26823 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
26824 * nscd/nscd.c: Likewise.
26825 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
26826 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
26827 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
26828 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
26829
26830 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
26831 <kernel-features.h>.
26832 (init_mq_netlink): Remove conditional have_sock_cloexec
26833 definitions. Remove code conditional on have_sock_cloexec < 0.
26834 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
26835 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
26836 * sysdeps/unix/sysv/linux/opensock.c: Do not include
26837 <kernel-features.h>.
26838 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
26839 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
26840
26841 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
26842
26843 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26844 Add tests for memset_chk and memset.
26845
26846 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
26847 with AVX2_Usable.
26848
26849 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
26850
26851 [BZ #16046]
26852 * elf/tst-dl-iter-static.c: New file.
26853 * elf/Makefile (tests-static): Add tst-dl-iter-static.
26854
26855 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
26856 error.
26857
26858 2014-06-20 Joseph Myers <joseph@codesourcery.com>
26859
26860 * sysdeps/unix/sysv/linux/kernel-features.h
26861 (__ASSUME_F_GETOWN_EX): Remove macro.
26862 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
26863 <kernel-features.h>.
26864 (miss_F_GETOWN_EX): Remove variable or macro.
26865 (do_fcntl): Do not check miss_F_GETOWN_EX.
26866 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
26867
26868 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
26869 Remove macro.
26870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
26871 [!__ASSUME_AT_RANDOM]: Remove conditional code.
26872 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
26873
26874 * sysdeps/unix/sysv/linux/kernel-features.h
26875 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
26876 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
26877 [ADJ_OFFSET_SS_READ]: Make code unconditional.
26878 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
26879
26880 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
26881
26882 [BZ #17075]
26883 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
26884 Fix calculation of the symbol's value.
26885 * sysdeps/arm/tst-armtlsdescloc.c: New file.
26886 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
26887 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
26888 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
26889 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
26890 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
26891 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
26892 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
26893 (modules-names): Add `tst-armtlsdescmod',
26894 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
26895 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
26896 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26897 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
26898 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
26899 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26900 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
26901 ($(objpfx)tst-armtlsdescloc): New dependency.
26902 ($(objpfx)tst-armtlsdescextnow): Likewise.
26903 ($(objpfx)tst-armtlsdescextlazy): Likewise.
26904 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
26905 TLS scheme support.
26906 * sysdeps/arm/configure: Regenerate.
26907
26908 2014-06-20 Joseph Myers <joseph@codesourcery.com>
26909
26910 * include/fcntl.h (__atfct_seterrno): Remove prototype.
26911 (__atfct_seterrno_2): Likewise.
26912 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
26913 <kernel-features.h>.
26914 (__ASSUME_ATFCTS): Do not undefine and redefine.
26915 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
26916 (__have_atfcts): Remove conditional definition.
26917 (__fxstatat([__NR_fstatat64]: Make code unconditional.
26918 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
26919 unreachable if [__ASSUME_ATFCTS].
26920 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
26921 not undefine and redefine.
26922 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
26923 <kernel-features.h>.
26924 (faccessat) [__NR_faccessat]: Make code unconditional.
26925 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
26926 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
26927 <kernel-features.h>.
26928 (fchmodat) [__NR_fchmodat]: Make code unconditional.
26929 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26930 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
26931 <kernel-features.h>.
26932 (fchownat) [__NR_fchownat]: Make code unconditional.
26933 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
26934 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
26935 <kernel-features.h>.
26936 (futimesat) [__NR_futimesat]: Make code unconditional.
26937 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
26938 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26939 <kernel-features.h>.
26940 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26941 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26942 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26943 <kernel-features.h>.
26944 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
26945 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26946 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
26947 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26948 <kernel-features.h>.
26949 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
26950 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26951 * sysdeps/unix/sysv/linux/linkat.c: Do not include
26952 <kernel-features.h>.
26953 (linkat) [__NR_linkat]: Make code unconditional.
26954 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26955 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
26956 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
26957 <kernel-features.h>.
26958 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
26959 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26960 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
26961 <kernel-features.h>.
26962 (mkdirat) [__NR_mkdirat]: Make code unconditional.
26963 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
26964 * sysdeps/unix/sysv/linux/openat.c: Do not include
26965 <kernel-features.h>.
26966 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
26967 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
26968 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
26969 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
26970 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
26971 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
26972 <kernel-features.h>.
26973 (readlinkat) [__NR_readlinkat]: Make code unconditional.
26974 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
26975 result of INLINE_SYSCALL directly, not via int variable.
26976 * sysdeps/unix/sysv/linux/renameat.c: Do not include
26977 <kernel-features.h>.
26978 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
26979 (renameat) [__NR_renameat]: Make code unconditional.
26980 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
26981 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
26982 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
26983 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
26984 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
26985 (__ASSUME_ATFCTS): Do not undefine and redefine.
26986 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
26987 <kernel-features.h>.
26988 (symlinkat) [__NR_symlinkat]: Make code unconditional.
26989 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26990 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
26991 <kernel-features.h>.
26992 (unlinkat) [__NR_unlinkat]: Make code unconditional.
26993 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26994 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
26995 (__ASSUME_ATFCTS): Do not undefine and redefine.
26996 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26997 <kernel-features.h>.
26998 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26999 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27000 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27001 <kernel-features.h>.
27002 (__xmknodat) [__NR_mknodat]: Make code unconditional.
27003 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27004
27005 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
27006
27007 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
27008
27009 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
27010
27011 [BZ #17069]
27012 * posix/regcomp.c (parse_reg_exp): Deallocate partially
27013 constructed tree before returning error.
27014 * posix/bug-regexp36.c: Expand test case.
27015
27016 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
27017
27018 [BZ #6803]
27019 * math/libm-test.inc (scalbln_test_date):
27020 Add errno expectations.
27021 * math/w_scalblnf.c: New File.
27022 Add wrapper which checks for setting errno to ERANGE.
27023 Add weak_alias for corresponding scalbln function.
27024 * math/w_scalbln.c: Likewise.
27025 * math/w_scalblnl.c: Likewise.
27026 * math/Makefile (libm-calls): Add w_scalbln.
27027 * sysdeps/ieee754/flt-32/s_scalblnf.c:
27028 Remove weak_alias for corresponding scalbln function.
27029 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27030 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27031 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27032 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27033 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27034 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27035 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
27036 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27037 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
27038 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
27039 Remove long_double_symbol for scalblnl function in libm, libc.
27040 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
27041 Add wrapper which checks for setting errno to ERANGE.
27042 Add long_double_symbol for scalblnl function in libm, libc.
27043 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
27044 Remove long_double_symbol for scalblnl in libm.
27045 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
27046 Add wrapper which checks for setting errno to ERANGE.
27047 Add long_double_symbol for scalblnl function in libm.
27048 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
27049 Do not use wrapper because of own implementation.
27050
27051 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
27052
27053 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
27054 3 bytes for __pad1 for x32.
27055 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
27056
27057 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
27058 H.J. Lu <hongjiu.lu@intel.com>
27059
27060 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
27061 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
27062 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27063 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27064 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
27065
27066 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
27067
27068 [BZ #17069]
27069 * posix/regcomp.c (parse_expression): Deallocate partially
27070 constructed tree before returning error.
27071 * posix/Makefile.c (tests): Add bug-regex36.
27072 (generated): Add bug-regex36.mtrace.
27073 (tests-special): Add $(objpfx)bug-regex36-mem.out
27074 (bug-regex36-ENV): New variable.
27075 ($(objpfx)bug-regex36-mem.out): New rule.
27076 * posix/bug-regex36.c: New file.
27077
27078 2014-06-19 Will Newton <will.newton@linaro.org>
27079
27080 * malloc/malloc.c (systrim): If extra is zero then return
27081 early.
27082
27083 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27084
27085 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
27086
27087 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
27088
27089 * sysdeps/aarch64/strchr.S: New file.
27090
27091 2014-06-18 Joseph Myers <joseph@codesourcery.com>
27092
27093 [BZ #17022]
27094 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
27095 from arguments -2 or below.
27096 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
27097 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
27098
27099 2014-06-18 Andreas Schwab <schwab@suse.de>
27100
27101 [BZ #17062]
27102 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
27103 of a bracket expr not to run off the end of the string.
27104 * posix/Makefile (tests): Add tst-fnmatch3.
27105 * posix/tst-fnmatch3.c: New file.
27106
27107 2014-06-18 Joseph Myers <joseph@codesourcery.com>
27108
27109 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
27110 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27111 [$(cross-compiling) = no]: Likewise.
27112 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27113 [$(cross-compiling) = no]: Likewise.
27114
27115 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27116
27117 [BZ #17031]
27118 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
27119 double, adjusted for any remainder from the high double.
27120 * math/libm-test.inc (nearbyint): Add tests.
27121 (rint): Likewise.
27122
27123 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27124
27125 * nptl/sysdeps/powerpc/Makefile: Moved ...
27126 * sysdeps/powerpc/nptl/Makefile: ... here.
27127 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
27128 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
27129 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
27130 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
27131 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
27132 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
27133 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
27134 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
27135 * nptl/sysdeps/powerpc/tls.h: Moved ...
27136 * sysdeps/powerpc/nptl/tls.h: ... here.
27137
27138 2014-06-16 Joseph Myers <joseph@codesourcery.com>
27139
27140 [BZ #16681]
27141 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
27142 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
27143 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
27144 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
27145 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
27146 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
27147 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
27148 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
27149 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
27150
27151 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
27152
27153 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27154
27155 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
27156
27157 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
27158 defined operator.
27159
27160 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
27161 $TIMEOUTFACTOR.
27162
27163 2014-06-16 Florian Weimer <fweimer@redhat.com>
27164
27165 [BZ #17058]
27166 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
27167 non-executed part of the test.
27168
27169 2014-06-16 Andreas Schwab <schwab@suse.de>
27170
27171 * string/bits/string2.h (strdup, strndup): Update feature guard.
27172
27173 2014-06-14 David S. Miller <davem@davemloft.net>
27174
27175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27176
27177 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
27178
27179 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
27180 that was previously under [RESET_PID].
27181 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
27182
27183 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
27184 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
27185 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
27186 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27187 (__libc_vfork): New strong alias.
27188 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
27189
27190 2014-06-14 Andi Kleen <ak@linux.intel.com>
27191
27192 * sysdeps/generic/elide.h: New file.
27193
27194 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27195
27196 * Makefile (installed-headers): Adjust path of pthread.h header.
27197
27198 2014-06-13 Roland McGrath <roland@hack.frob.com>
27199
27200 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
27201 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
27202 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
27203 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
27204
27205 * nptl/sysdeps/s390/Makefile: Moved ...
27206 * sysdeps/s390/nptl/Makefile: ... here.
27207 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
27208 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
27209 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
27210 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
27211 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
27212 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
27213 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
27214 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
27215 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
27216 * sysdeps/s390/nptl/pthreaddef.h: ... here.
27217 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
27218 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
27219 * nptl/sysdeps/s390/tls.h: Moved ...
27220 * sysdeps/s390/nptl/tls.h: ... here.
27221
27222 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
27223 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
27224
27225 2014-06-13 David S. Miller <davem@davemloft.net>
27226
27227 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
27228 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
27229 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
27230 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
27231 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
27232 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
27233 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
27234 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
27235 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
27236 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
27237 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
27238 Remove RESET_PID cpp guards.
27239 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
27240 Remove RESET_PID cpp guards.
27241 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
27242
27243 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
27244
27245 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
27246 __sp to uintptr_t.
27247
27248 2014-06-13 Andi Kleen <ak@linux.intel.com>
27249
27250 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
27251 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
27252 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
27253 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
27254 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
27255 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
27256 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
27257 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
27258 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
27259 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
27260 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
27261 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
27262 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
27263 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
27264 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
27265 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
27266 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
27267 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
27268 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
27269 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
27270
27271 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
27272 (pthread_rwlock_rdlock): Add elision.
27273 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
27274 (pthread_rwlock_wrlock): Add elision.
27275 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
27276 (pthread_rwlock_trywrlock): Add elision.
27277 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
27278 (pthread_rwlock_tryrdlock): Add elision.
27279 * nptl/pthread_rwlock_unlock.c: Include elide.h.
27280 (pthread_rwlock_tryrdlock): Add elision unlock.
27281 * nptl/sysdeps/pthread/pthread.h:
27282 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
27283 (PTHREAD_RWLOCK_INITIALIZER,
27284 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
27285 Handle new elision field.
27286 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
27287 * sysdeps/arm/nptl/bits/pthreadtypes.h
27288 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27289 * sysdeps/sh/nptl/bits/pthreadtypes.h
27290 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27291 * sysdeps/tile/nptl/bits/pthreadtypes.h
27292 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27293 * sysdeps/a/nptl/bits/pthreadtypes.h
27294 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27295 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27296 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27297 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27298 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27299 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
27300 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27301 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27302 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27303 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27304 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27305 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27306 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27307 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27308 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27309 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
27310 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27311 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
27312 (elision_init): Set try_xbegin to zero when no RTM.
27313 * sysdeps/x86/nptl/bits/pthreadtypes.h
27314 (pthread_rwlock_t): Change __pad1 to __rwelision.
27315 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27316
27317 2014-06-13 Andi Kleen <ak@linux.intel.com>
27318
27319 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
27320 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
27321 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
27322 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
27323
27324 2014-06-13 Meador Inge <meadori@codesourcery.com>
27325
27326 [BZ #16996]
27327 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
27328 that the cached result has been set before returning it.
27329
27330 2014-06-12 Roland McGrath <roland@hack.frob.com>
27331
27332 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
27333 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
27334 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
27335 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
27336 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
27337 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
27338
27339 * nptl/sysdeps/sparc/Makefile: Moved ...
27340 * sysdeps/sparc/nptl/Makefile: ... here.
27341 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
27342 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
27343 * nptl/sysdeps/sparc/tls.h: Moved ...
27344 * sysdeps/sparc/nptl/tls.h: ... here.
27345 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
27346 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
27347 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
27348 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
27349 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
27350 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
27351 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
27352 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
27353 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
27354 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
27355 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
27356 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
27357 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
27358 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
27359 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
27360 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
27361 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
27362 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
27363 Update #include.
27364 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
27365 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
27366 Update #include.
27367 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
27368 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
27369 Update #include.
27370 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
27371 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
27372 Update #include.
27373
27374 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27375
27376 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
27377 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
27378
27379 * sysdeps/pthread/posix-timer.h: Include <list.h>.
27380 (struct list_links): Type removed.
27381 (struct thread_node, struct timer_node): Replace struct list_links
27382 with struct list_head.
27383 (list_unlink_ip): Likewise.
27384 * sysdeps/pthread/timer_routines.c
27385 (timer_free_list, thread_free_list, thread_active_list): Likewise.
27386 (list_append, list_insbefore): Likewise.
27387 (list_init): Function removed.
27388 (thread_init, init_module): Use INIT_LIST_HEAD instead.
27389 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
27390 * sysdeps/pthread/Makefile: ... here, new file.
27391
27392 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
27393 * sysdeps/nptl/Implies: ... here.
27394 * sysdeps/unix/sysv/linux/Implies: Add nptl.
27395 * nptl/sysdeps/pthread/list.h: Moved ...
27396 * include/list.h: ... here.
27397 * nptl/sysdeps/pthread/createthread.c: Moved ...
27398 * nptl/createthread.c: ... here.
27399 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
27400 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
27401 * nptl/pt-longjmp.c: ... here.
27402 * nptl/sysdeps/pthread/Makefile: Moved ...
27403 * sysdeps/nptl/Makefile: ... here.
27404 * nptl/sysdeps/pthread/Subdirs: Moved ...
27405 * sysdeps/nptl/Subdirs: ... here.
27406 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
27407 * sysdeps/nptl/aio_misc.h: ... here.
27408 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
27409 * sysdeps/nptl/bits/libc-lock.h: ... here.
27410 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
27411 * sysdeps/nptl/bits/libc-lockP.h: ... here.
27412 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
27413 * sysdeps/nptl/bits/stdio-lock.h: ... here.
27414 * nptl/sysdeps/pthread/configure: Moved ...
27415 * sysdeps/nptl/configure: ... here.
27416 * nptl/sysdeps/pthread/configure.ac: Moved ...
27417 * sysdeps/nptl/configure.ac: ... here.
27418 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
27419 * sysdeps/nptl/gai_misc.h: ... here.
27420 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
27421 * sysdeps/nptl/librt-cancellation.c: ... here.
27422 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
27423 * sysdeps/nptl/malloc-machine.h: ... here.
27424 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
27425 * sysdeps/nptl/pthread-functions.h: ... here.
27426 * nptl/sysdeps/pthread/pthread.h: Moved ...
27427 * sysdeps/nptl/pthread.h: ... here.
27428 * nptl/sysdeps/pthread/setxid.h: Moved ...
27429 * sysdeps/nptl/setxid.h: ... here.
27430 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
27431 * sysdeps/nptl/sigfillset.c: ... here.
27432 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
27433 * sysdeps/nptl/tcb-offsets.h: ... here.
27434 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
27435 * sysdeps/nptl/tst-mqueue8x.c: ... here.
27436 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
27437 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
27438 * nptl/sysdeps/pthread/allocalim.h: Moved ...
27439 * sysdeps/pthread/allocalim.h: ... here.
27440 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
27441 * sysdeps/pthread/bits/sigthread.h: ... here.
27442 * nptl/sysdeps/pthread/flockfile.c: Moved ...
27443 * sysdeps/pthread/flockfile.c: ... here.
27444 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
27445 * sysdeps/pthread/ftrylockfile.c: ... here.
27446 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
27447 * sysdeps/pthread/funlockfile.c: ... here.
27448 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
27449 * sysdeps/pthread/posix-timer.h: ... here.
27450 * nptl/sysdeps/pthread/timer_create.c: Moved ...
27451 * sysdeps/pthread/timer_create.c: ... here.
27452 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
27453 * sysdeps/pthread/timer_delete.c: ... here.
27454 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
27455 * sysdeps/pthread/timer_getoverr.c: ... here.
27456 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
27457 * sysdeps/pthread/timer_gettime.c: ... here.
27458 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
27459 * sysdeps/pthread/timer_routines.c: ... here.
27460 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
27461 * sysdeps/pthread/timer_settime.c: ... here.
27462 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
27463 * sysdeps/pthread/tst-timer.c: ... here.
27464 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
27465 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
27466
27467 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
27468 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
27469
27470 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
27471 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
27472 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
27473 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
27474 Update #include target.
27475 * nptl/sysdeps/i386/i686/Makefile: Moved ...
27476 * sysdeps/i386/i686/nptl/Makefile: ... here.
27477 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
27478 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
27479 Update #include target.
27480 * nptl/sysdeps/i386/i686/tls.h: Moved ...
27481 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
27482 * nptl/sysdeps/i386/Makefile: Moved ...
27483 * sysdeps/i386/nptl/Makefile: ... here.
27484 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
27485 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
27486 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
27487 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
27488 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
27489 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
27490 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
27491 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
27492 * sysdeps/i386/nptl/pthreaddef.h: ... here.
27493 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
27494 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
27495 * nptl/sysdeps/i386/tls.h: Moved ...
27496 * sysdeps/i386/nptl/tls.h: ... here.
27497
27498 * sysdeps/sh/Makefile [$(subdir) = csu]
27499 (gen-as-const-headers): Add tcb-offsets.sym.
27500 * nptl/sysdeps/sh/Makefile: File removed.
27501 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
27502 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
27503 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
27504 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
27505 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
27506 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
27507 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
27508 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
27509 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
27510 * sysdeps/sh/nptl/pthreaddef.h: ... here.
27511 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
27512 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
27513 * nptl/sysdeps/sh/tls.h: Moved ...
27514 * sysdeps/sh/nptl/tls.h: ... here.
27515 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
27516 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
27517 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
27518 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
27519 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
27520 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
27521 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
27522 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
27523 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
27524 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
27525 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
27526 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
27527 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
27528 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
27529 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
27530 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
27531 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
27532 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
27533 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
27534 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
27535 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
27536 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
27537 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
27538 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
27539 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
27540 Moved ...
27541 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
27542 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
27543 Moved ...
27544 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
27545 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
27546 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
27547 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
27548 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
27549 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
27550 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
27551 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
27552 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
27553 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
27554 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
27555 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
27556 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
27557 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
27558 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
27559 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
27560 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
27561 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
27562 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
27563
27564 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
27565
27566 * posix/spawn_faction_addopen.c: Include string.h.
27567
27568 2014-06-11 Roland McGrath <roland@hack.frob.com>
27569
27570 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
27571 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
27572 * nptl/sysdeps/x86_64/Makefile: Moved ...
27573 * sysdeps/x86_64/nptl/Makefile: ... here.
27574 * nptl/sysdeps/x86_64/configure: Moved ...
27575 * sysdeps/x86_64/nptl/configure: ... here.
27576 * nptl/sysdeps/x86_64/configure.ac: Moved ...
27577 * sysdeps/x86_64/nptl/configure.ac: ... here.
27578 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
27579 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
27580 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
27581 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
27582 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
27583 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
27584 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
27585 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
27586 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
27587 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
27588 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
27589 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
27590 * nptl/sysdeps/x86_64/tls.h: Moved ...
27591 * sysdeps/x86_64/nptl/tls.h: ... here.
27592 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
27593 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
27594 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
27595 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
27596
27597 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
27598
27599 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27600
27601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27602
27603 2014-06-11 Joseph Myers <joseph@codesourcery.com>
27604
27605 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
27606 type.
27607 [POSIX] (off_t): Likewise.
27608 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
27609 [POSIX] (S_ISBLK): Require macro.
27610 [POSIX] (S_ISCHR): Likewise.
27611 [POSIX] (S_ISDIR): Likewise.
27612 [POSIX] (S_ISFIFO): Likewise.
27613 [POSIX] (S_ISREG): Likewise.
27614 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
27615 optional-macro.
27616 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
27617 type.
27618 [POSIX] (time_t): Likewise.
27619 [POSIX] (timer_t): Likewise.
27620
27621 2014-06-11 Florian Weimer <fweimer@redhat.com>
27622
27623 [BZ #17048]
27624 * posix/spawn_int.h (struct __spawn_action): Make the path string
27625 non-const to support deallocation.
27626 * posix/spawn_faction_addopen.c
27627 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
27628 * posix/spawn_faction_destroy.c
27629 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
27630 path in all spawn_do_open actions.
27631 * posix/tst-spawn.c (do_test): Exercise the copy operation in
27632 posix_spawn_file_actions_addopen.
27633
27634 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
27635
27636 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
27637 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
27638 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
27639 conditional code always true.
27640 (__libc_vfork): New alias.
27641
27642 2014-06-11 Roland McGrath <roland@hack.frob.com>
27643
27644 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27645 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
27646
27647 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
27648
27649 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27650 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
27651
27652 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27653 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
27654
27655 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27656 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
27657
27658 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
27659
27660 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
27661 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
27662 multiarch strcmp for PPC64.
27663 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
27664 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
27665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
27666 multiarch optimizations.
27667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27668 (__libc_ifunc_impl_list): Likewise.
27669
27670 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27671
27672 * benchtests/scripts/validate_benchout.py: New script.
27673 * benchtests/Makefile (bench-func): Call it.
27674 * benchtests/scripts/benchout.schema.json: New file.
27675
27676 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
27677
27678 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
27679 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
27680 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
27681 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
27682 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
27683 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
27684 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
27685 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
27686 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
27687 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
27688 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
27689 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
27690 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
27691 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
27692 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
27693 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
27694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
27695 Moved ...
27696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
27697 ... here.
27698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
27699 Moved ...
27700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
27701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
27702 Moved ...
27703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
27704 ... here.
27705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
27706 Moved ...
27707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
27708 ... here.
27709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
27710 Moved ...
27711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
27712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
27713 Moved ...
27714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
27715 ... here.
27716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
27717 Moved ...
27718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
27719 ... here.
27720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
27721 Moved ...
27722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
27723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
27724 Moved ...
27725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
27726 ... here.
27727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
27728 Moved ...
27729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
27730 ... here.
27731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
27732 Moved ...
27733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
27734 ... here.
27735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
27736 Moved ...
27737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
27738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
27739 Moved ...
27740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
27741 ... here.
27742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
27743 Moved ...
27744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
27745 ... here.
27746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
27747 Moved ...
27748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
27749 ... here.
27750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
27751 Moved ...
27752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
27753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
27754 Moved ...
27755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
27756 ... here.
27757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
27758 Moved ...
27759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
27760 ... here.
27761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
27762 Moved ...
27763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
27764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
27765 Moved ...
27766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
27767 ... here.
27768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
27769 Moved ...
27770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
27771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
27772 Moved ...
27773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
27774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
27775 Moved ...
27776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
27777 ... here.
27778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
27779 Moved ...
27780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
27781 ... here.
27782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
27783 Moved ...
27784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
27785 ... here.
27786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
27787 Moved ...
27788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
27789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
27790 Moved ...
27791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
27792 ... here.
27793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
27794 Moved ...
27795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
27796 ... here.
27797 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
27798 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
27799 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
27800 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
27801 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
27802 Moved ...
27803 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
27804 ... here.
27805 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
27806 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
27807 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
27808 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
27809 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
27810 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
27811 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
27812 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
27813 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
27814 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
27815 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
27816 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
27817 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
27818 Moved ...
27819 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
27820 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
27821 Moved ...
27822 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
27823 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
27824 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
27825 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
27826 Moved ...
27827 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
27828 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
27829 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
27830 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
27831 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
27832 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
27833 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
27834
27835 2014-06-10 Wilco <wdijkstr@arm.com>
27836
27837 * math/test-fenv-return.c: New file.
27838 * math/Makefile: Add new test test-fenv-return.
27839
27840 2014-06-10 Joseph Myers <joseph@codesourcery.com>
27841
27842 [BZ #17042]
27843 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
27844 when x - 1 is zero.
27845 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
27846 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
27847 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
27848 0.0L for an argument of 1.0L.
27849 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27850 Likewise.
27851 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
27852 value when x - 1 is zero.
27853 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
27854 * sysdeps/i386/fpu/libm-test-ulps: Update.
27855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27856
27857 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
27858
27859 [BZ #15119]
27860 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
27861
27862 2014-06-09 Roland McGrath <roland@hack.frob.com>
27863
27864 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
27865 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
27866
27867 2014-06-09 Roland McGrath <roland@hack.frob.com>
27868
27869 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27870 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
27871
27872 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27873 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
27874
27875 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27876 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
27877
27878 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27879 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
27880
27881 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
27882 if not already defined.
27883 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
27884 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
27885 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
27886 (TLS_INIT_TP): Use it.
27887 (TLS_DEFINE_INIT_TP): New macro.
27888 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
27889
27890 2014-06-09 Joseph Myers <joseph@codesourcery.com>
27891
27892 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
27893 constant.
27894 [POSIX] (IXANY): Likewise.
27895 [POSIX] (OLCUC): Likewise.
27896 [POSIX || POSIX2008] (CBAUD): Do not allow.
27897 [POSIX || POSIX2008] (DEFECHO): Likewise.
27898 [POSIX || POSIX2008] (ECHOCTL): Likewise.
27899 [POSIX || POSIX2008] (ECHOKE): Likewise.
27900 [POSIX || POSIX2008] (ECHOPRT): Likewise.
27901 [POSIX || POSIX2008] (EXTA): Likewise.
27902 [POSIX || POSIX2008] (EXTB): Likewise.
27903 [POSIX || POSIX2008] (FLUSHO): Likewise.
27904 [POSIX || POSIX2008] (LOBLK): Likewise.
27905 [POSIX || POSIX2008] (PENDIN): Likewise.
27906 [POSIX || POSIX2008] (SWTCH): Likewise.
27907 [POSIX || POSIX2008] (VDISCARD): Likewise.
27908 [POSIX || POSIX2008] (VDSUSP): Likewise.
27909 [POSIX || POSIX2008] (VLNEXT): Likewise.
27910 [POSIX || POSIX2008] (VREPRINT): Likewise.
27911 [POSIX || POSIX2008] (VSTATUS): Likewise.
27912 [POSIX || POSIX2008] (VWERASE): Likewise.
27913 (B*): Change to B[0123456789]*.
27914 * conform/data/time.h-data [POSIX || UNIX98]
27915 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
27916 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27917 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
27918 [POSIX] (tm_*): Do not allow.
27919
27920 2014-06-07 Joseph Myers <joseph@codesourcery.com>
27921
27922 * Makefile (install): Don't set LANGUAGE.
27923 * Makefile.in (install): Likewise.
27924 * assert/Makefile (test-assert-ENV): Remove variable.
27925 (test-assert-perr-ENV): Likewise.
27926 * elf/Makefile (neededtest4-ENV): Likewise.
27927 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27928 [$(cross-compiling) = no]: Don't set LANGUAGE.
27929 * io/ftwtest-sh (LANG): Remove variable.
27930 * libio/Makefile (tst-widetext-ENV): Likewise.
27931 * manual/install.texi (Running make install): Don't refer to
27932 environment settings for make install.
27933 * INSTALL: Regenerated.
27934 * nptl/tst-tls6.sh: Don't set LANG.
27935 * posix/globtest.sh (LANG): Remove variable.
27936 * string/Makefile (tester-ENV): Likewise.
27937 (inl-tester-ENV): Likewise.
27938 (noinl-tester-ENV): Likewise.
27939 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27940 [$(cross-compiling) = no]: Don't set LANGUAGE.
27941 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
27942 without explicit environment settings.
27943
27944 2014-06-06 Roland McGrath <roland@hack.frob.com>
27945
27946 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
27947 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
27948 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
27949 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
27950
27951 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
27952
27953 * crypt/crypt-private.h [DOS]: Add some includes taken from the
27954 other files in the crypt directory.
27955 * crypt/crypt.c: Remove duplicate includes.
27956 * crypt/crypt-entry.c: Likewise.
27957 * crypt/crypt_util.c: Likewise.
27958
27959 2014-06-06 Joseph Myers <joseph@codesourcery.com>
27960
27961 * Makeconfig (run-program-env): New variable.
27962 (run-program-prefix-before-env): Likewise.
27963 (run-program-prefix-after-env): Likewise.
27964 (run-program-prefix): Define in terms of new variables.
27965 (built-program-cmd-before-env): New variable.
27966 (built-program-cmd-after-env): Likewise.
27967 (built-program-cmd): Define in terms of new variables.
27968 (test-program-prefix-before-env): New variable.
27969 (test-program-prefix-after-env): Likewise.
27970 (test-program-prefix): Define in terms of new variables.
27971 (test-program-cmd-before-env): New variable.
27972 (test-program-cmd-after-env): Likewise.
27973 (test-program-cmd): Define in terms of new variables.
27974 * Rules (make-test-out): Use $(run-program-env).
27975 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
27976 (help): Do not mention environment variables. Mention
27977 --timeoutfactor option.
27978 (timeoutfactor): New variable.
27979 (blacklist_exports): Remove function.
27980 (exports): Remove variable.
27981 (command): Do not include ${exports}.
27982 * manual/install.texi (Configuring and compiling): Do not mention
27983 test wrappers preserving environment variables. Mention that last
27984 assignment to a variable must take precedence.
27985 * INSTALL: Regenerated.
27986 * benchtests/Makefile (run-bench): Use $(run-program-env).
27987 * catgets/Makefile ($(objpfx)test1.cat): Use
27988 $(built-program-cmd-before-env), $(run-program-env) and
27989 $(built-program-cmd-after-env).
27990 ($(objpfx)test2.cat): Do not specify environment variables
27991 explicitly.
27992 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
27993 $(run-program-env) and $(built-program-cmd-after-env).
27994 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
27995 $(run-program-env) and $(test-program-cmd-after-env).
27996 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
27997 explicitly.
27998 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
27999 run_program_env and test_program_cmd_after_env arguments.
28000 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
28001 * elf/tst-pathopt.sh: Use run_program_env argument.
28002 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
28003 $(test-wrapper-env) and $(run-program-env).
28004 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
28005 run_program_env arguments.
28006 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
28007 * intl/Makefile ($(objpfx)tst-gettext.out): Use
28008 $(test-program-prefix-before-env), $(run-program-env) and
28009 $(test-program-prefix-after-env).
28010 ($(objpfx)tst-gettext2.out): Likewise.
28011 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
28012 run_program_env and test_program_prefix_after_env arguments.
28013 * intl/tst-gettext2.sh: Likewise.
28014 * intl/tst-gettext4.sh: Do not set environment variables
28015 explicitly.
28016 * intl/tst-gettext6.sh: Likewise.
28017 * intl/tst-translit.sh: Likewise.
28018 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
28019 $(test-program-prefix-before-env), $(run-program-env) and
28020 $(test-program-prefix-after-env).
28021 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
28022 run_program_env and test_program_prefix_after_env arguments.
28023 * math/Makefile (run-regen-ulps): Use $(run-program-env).
28024 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
28025 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
28026 explicitly with each use of ${test_wrapper_env}.
28027 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
28028 $(test-program-prefix-before-env), $(run-program-env) and
28029 $(test-program-prefix-after-env).
28030 * posix/tst-getconf.sh: Do not set environment variables
28031 explicitly.
28032 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
28033 run_program_env and test_program_prefix_after_env arguments.
28034 * stdio-common/tst-printf.sh: Do not set environment variables
28035 explicitly.
28036 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
28037 $(test-program-prefix-before-env), $(run-program-env) and
28038 $(test-program-prefix-after-env).
28039 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
28040 run_program_env and test_program_prefix_after_env arguments.
28041 Split $test calls into $test_pre and $test.
28042 * timezone/Makefile (build-testdata): Use
28043 $(built-program-cmd-before-env), $(run-program-env) and
28044 $(built-program-cmd-after-env).
28045
28046 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28047
28048 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
28049 strlen for non SHARED builds.
28050
28051 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28052
28053 * nptl/allocatestack.c (check_list): Inlined function...
28054 (__reclaim_stacks): ... here.
28055
28056 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
28057
28058 [BZ #15698]
28059 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28060 memory overrun.
28061
28062 2014-06-05 Joseph Myers <joseph@codesourcery.com>
28063
28064 * Rules (make-test-out): Include
28065 LOCPATH=$(common-objpfx)localedata in default environment.
28066 * debug/Makefile (tst-chk1-ENV): Remove variable.
28067 (tst-chk2-ENV): Likewise.
28068 (tst-chk3-ENV): Likewise.
28069 (tst-chk4-ENV): Likewise.
28070 (tst-chk5-ENV): Likewise.
28071 (tst-chk6-ENV): Likewise.
28072 (tst-lfschk1-ENV): Likewise.
28073 (tst-lfschk2-ENV): Likewise.
28074 (tst-lfschk3-ENV): Likewise.
28075 (tst-lfschk4-ENV): Likewise.
28076 (tst-lfschk5-ENV): Likewise.
28077 (tst-lfschk6-ENV): Likewise.
28078 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
28079 (tst-iconv7-ENV): Likewise.
28080 * intl/Makefile (LOCPATH-ENV): Likewise.
28081 (tst-codeset-ENV): Likewise.
28082 (tst-gettext3-ENV): Likewise.
28083 (tst-gettext5-ENV): Likewise.
28084 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
28085 (tst-fopenloc-ENV): Likewise.
28086 (tst-fgetws-ENV): Remove variable.
28087 (tst-ungetwc1-ENV): Likewise.
28088 (tst-ungetwc2-ENV): Likewise.
28089 (bug-ungetwc2-ENV): Likewise.
28090 (tst-swscanf-ENV): Likewise.
28091 (bug-ftell-ENV): Likewise.
28092 (tst-fgetwc-ENV): Likewise.
28093 (tst-fseek-ENV): Likewise.
28094 (tst-ftell-partial-wide-ENV): Likewise.
28095 (tst-ftell-active-handler-ENV): Likewise.
28096 (tst-ftell-append-ENV): Likewise.
28097 * posix/Makefile (tst-fnmatch-ENV): Likewise.
28098 (tst-regexloc-ENV): Likewise.
28099 (bug-regex1-ENV): Likewise.
28100 (tst-regex-ENV): Likewise.
28101 (tst-regex2-ENV): Likewise.
28102 (bug-regex5-ENV): Likewise.
28103 (bug-regex6-ENV): Likewise.
28104 (bug-regex17-ENV): Likewise.
28105 (bug-regex18-ENV): Likewise.
28106 (bug-regex19-ENV): Likewise.
28107 (bug-regex20-ENV): Likewise.
28108 (bug-regex22-ENV): Likewise.
28109 (bug-regex23-ENV): Likewise.
28110 (bug-regex25-ENV): Likewise.
28111 (bug-regex26-ENV): Likewise.
28112 (bug-regex30-ENV): Likewise.
28113 (bug-regex32-ENV): Likewise.
28114 (bug-regex33-ENV): Likewise.
28115 (bug-regex34-ENV): Likewise.
28116 (bug-regex35-ENV): Likewise.
28117 (tst-rxspencer-ENV): Likewise.
28118 (tst-rxspencer-no-utf8-ENV): Likewise.
28119 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
28120 (tst-sscanf-ENV): Likewise.
28121 (tst-swprintf-ENV): Likewise.
28122 (tst-swscanf-ENV): Likewise.
28123 (test-vfprintf-ENV): Likewise.
28124 (scanf13-ENV): Likewise.
28125 (bug14-ENV): Likewise.
28126 (tst-grouping-ENV): Likewise.
28127 * stdlib/Makefile (tst-strtod-ENV): Likewise.
28128 (tst-strtod3-ENV): Likewise.
28129 (tst-strtod4-ENV): Likewise.
28130 (tst-strtod5-ENV): Likewise.
28131 (testmb2-ENV): Likewise./
28132 * string/Makefile (tst-strxfrm-ENV): Likewise.
28133 (tst-strxfrm2-ENV): Likewise.
28134 (bug-strcoll1-ENV): Likewise.
28135 (test-strcasecmp-ENV): Likewise.
28136 (test-strncasecmp-ENV): Likewise.
28137 * time/Makefile (tst-strptime-ENV): Likewise.
28138 (tst-ftime_l-ENV): Likewise.
28139 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
28140 (tst-mbrtowc-ENV): Likewise.
28141 (tst-wcrtomb-ENV): Likewise.
28142 (tst-mbrtowc2-ENV): Likewise.
28143 (tst-c16c32-1-ENV): Likewise.
28144 (tst-mbsnrtowcs-ENV): Likewise.
28145
28146 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
28147
28148 * manual/resource.texi (How to get information about the memory
28149 subsystem?): Fix typo.
28150 Reported by Peon de la Parra Ivan <peon@keba.com>
28151
28152 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
28153
28154 [BZ #16882]
28155 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
28156 (pthread_spin_lock): Branch out of spin loop to proper location.
28157 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
28158 (pthread_spin_lock): Likewise.
28159
28160 * nptl/tst-spin4.c: New test.
28161 * nptl/Makefile (tests): Add tst-spin4.
28162
28163 2014-06-03 Andreas Schwab <schwab@suse.de>
28164
28165 [BZ #15946]
28166 * resolv/res_send.c (send_dg): Reload file descriptor after
28167 calling reopen.
28168
28169 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
28170
28171 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28172
28173 2014-06-03 Richard Henderson <rth@redhat.com>
28174
28175 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
28176 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
28177 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
28178 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
28179 in the SAVE_PID block.
28180 (__libc_vfork): New alias.
28181 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
28182
28183 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
28184 child in registers, not on the stack. Remove RESET_PID conditionals.
28185 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
28186
28187 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
28188
28189 * sysdeps/aarch64/libm-test-ulps: Regenerate.
28190
28191 2014-06-03 Wilco <wdijkstr@arm.com>
28192
28193 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
28194 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
28195 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28196 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
28197 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
28198 Likewise.
28199
28200 2014-06-03 Wilco <wdijkstr@arm.com>
28201
28202 * sysdeps/aarch64/fpu/math_private.h
28203 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
28204 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
28205 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
28206 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28207 Fix declarations.
28208
28209 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
28210
28211 * crypt/crypt-private.h: Include ufc-crypt.h.
28212 (__b64_from_24bit): Declare extern.
28213 * crypt/crypt_util.c(__b64_from_24bit): New function.
28214 (b64t): New static const variable.
28215 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
28216 (b64t): Remove variable.
28217 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
28218 * crypt/sha256-crypt.c: Include crypt-private.h.
28219 (b64t): Remove variable.
28220 (__sha256_crypt_r): Remove b64_from_24bit and replace
28221 with __b64_from_24bit.
28222 * crypt/sha512-crypt.c: Likewise.
28223
28224 2014-06-02 Roland McGrath <roland@hack.frob.com>
28225
28226 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
28227 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
28228 Label the code __libc_vfork rather than __vfork.
28229 [!NOT_IN_libc] (vfork): Define as weak alias.
28230 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
28231 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
28232 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
28233
28234 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28235
28236 * malloc/malloc.c (malloc_info): Fix format specifier for
28237 n_mmaps.
28238
28239 2014-06-02 Wilco <wdijkstr@arm.com>
28240
28241 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
28242 FPCR write.
28243
28244 2014-06-02 Wilco <wdijkstr@arm.com>
28245
28246 [BZ #17009]
28247 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
28248 Rewrite to reduce FPCR/FPSR accesses.
28249
28250 2014-06-01 David S. Miller <davem@davemloft.net>
28251
28252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28253
28254 2014-05-31 David S. Miller <davem@davemloft.net>
28255
28256 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
28257 to occur in round to nearest mode when |x| >= 2.0
28258
28259 2014-05-30 Richard Henderson <rth@twiddle.net>
28260
28261 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
28262 (PSEUDO_RET_NOERRNO): Remove.
28263 (ret): Don't redefine.
28264 (ret_NOERRNO): Define in terms of ret.
28265 (ret_ERRVAL): Likewise.
28266
28267 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
28268 use of PSEUDO_RET; perform the error check directly.
28269
28270 2014-05-30 Marko Myllynen <myllynen@redhat.com>
28271
28272 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
28273 with __int128_t.
28274
28275 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28276
28277 * malloc/malloc (malloc_info): Fix formatting.
28278
28279 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28280 Roland McGrath <roland@hack.frob.com>
28281
28282 * malloc/malloc (malloc_info): Also print mmapped statistics.
28283
28284 2014-05-30 Roland McGrath <roland@hack.frob.com>
28285
28286 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
28287 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
28288
28289 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
28290
28291 * malloc/malloc.c (malloc_info): Inline mi_arena.
28292
28293 2014-05-29 Richard Henderson <rth@twiddle.net>
28294
28295 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
28296 Remove comma before expanding ASM_ARGS_##nr.
28297 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
28298 Make _x0 a strict output; make _x8 a strict input; adjust expansion
28299 of ASM_ARGS_##nr.
28300 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
28301 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
28302 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
28303 (ASM_ARGS_1): Add leading comma.
28304
28305 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
28306 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
28307 to __errno_location.
28308 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
28309 Remove the expected plt for __errno_location.
28310
28311 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28312 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
28313 call to __read_tp.
28314
28315 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28316 Always allocate 64 bytes of stack frame. Use ldp/stp to create
28317 it and break it down.
28318 (DOCARGS_0, DOCARGS_1): Do nothing.
28319 (DOCARGS_2): Update to store into the new stack frame.
28320 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
28321 (UNDOCARGS_1): Update to restore from the new stack frame.
28322 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
28323 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
28324
28325 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28326 (SINGLE_THREAD_P): New parameter for result regno.
28327 (PSEUDO): Update to match; use cbz instead of beq.
28328
28329 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28330 Use ENTRY to define the _nocancel entry point. Share the syscall
28331 and syscall error check paths with the cancel path.
28332 (PSEUDO_END): New.
28333
28334 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
28335 whitespace; tabs before and after asm mnemonics.
28336
28337 2014-05-29 Eric Wong <normalperson@yhbt.net>
28338
28339 [BZ #15132]
28340 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28341 Call fstat64 or stat64 internally, depending on arguments passed.
28342 Replace stat buffer argument with file descriptor argument.
28343 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
28344 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28345 Pass fd to __internal_statvfs instead of calling fstat64.
28346 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
28347 Pass fd to __internal_statvfs64 instead of calling fstat64.
28348 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
28349 Pass -1 to __internal_statvfs instead of calling stat64.
28350 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
28351 Pass -1 to __internal_statvfs64 instead of calling stat64.
28352
28353 2014-05-28 Roland McGrath <roland@hack.frob.com>
28354
28355 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
28356 that was previously under [RESET_PID].
28357 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
28358
28359 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
28360 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
28361
28362 2014-05-27 Roland McGrath <roland@hack.frob.com>
28363
28364 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
28365
28366 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
28367 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
28368
28369 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
28370
28371 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
28372
28373 2014-05-27 Andreas Schwab <schwab@suse.de>
28374
28375 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
28376 TLS_INIT_TP macro.
28377 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
28378 * elf/rtld.c (init_tls, dl_main): Likewise.
28379 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
28380 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
28381 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
28382 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
28383 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
28384 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
28385 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
28386 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
28387 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
28388 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
28389 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
28390 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
28391 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
28392 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
28393 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
28394 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
28395 * sysdeps/generic/tls.h: Update description.
28396
28397 2014-05-27 Will Newton <will.newton@linaro.org>
28398
28399 [BZ #16990]
28400 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
28401 and restore r2 rather than just restoring.
28402
28403 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28404
28405 [BZ #16724]
28406 * libio/tst-ftell-append.c: New test case.
28407 * libio/Makefile (tests): Add test case.
28408 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
28409 append mode.
28410 * libio/wfileops.c (do_ftell_wide): Likewise.
28411
28412 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28413
28414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28415
28416 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
28417 ...
28418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
28419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28420 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
28421 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
28422 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
28423 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
28424 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
28425 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
28426 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28427 Moved ...
28428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
28429 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28430 Moved ...
28431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
28432 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
28433 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
28434 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
28435 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
28436 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
28437 ...
28438 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
28439 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
28440 Moved ...
28441 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
28442 here.
28443 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
28444 ...
28445 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
28446 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
28447 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
28448
28449 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
28450 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
28451 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
28452 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
28453
28454 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
28455 merge into ...
28456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
28457 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
28458 ...
28459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
28460 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
28461 ...
28462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
28463 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28464 Moved ...
28465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
28466 here.
28467 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28468 Moved ...
28469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
28470 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28471 Moved ...
28472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
28473
28474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
28475 conditional [RESET_PID].
28476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
28477 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
28478 removed.
28479 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
28480 removed.
28481
28482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
28483 <tcb-offsets.h>.
28484 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28485 (__libc_vfork): New strong alias.
28486 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
28487 removed.
28488 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
28489 Removed.
28490
28491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
28492 <tcb-offsets.h>.
28493 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
28494 (__libc_vfork): New strong alias.
28495 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
28496 removed.
28497 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
28498 removed.
28499
28500 2014-05-26 Carlos O'Donell <carlos@redhat.com>
28501
28502 * malloc/malloc.c (mi_arena): New function.
28503 (malloc_info): Remove nested function mi_arena. Call non-nosted
28504 function mi_arena.
28505
28506 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28507
28508 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
28509 by insrwi.
28510 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
28511 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28512 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
28513 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
28514 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
28515 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
28516 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
28517
28518 2014-05-26 Andreas Schwab <schwab@suse.de>
28519
28520 [BZ #16984]
28521 * locale/programs/repertoire.c (repertoire_read): Add slash
28522 between I18NPATH element and file name.
28523 * locale/programs/locfile.c (locfile_read): Likewise.
28524
28525 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
28526
28527 * nptl/pthread_mutexattr_settype.c
28528 (__pthread_mutexattr_settype):
28529 Disable lock elision for PTHREAD_MUTEX_NORMAL.
28530
28531 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
28532
28533 * nptl/tst-mutex5 (do_test):
28534 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
28535
28536 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28537
28538 * benchtests/README: Document 'init' directive.
28539 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
28540 BENCH_INIT.
28541 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
28542 (parse_file): Recognize 'init' directive.
28543
28544 2014-05-26 Kyle McMartin <kyle@redhat.com>
28545
28546 [BZ #16796]
28547 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
28548 alignment of struct pthread.
28549
28550 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28551
28552 [BZ #16878]
28553 * nscd/netgroupcache.c (addgetnetgrentX): Look for
28554 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28555 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
28556 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28557
28558 2014-05-25 Richard Henderson <rth@twiddle.net>
28559
28560 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28561 (SINGLE_THREAD_P_PIC): Remove.
28562 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
28563 (SINGLE_THREAD_P_PIC): Remove.
28564
28565 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
28566 branch to syscall error ...
28567 (PSEUDO): ... here.
28568 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
28569 from __local_syscall_error to .Lsyscall_error.
28570 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
28571 (SYSCALL_ERROR): Update label name.
28572
28573 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28574 Do not use DOARGS/UNDOARGS.
28575 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
28576 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
28577 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
28578 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
28579 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
28580
28581 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
28582 block comment.
28583
28584 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
28585 define if !NOT_IN_libc.
28586 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
28587 define with non-default symbol versions.
28588
28589 2014-05-23 Richard Henderson <rth@twiddle.net>
28590
28591 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
28592 (vfork, __vfork): Define via compat_symbol.
28593
28594 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
28595 [!HAVE_IFUNC] (vfork_compat): Remove.
28596 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
28597
28598 2014-05-23 Joseph Myers <joseph@codesourcery.com>
28599
28600 [BZ #16978]
28601 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
28602 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
28603 variable.
28604
28605 2014-05-23 Richard Henderson <rth@twiddle.net>
28606
28607 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
28608 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
28609 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
28610 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
28611
28612 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
28613 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
28614 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
28615 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
28616 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
28617 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
28618 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
28619 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
28620 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
28621 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
28622 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
28623 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
28624 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
28625 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
28626 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
28627 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
28628 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
28629 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
28630 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
28631 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
28632 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
28633 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
28634 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
28635 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
28636 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
28637 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
28638 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
28639 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
28640 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
28641 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
28642 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
28643 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
28644 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
28645 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
28646 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
28647 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
28648 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
28649 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
28650 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
28651 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
28652 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
28653 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
28654 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
28655 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
28656 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
28657 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
28658 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
28659 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
28660 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
28661 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
28662 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
28663 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
28664 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
28665 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
28666 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
28667 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
28668
28669 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
28670 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
28671 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
28672 before exiting on error.
28673 (__libc_vfork): New strong alias.
28674 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
28675 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
28676
28677 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
28678 that was previously under [RESET_PID].
28679 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
28680
28681 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
28682
28683 2014-05-23 Joseph Myers <joseph@codesourcery.com>
28684
28685 [BZ #16977]
28686 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
28687 value when x - 1 is zero.
28688 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
28689 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
28690 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
28691 0.0L for an argument of 1.0L.
28692 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
28693 Likewise.
28694 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
28695 value when x - 1 is zero.
28696 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
28697 * sysdeps/i386/fpu/libm-test-ulps: Update.
28698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28699
28700 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
28701
28702 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
28703 alphasort and versionsort.
28704
28705 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28706
28707 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
28708 macro.
28709 [copysignf]: Likewise.
28710
28711 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28712
28713 * crypt/md5-crypt.c: Fix formatting.
28714
28715 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
28716
28717 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
28718 (b64_from_24bit): New function.
28719
28720 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28721
28722 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
28723 libc_hidden_builtin_def to ifunc.
28724 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28725 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
28726
28727 2014-05-21 Roland McGrath <roland@hack.frob.com>
28728
28729 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
28730 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
28731
28732 2014-05-21 Joseph Myers <joseph@codesourcery.com>
28733
28734 * nscd/Depend (linuxthreads): Remove.
28735 (nptl): Add.
28736 * resolv/Depend (linuxthreads): Remove.
28737 * rt/Depend (linuxthreads): Remove.
28738
28739 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
28740 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
28741 $(common-objpfx)elf/.
28742 (link-libc-before-gnulib): Likewise.
28743 (elfobjdir): Remove variable.
28744 * Makefile (install): Use $(elf-objpfx) instead of
28745 $(common-objpfx)elf/.
28746 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
28747 $(elfobjdir)/.
28748 (link-libc-deps): Likewise.
28749 ($(common-objpfx)libc.so): Likewise.
28750 ($(common-objpfx)linkobj/libc.so): Likewise.
28751 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
28752 instead of $(common-objpfx)elf/.
28753 (symbolic-link-list): Likewise.
28754 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28755 [$(cross-compiling) = no]: Likewise.
28756 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
28757 $(elfobjdir)/.
28758 (static-gnulib-arch): Likewise.
28759 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28760 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
28761 $(common-objpfx)elf/.
28762
28763 2014-05-21 Richard Henderson <rth@redhat.com>
28764
28765 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28766 (SINGLE_THREAD_P): Use the correct width load. Fold
28767 into the ldr offset.
28768
28769 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
28770 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
28771
28772 2014-05-20 Joseph Myers <joseph@codesourcery.com>
28773
28774 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
28775 (libgcc_s_resume): Use __attribute_used__.
28776 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
28777 Likewise.
28778
28779 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28780
28781 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
28782 optimization when used with float constants.
28783
28784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28785
28786 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
28787
28788 [BZ #16915]
28789 * locale/nl_langinfo_l.c: Make direct reference to every
28790 _nl_current_CATEGORY symbol.
28791 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
28792 (tests-static): Add tst-langinfo-static.
28793 (tests-special): Add tst-langinfo-static.out.
28794 ($(objpfx)tst-langinfo.out): Redirect output.
28795 ($(objpfx)tst-langinfo-static.out): New.
28796 * localedata/tst-langinfo.sh: Send output to stdout.
28797 * localedata/tst-langinfo-static.c: New file.
28798
28799 [BZ #16965]
28800 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
28801 when the shift amount is modulo the limb size.
28802
28803 2014-05-20 Richard Henderson <rth@redhat.com>
28804
28805 [BZ #16967]
28806 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
28807 Change type of sa_flags from unsigned int to int.
28808
28809 [BZ #16966]
28810 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
28811
28812 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
28813
28814 2014-05-20 Will Newton <will.newton@linaro.org>
28815
28816 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28817 Test the return value of the system call in the nocancel case.
28818
28819 2014-05-20 Will Newton <will.newton@linaro.org>
28820 Yvan Roux <yvan.roux@linaro.org>
28821
28822 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
28823 #include of asm/ptrace.h.
28824 (PTRACE_GET_THREAD_AREA): Remove #undef.
28825 (PTRACE_GETHBPREGS): Likewise.
28826 (PTRACE_SETHBPREGS): Likewise.
28827 (struct user_regs_struct): New structure.
28828 (struct user_fpsimd_struct): New structure.
28829 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
28830 #include of asm/ptrace.h and second #include of sys/user.h.
28831 (PTRACE_GET_THREAD_AREA): Remove #undef.
28832 (PTRACE_GETHBPREGS): Likewise.
28833 (PTRACE_SETHBPREGS): Likewise.
28834 (ELF_NGREG): Use new struct user_regs_struct.
28835 (elf_fpregset_t): Use new struct user_fpsimd_struct.
28836
28837 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28838
28839 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
28840 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
28841
28842 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
28843
28844 [BZ #16958]
28845 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
28846 membar to avoid block loads/stores to overlap previous stores.
28847
28848 2014-05-17 Richard Henderson <rth@redhat.com>
28849
28850 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
28851 Create the __##syscall_name##_nocancel entry point.
28852 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
28853 Remove; let the sysdep-cancel.h code create it.
28854
28855 2014-05-17 David S. Miller <davem@davemloft.net>
28856
28857 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
28858 Protect with __USE_GNU.
28859 (TIOCSET_TEMPT): Likewise.
28860 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28861 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
28862 these are already provided in bits/ioctl-types.h
28863
28864 2014-05-16 Roland McGrath <roland@hack.frob.com>
28865
28866 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
28867 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
28868
28869 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
28870 Use wait4 regardless of [__NR_waitpid].
28871
28872 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28873
28874 PR libgcc/60166
28875 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28876 (_FP_NANSIGN_Q): Set the quiet bit.
28877
28878 2014-05-16 Joseph Myers <joseph@codesourcery.com>
28879
28880 * benchtests/Makefile
28881 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
28882 not $(common-objpfx)math/libm.so.
28883 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
28884 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
28885 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
28886 $(common-objpfx)dlfcn/libdl.so.
28887 ($(objpfx)tst-audit8): Depend on $(libm), not
28888 $(common-objpfx)math/libm.so.
28889 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
28890 not $(common-objpfx)dlfcn/libdl.so.
28891 * math/Makefile
28892 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28893 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
28894 [$(build-shared) = yes].
28895 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
28896 $(common-objpfx)nptl/libpthread.so.
28897 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
28898 $(common-objpfx)math/libm.so$(libm.so-version) or
28899 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
28900 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
28901 $(common-objpfx)dlfcn/libdl.so.
28902 * setjmp/Makefile (link-libm): Remove variable.
28903 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
28904 * stdio-common/Makefile (link-libm): Remove variable.
28905 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
28906 * stdlib/Makefile (link-libm): Remove variable.
28907 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
28908 ($(objpfx)tst-strtod-round): Likewise.
28909 ($(objpfx)tst-tininess): Likewise.
28910 ($(objpfx)tst-strtod-underflow): Likewise.
28911 ($(objpfx)tst-strtod6): Likewise.
28912 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
28913 $(libdl), not $(common-objpfx)nptl/libpthread.so and
28914 $(common-objpfx)dlfcn/libdl.so.
28915
28916 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28917
28918 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
28919 BSD terminal modes definitions.
28920
28921 2014-05-16 Roland McGrath <roland@hack.frob.com>
28922
28923 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
28924 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
28925
28926 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
28927 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
28928 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
28929 Don't do #include_next.
28930 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
28931 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
28932 Don't do #include_next.
28933 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
28934 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
28935 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
28936 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
28937
28938 2014-05-16 Allan McRae <allan@archlinux.org>
28939
28940 * po/sv.po: Update Swedish translation from translation project.
28941
28942 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
28943 in sed expression.
28944
28945 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
28946
28947 [BZ #16917]
28948 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
28949 errno if the TIOCGPTN ioctl fails with an error different than
28950 EINVAL.
28951 * login/tst-ptsname.c: New file.
28952 * login/Makefile (tests): Add tst-ptsname.
28953
28954 [BZ #16943]
28955 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
28956 and prlimit64.
28957
28958 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28959
28960 [BZ #16849]
28961 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
28962 herrno to return EAI_AGAIN.
28963
28964 2014-05-14 Roland McGrath <roland@hack.frob.com>
28965
28966 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
28967 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
28968 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
28969 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
28970 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
28971 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
28972 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
28973 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
28974 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
28975 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
28976 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
28977 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
28978 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
28979 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
28980 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
28981 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
28982 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
28983 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
28984 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
28985 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
28986 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
28987 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
28988 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
28989 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
28990 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
28991 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
28992 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
28993 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
28994 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
28995 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
28996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
28997 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
28998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
28999 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
29000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29001 Moved ...
29002 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
29003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
29004 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
29005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
29006 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
29007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
29008 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
29009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
29010 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
29011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
29012 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
29013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
29014 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
29015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
29016 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
29017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
29018 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
29019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
29020 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
29021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
29022 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
29023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
29024 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
29025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
29026 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
29027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
29028 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
29029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29030 Moved ...
29031 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
29032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
29033 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
29034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
29035 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
29036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
29037 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
29038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
29039 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
29040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
29041 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
29042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
29043 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
29044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
29045 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
29046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
29047 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
29048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
29049 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
29050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29051 Moved ...
29052 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
29053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
29054 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
29055
29056 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
29057 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
29058 (libpthread-sysdep_routines): Add elision-related stuff here instead.
29059 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
29060 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
29061 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
29062 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
29063 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
29064 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
29065 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
29066 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
29067 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
29068 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
29069 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
29070 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
29071 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
29072 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
29073 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
29074 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
29075 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
29076 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
29077 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
29078 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
29079 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
29080 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
29081 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
29082 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
29083 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
29084 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
29085 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
29086 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
29087
29088 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
29089 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
29090
29091 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
29092 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
29093 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
29094 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
29095 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
29096 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
29097 Moved ...
29098 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
29099 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
29100 Moved ...
29101 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
29102 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
29103 Moved ...
29104 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
29105 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
29106 Moved ...
29107 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
29108 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
29109 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
29110 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29111 Moved ...
29112 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
29113 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
29114 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
29115 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
29116 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
29117 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
29118 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
29119 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29120 Moved ...
29121 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
29122 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29123 Moved ...
29124 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29125 ... here.
29126 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
29127 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
29128 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
29129 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
29130 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29131 Moved ...
29132 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29133 ... here.
29134 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
29135 Moved ...
29136 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
29137 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
29138 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
29139 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
29140 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
29141 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
29142 Moved ...
29143 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
29144 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29145 Moved ...
29146 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
29147 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29148 Moved ...
29149 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
29150 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
29151 Moved ...
29152 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
29153 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
29154 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
29155 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
29156 Moved ...
29157 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
29158 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
29159 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
29160 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
29161 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
29162 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
29163 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
29164 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29165 Moved ...
29166 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
29167 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29168 Moved ...
29169 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29170 ... here.
29171 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
29172 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
29173 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
29174 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
29175 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29176 Moved ...
29177 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29178 ... here.
29179 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
29180 Moved ...
29181 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
29182 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
29183 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
29184 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
29185 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
29186 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
29187 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
29188 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
29189 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
29190 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
29191 Moved ...
29192 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
29193 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29194 Moved ...
29195 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
29196 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29197 Moved ...
29198 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
29199 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
29200 Moved ...
29201 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
29202 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
29203 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
29204 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
29205 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
29206 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29207 Moved ...
29208 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
29209 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
29210 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
29211 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
29212 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
29213 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
29214 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
29215 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29216 Moved ...
29217 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
29218 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29219 Moved ...
29220 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29221 ... here.
29222 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
29223 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
29224 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
29225 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
29226 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29227 Moved ...
29228 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29229 ... here.
29230 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
29231 Moved ...
29232 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
29233 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
29234 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
29235 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
29236 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
29237 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
29238 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
29239 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
29240 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
29241 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
29242 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
29243
29244 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
29245 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
29246
29247 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
29248 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
29249
29250 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
29251 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
29252 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
29253 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
29254 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
29255 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
29256 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
29257 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
29258 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
29259 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
29260 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
29261 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
29262 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
29263 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
29264 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
29265 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
29266 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
29267 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
29268 Moved ...
29269 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
29270 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
29271 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
29272 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
29273 Moved ...
29274 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
29275 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
29276 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
29277 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
29278 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
29279 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
29280 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
29281 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
29282 Moved ...
29283 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
29284 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
29285 Moved ...
29286 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
29287 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
29288 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
29289 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
29290 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
29291 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
29292 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
29293 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
29294 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
29295 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
29296 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
29297 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
29298 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
29299 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
29300 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
29301 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
29302 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
29303
29304 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
29305 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
29306 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
29307 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
29308 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
29309
29310 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
29311 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
29312 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
29313 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
29314 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
29315 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
29316 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
29317 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
29318 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
29319 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
29320
29321 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
29322 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
29323
29324 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
29325 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
29326 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
29327 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
29328 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
29329 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
29330 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
29331 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
29332 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
29333 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
29334 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
29335 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
29336 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
29337 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
29338 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
29339 Update #include.
29340 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
29341 Likewise.
29342 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29343 Likewise.
29344 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29345 Likewise.
29346 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29347 Likewise.
29348 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
29349 Likewise.
29350 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
29351 Likewise.
29352 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29353 Likewise.
29354 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
29355 Likewise.
29356 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
29357 Likewise.
29358 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
29359 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
29360 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
29361 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
29362 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
29363 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
29364 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
29365 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
29366 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
29367 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
29368 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
29369 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
29370 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
29371 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
29372 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
29373
29374 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
29375 that was previously under [RESET_PID].
29376 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29377 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
29378 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
29379
29380 * sysdeps/i386/nptl/Implies: New file.
29381 * sysdeps/x86_64/nptl/Implies: New file.
29382 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
29383 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
29384 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
29385 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
29386
29387 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
29388 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29389 (__libc_vfork): New strong alias.
29390 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
29391 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
29392
29393 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
29394 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29395 (__libc_vfork): New strong alias.
29396 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
29397 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
29398
29399 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
29400 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29401 (__libc_vfork): New strong alias.
29402 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
29403 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
29404 * nptl/pt-vfork.c: New file.
29405 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
29406 (libpthread: GLIBC_2.20): New version set (empty).
29407
29408 2014-05-14 Will Newton <will.newton@linaro.org>
29409
29410 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
29411 rather than #if.
29412
29413 2014-05-14 Joseph Myers <joseph@codesourcery.com>
29414
29415 [BZ #16564]
29416 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
29417 arguments with exponent 65 or above.
29418 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
29419 arguments 0x1p113L or above.
29420 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
29421 to arguments 0x1p107L or above.
29422 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
29423 positive arguments with exponent 65 or above.
29424 * math/auto-libm-test-in: Add more tests of log1p.
29425 * math/auto-libm-test-out: Regenerated.
29426
29427 [BZ #16928]
29428 * math/s_cacos.c (__cacos): Ensure zero real part of result from
29429 non-finite arguments is +0.
29430 * math/s_cacosf.c (__cacosf): Likewise.
29431 * math/s_cacosl.c (__cacosl): Likewise.
29432 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
29433 * sysdeps/i386/fpu/libm-test-ulps: Update.
29434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29435
29436 [BZ #16927]
29437 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
29438 value.
29439 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29440 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
29441 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
29442 for explicit high bit of mantissa when testing for argument equal
29443 to 1.
29444 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
29445 * sysdeps/i386/fpu/libm-test-ulps: Update.
29446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29447
29448 [BZ #16516]
29449 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
29450 (__erf): Scale by 16 instead of 8 in potentially underflowing
29451 case. Ensure exception if result actually underflows.
29452 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
29453 (__erff): Scale by 16 instead of 8 in potentially underflowing
29454 case. Ensure exception if result actually underflows.
29455 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
29456 (efx8): Remove variable.
29457 (__erfl): Scale by 16 instead of 8 in potentially underflowing
29458 case. Ensure exception if result actually underflows.
29459 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
29460 (efx8): Remove variable.
29461 (__erfl): Scale by 16 instead of 8 in potentially underflowing
29462 case. Ensure exception if result actually underflows.
29463 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
29464 (efx8): Remove variable.
29465 (__erfl): Scale by 16 instead of 8 in potentially underflowing
29466 case. Ensure exception if result actually underflows.
29467 * math/auto-libm-test-in: Add more tests of erf.
29468 * math/auto-libm-test-out: Regenerated.
29469
29470 2014-05-14 Andreas Schwab <schwab@suse.de>
29471
29472 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
29473 Remove code conditionalized on USE___THREAD.
29474
29475 * config.h.in (HAVE_PT_CHOWN): Define as 0.
29476 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
29477 not definedness.
29478
29479 2014-05-14 Joseph Myers <joseph@codesourcery.com>
29480
29481 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
29482 Define unconditionally.
29483 (__ASSUME_O_CLOEXEC): Likewise.
29484 (__ASSUME_SOCK_CLOEXEC): Likewise.
29485 (__ASSUME_IN_NONBLOCK): Likewise.
29486 (__ASSUME_PIPE2): Likewise.
29487 (__ASSUME_EVENTFD2): Likewise.
29488 (__ASSUME_SIGNALFD4): Likewise.
29489 (__ASSUME_DUP3): Likewise.
29490 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29491 (__ASSUME_DUP3): Do not define.
29492 (__ASSUME_EVENTFD2): Likewise.
29493 (__ASSUME_IN_NONBLOCK): Likewise.
29494 (__ASSUME_O_CLOEXEC): Likewise.
29495 (__ASSUME_PIPE2): Likewise.
29496 (__ASSUME_SIGNALFD4): Likewise.
29497 (__ASSUME_SOCK_CLOEXEC): Likewise.
29498 (__ASSUME_UTIMES): Undefine.
29499 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29500 (__ASSUME_UTIMES): Do not define.
29501 (__ASSUME_O_CLOEXEC): Likewise.
29502 (__ASSUME_SOCK_CLOEXEC): Likewise.
29503 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
29504 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
29505 0x020621].
29506 (__ASSUME_PIPE2): Likewise.
29507 (__ASSUME_EVENTFD2): Likewise.
29508 (__ASSUME_SIGNALFD4): Likewise.
29509 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
29510 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
29511 Do not define.
29512 (__ASSUME_EVENTFD2): Likewise.
29513 (__ASSUME_SIGNALFD4): Likewise.
29514 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29515 (__ASSUME_32BITUIDS): Likewise.
29516 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29517 (__ASSUME_IPC64): Likewise.
29518 (__ASSUME_ST_INO_64_BIT): Likewise.
29519 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
29520 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
29521 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29522 (__ASSUME_UTIMES): Do not define.
29523 (__ASSUME_PSELECT): Likewise.
29524 (__ASSUME_PPOLL): Likewise.
29525 (__ASSUME_O_CLOEXEC): Likewise.
29526 (__ASSUME_SOCK_CLOEXEC): Likewise.
29527 (__ASSUME_IN_NONBLOCK): Likewise.
29528 (__ASSUME_PIPE2): Likewise.
29529 (__ASSUME_EVENTFD2): Likewise.
29530 (__ASSUME_SIGNALFD4): Likewise.
29531 (__ASSUME_DUP3): Likewise.
29532 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29533 (__ASSUME_UTIMES): Likewise.
29534 (__ASSUME_O_CLOEXEC): Likewise.
29535 (__ASSUME_SOCK_CLOEXEC): Likewise.
29536 (__ASSUME_IN_NONBLOCK): Likewise.
29537 (__ASSUME_PIPE2): Likewise.
29538 (__ASSUME_EVENTFD2): Likewise.
29539 (__ASSUME_SIGNALFD4): Likewise.
29540 (__ASSUME_DUP3): Likewise.
29541 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29542 (__ASSUME_UTIMES): Likewise.
29543 (__ASSUME_O_CLOEXEC): Likewise.
29544 (__ASSUME_SOCK_CLOEXEC): Likewise.
29545 (__ASSUME_IN_NONBLOCK): Likewise.
29546 (__ASSUME_PIPE2): Likewise.
29547 (__ASSUME_EVENTFD2): Likewise.
29548 (__ASSUME_SIGNALFD4): Likewise.
29549 (__ASSUME_DUP3): Likewise.
29550 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
29551 Likewise.
29552 (__ASSUME_UTIMES): Likewise.
29553 (__ASSUME_EVENTFD2): Likewise.
29554 (__ASSUME_SIGNALFD4): Likewise.
29555 * sysdeps/unix/sysv/linux/tile/kernel-features.h
29556 (__ASSUME_O_CLOEXEC): Likewise.
29557 (__ASSUME_SOCK_CLOEXEC): Likewise.
29558 (__ASSUME_IN_NONBLOCK): Likewise.
29559 (__ASSUME_PIPE2): Likewise.
29560 (__ASSUME_EVENTFD2): Likewise.
29561 (__ASSUME_SIGNALFD4): Likewise.
29562 (__ASSUME_DUP3): Likewise.
29563 (__ASSUME_UTIMES): Undefine.
29564
29565 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
29566 feclearexcept. Remove symbol versioning code.
29567 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
29568 symbol versioning code.
29569 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
29570 symbol versioning code.
29571 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
29572 feupdateenv. Remove symbol versioning code.
29573 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
29574 fegetexceptflag. Remove symbol versioning code.
29575 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
29576 fesetexceptflag. Remove symbol versioning code.
29577 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
29578 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
29579 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
29580 (__posix_fadvise64_l32): Remove prototype.
29581 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
29582 code.
29583
29584 2014-05-13 Roland McGrath <roland@hack.frob.com>
29585
29586 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
29587 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
29588 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
29589 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
29590
29591 2014-05-13 Sami Kerola <kerolasa@iki.fi>
29592
29593 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
29594 current working directory
29595
29596 2014-05-13 Roland McGrath <roland@hack.frob.com>
29597
29598 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
29599 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
29600 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
29601 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
29602 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
29603 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
29604 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
29605 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
29606 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
29607 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
29608 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
29609 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
29610 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
29611 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
29612 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
29613 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
29614 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
29615 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
29616 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
29617 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
29618 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
29619 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
29620 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
29621 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
29622 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
29623 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
29624 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
29625 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
29626 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
29627 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
29628 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
29629 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
29630 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
29631 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
29632 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
29633 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
29634 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
29635 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
29636 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
29637 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
29638 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
29639 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
29640
29641 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
29642 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
29643
29644 * sysdeps/unix/sysv/linux/arm/Makefile
29645 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
29646 Add rt-aeabi_unwind_cpp_pr1.
29647 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
29648 Add nptl-aeabi_unwind_cpp_pr1.
29649 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
29650 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
29651 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
29652 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29653 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
29654 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29655
29656 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
29657 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
29658 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
29659 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
29660
29661 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
29662 Deconditionalize the code that was previously under [RESET_PID].
29663 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
29664
29665 * sysdeps/generic/exit-thread.h: New file.
29666 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
29667 * include/unistd.h (__exit_thread): Remove declaration.
29668 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
29669 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
29670 * csu/libc-start.c: Include <exit-thread.h>.
29671 (LIBC_START_MAIN): Pass no argument to __exit_thread.
29672 * nptl/pthread_create.c: Include <exit-thread.h>.
29673 (start_thread): Call __exit_thread in place of __exit_thread_inline.
29674 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
29675 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
29676 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
29677 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
29678 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
29679 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
29680 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
29681 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
29682 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
29683 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
29684 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
29685 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
29686 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
29687 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
29688 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
29689 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
29690
29691 2014-05-13 Andreas Schwab <schwab@suse.de>
29692
29693 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
29694
29695 2014-05-12 Joseph Myers <joseph@codesourcery.com>
29696
29697 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29698 (__ASSUME_UTIMES): Do not condition on kernel version.
29699 (__ASSUME_PSELECT): Define unconditionally.
29700 (__ASSUME_PPOLL): Likewise.
29701 (__ASSUME_ATFCTS): Likewise.
29702 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
29703 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
29704 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
29705 (__ASSUME_UTIMENSAT): Define unconditionally.
29706 (__ASSUME_PRIVATE_FUTEX): Likewise.
29707 (__ASSUME_FALLOCATE): Likewise.
29708 (__ASSUME_O_CLOEXEC): Likewise.
29709 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
29710 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
29711 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
29712 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
29713 (__ASSUME_IN_NONBLOCK): Likewise.
29714 (__ASSUME_PIPE2): Likewise.
29715 (__ASSUME_EVENTFD2): Likewise.
29716 (__ASSUME_SIGNALFD4): Likewise.
29717 (__ASSUME_DUP3): Likewise.
29718 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29719 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
29720 (__ASSUME_AT_RANDOM): Likewise.
29721 (__ASSUME_PREADV): Likewise.
29722 (__ASSUME_PWRITEV): Likewise.
29723 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
29724 (__ASSUME_F_GETOWN_EX): Define unconditionally.
29725 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
29726 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29727 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
29728 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29729 (__ASSUME_O_CLOEXEC): Define unconditionally.
29730 (__ASSUME_PSELECT): Do not undefine conditionally.
29731 (__ASSUME_PPOLL): Likewise.
29732 (__ASSUME_ATFCTS): Likewise.
29733 (__ASSUME_SET_ROBUST_LIST): Likewise.
29734 (__ASSUME_UTIMENSAT): Likewise.
29735 (__ASSUME_FDATASYNC): Define unconditionally.
29736 * sysdeps/unix/sysv/linux/arm/kernel-features.h
29737 (__ASSUME_SIGFRAME_V2): Likewise.
29738 )__ASSUME_EVENTFD2): Likewise.
29739 (__ASSUME_SIGNALFD4): Likewise.
29740 (__ASSUME_PSELECT): Do not undefine conditionally.
29741 (__ASSUME_PPOLL): Likewise.
29742 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29743 (__ASSUME_PSELECT): Define unconditionally.
29744 (__ASSUME_PPOLL): Likewise.
29745 (__ASSUME_O_CLOEXEC): Likewise.
29746 (__ASSUME_SOCK_CLOEXEC): Likewise.
29747 (__ASSUME_IN_NONBLOCK): Likewise.
29748 (__ASSUME_PIPE2): Likewise.
29749 (__ASSUME_EVENTFD2): Likewise.
29750 (__ASSUME_SIGNALFD4): Likewise.
29751 (__ASSUME_DUP3): Likewise.
29752 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29753 (__ASSUME_O_CLOEXEC): Likewise.
29754 (__ASSUME_SOCK_CLOEXEC): Likewise.
29755 (__ASSUME_IN_NONBLOCK): Likewise.
29756 (__ASSUME_PIPE2): Likewise.
29757 (__ASSUME_EVENTFD2): Likewise.
29758 (__ASSUME_SIGNALFD4): Likewise.
29759 (__ASSUME_DUP3): Likewise.
29760 * sysdeps/unix/sysv/linux/mips/kernel-features.h
29761 (__ASSUME_EVENTFD2): Likewise.
29762 (__ASSUME_SIGNALFD4): Likewise.
29763 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29764
29765 2014-05-12 Andreas Schwab <schwab@suse.de>
29766
29767 [BZ #16932]
29768 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
29769 (_nss_nis_gethostbyname4_r): Return error if item length is larger
29770 than maximum RPC packet size.
29771 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
29772 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
29773 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
29774 (_nss_nis_getservbyport_r): Likewise.
29775
29776 2014-05-12 Will Newton <will.newton@linaro.org>
29777
29778 * malloc/Makefile (tests): Add tst-mallopt.
29779 * malloc/tst-mallopt.c: New file.
29780
29781 2014-05-09 Roland McGrath <roland@hack.frob.com>
29782
29783 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
29784 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
29785
29786 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29787
29788 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
29789 (tst-tlsmod6.so): Likewise.
29790
29791 2014-05-09 Roland McGrath <roland@hack.frob.com>
29792
29793 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
29794
29795 2014-05-09 Joseph Myers <joseph@codesourcery.com>
29796
29797 [BZ #16064]
29798 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
29799 and <dl-procinfo.h>.
29800 (__fegetenv): Save SSE state in envp->__eip if supported.
29801 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
29802 envp->__eip if supported.
29803 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
29804 and <dl-procinfo.h>.
29805 (__fesetenv): Always set __eip, __cs_selector, __opcode,
29806 __data_offset and __data_selector in environment to 0. Set SSE
29807 state if supported.
29808 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
29809 test-fenv-sse.
29810 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
29811 -mfpmath=sse.
29812 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
29813
29814 2014-05-09 Will Newton <will.newton@linaro.org>
29815
29816 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
29817 and libc_relro_required for ARM.
29818 * sysdeps/arm/preconfigure: Regenerate.
29819
29820 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
29821 Stefan Liebler <stli@linux.vnet.ibm.com>
29822
29823 * config.make.in (enable-lock-elision): New Makefile variable.
29824 * configure.ac: Likewise.
29825 * configure: Regenerate.
29826 * sysdeps/s390/configure.ac:
29827 Add check for gcc transactions support.
29828 * sysdeps/s390/configure: Regenerate.
29829 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
29830 Build elision files if enabled.
29831 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
29832 Add lock elision support for s390.
29833 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
29834 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
29835 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
29836 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
29837 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
29838 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
29839 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29840 Likewise.
29841 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
29842 Likewise.
29843 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
29844 Likewise.
29845 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
29846 Likewise.
29847 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
29848 (__lll_timedlock_elision, __lll_lock_elision)
29849 (__lll_unlock_elision, __lll_trylock_elision)
29850 (lll_timedlock_elision, lll_lock_elision)
29851 (lll_unlock_elision, lll_trylock_elision): Add.
29852 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29853 (pthread_mutex_t): Add lock elision support for s390.
29854
29855 2014-05-14 Wilco <wdijkstr@arm.com>
29856
29857 * sysdeps/arm/fclrexcpt.c: Cleanup.
29858 * sysdeps/arm/fedisblxcpt.c: Cleanup.
29859 * sysdeps/arm/feenablxcpt.c: Cleanup.
29860 * sysdeps/arm/fegetenv.c: Cleanup.
29861 * sysdeps/arm/fegetexcept.c: Cleanup.
29862 * sysdeps/arm/fegetround.c: Cleanup.
29863 * sysdeps/arm/feholdexcpt.c: Cleanup.
29864 * sysdeps/arm/fesetenv.c: Cleanup.
29865 * sysdeps/arm/fesetround.c: Cleanup.
29866 * sysdeps/arm/feupdateenv.c: Cleanup.
29867 * sysdeps/arm/fgetexcptflg.c: Cleanup.
29868 * sysdeps/arm/fraiseexcpt.c: Cleanup.
29869 * sysdeps/arm/fsetexcptflg.c: Cleanup.
29870 * sysdeps/arm/ftestexcept.c: Cleanup.
29871 * sysdeps/arm/get-rounding-mode.h: Cleanup.
29872 * sysdeps/arm/setfpucw.c: Cleanup.
29873
29874 2014-05-09 Will Newton <will.newton@linaro.org>
29875
29876 * sysdeps/arm/armv7/strcmp.S: New file.
29877 * NEWS: Mention addition of ARMv7 optimized strcmp.
29878
29879 2014-05-08 Roland McGrath <roland@hack.frob.com>
29880
29881 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
29882 look for %.ac rather than %.in.
29883
29884 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
29885 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
29886 * sysdeps/mach/hurd/configure: Regenerated.
29887 * sysdeps/unix/sysv/linux/configure: Regenerated.
29888
29889 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
29890
29891 2014-05-07 Steve Ellcey <sellcey@mips.com>
29892
29893 [BZ# 16922]
29894 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
29895 (LONG_SUB): Ditto.
29896 (PTR_SUB): Ditto.
29897
29898 2014-05-07 Andreas Schwab <schwab@suse.de>
29899
29900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
29901 when skipping over non-matching result from nscd.
29902
29903 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
29904
29905 [BZ #16876]
29906 * nptl/sockperf.c (client): Check socket return value.
29907
29908 [BZ #16877]
29909 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
29910 nscd security class.
29911
29912 2014-05-06 Roland McGrath <roland@hack.frob.com>
29913
29914 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
29915 * sysdeps/arm/unwind.h: ... here.
29916
29917 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
29918
29919 [BZ# 16916]
29920 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
29921 Define.
29922
29923 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
29924
29925 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
29926 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
29927 multiarch strncpy for PPC64.
29928 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
29929 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
29930 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
29931 multiarch optimizations.
29932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29933 (__libc_ifunc_impl_list): Likewise.
29934 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
29935 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
29936 multiarch stpncpy for PPC64.
29937 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
29938 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
29939
29940 2014-05-06 Andreas Schwab <schwab@suse.de>
29941
29942 [BZ #16912]
29943 * gmon/mcount.c (_MCOUNT_DECL): Use
29944 atomic_compare_and_exchange_bool_acq instead of
29945 catomic_compare_and_exchange_bool_acq.
29946
29947 2014-05-05 Roland McGrath <roland@hack.frob.com>
29948
29949 * elf/Makefile (others, install-bin): Remove pldd.
29950 (pldd-modules): Variable removed.
29951 ($(objpfx)pldd): Target removed.
29952 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
29953 (others, install-bin): Append pldd here.
29954 ($(objpfx)pldd): New target.
29955
29956 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
29957 to 0, so the first #if test emitted later doesn't see it undefined.
29958 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
29959 * sysdeps/gnu/errlist.c: Regenerated.
29960
29961 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29962
29963 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29964 [libc_hidden_builtin_def]: Define to empty value.
29965 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
29966 [libc_hidden_builtin_def]: Likewise.
29967 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
29968 [libc_hidden_builtin_def]: Likewise.
29969 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
29970 [libc_hidden_builtin_def]: Likewise.
29971 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
29972 __redirect_memcpy and define ifunc as default hidden symbol.
29973 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
29974 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
29975
29976 2014-05-04 Adam Conrad <adconrad@0c3.net>
29977
29978 * locale/iso-4217.def: Reintroduce XDR currency.
29979
29980 2014-05-04 Allan McRae <allan@archlinux.org>
29981
29982 * po/eo.po: Update Esperanto translation from translation project.
29983
29984 2014-05-02 Carlos O'Donell <carlos@redhat.com>
29985
29986 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
29987 and FEATURE_INDEX_MAX to 1.
29988 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
29989
29990 2014-05-01 Steve Ellcey <sellcey@mips.com>
29991
29992 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
29993 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
29994 * iconvdata/big5.c (ONE_DIRECTION): Define.
29995 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
29996 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
29997 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
29998 * iconvdata/cp932.c (ONE_DIRECTION): Define.
29999 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
30000 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
30001 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
30002 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
30003 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
30004 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
30005 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
30006 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
30007 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
30008 * iconvdata/gbk.c (ONE_DIRECTION): Define.
30009 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
30010 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
30011 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
30012 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
30013 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
30014 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
30015 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
30016 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
30017 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
30018 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
30019 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
30020 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
30021 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
30022 * iconvdata/iso646.c (ONE_DIRECTION): Define.
30023 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
30024 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
30025 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
30026 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
30027 * iconvdata/johab.c (ONE_DIRECTION): Define.
30028 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
30029 * iconvdata/sjis.c (ONE_DIRECTION): Define.
30030 * iconvdata/t.61.c (ONE_DIRECTION): Define.
30031 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
30032 * iconvdata/tscii.c (ONE_DIRECTION): Define.
30033 * iconvdata/uhc.c (ONE_DIRECTION): Define.
30034 * iconvdata/unicode.c (ONE_DIRECTION): Define.
30035 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
30036 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
30037 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
30038
30039 2014-05-01 Roland McGrath <roland@hack.frob.com>
30040
30041 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
30042 (_IO_JUMPS_OFFSET): Define to 0.
30043
30044 * nptl/sysdeps/pthread/bits/libc-lock.h
30045 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30046 (__libc_lock_define_initialized_recursive): Always define using
30047 initializer. Modern compilers treat uninitialized (implicit zero) and
30048 explicit zero initializers the same (i.e. put the datum in bss).
30049
30050 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
30051
30052 * nscd/nscd-client.h: Include <string.h>.
30053
30054 2014-05-01 David S. Miller <davem@davemloft.net>
30055
30056 [BZ #16885]
30057 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
30058 multiple zero bytes exist at the end of a string.
30059 Reported by Aurelien Jarno <aurelien@aurel32.net>
30060
30061 * string/test-strcmp.c (check): Add explicit test for situations where
30062 there are multiple zero bytes after the first.
30063
30064 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
30065
30066 [BZ #16890]
30067 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
30068 when compiling wprintf.
30069 * stdio-common/tstdiomisc.c (t3): New function.
30070 (main): Call it.
30071
30072 2014-05-01 Steve Ellcey <sellcey@mips.com>
30073
30074 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
30075 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
30076 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
30077 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
30078
30079 2014-05-01 Steve Ellcey <sellcey@mips.com>
30080
30081 * stdlib/longlong.h: Updated from GCC.
30082
30083 2014-05-01 Will Newton <will.newton@linaro.org>
30084 Bernard Ogden <bernie.ogden@linaro.org>
30085
30086 * NEWS: Update fixed bug list.
30087
30088 [BZ #15119]
30089 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
30090
30091 2014-04-30 David S. Miller <davem@davemloft.net>
30092
30093 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
30094 (libc_feholdexcept_setround_sparc_ctx): New function.
30095 (libc_fesetenv_sparc_ctx): Likewise.
30096 (libc_feupdateenv_sparc_ctx): Likewise.
30097 (libc_feholdsetround_sparc_ctx): Likewise.
30098 (libc_feholdexcept_setround_ctx): Define.
30099 (libc_feholdexcept_setroundf_ctx): Likewise.
30100 (libc_feholdexcept_setroundl_ctx): Likewise.
30101 (libc_fesetenv_ctx): Likewise.
30102 (libc_fesetenvf_ctx): Likewise.
30103 (libc_fesetenvl_ctx): Likewise.
30104 (libc_feupdateenv_ctx): Likewise.
30105 (libc_feupdateenvf_ctx): Likewise.
30106 (libc_feupdateenvl_ctx): Likewise.
30107 (libc_feresetround_ctx): Likewise.
30108 (libc_feresetroundf_ctx): Likewise.
30109 (libc_feresetroundl_ctx): Likewise.
30110 (libc_feholdsetround_ctx): Likewise.
30111 (libc_feholdsetroundf_ctx): Likewise.
30112 (libc_feholdsetroundl_ctx): Likewise.
30113
30114 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30115 with __USE_GNU instead of XOPEN cpp guards.
30116
30117 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
30118 0.
30119
30120 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30121 with XOPEN cpp guards.
30122
30123 2014-04-30 Julian Brown <julian@codesourcery.com>
30124
30125 [BZ #16888]
30126 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
30127 handling.
30128
30129 2014-04-30 Joseph Myers <joseph@codesourcery.com>
30130
30131 [BZ #9894]
30132 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
30133 Change to 2.6.32.
30134 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
30135 * sysdeps/unix/sysv/linux/configure: Regenerated.
30136 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
30137 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
30138 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
30139 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
30140 * README: Update reference to required Linux kernel version.
30141 * manual/install.texi (Linux): Update reference to required Linux
30142 kernel headers version.
30143 * INSTALL: Regenerated.
30144
30145 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
30146 header inclusion.
30147 [POSIX] (limits.h): Likewise.
30148 [POSIX] (math.h): Likewise.
30149 [POSIX] (sys/wait.h): Likewise.
30150 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
30151 function.
30152 [POSIX] (stddef.h): Do not allow header inclusion.
30153
30154 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30155
30156 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
30157
30158 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
30159
30160 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
30161 Return immediately after lll_futex_wake.
30162
30163 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30164
30165 [BZ #16791]
30166 * nscd/nscd-client.h (datahead_init_common): Initialize entire
30167 structure.
30168 (datahead_init_pos): Call datahead_init_common early.
30169 (datahead_init_neg): Likewise.
30170
30171 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
30172 datahead_init_neg): New functions.
30173 * nscd/aicache.c (addhstaiX): Use them.
30174 * nscd/grpcache.c (cache_addgr): Likewise.
30175 * nscd/hstcache.c (cache_addhst): Likewise.
30176 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30177 * nscd/netgroupcache.c (do_notfound): Likewise.
30178 (addgetnetgrentX): Likewise.
30179 (addinnetgrX): Likewise.
30180 * nscd/pwdcache.c (cache_addpw): Likewise.
30181 * nscd/servicescache.c (cache_addserv): Likewise.
30182
30183 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30184 Atsushi Onoe <atsushi@onoe.org>
30185
30186 [BZ #14308]
30187 [BZ #12994]
30188 [BZ #13651]
30189 * resolv/res_query.c (__libc_res_nsearch): Return if at least
30190 one response is valid.
30191 * resolv/res_send.c (send_dg): Check for validity of other
30192 response if the current response is a referral.
30193
30194 2014-04-29 Steve Ellcey <sellcey@mips.com>
30195
30196 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
30197
30198 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
30199
30200 [BZ #16823]
30201 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
30202 Always divide by positive zero when computing -Inf result.
30203 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30204 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30205
30206 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30207
30208 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
30209 FPSCR if value do not change.
30210 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30211 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
30212 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30213 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30214 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
30215 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
30216 function.
30217
30218 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
30219
30220 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
30221 * sysdeps/unix/sysv/linux/hppa: Move directory from
30222 ports/systeps/unix/sysv/linux/hppa.
30223 * README: Update listing for hppa-*-linux-gnu.
30224
30225 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
30226
30227 [BZ #16754]
30228 * manual/stdio.texi (Hook functions): Fix types of stream hook
30229 functions.
30230 [BZ #16854]
30231 * socket/sys/socket.h: Fix typo in comment.
30232
30233 2014-04-28 Wilco <wdijkstr@arm.com>
30234
30235 * sysdeps/arm/fenv_private.h: New file.
30236 * sysdeps/arm/math_private.h: New file.
30237 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
30238
30239 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
30240
30241 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
30242 with __int128_t.
30243 (La_x86_64_retval): Likewise.
30244
30245 2014-04-24 Ian Bolton <ian.bolton@arm.com>
30246
30247 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
30248 fpsr if value didn't change.
30249 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
30250 to fpcr if value didn't change.
30251 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
30252 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
30253 fpsr or fpcr if value didn't change.
30254 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30255 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
30256 fpcr if value didn't change.
30257 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
30258 to fpsr if value didn't change.
30259
30260 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30261
30262 * nptl/tst-sem3.c: Use test-skeleton.c
30263 (main): Rename to do_test. Use return instead of
30264 exit.
30265 * nptl/tst-sem4.c: Use test-skeleton.c
30266 (main): Rename to do_test.
30267
30268 2014-04-22 David S. Miller <davem@davemloft.net>
30269
30270 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30271 (struct sigaction): New struct member __glibc_reserved0, change
30272 type of sa_flags to int.
30273
30274 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
30275
30276 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
30277 (COUNT_LEADING_ZEROS_0): Define for AArch64.
30278
30279 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30280
30281 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
30282 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
30283
30284 2014-04-22 Will Newton <will.newton@linaro.org>
30285 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
30286
30287 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
30288 (__longjmp): Add longjmp and longjmp_target SystemTap
30289 probes.
30290 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
30291 (__sigsetjmp): Add setjmp SystemTap probe.
30292
30293 2014-04-17 Carlos O'Donell <carlos@redhat.com>
30294
30295 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
30296 match manual order.
30297
30298 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30299
30300 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
30301
30302 * sysdeps/powerpc/fpu/fenv_private.h
30303 (libc_feholdexcept_setroundl_ctx): Define to
30304 libc_feholdexcept_setround_ppc_ctx.
30305 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
30306 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
30307 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
30308 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
30309
30310 2014-04-17 Ian Bolton <ian.bolton@arm.com>
30311
30312 * sysdeps/aarch64/math-tests.h: New file.
30313
30314 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
30315
30316 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
30317 New.
30318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30319 Check and set bit_AVX2_Usable.
30320 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
30321 macro.
30322 (bit_AVX2): Likewise.
30323 (index_AVX2_Usable): Likewise.
30324 (CPUID_AVX2): Likewise.
30325 (HAS_AVX2): Likewise.
30326
30327 2014-04-17 Will Newton <will.newton@linaro.org>
30328
30329 * manual/setjmp.texi (System V contexts): Add note that
30330 calling setcontext on a context created by a call to a
30331 signal handler is undefined. Update text to note that
30332 setcontext from a signal handler is possible but not
30333 recommended.
30334
30335 [BZ #16629]
30336 * stdlib/tst-setcontext.c: Include signal.h.
30337 (main): Check that the signal stack before and
30338 after swapcontext is the same.
30339
30340 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
30341 Re-implement to restore registers in user code and avoid
30342 rt_sigreturn system call.
30343
30344 2014-04-17 Wilco <wdijkstr@arm.com>
30345
30346 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
30347 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
30348 * math/test-fenv.c: Skip exception trap tests on targets which only
30349 support non-stop mode.
30350
30351 2014-04-17 Ian Bolton <ian.bolton@arm.com>
30352 Wilco Dijkstra <wilco.dijkstra@arm.com>
30353
30354 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
30355 (libc_feholdsetround_aarch64_ctx)
30356 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
30357 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
30358 (libc_feresetround_ctx, libc_feresetroundf_ctx)
30359 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
30360 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
30361 (libc_feresetround_noexl_ctx): Define.
30362
30363 2014-04-16 Richard Henderson <rth@redhat.com>
30364
30365 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
30366
30367 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
30368 unwind tables.
30369
30370 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
30371 const from the non-libc, non-ldso copy.
30372
30373 * sysdeps/alpha/libm-test-ulps: Regenerate.
30374
30375 2014-04-16 Ian Bolton <ian.bolton@arm.com>
30376 Wilco Dijkstra <wilco.dijkstra@arm.com>
30377
30378 * sysdeps/aarch64/fpu/math_private.h: New file.
30379
30380 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
30381
30382 * sysdeps/aarch64/libm-test-ulps: Regenerate.
30383
30384 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
30385
30386 [BZ #16275]
30387 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
30388 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
30389 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
30390 Intel MPX bound registers before _dl_profile_fixup.
30391 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
30392 registers after _dl_profile_fixup. Save and restore bound
30393 registers bnd0/bnd1 when calling _dl_call_pltexit.
30394 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
30395 (LR_BND_OFFSET): Likewise.
30396 (LRV_BND0_OFFSET): Likewise.
30397 (LRV_BND1_OFFSET): Likewise.
30398
30399 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30400
30401 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
30402 to...
30403 * sysdeps/mach/hurd/i386/tls.h: ... here.
30404 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
30405 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
30406 fields.
30407
30408 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30409
30410 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
30411
30412 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
30413
30414 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30415
30416 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
30417
30418 [BZ #14770]
30419 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
30420 * sysdeps/s390/configure: Regenerate.
30421
30422 [BZ #16824]
30423 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
30424 Set round-to-nearest internally to reduce error accumulation.
30425
30426 2014-04-16 Alan Modra <amodra@gmail.com>
30427
30428 [BZ #16740]
30429 [BZ #16619]
30430 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
30431 * math/libm-test.inc (frexp_test_data): Add tests.
30432 * NEWS: Update fixed bug list.
30433
30434 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30435
30436 * benchtests/Makefile: Depend on libraries in build directory.
30437 (bench-math): Separate out math tests.
30438 (bench-pthread): Separate out pthread tests.
30439 (bench): Include math and pthread tests.
30440
30441 2014-04-14 Carlos O'Donell <carlos@redhat.com>
30442
30443 [BZ #16831]
30444 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
30445 _dl_debug_initialize.
30446
30447 * configure.ac: Remove SELinux header check.
30448 * configure: Regenerate.
30449 * nscd/selinux.c (perms): Array of const char* to permission names.
30450 (nscd_request_avc_has_perm): Call security_deny_unknown to find
30451 default policy. Call string_to_security_class and string_to_av_perm to
30452 translate strings. Enforce default policy and call avs_has_perm with
30453 results of translated strings.
30454
30455 2014-04-13 David S. Miller <davem@davemloft.net>
30456
30457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30458
30459 2014-04-12 Allan McRae <allan@archlinux.org>
30460
30461 [BZ #16838]
30462 * manual/string.texi (Collation Functions): Fix qsort argument
30463 order in example.
30464 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30465
30466 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
30467
30468 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
30469 Make the test a no-op if there are no exceptions defined.
30470
30471 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
30472
30473 * elf/Makefile (tests): make tst-dlopen-aout conditional on
30474 enable-hardcoded-path-in-tests
30475
30476 2014-04-11 Will Newton <will.newton@linaro.org>
30477
30478 * benchtests/Makefile (extra-objs): Add json-lib.o.
30479 (bench-func): Tidy up JSON output.
30480 * benchtests/bench-skeleton.c: Include json-lib.h.
30481 (main): Use JSON library functions to do output of
30482 benchmark results.
30483 * benchtests/bench-timing-type.c (main): Output the
30484 timing type simply, leaving formatting to the user.
30485 * benchtests/json-lib.c: New file.
30486 * benchtests/json-lib.h: Likewise.
30487
30488 2014-04-11 Torvald Riegel <triegel@redhat.com>
30489
30490 [BZ #15215]
30491 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
30492 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
30493 memory barriers. Add comments.
30494 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
30495 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
30496 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
30497 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
30498 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
30499 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
30500
30501 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
30502
30503 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
30504 * sysdeps/s390/s390-64/configure.ac: ... this ...
30505 * sysdeps/s390/configure.ac: ... to here.
30506 * sysdeps/s390/s390-32/configure: Delete file.
30507 * sysdeps/s390/s390-64/configure: Delete file.
30508 * sysdeps/s390/configure: Regenerate.
30509
30510 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
30511
30512 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
30513
30514 2014-04-11 Will Newton <will.newton@linaro.org>
30515
30516 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
30517 to zero if it is not defined elsewhere. (mtrim): Test
30518 the value of MALLOC_DEBUG with #if rather than #ifdef.
30519
30520 2014-04-10 Torvald Riegel <triegel@redhat.com>
30521
30522 * benchtests/pthread_once-inputs: New file.
30523 * benchtests/pthread_once-source.c: New file.
30524 * benchtests/README: Update documentation.
30525
30526 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
30527 H.J. Lu <hongjiu.lu@intel.com>
30528
30529 [BZ #16275]
30530 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
30531 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
30532 * sysdeps/x86_64/configure: Regenerated.
30533 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
30534 macro.
30535 (REGISTER_SAVE_RAX): Likewise.
30536 (REGISTER_SAVE_RCX): Likewise.
30537 (REGISTER_SAVE_RDX): Likewise.
30538 (REGISTER_SAVE_RSI): Likewise.
30539 (REGISTER_SAVE_RDI): Likewise.
30540 (REGISTER_SAVE_R8): Likewise.
30541 (REGISTER_SAVE_R9): Likewise.
30542 (REGISTER_SAVE_BND0): Likewise.
30543 (REGISTER_SAVE_BND1): Likewise.
30544 (REGISTER_SAVE_BND2): Likewise.
30545 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
30546 bound registers when calling _dl_fixup.
30547
30548 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30549
30550 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
30551 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
30552 of its definition.
30553 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
30554 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
30555 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
30556 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
30557 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
30558 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
30559 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
30560
30561 2014-04-09 Peter Brett <peter@peter-b.co.uk>
30562
30563 [BZ #15514]
30564 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
30565 pathconf(_PC_NAME_MAX).
30566
30567 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30568
30569 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
30570 Remove macro usage.
30571 (__PTHREAD_SPINS): Move definition to ...
30572 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30573 (__PTHREAD_SPINS): ... here.
30574 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30575 (__PTHREAD_SPIN): Likewise.
30576 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
30577 (__PTHREAD_SPIN): Likewise.
30578 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
30579 (__PTHREAD_SPIN): Likewise.
30580 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
30581 (__PTHREAD_SPIN): Likewise.
30582 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30583 (__PTHREAD_SPIN): Likewise.
30584 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30585 (__PTHREAD_SPIN): Likewise.
30586 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
30587 (__PTHREAD_SPIN): Likewise.
30588 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30589 (__PTHREAD_SPIN): Likewise.
30590 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30591 (__PTHREAD_SPIN): Likewise.
30592 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30593 (__PTHREAD_SPIN): Likewise.
30594 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30595 (__PTHREAD_SPIN): Likewise.
30596 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
30597 (__PTHREAD_SPIN): Likewise.
30598
30599 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
30600 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
30601 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
30602 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
30603 imply folder.
30604 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
30605 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
30606 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
30607 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
30608 correct imply path.
30609 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
30610 strlen symbol for non multi-arch builds.
30611 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
30612 missing hidden_def and weak_alias.
30613
30614 2014-04-08 Carlos O'Donell <carlos@redhat.com>
30615
30616 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
30617
30618 2014-04-07 Will Newton <will.newton@linaro.org>
30619
30620 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
30621 and contents. [!_LIBC] Remove #ifndef and contents.
30622 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
30623 * string/memccpy.c (__memccpy): Use ANSI prototype.
30624 * string/memfrob.c (memfrob): Likewise.
30625 * string/strcoll.c (STRCOLL): Likewise.
30626 * string/strlen.c (strlen): Likewise.
30627 * string/strtok.c (STRTOK): Likewise.
30628 * string/strcat.c: Remove unused #include of memcopy.h.
30629 (strcat): Use ANSI prototype.
30630 * string/strchr.c: Remove unused #include of memcopy.h.
30631 (strchr): Use ANSI prototype.
30632 * string/strcmp.c: Remove unused #include of memcopy.h.
30633 (strcmp): Use ANSI prototype.
30634 * string/strcpy.c: Remove unused #include of memcopy.h.
30635 (strcpy): Use ANSI prototype.
30636
30637 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30638
30639 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
30640 * config.make.in (config-extra-cppflags): Set it from
30641 libc_extra_cppflags.
30642 * configure.ac (libc_extra_cflags): Make it accumulate over
30643 configure fragments.
30644 (libc_extra_cppflags): New flag.
30645 * configure. Regenerate.
30646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30647 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
30648 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
30649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
30650
30651 [BZ #16815]
30652 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
30653 result for FE_DOWNWARD rounding mode.
30654 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
30655 Likewise.
30656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30657
30658 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
30659
30660 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
30661 in function argument name.
30662
30663 2014-04-03 David Svoboda <svoboda@cert.org>
30664
30665 [BZ #5666]
30666 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
30667 explicitly.
30668
30669 2014-04-03 Roland McGrath <roland@hack.frob.com>
30670
30671 * elf/dl-unmap-segments.h: New file.
30672 * sysdeps/generic/ldsodefs.h
30673 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
30674 * elf/dl-close.c: Include <dl-unmap-segments.h>.
30675 * elf/dl-fptr.c: Likewise.
30676 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
30677 * sysdeps/aarch64/tlsdesc.c: Likewise.
30678 * sysdeps/arm/tlsdesc.c: Likewise.
30679 * sysdeps/i386/tlsdesc.c: Likewise.
30680 * sysdeps/tile/dl-runtime.c: Likewise.
30681 * sysdeps/x86_64/tlsdesc.c: Likewise.
30682 * elf/dl-load.h: New file.
30683 * elf/dl-load.c: Include it.
30684 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
30685 Macros moved to dl-load.h.
30686 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
30687 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
30688 Use _dl_unmap_segments in place of __munmap.
30689 Break out segment-mapping loop into ...
30690 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
30691
30692 2014-04-03 Will Newton <will.newton@linaro.org>
30693
30694 * elf/dl-lookup.c (do_lookup_x): Remove comment
30695 referring to nested function and move variable
30696 declarations down to before first use.
30697
30698 2014-04-02 Joseph Myers <joseph@codesourcery.com>
30699
30700 [BZ #16799]
30701 [BZ #16800]
30702 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
30703 with 0 numerator.
30704 * math/s_catanf.c (__catanf): Likewise.
30705 * math/s_catanh.c (__catanh): Likewise.
30706 * math/s_catanhf.c (__catanhf): Likewise.
30707 * math/s_catanhl.c (__catanhl): Likewise.
30708 * math/s_catanl.c (__catanl): Likewise.
30709 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
30710 by positive zero when computing -Inf result.
30711 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
30712 (catanh_test): Likewise.
30713 * sysdeps/i386/fpu/libm-test-ulps: Update.
30714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30715
30716 [BZ #16789]
30717 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
30718 instead of using underflowing value in computing result.
30719 * math/s_clog10.c (__clog10): Likewise.
30720 * math/s_clog10f.c (__clog10f): Likewise.
30721 * math/s_clog10l.c (__clog10l): Likewise.
30722 * math/s_clogf.c (__clogf): Likewise.
30723 * math/s_clogl.c (__clogl): Likewise.
30724 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
30725 (clog10_test): Likewise.
30726 * sysdeps/i386/fpu/libm-test-ulps: Update.
30727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30728
30729 2014-04-02 Alan Modra <amodra@gmail.com>
30730
30731 [BZ #16739]
30732 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
30733 output when value is near a power of two. Use int64_t for lx and
30734 remove casts. Use decimal rather than hex exponent constants.
30735 Don't use long double multiplication when double will suffice.
30736 * math/libm-test.inc (nextafter_test_data): Add tests.
30737 * NEWS: Add 16739 and 16786 to bug list.
30738
30739 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
30740
30741 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
30742
30743 2014-04-01 Will Newton <will.newton@linaro.org>
30744
30745 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
30746 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
30747
30748 2014-04-01 Florian Weimer <fweimer@redhat.com>
30749
30750 [BZ #13347]
30751 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
30752 * nptl/tst-setuid2.c: New file.
30753 * nptl/Makefile (xtests): Add tst-setuid2.
30754
30755 2014-04-01 Alan Modra <amodra@gmail.com>
30756
30757 [BZ #16786]
30758 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
30759
30760 2014-03-31 Joseph Myers <joseph@codesourcery.com>
30761
30762 [BZ #6803]
30763 [BZ #6804]
30764 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
30765 set errno as appropriate.
30766 * math/w_scalbf.c (__scalbf): Likewise.
30767 * math/w_scalbl.c (__scalbl): Likewise.
30768 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
30769 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
30770 * math/libm-test.inc (scalb_test_data): Add errno expectations.
30771 Add more NaN tests.
30772
30773 [BZ #16349]
30774 * math/w_atan2.c: Include <errno.h>.
30775 (__atan2): Set errno for result underflowing to zero.
30776 * math/w_atan2f.c: Include <errno.h>.
30777 (__atan2f): Set errno for result underflowing to zero.
30778 * math/w_atan2l.c: Include <errno.h>.
30779 (__atan2l): Set errno for result underflowing to zero.
30780 * math/auto-libm-test-in: Don't allow missing errno for some atan2
30781 tests.
30782 * math/auto-libm-test-out: Regenerated.
30783
30784 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30785
30786 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30787 Encode instruction correctly in little endian.
30788 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30789 Likewise.
30790 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30791 Likewise.
30792 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30793 Likewise.
30794 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30795 Likewise.
30796
30797 2014-03-31 Joseph Myers <joseph@codesourcery.com>
30798
30799 [BZ #9894]
30800 * sysdeps/unix/sysv/linux/kernel-features.h
30801 [__sparc__ && !__arch64__ && !__sparc_v9__]
30802 (__ASSUME_SET_ROBUST_LIST): Do not define.
30803 [__sparc__ && !__arch64__ && !__sparc_v9__]
30804 (__ASSUME_FUTEX_LOCK_PI): Likewise.
30805 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
30806 Likewise.
30807 * sysdeps/unix/sysv/linux/arm/kernel-features.h
30808 (__ASSUME_FUTEX_LOCK_PI): Undefine.
30809 (__ASSUME_REQUEUE_PI): Likewise.
30810 (__ASSUME_SET_ROBUST_LIST): Likewise.
30811 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30812 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
30813 Undefine.
30814 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30815 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
30816 Likewise.
30817 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
30818 Likewise.
30819 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
30820 Likewise.
30821 * sysdeps/unix/sysv/linux/mips/kernel-features.h
30822 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
30823 Undefine.
30824 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
30825 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
30826 Likewise.
30827
30828 [BZ #16648]
30829 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30830 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
30831 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
30832
30833 2014-03-31 Will Newton <will.newton@linaro.org>
30834
30835 * benchtests/Makefile (bench): Add ffs and ffsll to list
30836 of tests.
30837 * benchtests/ffs-inputs: New file.
30838 * benchtests/ffsll-inputs: Likewise.
30839
30840 2014-03-29 Joseph Myers <joseph@codesourcery.com>
30841
30842 [BZ #16770]
30843 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
30844 too large before casting to int.
30845 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
30846 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
30847 * math/libm-test.inc (scalb_test_data): Add more tests.
30848
30849 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30850
30851 * benchtests/Makefile (DETAILED_OPT): New make option.
30852 (bench-func): Run benchmark program with -d if DETAILED_OPT is
30853 set.
30854 * benchtests/bench-skeleton.c: Include stdbool.h.
30855 (main): Store and print timings per input.
30856 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
30857 member to each argument value.
30858 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
30859 (_print_arg_data): Initialize per-input timing to 0.
30860
30861 * benchtests/Makefile (timing-type): New binary.
30862 (bench-clean): Also remove bench-timing-type.
30863 (bench): New target for timing-type.
30864 (bench-func): Print output in JSON format.
30865 * benchtests/bench-skeleton.c (main): Print output in JSON
30866 format.
30867 * benchtests/bench-timing-type.c: New file.
30868 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
30869 (TIMING_PRINT_STATS): Remove.
30870 * benchtests/scripts/bench.py (_print_arg_data): Store variant
30871 name separately.
30872
30873 * benchtests/bench-modf.c: Remove.
30874 * benchtests/modf-inputs: New inputs file.
30875
30876 2014-03-28 Joseph Myers <joseph@codesourcery.com>
30877
30878 [BZ #16362]
30879 * math/s_clog10.c (M_PI_LOG10E): New macro.
30880 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
30881 imaginary parts are 0.
30882 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
30883 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
30884 imaginary parts are 0.
30885 * math/s_clog10l.c (M_PI_LOG10El): New macro.
30886 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
30887 imaginary parts are 0.
30888 * math/libm-test.inc (clog10_test_data): Update expected results
30889 for when real and imaginary parts are 0.
30890
30891 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30892
30893 * elf/dl-load.c: Finish conversion of __builtin_expect into
30894 __glibc_{un}likely.
30895
30896 2014-03-27 Joseph Myers <joseph@codesourcery.com>
30897
30898 [BZ #16348]
30899 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
30900 1+x for argument with exponent below -67.
30901 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
30902 Likewise.
30903 * math/auto-libm-test-in: Add more tests of exp.
30904 * math/auto-libm-test-out: Regenerated.
30905
30906 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30907
30908 [BZ #16759]
30909 * inet/getnetgrent_r.c (get_nonempty_val): New function.
30910 (nscd_getnetgrent): Use it.
30911
30912 [BZ #16760]
30913 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
30914 of stpcpy.
30915
30916 2014-03-27 Andi Kleen <ak@linux.intel.com>
30917
30918 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
30919 (lll_robust_lock, lll_cond_lock, lll_timedlock)
30920 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30921 (lll_robust_unlock): Remove out of line section. Use cfi
30922 intrinsics.
30923 (LLL_STUB_UNWIND_INFO*): Remove.
30924 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
30925 (lll_robust_lock, lll_cond_lock, lll_timedlock)
30926 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30927 (lll_robust_unlock): Remove out of line section. Use cfi
30928 intrinsics.
30929 (LLL_STUB_UNWIND_INFO*): Remove.
30930
30931 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30932
30933 [BZ #16758]
30934 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
30935 blank values.
30936
30937 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
30938
30939 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
30940
30941 2014-03-26 Joseph Myers <joseph@codesourcery.com>
30942
30943 [BZ #16198]
30944 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
30945 fnstenv.
30946 * math/test-fenv-preserve.c: New file.
30947 * math/Makefile (tests): Add test-fenv-preserve.
30948
30949 2014-03-26 Will Newton <will.newton@linaro.org>
30950
30951 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
30952
30953 2014-03-25 Roland McGrath <roland@hack.frob.com>
30954
30955 * scripts/versionlist.awk: Partition the version sets and emit all
30956 GLIBC_* (sorted) before all others (sorted).
30957
30958 2014-03-25 Joseph Myers <joseph@codesourcery.com>
30959
30960 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
30961 GLIBC_2.2.5 version.
30962
30963 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30964
30965 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
30966 calls.
30967
30968 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
30969 previous change.
30970
30971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30972
30973 2014-03-25 Andreas Schwab <schwab@suse.de>
30974
30975 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
30976 label to be used after in6ailist is initialized.
30977
30978 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30979
30980 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30981 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30982
30983 2014-03-25 Joseph Myers <joseph@codesourcery.com>
30984
30985 [BZ #16357]
30986 [BZ #16599]
30987 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
30988 min_plus_half.
30989 (fp_formats): Update initializers.
30990 (init_fp_formats): Initialize new field.
30991 (output_for_one_input_case): Allow underflow for results up to
30992 min_plus_half.
30993 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
30994 * math/auto-libm-test-in: Don't mark some underflows from asin and
30995 atanh as spurious.
30996 * math/auto-libm-test-out: Regenerated.
30997 * sysdeps/i386/fpu/libm-test-ulps: Update.
30998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30999
31000 2014-03-25 Andreas Schwab <schwab@suse.de>
31001
31002 * libio/Makefile (tst-ftell-partial-wide-ENV)
31003 (tst-ftell-active-handler-ENV): Define.
31004
31005 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
31006
31007 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
31008
31009 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
31010
31011 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
31012
31013 2014-03-24 Joseph Myers <joseph@codesourcery.com>
31014
31015 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
31016 * sysdeps/x86_64/fpu/multiarch/e_exp.c
31017 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
31018
31019 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
31020
31021 [BZ #16634]
31022 * elf/dl-load.c (open_verify): Add mode parameter.
31023 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
31024 (open_path): Change from boolean 'secure' to complete flag 'mode'
31025 (_dl_map_object): Adjust.
31026 * elf/Makefile (tests): Add tst-dlopen-aout.
31027 * elf/tst-dlopen-aout.c: New test.
31028
31029 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
31030
31031 [BZ #16714]
31032 * sysdeps/unix/sysv/linux/s390/bits/stat.h
31033 (struct stat): Rename member pad0 to __glibc_reserved0.
31034
31035 [BZ #16712]
31036 * sysdeps/s390/s390-32/bits/wordsize.h
31037 (__WORDSIZE32_SIZE_ULONG): New define.
31038 * sysdeps/s390/s390-64/bits/wordsize.h
31039 (__WORDSIZE32_SIZE_ULONG): Likewise.
31040 * sysdeps/generic/stdint.h (SIZE_MAX):
31041 Define as UL if __WORDSIZE32_SIZE_ULONG.
31042
31043 [BZ #16713]
31044 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31045 (__glibc_reserved0): New variable.
31046 (sa_flags): Change type to int.
31047
31048 * posix/Makefile (before-compile): Use += before-compile instead
31049 of a :=.
31050
31051 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31052 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31053
31054 2014-03-20 Andreas Schwab <schwab@suse.de>
31055
31056 [BZ #16743]
31057 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
31058 non-matching result from nscd.
31059
31060 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31061
31062 * scripts/bench.py: Moved to ...
31063 * benchtests/scripts/bench.py: ... here.
31064 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
31065
31066 2014-03-24 Andreas Schwab <schwab@suse.de>
31067
31068 [BZ #16002]
31069 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
31070 alloca_account and account alloca use for struct in6ailist.
31071
31072 2014-03-24 Joseph Myers <joseph@codesourcery.com>
31073
31074 [BZ #16284]
31075 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
31076 rounding mode to recompute results that overflow to infinity or
31077 underflow to zero.
31078 * math/auto-libm-test-in: Don't mark tests as expected to fail for
31079 bug 16284.
31080 * math/auto-libm-test-out: Regenerated.
31081 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
31082 (ccosh_test): Likewise.
31083 (csin_test_data): Use plus_oflow.
31084 (csin_test): Use ALL_RM_TEST.
31085 (csinh_test_data): Use plus_oflow.
31086 (csinh_test): Use ALL_RM_TEST.
31087 * sysdeps/i386/fpu/libm-test-ulps: Update.
31088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31089
31090 2014-03-21 Joseph Myers <joseph@codesourcery.com>
31091
31092 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
31093 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
31094 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
31095
31096 [BZ #16731]
31097 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
31098 when x - 1 is zero.
31099 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
31100 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
31101 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31102 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
31103 argument is 1.
31104 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
31105 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
31106 zero.
31107 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
31108 * sysdeps/i386/fpu/libm-test-ulps: Update.
31109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31110
31111 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31112
31113 * scripts/bench.pl: Remove file.
31114 * scripts/bench.py: New benchmark script.
31115 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
31116 * benchtests/README: Mention python dependency.
31117 * scripts/pylintrc: New file.
31118 * scripts/pylint: New file.
31119
31120 * bits/mathdef.h: Use #ifdef instead of #if.
31121 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
31122 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31123 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
31124 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31125 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
31126 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31127
31128 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31129 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
31130
31131 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
31132 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
31133 and strpbrk-ppc64 objects.
31134 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31135 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
31136 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
31137 multiarch strpbrk for POWER7.
31138 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
31139 multiarch strpbrk for PPC64.
31140 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
31141 ifunc selector.
31142 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
31143 strpbrk for POWER7.
31144
31145 2014-03-20 Joseph Myers <joseph@codesourcery.com>
31146
31147 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
31148 (atan_test): Likewise.
31149 (atanh_test_data): Use NO_TEST_INLINE for two tests.
31150 (atanh_test): Use ALL_RM_TEST.
31151 (atan2_test_data): Likewise.
31152 (cabs_test): Likewise.
31153 (cacosh_test): Likewise.
31154 (carg_test): Likewise.
31155 (casin_test): Likewise.
31156 (casinh_test): Likewise.
31157 (cbrt_test): Likewise.
31158 (csqrt_test): Likewise.
31159 (erf_test): Likewise.
31160 (erfc_test): Likewise.
31161 (pow10_test): Likewise.
31162 (exp2_test): Likewise.
31163 (hypot_test): Likewise.
31164 (j0_test): Likewise.
31165 (j1_test): Likewise.
31166 (lgamma_test): Likewise.
31167 (gamma_test): Likewise.
31168 (sincos_test): Likewise.
31169 (tanh_test): Likewise.
31170 (y0_test): Likewise.
31171 (y1_test): Likewise.
31172 * sysdeps/i386/fpu/libm-test-ulps: Update.
31173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31174
31175 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31176
31177 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
31178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
31179 and strcspn-ppc64 objects.
31180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31181 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
31182 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
31183 multiarch strcspn for POWER7.
31184 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
31185 multiarch strcspn for PPC64.
31186 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
31187 ifunc selector.
31188 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
31189 strcspn for POWER7.
31190
31191 2014-03-20 Joseph Myers <joseph@codesourcery.com>
31192
31193 * math/gen-libm-test.pl (generate_testfile): Expect only function
31194 name as argument to AUTO_TESTS_* and pass results for all rounding
31195 modes to parse_args.
31196 (parse_auto_input): Separate inputs of automatic tests from
31197 outputs before storing in %auto_tests.
31198 * math/libm-test.inc (acos_test_data): Update call to
31199 AUTO_TESTS_f_f.
31200 (acos_test): Use ALL_RM_TEST.
31201 (acos_tonearest_test_data): Remove.
31202 (acos_test_tonearest): Likewise.
31203 (acos_towardzero_test_data): Likewise.
31204 (acos_test_towardzero): Likewise.
31205 (acos_downward_test_data): Likewise.
31206 (acos_test_downward): Likewise.
31207 (acos_upward_test_data): Likewise.
31208 (acos_test_upward): Likewise.
31209 (acosh_test_data): Update call to AUTO_TESTS_f_f.
31210 (asin_test_data): Likewise.
31211 (asin_test): Use ALL_RM_TEST.
31212 (asin_tonearest_test_data): Remove.
31213 (asin_test_tonearest): Likewise.
31214 (asin_towardzero_test_data): Likewise.
31215 (asin_test_towardzero): Likewise.
31216 (asin_downward_test_data): Likewise.
31217 (asin_test_downward): Likewise.
31218 (asin_upward_test_data): Likewise.
31219 (asin_test_upward): Likewise.
31220 (asinh_test_data): Update call to AUTO_TESTS_f_f.
31221 (atan_test_data): Likewise.
31222 (atanh_test_data): Likewise.
31223 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
31224 (cabs_test_data): Update call to AUTO_TESTS_c_f.
31225 (carg_test_data): Likewise.
31226 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
31227 (ccos_test_data): Update call to AUTO_TESTS_c_c.
31228 (ccosh_test_data): Likewise.
31229 (cexp_test_data): Likewise.
31230 (clog_test_data): Likewise.
31231 (clog10_test_data): Likewise.
31232 (cos_test_data): Update call to AUTO_TESTS_f_f.
31233 (cos_test): Use ALL_RM_TEST.
31234 (cos_tonearest_test_data): Remove.
31235 (cos_test_tonearest): Likewise.
31236 (cos_towardzero_test_data): Likewise.
31237 (cos_test_towardzero): Likewise.
31238 (cos_downward_test_data): Likewise.
31239 (cos_test_downward): Likewise.
31240 (cos_upward_test_data): Likewise.
31241 (cos_test_upward): Likewise.
31242 (cosh_test_data): Update call to AUTO_TESTS_f_f.
31243 (cosh_test): Use ALL_RM_TEST.
31244 (cosh_tonearest_test_data): Remove.
31245 (cosh_test_tonearest): Likewise.
31246 (cosh_towardzero_test_data): Likewise.
31247 (cosh_test_towardzero): Likewise.
31248 (cosh_downward_test_data): Likewise.
31249 (cosh_test_downward): Likewise.
31250 (cosh_upward_test_data): Likewise.
31251 (cosh_test_upward): Likewise.
31252 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
31253 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
31254 (ctan_test_data): Likewise.
31255 (ctan_test): Use ALL_RM_TEST.
31256 (ctan_tonearest_test_data): Remove.
31257 (ctan_test_tonearest): Likewise.
31258 (ctan_towardzero_test_data): Likewise.
31259 (ctan_test_towardzero): Likewise.
31260 (ctan_downward_test_data): Likewise.
31261 (ctan_test_downward): Likewise.
31262 (ctan_upward_test_data): Likewise.
31263 (ctan_test_upward): Likewise.
31264 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
31265 (ctanh_test): Use ALL_RM_TEST.
31266 (ctanh_tonearest_test_data): Remove.
31267 (ctanh_test_tonearest): Likewise.
31268 (ctanh_towardzero_test_data): Likewise.
31269 (ctanh_test_towardzero): Likewise.
31270 (ctanh_downward_test_data): Likewise.
31271 (ctanh_test_downward): Likewise.
31272 (ctanh_upward_test_data): Likewise.
31273 (ctanh_test_upward): Likewise.
31274 (erf_test_data): Update call to AUTO_TESTS_f_f.
31275 (erfc_test_data): Likewise.
31276 (exp_test_data): Likewise.
31277 (exp_test): Use ALL_RM_TEST.
31278 (exp_tonearest_test_data): Remove.
31279 (exp_test_tonearest): Likewise.
31280 (exp_towardzero_test_data): Likewise.
31281 (exp_test_towardzero): Likewise.
31282 (exp_downward_test_data): Likewise.
31283 (exp_test_downward): Likewise.
31284 (exp_upward_test_data): Likewise.
31285 (exp_test_upward): Likewise.
31286 (exp10_test_data): Update call to AUTO_TESTS_f_f.
31287 (exp10_test): Use ALL_RM_TEST.
31288 (exp10_tonearest_test_data): Remove.
31289 (exp10_test_tonearest): Likewise.
31290 (exp10_towardzero_test_data): Likewise.
31291 (exp10_test_towardzero): Likewise.
31292 (exp10_downward_test_data): Likewise.
31293 (exp10_test_downward): Likewise.
31294 (exp10_upward_test_data): Likewise.
31295 (exp10_test_upward): Likewise.
31296 (exp2_test_data): Update call to AUTO_TESTS_f_f.
31297 (expm1_test_data): Likewise.
31298 (expm1_test): Use ALL_RM_TEST.
31299 (expm1_tonearest_test_data): Remove.
31300 (expm1_test_tonearest): Likewise.
31301 (expm1_towardzero_test_data): Likewise.
31302 (expm1_test_towardzero): Likewise.
31303 (expm1_downward_test_data): Likewise.
31304 (expm1_test_downward): Likewise.
31305 (expm1_upward_test_data): Likewise.
31306 (expm1_test_upward): Likewise.
31307 (fma_test_data): Update call to AUTO_TESTS_fff_f.
31308 (fma_test): Use ALL_RM_TEST.
31309 (fma_towardzero_test_data): Remove.
31310 (fma_test_towardzero): Likewise.
31311 (fma_downward_test_data): Likewise.
31312 (fma_test_downward): Likewise.
31313 (fma_upward_test_data): Likewise.
31314 (fma_test_upward): Likewise.
31315 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
31316 (j0_test_data): Update call to AUTO_TESTS_f_f.
31317 (j1_test_data): Likewise.
31318 (jn_test_data): Update call to AUTO_TESTS_if_f.
31319 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
31320 (log_test_data): Update call to AUTO_TESTS_f_f.
31321 (log10_test_data): Likewise.
31322 (log1p_test_data): Likewise.
31323 (log2_test_data): Likewise.
31324 (pow_test_data): Update call to AUTO_TESTS_ff_f.
31325 (pow_tonearest_test_data): Likewise.
31326 (sin_test_data): Update call to AUTO_TESTS_f_f.
31327 (sin_test): Use ALL_RM_TEST.
31328 (sin_tonearest_test_data): Remove.
31329 (sin_test_tonearest): Likewise.
31330 (sin_towardzero_test_data): Likewise.
31331 (sin_test_towardzero): Likewise.
31332 (sin_downward_test_data): Likewise.
31333 (sin_test_downward): Likewise.
31334 (sin_upward_test_data): Likewise.
31335 (sin_test_upward): Likewise.
31336 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
31337 (sinh_test_data): Update call to AUTO_TESTS_f_f.
31338 (sinh_test): Use ALL_RM_TEST.
31339 (sinh_tonearest_test_data): Remove.
31340 (sinh_test_tonearest): Likewise.
31341 (sinh_towardzero_test_data): Likewise.
31342 (sinh_test_towardzero): Likewise.
31343 (sinh_downward_test_data): Likewise.
31344 (sinh_test_downward): Likewise.
31345 (sinh_upward_test_data): Likewise.
31346 (sinh_test_upward): Likewise.
31347 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
31348 (sqrt_test): Use ALL_RM_TEST.
31349 (sqrt_tonearest_test_data): Remove.
31350 (sqrt_test_tonearest): Likewise.
31351 (sqrt_towardzero_test_data): Likewise.
31352 (sqrt_test_towardzero): Likewise.
31353 (sqrt_downward_test_data): Likewise.
31354 (sqrt_test_downward): Likewise.
31355 (sqrt_upward_test_data): Likewise.
31356 (sqrt_test_upward): Likewise.
31357 (tan_test_data): Update call to AUTO_TESTS_f_f.
31358 (tan_test): Use ALL_RM_TEST.
31359 (tan_tonearest_test_data): Remove.
31360 (tan_test_tonearest): Likewise.
31361 (tan_towardzero_test_data): Likewise.
31362 (tan_test_towardzero): Likewise.
31363 (tan_downward_test_data): Likewise.
31364 (tan_test_downward): Likewise.
31365 (tan_upward_test_data): Likewise.
31366 (tan_test_upward): Likewise.
31367 (tanh_test_data): Update call to AUTO_TESTS_f_f.
31368 (tgamma_test_data): Likewise.
31369 (y0_test_data): Likewise.
31370 (y1_test_data): Likewise.
31371 (yn_test_data): Update call to AUTO_TESTS_if_f.
31372 (main): Do not call removed functions.
31373
31374 2014-03-19 Joseph Myers <joseph@codesourcery.com>
31375
31376 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
31377 (ldexp_test_data): Remove.
31378 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
31379 scalbn_test_data.
31380 (scalb_test): Use ALL_RM_TEST.
31381
31382 2014-03-19 Andreas Schwab <schwab@suse.de>
31383
31384 * nscd/nscd.service: Also invalidate netgroup cache on reload.
31385
31386 2014-03-19 Joseph Myers <joseph@codesourcery.com>
31387
31388 [BZ #16649]
31389 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31390 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
31391 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
31392 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31393 (__ASSUME_PREADV): Undefine.
31394 (__ASSUME_PWRITEV): Likewise.
31395
31396 2014-03-18 Roland McGrath <roland@hack.frob.com>
31397
31398 * bits/mman-linux.h: Add comment about non-Linux use.
31399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
31400 bits/mman-linux.h resting place.
31401
31402 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
31403 * bits/mman-linux.h: ... here.
31404
31405 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31406
31407 * conform/conformtest.pl: Add standard definition when calling C
31408 preprocessor on data files.
31409 (checknamespace): Remove unused variable.
31410
31411 2014-03-18 Joseph Myers <joseph@codesourcery.com>
31412
31413 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
31414 minus_oflow, plus_uflow and minus_uflow in expected results.
31415 * math/libm-test.inc (scalbn_test_data): Add more tests of
31416 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
31417 minus_uflow.
31418 (scalbn_test): Use ALL_RM_TEST.
31419 (scalbln_test_data): Add more tests of negative arguments. Use
31420 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
31421 (scalbln_test): Use ALL_RM_TEST.
31422
31423 2014-03-18 Roland McGrath <roland@hack.frob.com>
31424
31425 * scripts/abilist.awk: Ignore symbols marked with .hidden.
31426
31427 2014-03-18 Will Newton <will.newton@linaro.org>
31428
31429 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
31430 inaccurate comment.
31431
31432 2014-03-18 Joseph Myers <joseph@codesourcery.com>
31433
31434 * Makerules [!subdir] (check-abi): Exit with error status if a
31435 test failed.
31436
31437 2014-03-17 Joseph Myers <joseph@codesourcery.com>
31438
31439 * math/libm-test.inc (nearbyint_test_data): Include all tests used
31440 for rint. Include results for all rounding modes.
31441 (nearbyint_test): Use ALL_RM_TEST.
31442 (rint_test_data): Include all tests used for nearbyint.
31443
31444 2014-03-17 Will Newton <will.newton@linaro.org>
31445
31446 * nptl/sysdeps/pthread/pthread.h: Revert previous
31447 change.
31448
31449 * sysdeps/generic/ldsodefs.h: Revert previous
31450 change.
31451
31452 * libio/genops.c: Revert previous change.
31453 * libio/libioP.h: Likewise.
31454 * stdio-common/vfprintf.c: Likewise.
31455
31456 * sysdeps/generic/math_private.h: Revert previous
31457 change.
31458
31459 * sysdeps/generic/math_private.h: Check whether
31460 HAVE_RM_CTX is defined with #ifdef rather
31461 than #if.
31462
31463 * argp/argp-fmtstream.h: Check whether
31464 __STRICT_ANSI__ is defined with #ifdef rather
31465 than #if.
31466 * argp/argp.h: Likewise.
31467
31468 * libio/genops.c: Check whether
31469 _IO_JUMPS_OFFSET is defined with #ifdef rather
31470 than #if.
31471 * libio/libioP.h: Likewise.
31472 * stdio-common/vfprintf.c: Likewise.
31473
31474 * sysdeps/generic/ldsodefs.h: Check whether
31475 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
31476 than #if.
31477
31478 * nptl/sysdeps/pthread/pthread.h: Check
31479 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
31480 its value.
31481
31482 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31483
31484 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
31485 setting O_APPEND.
31486 * libio/tst-ftell-active-handler.c (do_append_test): Add a
31487 test case.
31488
31489 [BZ #16680]
31490 * libio/fileops.c (_IO_file_open): Seek to end of file but
31491 don't cache the offset.
31492 (get_file_offset): Remove function.
31493 (do_ftell): Use cached offset when available.
31494 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
31495 don't cache the offset.
31496 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
31497 case.
31498 (do_one_test): Call it.
31499 (do_ftell_test): Fix up expected old offset for a+ mode.
31500 * libio/wfileops.c (do_ftell_wide): Used cached offset when
31501 available.
31502
31503 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
31504 up test status with function return status.
31505 (do_write_test): Likewise.
31506 (do_append_test): Likewise.
31507
31508 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
31509 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
31510 Remove.
31511
31512 2014-03-17 Joseph Myers <joseph@codesourcery.com>
31513
31514 * math/gen-libm-test.pl (parse_args): Handle results specified for
31515 each rounding mode separately.
31516 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
31517 tests and results from lrint_tonearest_test_data,
31518 lrint_towardzero_test_data, lrint_downward_test_data and
31519 lrint_upward_test_data.
31520 (lrint_test): Use ALL_RM_TEST.
31521 (lrint_tonearest_test_data): Remove.
31522 (lrint_test_tonearest): Likewise.
31523 (lrint_towardzero_test_data): Likewise.
31524 (lrint_test_towardzero): Likewise.
31525 (lrint_downward_test_data): Likewise.
31526 (lrint_test_downward): Likewise.
31527 (lrint_upward_test_data): Likewise.
31528 (lrint_test_upward): Likewise.
31529 (llrint_test_data): Merge in per-rounding-mode tests and results
31530 from llrint_tonearest_test_data, llrint_towardzero_test_data,
31531 llrint_downward_test_data and llrint_upward_test_data.
31532 (llrint_test): Use ALL_RM_TEST.
31533 (llrint_tonearest_test_data): Remove.
31534 (llrint_test_tonearest): Likewise.
31535 (llrint_towardzero_test_data): Likewise.
31536 (llrint_test_towardzero): Likewise.
31537 (llrint_downward_test_data): Likewise.
31538 (llrint_test_downward): Likewise.
31539 (llrint_upward_test_data): Likewise.
31540 (llrint_test_upward): Likewise.
31541 (rint_test_data): Merge in per-rounding-mode tests and results
31542 from rint_tonearest_test_data, rint_towardzero_test_data,
31543 rint_downward_test_data and rint_upward_test_data. Add
31544 per-rounding-mode results for tests not in those arrays.
31545 (rint_test): Use ALL_RM_TEST.
31546 (rint_tonearest_test_data): Remove.
31547 (rint_test_tonearest): Likewise.
31548 (rint_towardzero_test_data): Likewise.
31549 (rint_test_towardzero): Likewise.
31550 (rint_downward_test_data): Likewise.
31551 (rint_test_downward): Likewise.
31552 (rint_upward_test_data): Likewise.
31553 (rint_test_upward): Likewise.
31554 (main): Don't call removed functions.
31555
31556 2014-03-14 Roland McGrath <roland@hack.frob.com>
31557
31558 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
31559 "Compiled on ..." crapola. It is anti-useful.
31560
31561 2014-03-14 Joseph Myers <joseph@codesourcery.com>
31562
31563 * scripts/evaluate-test.sh: Handle fourth argument to determine
31564 whether test run should stop on failure.
31565 * Makeconfig (stop-on-test-failure): New variable.
31566 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
31567 $(stop-on-test-failure).
31568 * Makefile (tests): Give a summary of results from testing and
31569 exit with failure status if they include an ERROR or FAIL.
31570 (xtests): Likewise.
31571 * manual/install.texi (Configuring and compiling): Mention
31572 stop-on-test-failure=y.
31573 * INSTALL: Regenerated.
31574
31575 2014-03-14 Roland McGrath <roland@hack.frob.com>
31576
31577 * scripts/versionlist.awk: New file.
31578 * Makerules [$(build-shared) = yes]
31579 (postclean-generated): Add Versions.def, not Versions.def.v and
31580 Versions.def.v.i.
31581 ($(common-objpfx)Versions.def.v.i): Target removed.
31582 ($(common-objpfx)Versions.def): New target.
31583 ($(common-objpfx)Versions.all): Depend on that rather that
31584 $(common-objpfx)Versions.def.v.
31585 * Versions.def: File removed.
31586
31587 * Makeconfig (+gccwarn): Add -Wundef.
31588 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
31589 a dl-sysdep.h breaking its contract.
31590 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
31591 * include/stackinfo.h: New file.
31592 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
31593 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
31594 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
31595 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
31596 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
31597 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
31598 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31599 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31600 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31601 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31602 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31603 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
31604 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31605 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31606 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31607
31608 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31609
31610 [BZ #16707]
31611 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
31612 implementation.
31613 * math/libm-test.inc (round_test_data): Add more tests.
31614
31615 [BZ #16706]
31616 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
31617 implementation.
31618 * math/libm-test.inc (nearbyint_test_data): Add more tests.
31619
31620 [BZ #16701]
31621 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
31622 implementation.
31623 * math/libm-test.inc (ceil_test_data): Add more tests.
31624
31625 * math/libm-test.inc (trunc_test_data): Add more tests related to
31626 BZ#16414.
31627
31628 2014-03-14 Roland McGrath <roland@hack.frob.com>
31629
31630 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
31631 with #if rather than #ifdef.
31632 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
31633
31634 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
31635
31636 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
31637 first. Disable AVX-512 GCC support if assembler doesn't support
31638 it.
31639 * sysdeps/x86_64/configure: Regenerated.
31640
31641 2014-03-13 Carlos O'Donell <carlos@redhat.com>
31642
31643 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
31644 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
31645 (__old_pthread_attr_setstack): Likewise.
31646 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
31647 [!_STACK_GROWS_DOWN]: Likewise.
31648
31649 2014-03-13 Mike Frysinger <vapier@gentoo.org>
31650
31651 * config.make.in (have-bash2): Delete.
31652 * configure.ac (libc_cv_have_bash2): Delete.
31653 * configure: Regenerate.
31654 * elf/Makefile (common-ldd-rewrite): Rename to ...
31655 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
31656 (sh-ldd-rewrite): Delete.
31657 (bash-ldd-rewrite): Delete.
31658 (have-bash2): Delete checks.
31659 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
31660 ldd-rewrite.
31661
31662 * config.make.in (have-ksh): Delete.
31663 (KSH): Delete.
31664 * configure.ac (libc_cv_have_ksh): Delete.
31665 * configure: Regenerate.
31666
31667 * elf/Makefile: Delete $(have-ksh) check.
31668 ($(objpfx)sotruss): Change KSH to BASH.
31669 * elf/sotruss.ksh: Rename to ...
31670 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
31671 function style to match POSIX. Drop ksh vim mode setting.
31672
31673 * manual/time.texi (Specifying the Time Zone with TZ): Change
31674 Tuesday to Thursday.
31675
31676 * debug/tst-longjmp_chk2.c: Update header comment.
31677 (stackoverflow_handler): Add comment. Call assert on pass value.
31678
31679 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
31680
31681 [BZ #16194]
31682 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
31683 (HAVE_AVX512_ASM_SUPPORT): Likewise.
31684 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
31685 (La_x86_64_vector): Add zmm.
31686 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
31687 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
31688 ($(objpfx)tst-audit10): New target.
31689 ($(objpfx)tst-audit10.out): Likewise.
31690 (tst-audit10-ENV): New.
31691 (AVX512-CFLAGS): Likewise.
31692 (CFLAGS-tst-audit10.c): Likewise.
31693 (CFLAGS-tst-auditmod10a.c): Likewise.
31694 (CFLAGS-tst-auditmod10b.c): Likewise.
31695 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
31696 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
31697 * sysdeps/x86_64/configure: Regenerated.
31698 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
31699 AVX-512 zmm register support.
31700 (_dl_x86_64_save_sse): Likewise.
31701 (_dl_x86_64_restore_sse): Likewise.
31702 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
31703 size vector registers.
31704 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
31705 (ZMM_SIZE): Likewise.
31706 * sysdeps/x86_64/tst-audit10.c: New file.
31707 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
31708 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
31709
31710 2014-03-13 Roland McGrath <roland@hack.frob.com>
31711
31712 * configure.ac (HAVE_EHDR_START): New check.
31713 * configure: Regenerated.
31714 * config.h.in (HAVE_EHDR_START): New #undef.
31715 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
31716 assuming the lowest-addressed segment maps the start of the file.
31717
31718 2014-03-13 Joseph Myers <joseph@codesourcery.com>
31719
31720 * INSTALL: Regenerated.
31721
31722 2014-03-13 Will Newton <will.newton@linaro.org>
31723
31724 * manual/setjmp.texi (System V contexts): Improve
31725 clarity and grammar of documentation.
31726
31727 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
31728
31729 [BZ #16381]
31730 * elf/Makefile (tests): Add tst-pie2.
31731 (tests-pie): Add tst-pie2.
31732 * elf/tst-pie2.c: New file.
31733 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
31734 for ET_EXEC.
31735 * elf/rtld.c (map_doit): Load executable as lt_executable.
31736 (dl_main): Likewise.
31737
31738 2014-03-12 Joseph Myers <joseph@codesourcery.com>
31739
31740 [BZ #16642]
31741 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31742 (__ASSUME_PSELECT): Undefine.
31743
31744 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31745
31746 [BZ #16689]
31747 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
31748 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
31749 static build.
31750 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
31751 selector for static builds.
31752
31753 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31754
31755 [BZ #16695]
31756 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
31757 key in the buffer.
31758
31759 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31760
31761 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
31762 IFUNC selector for static builds.
31763
31764 2014-03-11 Joseph Myers <joseph@codesourcery.com>
31765
31766 * sysdeps/mips/math_private.h [__mips_hard_float]
31767 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
31768 libc_feresetround_mips_ctx.
31769 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
31770 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
31771 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
31772
31773 [BZ #16677]
31774 * math/s_nextafter.c (__nextafter): Do not return value from
31775 overflowing computation.
31776 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31777 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
31778 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31779 Likewise.
31780 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
31781 Likewise.
31782 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31783 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
31784
31785 2014-03-11 Roland McGrath <roland@hack.frob.com>
31786
31787 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
31788 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
31789 Move sfi_sp use from the load-multiple (that no longer sets sp) to
31790 the new mov targetting sp.
31791
31792 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31793
31794 [BZ #16683]
31795 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
31796 Define it for static builds as well.
31797 (NO_BZERO_IMPL): Likewise.
31798
31799 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
31800
31801 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
31802 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
31803 multiarch strspn for PPC64.
31804 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
31805 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
31806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31807 (__libc_ifunc_impl_list): Likewise.
31808 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
31809 multiarch optimizations
31810 * string/strspn.c (strspn): Using macro to redefine symbol name.
31811
31812 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
31813 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31814
31815 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
31816 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
31817 multiarch strncat for PPC64.
31818 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
31819 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
31820 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31821 (__libc_ifunc_impl_list): Likewise.
31822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
31823 multiarch optimizations
31824
31825 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31826
31827 [BZ #16639]
31828 * nscd/nscd.service: Make service type forking.
31829
31830 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31831
31832 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
31833 sign in non default rounding modes.
31834 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
31835
31836 2014-03-08 Joseph Myers <joseph@codesourcery.com>
31837
31838 * math/libm-test.inc (ALL_RM_TEST): New macro.
31839 (ceil_test): Use ALL_RM_TEST.
31840 (cimag_test): Likewise.
31841 (conj_test): Likewise.
31842 (copysign_test): Likewise.
31843 (cproj_test): Likewise.
31844 (creal_test): Likewise.
31845 (fabs_test): Likewise.
31846 (floor_test): Likewise.
31847 (fmax_test): Likewise.
31848 (fmin_test): Likewise.
31849 (fmod_test): Likewise.
31850 (fpclassify_test): Likewise.
31851 (frexp_test): Likewise.
31852 (ilogb_test): Likewise.
31853 (isfinite_test): Likewise.
31854 (finite_test): Likewise.
31855 (isgreater_test): Likewise.
31856 (isgreaterequal_test): Likewise.
31857 (isinf_test): Likewise.
31858 (isless_test): Likewise.
31859 (islessequal_test): Likewise.
31860 (islessgreater_test): Likewise.
31861 (isnan_test): Likewise.
31862 (isnormal_test): Likewise.
31863 (issignaling_test): Likewise.
31864 (isunordered_test): Likewise.
31865 (logb_test): Likewise.
31866 (logb_downward_test_data): Remove.
31867 (logb_test_downward): Likewise.
31868 (lround_test): Use ALL_RM_TEST.
31869 (llround_test): Likewise.
31870 (modf_test): Likewise.
31871 (nexttoward_test): Likewise.
31872 (remainder_test): Likewise.
31873 (drem_test): Likewise.
31874 (remainder_tonearest_test_data): Likewise.
31875 (remainder_test_tonearest): Likewise.
31876 (drem_test_tonearest): Likewise.
31877 (remainder_towardzero_test_data): Likewise.
31878 (remainder_test_towardzero): Likewise.
31879 (drem_test_towardzero): Likewise.
31880 (remainder_downward_test_data): Likewise.
31881 (remainder_test_downward): Likewise.
31882 (drem_test_downward): Likewise.
31883 (remainder_upward_test_data): Likewise.
31884 (remainder_test_upward): Likewise.
31885 (drem_test_upward): Likewise.
31886 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
31887 (round_test): Use ALL_RM_TEST.
31888 (signbit_test): Likewise.
31889 (trunc_test): Likewise.
31890 (significand_test): Likewise.
31891 (main): Don't call removed functions.
31892
31893 2014-03-07 Joseph Myers <joseph@codesourcery.com>
31894
31895 [BZ #16674]
31896 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
31897 || __USE_XOPEN2K8].
31898 (ILL_ILLOPN): Likewise.
31899 (ILL_ILLADR): Likewise.
31900 (ILL_ILLTRP): Likewise.
31901 (ILL_PRVOPC): Likewise.
31902 (ILL_PRVREG): Likewise.
31903 (ILL_COPROC): Likewise.
31904 (ILL_BADSTK): Likewise.
31905 (FPE_INTDIV): Likewise.
31906 (FPE_INTOVF): Likewise.
31907 (FPE_FLTDIV): Likewise.
31908 (FPE_FLTOVF): Likewise.
31909 (FPE_FLTUND): Likewise.
31910 (FPE_FLTRES): Likewise.
31911 (FPE_FLTINV): Likewise.
31912 (FPE_FLTSUB): Likewise.
31913 (SEGV_MAPERR): Likewise.
31914 (SEGV_ACCERR): Likewise.
31915 (BUS_ADRALN): Likewise.
31916 (BUS_ADRERR): Likewise.
31917 (BUS_OBJERR): Likewise.
31918 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31919 (TRAP_TRACE): Likewise.
31920 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31921 __USE_XOPEN2K8].
31922 (CLD_KILLED): Likewise.
31923 (CLD_DUMPED): Likewise.
31924 (CLD_TRAPPED): Likewise.
31925 (CLD_STOPPED): Likewise.
31926 (CLD_CONTINUED): Likewise.
31927 (POLL_IN): Likewise.
31928 (POLL_OUT): Likewise.
31929 (POLL_MSG): Likewise.
31930 (POLL_ERR): Likewise.
31931 (POLL_PRI): Likewise.
31932 (POLL_HUP): Likewise.
31933 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
31934 Likewise.
31935 (ILL_ILLOPN): Likewise.
31936 (ILL_ILLADR): Likewise.
31937 (ILL_ILLTRP): Likewise.
31938 (ILL_PRVOPC): Likewise.
31939 (ILL_PRVREG): Likewise.
31940 (ILL_COPROC): Likewise.
31941 (ILL_BADSTK): Likewise.
31942 (FPE_INTDIV): Likewise.
31943 (FPE_INTOVF): Likewise.
31944 (FPE_FLTDIV): Likewise.
31945 (FPE_FLTOVF): Likewise.
31946 (FPE_FLTUND): Likewise.
31947 (FPE_FLTRES): Likewise.
31948 (FPE_FLTINV): Likewise.
31949 (FPE_FLTSUB): Likewise.
31950 (SEGV_MAPERR): Likewise.
31951 (SEGV_ACCERR): Likewise.
31952 (BUS_ADRALN): Likewise.
31953 (BUS_ADRERR): Likewise.
31954 (BUS_OBJERR): Likewise.
31955 (BUS_MCEERR_AR): Likewise.
31956 (BUS_MCEERR_AO): Likewise.
31957 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31958 (TRAP_TRACE): Likewise.
31959 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31960 __USE_XOPEN2K8].
31961 (CLD_KILLED): Likewise.
31962 (CLD_DUMPED): Likewise.
31963 (CLD_TRAPPED): Likewise.
31964 (CLD_STOPPED): Likewise.
31965 (CLD_CONTINUED): Likewise.
31966 (POLL_IN): Likewise.
31967 (POLL_OUT): Likewise.
31968 (POLL_MSG): Likewise.
31969 (POLL_ERR): Likewise.
31970 (POLL_PRI): Likewise.
31971 (POLL_HUP): Likewise.
31972 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
31973 (ILL_ILLOPN): Likewise.
31974 (ILL_ILLADR): Likewise.
31975 (ILL_ILLTRP): Likewise.
31976 (ILL_PRVOPC): Likewise.
31977 (ILL_PRVREG): Likewise.
31978 (ILL_COPROC): Likewise.
31979 (ILL_BADSTK): Likewise.
31980 (FPE_INTDIV): Likewise.
31981 (FPE_INTOVF): Likewise.
31982 (FPE_FLTDIV): Likewise.
31983 (FPE_FLTOVF): Likewise.
31984 (FPE_FLTUND): Likewise.
31985 (FPE_FLTRES): Likewise.
31986 (FPE_FLTINV): Likewise.
31987 (FPE_FLTSUB): Likewise.
31988 (SEGV_MAPERR): Likewise.
31989 (SEGV_ACCERR): Likewise.
31990 (BUS_ADRALN): Likewise.
31991 (BUS_ADRERR): Likewise.
31992 (BUS_OBJERR): Likewise.
31993 (BUS_MCEERR_AR): Likewise.
31994 (BUS_MCEERR_AO): Likewise.
31995 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31996 (TRAP_TRACE): Likewise.
31997 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31998 __USE_XOPEN2K8].
31999 (CLD_KILLED): Likewise.
32000 (CLD_DUMPED): Likewise.
32001 (CLD_TRAPPED): Likewise.
32002 (CLD_STOPPED): Likewise.
32003 (CLD_CONTINUED): Likewise.
32004 (POLL_IN): Likewise.
32005 (POLL_OUT): Likewise.
32006 (POLL_MSG): Likewise.
32007 (POLL_ERR): Likewise.
32008 (POLL_PRI): Likewise.
32009 (POLL_HUP): Likewise.
32010 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
32011 Likewise.
32012 (ILL_ILLOPN): Likewise.
32013 (ILL_ILLADR): Likewise.
32014 (ILL_ILLTRP): Likewise.
32015 (ILL_PRVOPC): Likewise.
32016 (ILL_PRVREG): Likewise.
32017 (ILL_COPROC): Likewise.
32018 (ILL_BADSTK): Likewise.
32019 (ILL_BADIADDR): Likewise.
32020 (ILL_BREAK): Likewise.
32021 (FPE_INTDIV): Likewise.
32022 (FPE_INTOVF): Likewise.
32023 (FPE_FLTDIV): Likewise.
32024 (FPE_FLTOVF): Likewise.
32025 (FPE_FLTUND): Likewise.
32026 (FPE_FLTRES): Likewise.
32027 (FPE_FLTINV): Likewise.
32028 (FPE_FLTSUB): Likewise.
32029 (FPE_DECOVF): Likewise.
32030 (FPE_DECDIV): Likewise.
32031 (FPE_DECERR): Likewise.
32032 (FPE_INVASC): Likewise.
32033 (FPE_INVDEC): Likewise.
32034 (SEGV_MAPERR): Likewise.
32035 (SEGV_ACCERR): Likewise.
32036 (SEGV_PSTKOVF): Likewise.
32037 (BUS_ADRALN): Likewise.
32038 (BUS_ADRERR): Likewise.
32039 (BUS_OBJERR): Likewise.
32040 (BUS_MCEERR_AR): Likewise.
32041 (BUS_MCEERR_AO): Likewise.
32042 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32043 (TRAP_TRACE): Likewise.
32044 (TRAP_BRANCH): Likewise.
32045 (TRAP_HWBKPT): Likewise.
32046 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32047 __USE_XOPEN2K8].
32048 (CLD_KILLED): Likewise.
32049 (CLD_DUMPED): Likewise.
32050 (CLD_TRAPPED): Likewise.
32051 (CLD_STOPPED): Likewise.
32052 (CLD_CONTINUED): Likewise.
32053 (POLL_IN): Likewise.
32054 (POLL_OUT): Likewise.
32055 (POLL_MSG): Likewise.
32056 (POLL_ERR): Likewise.
32057 (POLL_PRI): Likewise.
32058 (POLL_HUP): Likewise.
32059 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
32060 (ILL_ILLOPN): Likewise.
32061 (ILL_ILLADR): Likewise.
32062 (ILL_ILLTRP): Likewise.
32063 (ILL_PRVOPC): Likewise.
32064 (ILL_PRVREG): Likewise.
32065 (ILL_COPROC): Likewise.
32066 (ILL_BADSTK): Likewise.
32067 (FPE_INTDIV): Likewise.
32068 (FPE_INTOVF): Likewise.
32069 (FPE_FLTDIV): Likewise.
32070 (FPE_FLTOVF): Likewise.
32071 (FPE_FLTUND): Likewise.
32072 (FPE_FLTRES): Likewise.
32073 (FPE_FLTINV): Likewise.
32074 (FPE_FLTSUB): Likewise.
32075 (SEGV_MAPERR): Likewise.
32076 (SEGV_ACCERR): Likewise.
32077 (BUS_ADRALN): Likewise.
32078 (BUS_ADRERR): Likewise.
32079 (BUS_OBJERR): Likewise.
32080 (BUS_MCEERR_AR): Likewise.
32081 (BUS_MCEERR_AO): Likewise.
32082 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32083 (TRAP_TRACE): Likewise.
32084 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32085 __USE_XOPEN2K8].
32086 (CLD_KILLED): Likewise.
32087 (CLD_DUMPED): Likewise.
32088 (CLD_TRAPPED): Likewise.
32089 (CLD_STOPPED): Likewise.
32090 (CLD_CONTINUED): Likewise.
32091 (POLL_IN): Likewise.
32092 (POLL_OUT): Likewise.
32093 (POLL_MSG): Likewise.
32094 (POLL_ERR): Likewise.
32095 (POLL_PRI): Likewise.
32096 (POLL_HUP): Likewise.
32097 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
32098 (ILL_ILLOPN): Likewise.
32099 (ILL_ILLADR): Likewise.
32100 (ILL_ILLTRP): Likewise.
32101 (ILL_PRVOPC): Likewise.
32102 (ILL_PRVREG): Likewise.
32103 (ILL_COPROC): Likewise.
32104 (ILL_BADSTK): Likewise.
32105 (FPE_INTDIV): Likewise.
32106 (FPE_INTOVF): Likewise.
32107 (FPE_FLTDIV): Likewise.
32108 (FPE_FLTOVF): Likewise.
32109 (FPE_FLTUND): Likewise.
32110 (FPE_FLTRES): Likewise.
32111 (FPE_FLTINV): Likewise.
32112 (FPE_FLTSUB): Likewise.
32113 (SEGV_MAPERR): Likewise.
32114 (SEGV_ACCERR): Likewise.
32115 (BUS_ADRALN): Likewise.
32116 (BUS_ADRERR): Likewise.
32117 (BUS_OBJERR): Likewise.
32118 (BUS_MCEERR_AR): Likewise.
32119 (BUS_MCEERR_AO): Likewise.
32120 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32121 (TRAP_TRACE): Likewise.
32122 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32123 __USE_XOPEN2K8].
32124 (CLD_KILLED): Likewise.
32125 (CLD_DUMPED): Likewise.
32126 (CLD_TRAPPED): Likewise.
32127 (CLD_STOPPED): Likewise.
32128 (CLD_CONTINUED): Likewise.
32129 (POLL_IN): Likewise.
32130 (POLL_OUT): Likewise.
32131 (POLL_MSG): Likewise.
32132 (POLL_ERR): Likewise.
32133 (POLL_PRI): Likewise.
32134 (POLL_HUP): Likewise.
32135 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
32136 (ILL_ILLOPN): Likewise.
32137 (ILL_ILLADR): Likewise.
32138 (ILL_ILLTRP): Likewise.
32139 (ILL_PRVOPC): Likewise.
32140 (ILL_PRVREG): Likewise.
32141 (ILL_COPROC): Likewise.
32142 (ILL_BADSTK): Likewise.
32143 (FPE_INTDIV): Likewise.
32144 (FPE_INTOVF): Likewise.
32145 (FPE_FLTDIV): Likewise.
32146 (FPE_FLTOVF): Likewise.
32147 (FPE_FLTUND): Likewise.
32148 (FPE_FLTRES): Likewise.
32149 (FPE_FLTINV): Likewise.
32150 (FPE_FLTSUB): Likewise.
32151 (SEGV_MAPERR): Likewise.
32152 (SEGV_ACCERR): Likewise.
32153 (BUS_ADRALN): Likewise.
32154 (BUS_ADRERR): Likewise.
32155 (BUS_OBJERR): Likewise.
32156 (BUS_MCEERR_AR): Likewise.
32157 (BUS_MCEERR_AO): Likewise.
32158 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32159 (TRAP_TRACE): Likewise.
32160 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32161 __USE_XOPEN2K8].
32162 (CLD_KILLED): Likewise.
32163 (CLD_DUMPED): Likewise.
32164 (CLD_TRAPPED): Likewise.
32165 (CLD_STOPPED): Likewise.
32166 (CLD_CONTINUED): Likewise.
32167 (POLL_IN): Likewise.
32168 (POLL_OUT): Likewise.
32169 (POLL_MSG): Likewise.
32170 (POLL_ERR): Likewise.
32171 (POLL_PRI): Likewise.
32172 (POLL_HUP): Likewise.
32173 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
32174 (ILL_ILLOPN): Likewise.
32175 (ILL_ILLADR): Likewise.
32176 (ILL_ILLTRP): Likewise.
32177 (ILL_PRVOPC): Likewise.
32178 (ILL_PRVREG): Likewise.
32179 (ILL_COPROC): Likewise.
32180 (ILL_BADSTK): Likewise.
32181 (ILL_DBLFLT): Likewise.
32182 (ILL_HARDWALL): Likewise.
32183 (FPE_INTDIV): Likewise.
32184 (FPE_INTOVF): Likewise.
32185 (FPE_FLTDIV): Likewise.
32186 (FPE_FLTOVF): Likewise.
32187 (FPE_FLTUND): Likewise.
32188 (FPE_FLTRES): Likewise.
32189 (FPE_FLTINV): Likewise.
32190 (FPE_FLTSUB): Likewise.
32191 (SEGV_MAPERR): Likewise.
32192 (SEGV_ACCERR): Likewise.
32193 (BUS_ADRALN): Likewise.
32194 (BUS_ADRERR): Likewise.
32195 (BUS_OBJERR): Likewise.
32196 (BUS_MCEERR_AR): Likewise.
32197 (BUS_MCEERR_AO): Likewise.
32198 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32199 (TRAP_TRACE): Likewise.
32200 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32201 __USE_XOPEN2K8].
32202 (CLD_KILLED): Likewise.
32203 (CLD_DUMPED): Likewise.
32204 (CLD_TRAPPED): Likewise.
32205 (CLD_STOPPED): Likewise.
32206 (CLD_CONTINUED): Likewise.
32207 (POLL_IN): Likewise.
32208 (POLL_OUT): Likewise.
32209 (POLL_MSG): Likewise.
32210 (POLL_ERR): Likewise.
32211 (POLL_PRI): Likewise.
32212 (POLL_HUP): Likewise.
32213 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
32214 (ILL_ILLOPN): Likewise.
32215 (ILL_ILLADR): Likewise.
32216 (ILL_ILLTRP): Likewise.
32217 (ILL_PRVOPC): Likewise.
32218 (ILL_PRVREG): Likewise.
32219 (ILL_COPROC): Likewise.
32220 (ILL_BADSTK): Likewise.
32221 (FPE_INTDIV): Likewise.
32222 (FPE_INTOVF): Likewise.
32223 (FPE_FLTDIV): Likewise.
32224 (FPE_FLTOVF): Likewise.
32225 (FPE_FLTUND): Likewise.
32226 (FPE_FLTRES): Likewise.
32227 (FPE_FLTINV): Likewise.
32228 (FPE_FLTSUB): Likewise.
32229 (SEGV_MAPERR): Likewise.
32230 (SEGV_ACCERR): Likewise.
32231 (BUS_ADRALN): Likewise.
32232 (BUS_ADRERR): Likewise.
32233 (BUS_OBJERR): Likewise.
32234 (BUS_MCEERR_AR): Likewise.
32235 (BUS_MCEERR_AO): Likewise.
32236 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32237 (TRAP_TRACE): Likewise.
32238 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32239 __USE_XOPEN2K8].
32240 (CLD_KILLED): Likewise.
32241 (CLD_DUMPED): Likewise.
32242 (CLD_TRAPPED): Likewise.
32243 (CLD_STOPPED): Likewise.
32244 (CLD_CONTINUED): Likewise.
32245 (POLL_IN): Likewise.
32246 (POLL_OUT): Likewise.
32247 (POLL_MSG): Likewise.
32248 (POLL_ERR): Likewise.
32249 (POLL_PRI): Likewise.
32250 (POLL_HUP): Likewise.
32251 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
32252 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32253
32254 [BZ #16670]
32255 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
32256 before #include of <time.h>.
32257 [!__USE_XOPEN2K] (__need_timespec): Likewise.
32258 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
32259 (test-xfail-UNIX98/sched.h/conform): Likewise.
32260
32261 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
32262
32263 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
32264 error absence of trapping exception support.
32265 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32266
32267 2014-03-07 Joseph Myers <joseph@codesourcery.com>
32268
32269 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
32270 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
32271 * timezone/Makefile (testdata): Move definition above include of
32272 Rules.
32273 (test-zones): New variable.
32274 (tests-special): Add zone files.
32275 (build-testdata): Use $(evaluate-test).
32276
32277 * elf/Makefile (tests-special): Rename tests to end with .out.
32278 ($(objpfx)noload-mem): Likewise.
32279 ($(objpfx)tst-leaks1-mem): Likewise.
32280 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
32281 * iconv/Makefile (xtests-special): Change test-iconvconfig to
32282 $(objpfx)test-iconvconfig.out.
32283 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
32284 set -e inside subshell and redirect output to file.
32285 * iconvdata/Makefile (generated): Rename tests to end with .out.
32286 Correct type.
32287 (tests-special): Rename tests to end with .out.
32288 ($(objpfx)mtrace-tst-loading): Likewise.
32289 * intl/Makefile (generated): Likewise.
32290 (tests-special): Likewise.
32291 ($(objpfx)mtrace-tst-gettext): Likewise.
32292 * misc/Makefile (generated): Likewise.
32293 (tests-special): Likewise.
32294 ($(objpfx)tst-error1-mem): Likewise.
32295 * nptl/Makefile (tests-special): Likewise.
32296 ($(objpfx)tst-stack3-mem): Likewise.
32297 (generated): Likewise.
32298 * posix/Makefile (generated): Likewise.
32299 (tests-special): Likewise.
32300 (xtests-special): Likewise.
32301 ($(objpfx)tst-fnmatch-mem): Likewise.
32302 ($(objpfx)bug-regex2-mem): Likewise.
32303 ($(objpfx)bug-regex14-mem): Likewise.
32304 ($(objpfx)bug-regex21-mem): Likewise.
32305 ($(objpfx)bug-regex31-mem): Likewise.
32306 ($(objpfx)tst-vfork3-mem): Likewise.
32307 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32308 ($(objpfx)tst-pcre-mem): Likewise.
32309 ($(objpfx)tst-boost-mem): Likewise.
32310 ($(objpfx)bug-ga2-mem): Likewise.
32311 ($(objpfx)bug-glob2-mem): Likewise.
32312 * resolv/Makefile (generate): Likewise.
32313 (tests-special): Likewise.
32314 (xtests-special): Likewise.
32315 (generated): Likewise.
32316 ($(objpfx)mtrace-tst-leaks): Likewise.
32317 ($(objpfx)mtrace-tst-leaks2): Likewise.
32318
32319 * scripts/merge-test-results.sh: New file.
32320 * Makefile (tests-special-notdir): New variable.
32321 (tests): Run merge-test-results.sh.
32322 (xtests): Likewise.
32323 * Rules (tests-special-notdir): New variable.
32324 (xtests-special-notdir): Likewise.
32325 (tests): Run merge-test-results.sh
32326 (xtests): Likewise.
32327
32328 * Makeconfig (test-xfail-name): New variable.
32329 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
32330 compute variable name for expected failures.
32331 * conform/Makefile (conformtest-headers-data): New variable.
32332 (conformtest-standards): Likewise.
32333 (conformtest-headers-ISO): Likewise.
32334 (conformtest-headers-ISO99): Likewise.
32335 (conformtest-headers-ISO11): Likewise.
32336 (conformtest-headers-POSIX): Likewise.
32337 (conformtest-headers-XPG3): Likewise.
32338 (conformtest-headers-XPG4): Likewise.
32339 (conformtest-headers-UNIX98): Likewise.
32340 (conformtest-headers-XOPEN2K): Likewise.
32341 (conformtest-headers-POSIX2008): Likewise.
32342 (conformtest-headers-XOPEN2K8): Likewise.
32343 (conformtest-header-list-base): Likewise.
32344 (conformtest-header-list-tests): Likewise.
32345 (conformtest-header-base): Likewise.
32346 (conformtest-header-tests): Likewise.
32347 (tests-special): Add $(conformtest-header-list-tests). If
32348 [$(fast-check) && !$(cross-compiling)], add
32349 $(conformtest-header-tests) instead of
32350 $(objpfx)run-conformtest.out.
32351 (generated): Add $(conformtest-header-list-base). If
32352 [$(fast-check) && !$(cross-compiling)], add
32353 $(conformtest-header-base). Remove previous setting.
32354 ($(conformtest-header-list-tests)): New target.
32355 (test-xfail-run-conformtest): Remove variable.
32356 ($(objpfx)run-conformtest.out): Remove target.
32357 (test-xfail-ISO11/complex.h/conform): New variable.
32358 (test-xfail-ISO11/stdalign.h/conform): Likewise.
32359 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
32360 (test-xfail-XPG3/varargs.h/conform): Likewise.
32361 (test-xfail-XPG4/varargs.h/conform): Likewise.
32362 (test-xfail-UNIX98/varargs.h/conform): Likewise.
32363 (test-xfail-XPG4/ndbm.h/conform): Likewise.
32364 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
32365 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
32366 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
32367 (test-xfail-XPG3/fcntl.h/conform): Likewise.
32368 (test-xfail-XPG3/ftw.h/conform): Likewise.
32369 (test-xfail-XPG3/grp.h/conform): Likewise.
32370 (test-xfail-XPG3/langinfo.h/conform): Likewise.
32371 (test-xfail-XPG3/limits.h/conform): Likewise.
32372 (test-xfail-XPG3/pwd.h/conform): Likewise.
32373 (test-xfail-XPG3/search.h/conform): Likewise.
32374 (test-xfail-XPG3/signal.h/conform): Likewise.
32375 (test-xfail-XPG3/stdio.h/conform): Likewise.
32376 (test-xfail-XPG3/stdlib.h/conform): Likewise.
32377 (test-xfail-XPG3/string.h/conform): Likewise.
32378 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
32379 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
32380 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32381 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32382 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
32383 (test-xfail-XPG3/sys/types.h/conform): Likewise.
32384 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
32385 (test-xfail-XPG3/termios.h/conform): Likewise.
32386 (test-xfail-XPG3/time.h/conform): Likewise.
32387 (test-xfail-XPG3/unistd.h/conform): Likewise.
32388 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
32389 (test-xfail-XPG4/fcntl.h/conform): Likewise.
32390 (test-xfail-XPG4/langinfo.h/conform): Likewise.
32391 (test-xfail-XPG4/netdb.h/conform): Likewise.
32392 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
32393 (test-xfail-XPG4/signal.h/conform): Likewise.
32394 (test-xfail-XPG4/stdio.h/conform): Likewise.
32395 (test-xfail-XPG4/stdlib.h/conform): Likewise.
32396 (test-xfail-XPG4/stropts.h/conform): Likewise.
32397 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32398 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32399 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32400 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32401 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32402 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
32403 (test-xfail-XPG4/sys/time.h/conform): Likewise.
32404 (test-xfail-XPG4/sys/types.h/conform): Likewise.
32405 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
32406 (test-xfail-XPG4/termios.h/conform): Likewise.
32407 (test-xfail-XPG4/ucontext.h/conform): Likewise.
32408 (test-xfail-XPG4/unistd.h/conform): Likewise.
32409 (test-xfail-XPG4/utmpx.h/conform): Likewise.
32410 (test-xfail-POSIX/sched.h/conform): Likewise.
32411 (test-xfail-POSIX/signal.h/conform): Likewise.
32412 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32413 (test-xfail-POSIX/tar.h/conform): Likewise.
32414 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
32415 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
32416 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
32417 (test-xfail-UNIX98/netdb.h/conform): Likewise.
32418 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
32419 (test-xfail-UNIX98/sched.h/conform): Likewise.
32420 (test-xfail-UNIX98/signal.h/conform): Likewise.
32421 (test-xfail-UNIX98/stdio.h/conform): Likewise.
32422 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
32423 (test-xfail-UNIX98/stropts.h/conform): Likewise.
32424 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32425 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32426 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32427 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32428 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32429 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
32430 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32431 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32432 (test-xfail-UNIX98/unistd.h/conform): Likewise.
32433 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
32434 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
32435 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
32436 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
32437 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
32438 (test-xfail-XOPEN2K/math.h/conform): Likewise.
32439 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
32440 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32441 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32442 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
32443 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32444 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
32445 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
32446 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32447 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32448 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32449 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32450 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32451 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32452 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32453 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
32454 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
32455 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32456 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32457 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
32458 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32459 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
32460 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
32461 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32462 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32463 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
32464 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32465 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32466 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32467 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
32468 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
32469 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32470 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32471 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32472 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
32473 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32474 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32475 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32476 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
32477 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32478 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32479 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32480 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32481 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32482 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
32483 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
32484 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
32485 (conformtest-cc-flags): Likewise.
32486 ($(conformtest-header-tests): New target.
32487 * conform/check-header-lists.sh: New file.
32488 * conform/run-conformtest.sh: Remove.
32489
32490 * conform/conformtest.pl: Allow ' and \ in values given for
32491 constants.
32492 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
32493 inclusion.
32494 [POSIX] (sys/types.h): Likewise.
32495 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
32496 inclusion.
32497 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
32498 inclusion.
32499 * conform/data/signal.h-data (SIGIO): Remove expectation.
32500 [XPG3] (SIGBUS): Do not expect.
32501 [POSIX || XPG3] (SIGPOLL): Likewise.
32502 [POSIX || XPG3] (SIGPROF): Likewise.
32503 [POSIX || XPG3] (SIGSYS): Likewise.
32504 [XPG3] (SIGTRAP): Likewise.
32505 [POSIX || XPG3] (SIGURG): Likewise.
32506 [POSIX || XPG3] (SIGVTALRM): Likewise.
32507 [POSIX || XPG3] (SIGXCPU): Likewise.
32508 [POSIX || XPG3] (SIGXFSZ): Likewise.
32509 [POSIX] (SA_SIGINFO): Expect.
32510 [XPG3] (siginfo_t): Do not expect type or contents.
32511 [POSIX] (si_pid): Do not expect element.
32512 [POSIX] (si_uid): Likewise.
32513 [POSIX] (si_addr): Likewise.
32514 [POSIX] (si_status): Likewise.
32515 [POSIX] (si_band): Likewise.
32516 [XPG4] (si_value): Likewise.
32517 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
32518 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
32519 [POSIX || XPG3] (ILL_ILLADR): Likewise.
32520 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
32521 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
32522 [POSIX || XPG3] (ILL_PRVREG): Likewise.
32523 [POSIX || XPG3] (ILL_COPROC): Likewise.
32524 [POSIX || XPG3] (ILL_BADSTK): Likewise.
32525 [POSIX || XPG3] (FPE_INTDIV): Likewise.
32526 [POSIX || XPG3] (FPE_INTOVF): Likewise.
32527 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
32528 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
32529 [POSIX || XPG3] (FPE_FLTUND): Likewise.
32530 [POSIX || XPG3] (FPE_FLTRES): Likewise.
32531 [POSIX || XPG3] (FPE_FLTINV): Likewise.
32532 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
32533 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
32534 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
32535 [POSIX || XPG3] (BUS_ADRALN): Likewise.
32536 [POSIX || XPG3] (BUS_ADRERR): Likewise.
32537 [POSIX || XPG3] (BUS_OBJERR): Likewise.
32538 [POSIX || XPG3] (CLD_EXITED): Likewise.
32539 [POSIX || XPG3] (CLD_KILLED): Likewise.
32540 [POSIX || XPG3] (CLD_DUMPED): Likewise.
32541 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
32542 [POSIX || XPG3] (CLD_STOPPED): Likewise.
32543 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
32544 [POSIX || XPG3] (POLL_IN): Likewise.
32545 [POSIX || XPG3] (POLL_OUT): Likewise.
32546 [POSIX || XPG3] (POLL_MSG): Likewise.
32547 [POSIX || XPG3] (POLL_ERR): Likewise.
32548 [POSIX || XPG3] (POLL_PRI): Likewise.
32549 [POSIX || XPG3] (POLL_HUP): Likewise.
32550 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
32551 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
32552 (SIG*): Do not allow.
32553 [XPG3] (si_*): Likewise.
32554 [XPG3] (SI_*): Likewise.
32555 [XPG3 || XPG4] (sigev_*): Likewise.
32556 [XPG3 || XPG4] (SIGEV_*): Likewise.
32557 [XPG3 || XPG4] (sival_*): Likewise.
32558 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
32559 [POSIX || XPG3] (BUS_*): Likewise.
32560 [POSIX || XPG3] (CLD_*): Likewise.
32561 [POSIX || XPG3] (FPE_*): Likewise.
32562 [POSIX || XPG3] (ILL_*): Likewise.
32563 [POSIX || XPG3] (POLL_*): Likewise.
32564 [POSIX || XPG3] (SEGV_*): Likewise.
32565 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
32566 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
32567 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
32568 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
32569 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
32570 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
32571 Specify type and value.
32572 (TVERSLEN): Likewise.
32573 (REGTYPE): Likewise.
32574 (AREGTYPE): Likewise.
32575 (LNKTYPE): Likewise.
32576 (SYMTYPE): Likewise.
32577 (CHRTYPE): Likewise.
32578 (BLKTYPE): Likewise.
32579 (DIRTYPE): Likewise.
32580 (FIFOTYPE): Likewise.
32581 (CONTTYPE): Likewise.
32582 (TSUID): Likewise.
32583 (TSGID): Likewise.
32584 (TSVTX): Likewise.
32585 (TUREAD): Likewise.
32586 (TUWRITE): Likewise.
32587 (TUEXEC): Likewise.
32588 (TGREAD): Likewise.
32589 (TGWRITE): Likewise.
32590 (TGEXEC): Likewise.
32591 (TOREAD): Likewise.
32592 (TOWRITE): Likewise.
32593 (TOEXEC): Likewise.
32594 [POSIX] (TSVTX): Expect constant.
32595
32596 2014-03-06 Joseph Myers <joseph@codesourcery.com>
32597
32598 * Makefile (tests): Change dependencies to ....
32599 (tests-special): ... additions to this variable.
32600 (tests): Depend on $(tests-special).
32601 * Makerules (check-abi-list): New variable.
32602 (check-abi): Depend on $(check-abi-list).
32603 [$(subdir) = elf] (tests-special): Add
32604 $(objpfx)check-abi-libc.out.
32605 [$(build-shared) = yes && subdir] (tests-special): Add
32606 $(check-abi-list).
32607 [$(build-shared) = yes && subdir] (tests): Do not depend on
32608 check-abi.
32609 * Rules (tests): Depend on $(tests-special).
32610 (xtests): Depend on $(xtests-special).
32611 * catgets/Makefile (tests): Change dependencies to ....
32612 (tests-special): ... additions to this variable.
32613 * conform/Makefile (tests): Change dependencies to ....
32614 (tests-special): ... additions to this variable.
32615 * elf/Makefile (tests): Change dependencies to ....
32616 (tests-special): ... additions to this variable.
32617 * grp/Makefile (tests): Change dependencies to ....
32618 (tests-special): ... additions to this variable.
32619 * iconv/Makefile (xtests): Change dependencies to ....
32620 (xtests-special): ... additions to this variable.
32621 * iconvdata/Makefile (tests): Change dependencies to ....
32622 (tests-special): ... additions to this variable.
32623 * intl/Makefile (tests): Change dependencies to ....
32624 (tests-special): ... additions to this variable. Also add
32625 $(objpfx)tst-gettext.out.
32626 * io/Makefile (tests): Change dependencies to ....
32627 (tests-special): ... additions to this variable.
32628 * libio/Makefile (tests): Change dependencies to ....
32629 (tests-special): ... additions to this variable.
32630 * malloc/Makefile (tests): Change dependencies to ....
32631 (tests-special): ... additions to this variable.
32632 * misc/Makefile (tests): Change dependencies to ....
32633 (tests-special): ... additions to this variable.
32634 * nptl/Makefile (tests): Change dependencies to ....
32635 (tests-special): ... additions to this variable.
32636 * nptl_db/Makefile (tests): Change dependencies to ....
32637 (tests-special): ... additions to this variable.
32638 * posix/Makefile (tests): Change dependencies to ....
32639 (tests-special): ... additions to this variable.
32640 (xtests): Change dependencies to ....
32641 (xtests-special): ... additions to this variable.
32642 * resolv/Makefile (tests): Change dependencies to ....
32643 (tests-special): ... additions to this variable.
32644 (xtests): Change dependencies to ....
32645 (xtests-special): ... additions to this variable.
32646 * stdio-common/Makefile (tests): Change dependencies to ....
32647 (tests-special): ... additions to this variable.
32648 (do-tst-unbputc): Remove target.
32649 (do-tst-printf): Likewise.
32650 * stdlib/Makefile (tests): Change dependencies to ....
32651 (tests-special): ... additions to this variable.
32652 * string/Makefile (tests): Change dependencies to ....
32653 (tests-special): ... additions to this variable.
32654 * sysdeps/x86/Makefile (tests): Change dependencies to ....
32655 (tests-special): ... additions to this variable.
32656
32657 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
32658 whole file.
32659 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
32660 whole file.
32661 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
32662 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
32663
32664 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
32665 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
32666 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
32667 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
32668 * conform/data/libgen.h-data [XPG3]: Likewise.
32669 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
32670 * conform/data/ndbm.h-data [XPG3]: Likewise.
32671 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32672 * conform/data/netdb.h-data [XPG3]: Likewise.
32673 * conform/data/netinet/in.h-data [XPG3]: Likewise.
32674 * conform/data/poll.h-data [XPG3]: Likewise.
32675 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32676 * conform/data/strings.h-data [XPG3]: Likewise.
32677 * conform/data/stropts.h-data [XPG3]: Likewise.
32678 * conform/data/sys/mman.h-data [XPG3]: Likewise.
32679 * conform/data/sys/resource.h-data [XPG3]: Likewise.
32680 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
32681 Likewise.
32682 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
32683 * conform/data/sys/time.h-data [XPG3]: Likewise.
32684 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
32685 * conform/data/sys/uio.h-data [XPG3]: Likewise.
32686 * conform/data/sys/un.h-data [XPG3]: Likewise.
32687 * conform/data/syslog.h-data [XPG3]: Likewise.
32688 * conform/data/ucontext.h-data [XPG3]: Likewise.
32689 * conform/data/utmpx.h-data [XPG3]: Likewise.
32690 * conform/data/varargs.h-data [UNIX98]: Enable file.
32691
32692 * manual/Makefile (INSTALL_INFO): Remove variable setting.
32693
32694 * math/libm-test.inc (struct test_f_f_data): Move expected results
32695 into structure for each rounding mode.
32696 (struct test_ff_f_data): Likewise.
32697 (struct test_ff_f_data_nexttoward): Likewise.
32698 (struct test_fi_f_data): Likewise.
32699 (struct test_fl_f_data): Likewise.
32700 (struct test_if_f_data): Likewise.
32701 (struct test_fff_f_data): Likewise.
32702 (struct test_c_f_data): Likewise.
32703 (struct test_f_f1_data): Likewise.
32704 (struct test_fF_f1_data): Likewise.
32705 (struct test_ffI_f1_data): Likewise.
32706 (struct test_c_c_data): Likewise.
32707 (struct test_cc_c_data): Likewise.
32708 (struct test_f_i_data): Likewise.
32709 (struct test_ff_i_data): Likewise.
32710 (struct test_f_l_data): Likewise.
32711 (struct test_f_L_data): Likewise.
32712 (struct test_fFF_11_data): Likewise.
32713 (RM_): New macro.
32714 (RM_FE_DOWNWARD): Likewise.
32715 (RM_FE_TONEAREST): Likewise.
32716 (RM_FE_TOWARDZERO): Likewise.
32717 (RM_FE_UPWARD): Likewise.
32718 (RUN_TEST_LOOP_f_f): Update references to expected results.
32719 (RUN_TEST_LOOP_2_f): Likewise.
32720 (RUN_TEST_LOOP_fff_f): Likewise.
32721 (RUN_TEST_LOOP_c_f): Likewise.
32722 (RUN_TEST_LOOP_f_f1): Likewise.
32723 (RUN_TEST_LOOP_fF_f1): Likewise.
32724 (RUN_TEST_LOOP_fI_f1): Likewise.
32725 (RUN_TEST_LOOP_ffI_f1): Likewise.
32726 (RUN_TEST_LOOP_c_c): Likewise.
32727 (RUN_TEST_LOOP_cc_c): Likewise.
32728 (RUN_TEST_LOOP_f_i): Likewise.
32729 (RUN_TEST_LOOP_f_i_tg): Likewise.
32730 (RUN_TEST_LOOP_ff_i_tg): Likewise.
32731 (RUN_TEST_LOOP_f_b): Likewise.
32732 (RUN_TEST_LOOP_f_b_tg): Likewise.
32733 (RUN_TEST_LOOP_f_l): Likewise.
32734 (RUN_TEST_LOOP_f_L): Likewise.
32735 (RUN_TEST_LOOP_fFF_11): Likewise.
32736 * math/gen-libm-test.pl (parse_args): Output four copies of
32737 expected results for each test.
32738
32739 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32740 (__ASSUME_UTIMES): Remove.
32741 * sysdeps/unix/sysv/linux/tile/kernel-features.h
32742 (__ASSUME_UTIMES): Likewise.
32743
32744 * math/gen-auto-libm-tests.c: Update comment on output format.
32745 (output_for_one_input_case): Generate before-rounding and
32746 after-rounding information as conditions on output flags not
32747 floating-point format.
32748 * math/auto-libm-test-out: Regenerated.
32749 * math/gen-libm-test.pl (cond_value): New function.
32750 (or_cond_value): Use cond_value.
32751 (generate_testfile): Handle conditional exceptions.
32752
32753 2014-03-05 Joseph Myers <joseph@codesourcery.com>
32754
32755 * math/libm-test.inc (max_valid_error): New variable.
32756 (init_max_error): Take new argument specifying whether function
32757 results are exactly determined. Set max_valid_error and bound
32758 other variables for errors based on this argument.
32759 (set_max_error): Do not record results above max_valid_error.
32760 (check_float_internal): Only accept errors of up to 0.5ulps if
32761 also at most max_valid_error.
32762 (START): Take new argument EXACT and pass it to init_max_error.
32763 (acos_test): Update call to START.
32764 (acos_test_tonearest): Likewise.
32765 (acos_test_towardzero): Likewise.
32766 (acos_test_downward): Likewise.
32767 (acos_test_upward): Likewise.
32768 (acosh_test): Likewise.
32769 (asin_test): Likewise.
32770 (asin_test_tonearest): Likewise.
32771 (asin_test_towardzero): Likewise.
32772 (asin_test_downward): Likewise.
32773 (asin_test_upward): Likewise.
32774 (asinh_test): Likewise.
32775 (atan_test): Likewise.
32776 (atanh_test): Likewise.
32777 (atan2_test): Likewise.
32778 (cabs_test): Likewise.
32779 (cacos_test): Likewise.
32780 (cacosh_test): Likewise.
32781 (carg_test): Likewise.
32782 (casin_test): Likewise.
32783 (casinh_test): Likewise.
32784 (catan_test): Likewise.
32785 (catanh_test): Likewise.
32786 (cbrt_test): Likewise.
32787 (ccos_test): Likewise.
32788 (ccosh_test): Likewise.
32789 (ceil_test): Likewise.
32790 (cexp_test): Likewise.
32791 (cimag_test): Likewise.
32792 (clog_test): Likewise.
32793 (clog10_test): Likewise.
32794 (conj_test): Likewise.
32795 (copysign_test): Likewise.
32796 (cos_test): Likewise.
32797 (cos_test_tonearest): Likewise.
32798 (cos_test_towardzero): Likewise.
32799 (cos_test_downward): Likewise.
32800 (cos_test_upward): Likewise.
32801 (cosh_test): Likewise.
32802 (cosh_test_tonearest): Likewise.
32803 (cosh_test_towardzero): Likewise.
32804 (cosh_test_downward): Likewise.
32805 (cosh_test_upward): Likewise.
32806 (cpow_test): Likewise.
32807 (cproj_test): Likewise.
32808 (creal_test): Likewise.
32809 (csin_test): Likewise.
32810 (csinh_test): Likewise.
32811 (csqrt_test): Likewise.
32812 (ctan_test): Likewise.
32813 (ctan_test_tonearest): Likewise.
32814 (ctan_test_towardzero): Likewise.
32815 (ctan_test_downward): Likewise.
32816 (ctan_test_upward): Likewise.
32817 (ctanh_test): Likewise.
32818 (ctanh_test_tonearest): Likewise.
32819 (ctanh_test_towardzero): Likewise.
32820 (ctanh_test_downward): Likewise.
32821 (ctanh_test_upward): Likewise.
32822 (erf_test): Likewise.
32823 (erfc_test): Likewise.
32824 (exp_test): Likewise.
32825 (exp_test_tonearest): Likewise.
32826 (exp_test_towardzero): Likewise.
32827 (exp_test_downward): Likewise.
32828 (exp_test_upward): Likewise.
32829 (exp10_test): Likewise.
32830 (exp10_test_tonearest): Likewise.
32831 (exp10_test_towardzero): Likewise.
32832 (exp10_test_downward): Likewise.
32833 (exp10_test_upward): Likewise.
32834 (pow10_test): Likewise.
32835 (exp2_test): Likewise.
32836 (expm1_test): Likewise.
32837 (expm1_test_tonearest): Likewise.
32838 (expm1_test_towardzero): Likewise.
32839 (expm1_test_downward): Likewise.
32840 (expm1_test_upward): Likewise.
32841 (fabs_test): Likewise.
32842 (fdim_test): Likewise.
32843 (floor_test): Likewise.
32844 (fma_test): Likewise.
32845 (fma_test_towardzero): Likewise.
32846 (fma_test_downward): Likewise.
32847 (fma_test_upward): Likewise.
32848 (fmax_test): Likewise.
32849 (fmin_test): Likewise.
32850 (fmod_test): Likewise.
32851 (fpclassify_test): Likewise.
32852 (frexp_test): Likewise.
32853 (hypot_test): Likewise.
32854 (ilogb_test): Likewise.
32855 (isfinite_test): Likewise.
32856 (finite_test): Likewise.
32857 (isgreater_test): Likewise.
32858 (isgreaterequal_test): Likewise.
32859 (isinf_test): Likewise.
32860 (isless_test): Likewise.
32861 (islessequal_test): Likewise.
32862 (islessgreater_test): Likewise.
32863 (isnan_test): Likewise.
32864 (isnormal_test): Likewise.
32865 (issignaling_test): Likewise.
32866 (isunordered_test): Likewise.
32867 (j0_test): Likewise.
32868 (j1_test): Likewise.
32869 (jn_test): Likewise.
32870 (ldexp_test): Likewise.
32871 (lgamma_test): Likewise.
32872 (gamma_test): Likewise.
32873 (lrint_test): Likewise.
32874 (lrint_test_tonearest): Likewise.
32875 (lrint_test_towardzero): Likewise.
32876 (lrint_test_downward): Likewise.
32877 (lrint_test_upward): Likewise.
32878 (llrint_test): Likewise.
32879 (llrint_test_tonearest): Likewise.
32880 (llrint_test_towardzero): Likewise.
32881 (llrint_test_downward): Likewise.
32882 (llrint_test_upward): Likewise.
32883 (log_test): Likewise.
32884 (log10_test): Likewise.
32885 (log1p_test): Likewise.
32886 (log2_test): Likewise.
32887 (logb_test): Likewise.
32888 (logb_test_downward): Likewise.
32889 (lround_test): Likewise.
32890 (llround_test): Likewise.
32891 (modf_test): Likewise.
32892 (nearbyint_test): Likewise.
32893 (nextafter_test): Likewise.
32894 (nexttoward_test): Likewise.
32895 (pow_test): Likewise.
32896 (pow_test_tonearest): Likewise.
32897 (pow_test_towardzero): Likewise.
32898 (pow_test_downward): Likewise.
32899 (pow_test_upward): Likewise.
32900 (remainder_test): Likewise.
32901 (drem_test): Likewise.
32902 (remainder_test_tonearest): Likewise.
32903 (drem_test_tonearest): Likewise.
32904 (remainder_test_towardzero): Likewise.
32905 (drem_test_towardzero): Likewise.
32906 (remainder_test_downward): Likewise.
32907 (drem_test_downward): Likewise.
32908 (remainder_test_upward): Likewise.
32909 (drem_test_upward): Likewise.
32910 (remquo_test): Likewise.
32911 (rint_test): Likewise.
32912 (rint_test_tonearest): Likewise.
32913 (rint_test_towardzero): Likewise.
32914 (rint_test_downward): Likewise.
32915 (rint_test_upward): Likewise.
32916 (round_test): Likewise.
32917 (scalb_test): Likewise.
32918 (scalbn_test): Likewise.
32919 (scalbln_test): Likewise.
32920 (signbit_test): Likewise.
32921 (sin_test): Likewise.
32922 (sin_test_tonearest): Likewise.
32923 (sin_test_towardzero): Likewise.
32924 (sin_test_downward): Likewise.
32925 (sin_test_upward): Likewise.
32926 (sincos_test): Likewise.
32927 (sinh_test): Likewise.
32928 (sinh_test_tonearest): Likewise.
32929 (sinh_test_towardzero): Likewise.
32930 (sinh_test_downward): Likewise.
32931 (sinh_test_upward): Likewise.
32932 (sqrt_test): Likewise.
32933 (sqrt_test_tonearest): Likewise.
32934 (sqrt_test_towardzero): Likewise.
32935 (sqrt_test_downward): Likewise.
32936 (sqrt_test_upward): Likewise.
32937 (tan_test): Likewise.
32938 (tan_test_tonearest): Likewise.
32939 (tan_test_towardzero): Likewise.
32940 (tan_test_downward): Likewise.
32941 (tan_test_upward): Likewise.
32942 (tanh_test): Likewise.
32943 (tgamma_test): Likewise.
32944 (trunc_test): Likewise.
32945 (y0_test): Likewise.
32946 (y1_test): Likewise.
32947 (yn_test): Likewise.
32948 (significand_test): Likewise.
32949
32950 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
32951 individual tests in comment.
32952 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
32953 (prev_max_error): New variable.
32954 (prev_real_max_error): Likewise.
32955 (prev_imag_max_error): Likewise.
32956 (compare_ulp_data): Don't refer to test names in comment.
32957 (find_test_ulps): Remove function.
32958 (find_function_ulps): Likewise.
32959 (find_complex_function_ulps): Likewise.
32960 (init_max_error): Take function name as argument. Look up ulps
32961 for that function.
32962 (print_ulps): Remove function.
32963 (print_max_error): Use prev_max_error instead of calling
32964 find_function_ulps.
32965 (print_complex_max_error): Use prev_real_max_error and
32966 prev_imag_max_error instead of calling find_complex_function_ulps.
32967 (check_float_internal): Take max_ulp parameter instead of calling
32968 find_test_ulps. Don't call print_ulps.
32969 (check_float): Update call to check_float_internal.
32970 (check_complex): Update calls to check_float_internal.
32971 (START): Pass argument to init_max_error.
32972 * math/gen-libm-test.pl (%results): Don't include "kind"
32973 information.
32974 (parse_ulps): Don't handle ulps of individual tests.
32975 (print_ulps_file): Likewise.
32976 (output_ulps): Likewise.
32977 * math/README.libm-test: Update.
32978 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
32979 individual tests.
32980 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
32981 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32982 * sysdeps/arm/libm-test-ulps: Likewise.
32983 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32984 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
32985 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
32986 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
32987 * sysdeps/microblaze/libm-test-ulps: Likewise.
32988 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32989 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32990 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32991 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32992 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32993 * sysdeps/sh/libm-test-ulps: Likewise.
32994 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32995 * sysdeps/tile/libm-test-ulps: Likewise.
32996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32997
32998 2014-03-04 Joseph Myers <joseph@codesourcery.com>
32999
33000 * math/libm-test.inc (print_complex_max_error): Check separately
33001 whether real and imaginary errors are within allowed range and
33002 pass 0 to print_complex_function_ulps instead of value within
33003 allowed range.
33004
33005 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33006
33007 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
33008 formatting.
33009 (get_handles_fopen): Likewise.
33010 (do_write_test): Likewise.
33011
33012 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
33013
33014 * libio/fileops.c (do_ftell): Use cached offset when
33015 available.
33016 * libio/iofwide.c (do_ftell_wide): Likewise.
33017 * libio/iofdopen.c (_IO_new_fdopen): Don't use
33018 _IO_file_attach.
33019 * libio/wfileops.c (_IO_fwide): Don't cache offset.
33020
33021 [BZ #16532]
33022 * libio/libioP.h (get_file_offset): New function.
33023 * libio/fileops.c (get_file_offset): Likewise.
33024 (do_ftell): Likewise.
33025 (_IO_new_file_seekoff): Split out ftell logic.
33026 * libio/wfileops.c (do_ftell_wide): Likewise.
33027 (_IO_wfile_seekoff): Split out ftell logic.
33028 * libio/tst-ftell-active-handler.c: New test case.
33029 * libio/Makefile (tests): Add it.
33030
33031 2014-03-03 Roland McGrath <roland@hack.frob.com>
33032
33033 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
33034 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
33035
33036 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
33037
33038 [BZ #16639]
33039 * nscd/connections.c (nscd_init): Call do_exit.
33040 (start_threads): Call do_exit and notify_parent.
33041 (begin_drop_privileges): Call do_exit.
33042 (finish_drop_privileges): Likewise.
33043 * nscd/selinux.c (preserve_capabilities): Likewise.
33044 (install_real_capabilities): Likewise.
33045 (nscd_selinux_enabled): Likewise.
33046 (avc_create_thread): Likewise.
33047 (avc_alloc_lock): Likewise.
33048 (nscd_avc_init): Likewise.
33049 * nscd/nscd.c (parent_fd): New static variable.
33050 (main): Create a pipe between parent and child processes.
33051 Skip closing parent_fd.
33052 (monitor_child): New function.
33053 (do_exit): Likewise.
33054 (notify_parent): Likewise.
33055 * nscd/nscd.h (notify_parent): Likewise.
33056 (do_exit): Likewise.
33057
33058 2014-03-03 Carlos O'Donell <carlos@redhat.com>
33059
33060 * malloc/malloc.c (__libc_calloc): Revert last change.
33061
33062 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33063
33064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33065
33066 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33067
33068 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
33069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
33070 implementation.
33071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33072 (__libc_ifunc_impl_list): Likewise.
33073 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
33074 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
33075 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
33076 * string/strrchr.c: Define STRRCHR.
33077
33078 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
33079
33080 * benchtest/bench-strtok.c (simple_strtok): Delete.
33081 (strtok_string): Use as benchmark.
33082 * string/strtok (STRTOK): New macro.
33083
33084 2014-02-28 Carlos O'Donell <carlos@redhat.com>
33085
33086 * manual/threads.texi: Add header and standard comments to all
33087 functions.
33088
33089 * elf/dl-lookup.c (check_match): New function.
33090 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
33091 (do_lookup_x): Remove nested function check_match. Use non-nested
33092 function check_match.
33093
33094 2014-02-28 Roland McGrath <roland@hack.frob.com>
33095
33096 * csu/Makefile (generated, before-compile): Use += rather than =.
33097 * catgets/Makefile (generated, generated-dirs): Likewise.
33098 * debug/Makefile (generated): Likewise.
33099 * dlfcn/Makefile (generated): Likewise.
33100 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
33101 * iconvdata/Makefile (before-compile, generated): Likewise.
33102 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
33103 * libio/Makefile (generated): Likewise.
33104 * malloc/Makefile (generated): Likewise.
33105 * manual/Makefile (generated, generated-dirs): Likewise.
33106 * misc/Makefile (generated): Likewise.
33107 * posix/Makefile (generated): Likewise.
33108 * resolv/Makefile (generated): Likewise.
33109 * sunrpc/Makefile (generated, generated-dirs): Likewise.
33110 * timezone/Makefile (generated, generated-dirs): Likewise.
33111
33112 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
33113
33114 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33115
33116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33117 power8 implementation.
33118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
33119 file: POWER8 llround ifunc implementation.
33120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
33121 (__lllround): Add POWER8 implementation.
33122 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
33123 POWER8 llround implementation.
33124
33125 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
33126 power8 implementation.
33127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
33128 file: POWER8 llrint ifunc implementation.
33129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
33130 Add POWER8 implementation.
33131 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
33132 POWER8 llrint implementation.
33133
33134 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
33135 power8 implementation.
33136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
33137 file: POWER8 finite ifunc implementation.
33138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
33139 Add POWER8 implementation.
33140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
33141 Likewise.
33142 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
33143 POWER8 finite implementation.
33144 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
33145
33146 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
33147 power8 implementation.
33148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
33149 file: POWER8 isinf ifunc implementation.
33150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
33151 POWER8 implementation.
33152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
33153 Likewise.
33154 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
33155 isinf implementation.
33156 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
33157
33158 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
33159 (INIT_ARCH): Add hwcap2 initialization.
33160 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33161 power8 implementation.
33162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
33163 file: POWER8 isnan ifunc implementation.
33164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
33165 POWER8 implementation.
33166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
33167 Likewise.
33168 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
33169 isnan implementation.
33170 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
33171
33172 2014-02-27 Joey Ye <joey.ye@arm.com>
33173
33174 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33175 (_FP_NANFRAC_Q): Set to zero.
33176
33177 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33178
33179 [BZ #16623]
33180 * math/auto-libm-test-in: New test inputs.
33181 * math/auto-libm-test-out: Regenerate.
33182 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
33183 and DA.
33184 (__cos): Likewise.
33185 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33186
33187 2014-02-27 Joseph Myers <joseph@codesourcery.com>
33188
33189 * scripts/evaluate-test.sh: Take new argument indicating whether
33190 failure is expected.
33191 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
33192 indicating whether failure is expected.
33193 * conform/Makefile (test-xfail-run-conformtest): New variable.
33194 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
33195 level.
33196 * posix/Makefile (test-xfail-annexc): New variable.
33197 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
33198
33199 2014-02-26 Joseph Myers <joseph@codesourcery.com>
33200
33201 * argp/Makefile: Include Makeconfig immediately after defining
33202 subdir.
33203 * assert/Makefile: Likewise.
33204 * benchtests/Makefile: Likewise.
33205 * catgets/Makefile: Likewise.
33206 * conform/Makefile: Likewise.
33207 * crypt/Makefile: Likewise.
33208 * csu/Makefile: Likewise.
33209 (all): Remove target.
33210 * ctype/Makefile: Include Makeconfig immediately after defining
33211 subdir.
33212 * debug/Makefile: Likewise.
33213 * dirent/Makefile: Likewise.
33214 * dlfcn/Makefile: Likewise.
33215 * gmon/Makefile: Likewise.
33216 * gnulib/Makefile: Likewise.
33217 * grp/Makefile: Likewise.
33218 * gshadow/Makefile: Likewise.
33219 * hesiod/Makefile: Likewise.
33220 * hurd/Makefile: Likewise.
33221 (all): Remove target.
33222 * iconvdata/Makefile: Include Makeconfig immediately after
33223 defining subdir.
33224 * inet/Makefile: Likewise.
33225 * intl/Makefile: Likewise.
33226 * io/Makefile: Likewise.
33227 * libio/Makefile: Likewise.
33228 (all): Remove target.
33229 * locale/Makefile: Include Makeconfig immediately after defining
33230 subdir.
33231 * login/Makefile: Likewise.
33232 * mach/Makefile: Likewise.
33233 (all): Remove target.
33234 * malloc/Makefile: Include Makeconfig immediately after defining
33235 subdir.
33236 (all): Remove target.
33237 * manual/Makefile: Include Makeconfig immediately after defining
33238 subdir.
33239 * math/Makefile: Likewise.
33240 * misc/Makefile: Likewise.
33241 * nis/Makefile: Likewise.
33242 * nss/Makefile: Likewise.
33243 * po/Makefile: Likewise.
33244 (all): Remove target.
33245 * posix/Makefile: Include Makeconfig immediately after defining
33246 subdir.
33247 * pwd/Makefile: Likewise.
33248 * resolv/Makefile: Likewise.
33249 * resource/Makefile: Likewise.
33250 * rt/Makefile: Likewise.
33251 * setjmp/Makefile: Likewise.
33252 * shadow/Makefile: Likewise.
33253 * signal/Makefile: Likewise.
33254 * socket/Makefile: Likewise.
33255 * soft-fp/Makefile: Likewise.
33256 * stdio-common/Makefile: Likewise.
33257 * stdlib/Makefile: Likewise.
33258 * streams/Makefile: Likewise.
33259 * string/Makefile: Likewise.
33260 * sunrpc/Makefile: Likewise.
33261 (all): Remove target.
33262 * sysvipc/Makefile: Include Makeconfig immediately after defining
33263 subdir.
33264 * termios/Makefile: Likewise.
33265 * time/Makefile: Likewise.
33266 * timezone/Makefile: Likewise.
33267 (all): Remove target.
33268 * wcsmbs/Makefile: Include Makeconfig immediately after defining
33269 subdir.
33270 * wctype/Makefile: Likewise.
33271
33272 2014-02-26 Steve Ellcey <sellcey@mips.com>
33273
33274 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
33275 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
33276 (libc_feholdexcept_setround_mips): Ditto.
33277 (libc_feholdsetround): New.
33278 (libc_feholdsetroundf): New.
33279 (libc_feholdsetroundl): New.
33280 (libc_feupdateenv_test_mips): New.
33281 (libc_feupdateenv_test): New.
33282 (libc_feupdateenv_testf): New.
33283 (libc_feupdateenv_testl): New.
33284 (libc_feresetround): New.
33285 (libc_feresetroundf): New.
33286 (libc_feresetroundl): New.
33287 (libc_fetestexcept_mips): New.
33288 (libc_fetestexcept): New.
33289 (libc_fetestexceptf): New.
33290 (libc_fetestexceptl): New.
33291 (HAVE_RM_CTX): New.
33292 (libc_feholdexcept_setround_mips_ctx): New.
33293 (libc_feholdexcept_setround_ctx): New.
33294 (libc_feholdexcept_setroundf_ctx): New.
33295 (libc_feholdexcept_setroundl_ctx): New.
33296 (libc_fesetenv_mips_ctx): New.
33297 (libc_fesetenv_ctx): New.
33298 (libc_fesetenv_ctxf): New.
33299 (libc_fesetenv_ctxl): New.
33300 (libc_feupdateenv_mips_ctx): New.
33301 (libc_feupdateenv_ctx): New.
33302 (libc_feupdateenvf_ctx): New.
33303 (libc_feupdateenvl_ctx): New.
33304 (libc_feholdsetround_mips_ctx): New.
33305 (libc_feholdsetround_ctx): New.
33306 (libc_feholdsetroundf_ctx): New.
33307 (libc_feholdsetroundl_ctx): New.
33308 (libc_feresetround_mips_ctx): New.
33309 (libc_feresetround_ctx): New.
33310 (libc_feresetroundf_ctx): New.
33311 (libc_feresetroundl_ctx): New.
33312
33313 2014-02-26 Carlos O'Donell <carlos@redhat.com>
33314
33315 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
33316
33317 * manual/ipc.texi: New file.
33318 * manual/Makefile (chapters): Add ipc.
33319 * manual/job.texi: Add "Inter-Process Communication" to next.
33320 * manual/process.texi: Add "Inter-Process Communication" to prev.
33321
33322 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33323
33324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33325
33326 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
33327
33328 * malloc/malloc.c (__libc_calloc): Simplify implementation.
33329
33330 * manual/arith.texi: Fix spaces after sentences.
33331 * manual/charset.texi: Likewise.
33332 * manual/errno.texi: Likewise.
33333 * manual/install.texi: Likewise.
33334 * manual/llio.texi: Likewise.
33335 * manual/locale.texi: Likewise.
33336 * manual/maint.texi: Likewise.
33337 * manual/math.texi: Likewise.
33338 * manual/memory.texi: Likewise.
33339 * manual/message.texi: Likewise.
33340 * manual/probes.texi: Likewise.
33341 * manual/resource.texi: Likewise.
33342 * manual/signal.texi: Likewise.
33343 * manual/socket.texi: Likewise.
33344 * manual/stdio.texi: Likewise.
33345 * manual/string.texi: Likewise.
33346 * manual/time.texi: Likewise.
33347 * manual/users.texi: Likewise.
33348
33349 2014-02-25 Carlos O'Donell <carlos@redhat.com>
33350
33351 [BZ #16632]
33352 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
33353 _DEFAULT_SOURCE is defined.
33354
33355 2014-02-25 Ulrich Drepper <drepper@gmail.com>
33356 Carlos O'Donell <carlos@redhat.com>
33357
33358 [BZ #16613]
33359 * elf/dl-tls.c (_dl_count_modids): New function.
33360 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
33361 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
33362 audit library and increment generation counter.
33363 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
33364 * elf/tst-audit9.c: New file.
33365 * elf/tst-auditmod9a.c: New file.
33366 * elf/tst-auditmod9b.c: New file.
33367 * elf/Makefile: Add rules to build and run tst-audit9.
33368
33369 2014-02-25 Florian Weimer <fweimer@redhat.com>
33370
33371 [BZ #15347]
33372 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
33373
33374 2014-02-25 Will Newton <will.newton@linaro.org>
33375
33376 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
33377 (__longjmp): Restore sp and lr before restoring callee
33378 saved registers. Add longjmp and longjmp_target
33379 SystemTap probe point.
33380 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
33381 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
33382 Define to zero to match jmpbuf layout.
33383 * sysdeps/arm/setjmp.S: Include stap-probe.h.
33384 (__sigsetjmp): Save sp and lr before saving callee
33385 saved registers. Add setjmp SystemTap probe point.
33386
33387 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
33388
33389 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33390
33391 2014-02-24 Andreas Schwab <schwab@suse.de>
33392
33393 [BZ #15804]
33394 * elf/pldd.c (wait_for_ptrace_stop): New function.
33395 (main): Call it after attaching.
33396
33397 2014-02-22 Roland McGrath <roland@hack.frob.com>
33398
33399 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
33400 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
33401 Versions files is now verboten.
33402 * hurd/Versions (libc: GLIBC_2.0):
33403 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
33404 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
33405 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
33406 * mach/Versions: Likewise.
33407
33408 * csu/Versions: Remove unused %include.
33409 * resolv/Versions: Likewise.
33410
33411 2014-02-21 Joseph Myers <joseph@codesourcery.com>
33412
33413 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
33414 ($(objpfx)check-local-headers.out): Likewise.
33415 ($(objpfx)begin-end-check.out): Likewise.
33416 * Makerules (check-abi-%.out): Likewise.
33417 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
33418 ($(objpfx)test2.cat): Likewise.
33419 ($(objpfx)de/libc.cat): Likewise.
33420 ($(objpfx)test-gencat.out): Likewise.
33421 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
33422 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
33423 ($(objpfx)noload-mem): Likewise.
33424 ($(objpfx)tst-pathopt.out): Likewise.
33425 ($(objpfx)tst-rtld-load-self.out): Likewise.
33426 ($(objpfx)tst-array1-cmp.out): Likewise.
33427 ($(objpfx)tst-array1-static-cmp.out): Likewise.
33428 ($(objpfx)tst-array2-cmp.out): Likewise.
33429 ($(objpfx)tst-array3-cmp.out): Likewise.
33430 ($(objpfx)tst-array4-cmp.out): Likewise.
33431 ($(objpfx)tst-array5-cmp.out): Likewise.
33432 ($(objpfx)tst-array5-static-cmp.out): Likewise.
33433 ($(objpfx)check-textrel.out): Likewise.
33434 ($(objpfx)check-execstack.out): Likewise.
33435 ($(objpfx)check-localplt.out): Likewise.
33436 ($(objpfx)order2-cmp.out): Likewise.
33437 ($(objpfx)tst-leaks1-mem): Likewise.
33438 ($(objpfx)tst-leaks1-static-mem): Likewise.
33439 ($(objpfx)tst-initorder-cmp.out): Likewise.
33440 ($(objpfx)tst-initorder2-cmp.out): Likewise.
33441 ($(objpfx)tst-unused-dep.out): Likewise.
33442 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
33443 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33444 * iconv/Makefile (test-iconvconfig): Likewise.
33445 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
33446 ($(objpfx)iconv-test.out): Likewise.
33447 ($(objpfx)tst-tables.out): Likewise.
33448 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
33449 ($(objpfx)tst-gettext.out): Likewise.
33450 ($(objpfx)tst-translit.out): Likewise.
33451 ($(objpfx)tst-gettext2.out): Likewise.
33452 ($(objpfx)tst-gettext4.out): Likewise.
33453 ($(objpfx)tst-gettext6.out): Likewise.
33454 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
33455 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33456 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
33457 ($(objpfx)tst-fopenloc-mem.out): Likewise.
33458 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33459 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
33460 * posix/Makefile ($(objpfx)globtest.out): Likewise.
33461 ($(objpfx)wordexp-tst.out): Likewise.
33462 ($(objpfx)annexc.out): Likewise.
33463 ($(objpfx)tst-fnmatch-mem): Likewise.
33464 ($(objpfx)bug-regex2-mem): Likewise.
33465 ($(objpfx)bug-regex14-mem): Likewise.
33466 ($(objpfx)bug-regex21-mem): Likewise.
33467 ($(objpfx)bug-regex31-mem): Likewise.
33468 ($(objpfx)tst-vfork3-mem): Likewise.
33469 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33470 ($(objpfx)tst-pcre-mem): Likewise.
33471 ($(objpfx)tst-boost-mem): Likewise.
33472 ($(objpfx)tst-getconf.out): Likewise.
33473 ($(objpfx)bug-ga2-mem): Likewise.
33474 ($(objpfx)bug-glob2-mem): Likewise.
33475 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
33476 ($(objpfx)mtrace-tst-leaks2): Likewise.
33477 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
33478 ($(objpfx)tst-printf.out): Likewise.
33479 ($(objpfx)tst-setvbuf1.out): Likewise.
33480 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
33481 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
33482 ($(objpfx)tst-fmtmsg.out): Likewise.
33483 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
33484 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
33485
33486 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
33487 * bits/sigaction.h [__USE_MISC]: Likewise.
33488 * bits/waitstatus.h: Update #endif comments.
33489 * ctype/ctype.h: Likewise.
33490 * dirent/dirent.h: Likewise.
33491 [__USE_MISC]: Remove redundant conditionals.
33492 * grp/grp.h: Update #endif comments.
33493 [__USE_GNU]: Remove redundant conditionals.
33494 [__USE_MISC]: Likewise.
33495 * inet/netinet/in.h [__USE_GNU]: Likewise.
33496 * io/sys/stat.h [__USE_MISC]: Likewise.
33497 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
33498 * libio/bits/stdio.h: Update #endif comments.
33499 [__USE_MISC]: Remove redundant conditionals.
33500 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
33501 * libio/stdio.h: Update #endif comments.
33502 [__USE_MISC]: Remove redundant conditionals.
33503 * math/bits/math-finite.h [__USE_MISC]: Likewise.
33504 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
33505 * math/math.h: Update #else and #endif comments.
33506 [__USE_MISC]: Remove redundant conditionals.
33507 * misc/sys/uio.h: Update #endif comments.
33508 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
33509 * posix/glob.h [__USE_MISC]: Likewise.
33510 * posix/sys/types.h: Update #endif comments.
33511 [__USE_MISC]: Remove redundant conditionals.
33512 * posix/sys/wait.h: Update #endif comments.
33513 [__USE_MISC]: Remove redundant conditionals.
33514 * posix/unistd.h: Update #endif comments.
33515 [__USE_MISC]: Remove redundant conditionals.
33516 * pwd/pwd.h [__USE_GNU]: Likewise.
33517 [__USE_MISC]: Likewise.
33518 * resolv/netdb.h [__USE_GNU]: Likewise.
33519 * signal/signal.h: Update #endif comments.
33520 [__USE_MISC]: Remove redundant conditionals.
33521 * stdlib/stdlib.h: Update #else and #endif comments.
33522 [__USE_MISC]: Remove redundant conditionals.
33523 [__USE_GNU]: Likewise.
33524 * string/bits/string2.h [__USE_MISC]: Likewise.
33525 * string/string.h: Update #endif comments.
33526 [__USE_MISC]: Remove redundant conditionals.
33527 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
33528 Likewise.
33529 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
33530 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
33531 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
33532 Likewise.
33533 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
33534 Likewise.
33535 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
33536 comments.
33537 [__USE_MISC]: Remove redundant conditionals.
33538 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
33539 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
33540 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
33541 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
33542 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
33543 Likewise.
33544 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
33545 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
33546 Likewise.
33547 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
33548 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
33549 Likewise.
33550 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
33551 Likewise.
33552 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
33553 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
33554 Likewise.
33555 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
33556 Likewise.
33557 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
33558 * sysdeps/x86/bits/string.h: Update #endif comments.
33559 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
33560 conditionals.
33561 * time/sys/time.h: Update #endif comments.
33562 * time/time.h: Likewise.
33563 [__USE_MISC]: Remove redundant conditionals.
33564
33565 2014-02-21 Yury Gribov <y.gribov@samsung.com>
33566
33567 [BZ #16600]
33568 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
33569
33570 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
33571
33572 * Versions.def (librt): Add GLIBC_2.17.
33573
33574 2014-02-21 Adam Conrad <adconrad@0c3.net>
33575
33576 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
33577 synonym for _SYS_AUXV_H to allow direct inclusion.
33578 * sysdeps/sparc/bits/hwcap.h: Likewise.
33579 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
33580 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
33581 * sysdeps/sparc/sysdep.h: Likewise.
33582
33583 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33584
33585 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
33586
33587 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33588
33589 * benchtests/bench-strrchr.c: Print length instead of position.
33590
33591 2014-02-20 Joseph Myers <joseph@codesourcery.com>
33592
33593 [BZ #16611]
33594 * sysdeps/unix/sysv/linux/kernel-features.h
33595 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
33596 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
33597 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
33598 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
33599 Likewise.
33600 [__i386__ || __powerpc__ || __sh__ || __sparc__]
33601 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33602 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
33603 (__ASSUME_SENDMMSG): Define instead of using previous
33604 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
33605 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33606 (__ASSUME_SENDMMSG_SYSCALL): Define.
33607 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33608 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
33609 Likewise.
33610 * sysdeps/unix/sysv/linux/arm/kernel-features.h
33611 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33612 Likewise.
33613 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33614 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33615 Likewise.
33616 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
33617 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33618 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33619 [__ASSUME_SENDMMSG]: Change conditionals to
33620 [__ASSUME_SENDMMSG_SOCKETCALL].
33621 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33622 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
33623 Define.
33624 * sysdeps/unix/sysv/linux/mips/kernel-features.h
33625 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
33626 Likewise.
33627 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
33628 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33629 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33630 [!__ASSUME_SENDMMSG]: Change conditional to
33631 [!__ASSUME_SENDMMSG_SOCKETCALL].
33632 * sysdeps/unix/sysv/linux/tile/kernel-features.h
33633 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33634 Define.
33635
33636 [BZ #16610]
33637 * sysdeps/unix/sysv/linux/kernel-features.h
33638 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
33639 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
33640 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
33641 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
33642 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33643 [__i386__ || __sparc__]
33644 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33645 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
33646 (__ASSUME_RECVMMSG): Define instead of using previous
33647 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
33648 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33649 (__ASSUME_RECVMMSG_SYSCALL): Define.
33650 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33651 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33652 Likewise.
33653 * sysdeps/unix/sysv/linux/arm/kernel-features.h
33654 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33655 Likewise.
33656 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33657 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33658 Likewise.
33659 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
33660 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33661 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33662 [__ASSUME_RECVMMSG]: Change condition to
33663 [__ASSUME_RECVMMSG_SOCKETCALL].
33664 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33665 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33666 Define.
33667 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33668 * sysdeps/unix/sysv/linux/mips/kernel-features.h
33669 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33670 Likewise.
33671 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
33672 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33673 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33674 [!__ASSUME_RECVMMSG]: Change condition to
33675 [!__ASSUME_RECVMMSG_SOCKETCALL].
33676 * sysdeps/unix/sysv/linux/tile/kernel-features.h
33677 (__ASSUME_RECVMMSG_SYSCALL): Define.
33678
33679 [BZ #16609]
33680 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
33681 __powerpc__ || __s390__ || __sh__ || __sparc__]
33682 (__ASSUME_SOCKETCALL): Define.
33683 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
33684 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
33685 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
33686 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
33687 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33688 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33689 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
33690 (__ASSUME_ACCEPT4): Define instead of using previous
33691 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
33692 __powerpc__ || __sparc__ || __s390__)] condition.
33693 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33694 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33695 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
33696 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33697 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33698 [!__ASSUME_ACCEPT4]: Change condition to
33699 [!__ASSUME_ACCEPT4_SOCKETCALL].
33700 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33701 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
33702 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
33703 * sysdeps/unix/sysv/linux/arm/kernel-features.h
33704 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
33705 __ASSUME_ACCEPT4_SYSCALL.
33706 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
33707 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
33708 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33709 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
33710 __ASSUME_ACCEPT4_SYSCALL.
33711 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
33712 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33713 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33714 [__ASSUME_ACCEPT4]: Change condition to
33715 [__ASSUME_ACCEPT4_SOCKETCALL].
33716 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33717 (__ASSUME_SOCKETCALL): Define.
33718 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
33719 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33720 (__ASSUME_SOCKETCALL): Define.
33721 (__ASSUME_ACCEPT4): Remove.
33722 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
33723 Define.
33724 * sysdeps/unix/sysv/linux/mips/kernel-features.h
33725 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
33726 Likewise.
33727 * sysdeps/unix/sysv/linux/tile/kernel-features.h
33728 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33729
33730 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
33731 macro.
33732 (HWCAP_ARM_LPAE): Likewise.
33733 (HWCAP_ARM_EVTSTRM): Likewise.
33734 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
33735 Add vpfd32, lpae and evtstrm.
33736 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
33737 Increase to 22.
33738
33739 2014-02-19 Joseph Myers <joseph@codesourcery.com>
33740
33741 * math/auto-libm-test-in: Add tests of clog10.
33742 * math/auto-libm-test-out: Regenerated.
33743 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
33744 * sysdeps/i386/fpu/libm-test-ulps: Update.
33745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33746
33747 2014-02-18 Andreas Schwab <schwab@suse.de>
33748
33749 [BZ #16574]
33750 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
33751 Store non-zero if the second buffer was newly allocated.
33752 (send_dg): Likewise.
33753 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
33754 to send_vc and send_dg.
33755 (res_nsend): Pass NULL for ansp2_malloced.
33756 * resolv/res_query.c (__libc_res_nquery): Add parameter
33757 answerp2_malloced and pass it down to __libc_res_nsend.
33758 (res_nquery): Pass additional NULL to __libc_res_nquery.
33759 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33760 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
33761 second answer buffer if answerp2_malloced was set.
33762 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
33763 (__libc_res_nquerydomain): Add parameter
33764 answerp2_malloced and pass it down to __libc_res_nquery.
33765 (res_nquerydomain): Pass additional NULL to
33766 __libc_res_nquerydomain.
33767 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
33768 additional NULL to __libc_res_nsend and __libc_res_nquery.
33769 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
33770 additional NULL to __libc_res_nsearch.
33771 (_nss_dns_gethostbyname4_r): Revert last change. Use new
33772 parameter of __libc_res_nsearch to check for separately allocated
33773 second buffer.
33774 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
33775 __libc_res_nquery.
33776 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
33777 additional NULL to __libc_res_nquery.
33778 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
33779 __libc_res_nsearch.
33780 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
33781 * include/resolv.h: Update prototypes of __libc_res_nquery,
33782 __libc_res_nsearch, __libc_res_nsend.
33783
33784 2014-02-18 Joseph Myers <joseph@codesourcery.com>
33785
33786 * math/auto-libm-test-in: Add tests of fma.
33787 * math/auto-libm-test-out: Regenerated.
33788 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
33789 (fma_towardzero_test_data): Likewise.
33790 (fma_downward_test_data): Likewise.
33791 (fma_upward_test_data): Likewise.
33792 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
33793 mpc_mode.
33794 (rounding_modes): Add values for new field.
33795 (func_calc_method): Add value mpfr_fff_f.
33796 (func_calc_desc): Add mpfr_fff_f union field.
33797 (test_function): Add field exact_args.
33798 (FUNC): Add macro argument EXACT_ARGS.
33799 (FUNC_mpfr_f_f): Update call to FUNC.
33800 (FUNC_mpfr_f_f): Likewise.
33801 (FUNC_mpfr_ff_f): Likewise.
33802 (FUNC_mpfr_if_f): Likewise.
33803 (FUNC_mpc_c_f): Likewise.
33804 (FUNC_mpc_c_c): Likewise.
33805 (test_functions): Add fma. Update calls to FUNC.
33806 (handle_input_arg): Add argument exact_args.
33807 (add_test): Update call to handle_input_arg.
33808 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
33809 (output_for_one_input_case): Update call to calc_generic_results.
33810 Recalculate exact zero results in each rounding mode.
33811
33812 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
33813 non-negative before setting low bit.
33814 * math/auto-libm-test-in: Mark one asin test possibly having
33815 spurious underflow.
33816 * math/auto-libm-test-out: Regenerated.
33817 * sysdeps/i386/fpu/libm-test-ulps: Update.
33818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33819
33820 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
33821
33822 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
33823 * sysdeps/unix/sysv/linux/microblaze: Move directory from
33824 ports/sysdeps/unix/sysv/linux/microblaze.
33825 * README: Add missing listing for microblaze*-*-linux-gnu.
33826
33827 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
33828
33829 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
33830 duplicate code
33831
33832 2014-02-16 Mike Frysinger <vapier@gentoo.org>
33833
33834 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
33835 * sysdeps/unix/sysv/linux/ia64: Move directory from
33836 ports/sysdeps/unix/sysv/linux/ia64.
33837 * README: Update listing for ia64-*-linux-gnu.
33838
33839 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
33840 Joseph Myers <joseph@codesourcery.com>
33841
33842 * Makeconfig (test-name): New variable.
33843 (evaluate-test): Likewise.
33844 * Makerules (do-test-clean): Remove .test-result files.
33845 (common-mostlyclean): Likewise.
33846 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
33847 * scripts/evaluate-test.sh: New file.
33848
33849 2014-02-14 Joseph Myers <joseph@codesourcery.com>
33850
33851 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
33852 separate $(objpfx)tst-fopenloc-cmp.out and
33853 $(objpfx)tst-fopenloc-mem.out targets.
33854 (tests): Update dependencies.
33855 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
33856 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
33857 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
33858 (tst-rxspencer-no-utf8-ARGS): New variable.
33859 (tst-rxspencer-no-utf8-ENV): Likewise.
33860 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
33861 instead of $(objpfx)tst-rxspencer-mem.
33862 ($(objpfx)tst-rxspencer-mem): Change target to
33863 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
33864 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
33865 * posix/tst-rxspencer-no-utf8.c: New file.
33866
33867 * elf/Makefile ($(objpfx)order.out): Remove rule.
33868 [$(run-built-tests) = yes] (tests): Depend on
33869 $(objpfx)order-cmp.out.
33870 ($(objpfx)order-cmp.out): New rule.
33871 [$(run-built-tests) = yes] (tests): Depend on
33872 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
33873 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
33874 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
33875 $(objpfx)tst-array5-static-cmp.out.
33876 ($(objpfx)tst-array1.out): Remove rule.
33877 ($(objpfx)tst-array1-cmp.out): New rule.
33878 ($(objpfx)tst-array1-static.out): Remove rule.
33879 ($(objpfx)tst-array1-static-cmp.out): New rule.
33880 ($(objpfx)tst-array2.out): Remove rule.
33881 ($(objpfx)tst-array2-cmp.out): New rule.
33882 ($(objpfx)tst-array3.out): Remove rule.
33883 ($(objpfx)tst-array3-cmp.out): New rule.
33884 ($(objpfx)tst-array4.out): Remove rule.
33885 ($(objpfx)tst-array4-cmp.out): New rule.
33886 ($(objpfx)tst-array5.out): Remove rule.
33887 ($(objpfx)tst-array5-cmp.out): New rule.
33888 ($(objpfx)tst-array5-static.out): Remove rule.
33889 ($(objpfx)tst-array5-static-cmp.out): New rule.
33890 [$(run-built-tests) = yes] (tests): Depend on
33891 $(objpfx)order2-cmp.out.
33892 ($(objpfx)order2.out): Remove rule.
33893 ($(objpfx)order2-cmp.out): New rule.
33894 ($(objpfx)tst-initorder.out): Remove rule.
33895 [$(run-built-tests) = yes] (tests): Depend on
33896 $(objpfx)tst-initorder-cmp.out.
33897 ($(objpfx)tst-initorder-cmp.out): New rule.
33898 ($(objpfx)tst-initorder2.out): Remove rule.
33899 [$(run-built-tests) = yes] (tests): Depend on
33900 $(objpfx)tst-initorder2-cmp.out.
33901 ($(objpfx)tst-initorder2-cmp.out): New rule.
33902 [$(run-built-tests) = yes] (tests): Depend on
33903 $(objpfx)tst-unused-dep-cmp.out.
33904 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
33905 ($(objpfx)tst-unused-dep-cmp.out): New rule.
33906 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
33907 on $(objpfx)tst-setvbuf1-cmp.out.
33908 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
33909 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
33910 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
33911 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
33912 ($(objpfx)tst-svc.out): Remove rule.
33913 ($(objpfx)tst-svc-cmp.out): New rule.
33914
33915 2014-02-13 Joseph Myers <joseph@codesourcery.com>
33916
33917 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
33918 * ctype/ctype.h [__USE_MISC]: Likewise.
33919 * dirent/dirent.h [__USE_MISC]: Likewise.
33920 * grp/grp.h [__USE_MISC]: Likewise.
33921 * io/fcntl.h [__USE_MISC]: Likewise.
33922 * io/sys/stat.h [__USE_MISC]: Likewise.
33923 * libio/stdio.h [__USE_MISC]: Likewise.
33924 * posix/unistd.h [__USE_MISC]: Likewise.
33925 * pwd/pwd.h [__USE_MISC]: Likewise.
33926 * stdlib.h [__USE_MISC]: Likewise.
33927 * string/bits/string2.h [__USE_MISC]: Likewise.
33928 * string/string.h [__USE_MISC]: Likewise.
33929 * time/time.h [__USE_MISC]: Likewise.
33930
33931 2014-02-13 Andreas Schwab <schwab@suse.de>
33932
33933 [BZ #16574]
33934 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
33935 second answer buffer if it was separately allocated.
33936
33937 2014-02-12 Joseph Myers <joseph@codesourcery.com>
33938
33939 * sysdeps/mips/math-tests.h: Include <features.h>.
33940 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33941 (ROUNDING_TESTS_long_double): Do not define.
33942 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33943 (EXCEPTION_TESTS_long_double): Likewise.
33944 * sysdeps/mips/mips64/libm-test-ulps: Update.
33945
33946 * include/features.h (__USE_BSD): Remove macro definitions.
33947 (__USE_SVID): Likewise.
33948 (_BSD_SOURCE): Likewise.
33949 (_SVID_SOURCE): Likewise.
33950 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
33951 from definition of _DEFAULT_SOURCE.
33952 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
33953 [_DEFAULT_SOURCE].
33954 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
33955 * bits/mman.h [__USE_BSD]: Likewise.
33956 * bits/termios.h [__USE_BSD]: Likewise.
33957 * bits/waitstatus.h [__USE_BSD]: Likewise.
33958 * ctype/ctype.h [__USE_SVID]: Likewise.
33959 * dirent/dirent.h [__USE_BSD]: Likewise.
33960 * grp/grp.h [__USE_SVID]: Likewise.
33961 [__USE_BSD]: Likewise.
33962 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
33963 * io/fcntl.h [__USE_BSD]: Likewise.
33964 * io/ftw.h [__USE_BSD]: Likewise.
33965 * io/sys/stat.h [__USE_BSD]: Likewise.
33966 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
33967 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
33968 * libio/stdio.h [__USE_SVID]: Likewise.
33969 [__USE_BSD]: Likewise.
33970 * math/math.h [__USE_SVID]: Likewise.
33971 [__USE_BSD]: Likewise.
33972 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
33973 * misc/bits/syslog.h [__USE_BSD]: Likewise.
33974 * misc/search.h [__USE_SVID]: Likewise.
33975 * misc/sys/mman.h [__USE_BSD]: Likewise.
33976 * misc/sys/syslog.h [__USE_BSD]: Likewise.
33977 * misc/sys/uio.h [__USE_BSD]: Likewise.
33978 * posix/bits/unistd.h [__USE_BSD]: Likewise.
33979 * posix/glob.h [__USE_BSD]: Likewise.
33980 * posix/regex.h [__USE_BSD]: Likewise.
33981 * posix/sys/types.h [__USE_BSD]: Likewise.
33982 [__USE_SVID]: Likewise.
33983 * posix/sys/utsname.h [__USE_SVID]: Likewise.
33984 * posix/sys/wait.h [__USE_BSD]: Likewise.
33985 [__USE_SVID]: Likewise.
33986 * posix/unistd.h [__USE_BSD]: Likewise.
33987 [__USE_SVID]: Likewise.
33988 * pwd/pwd.h [__USE_SVID]: Likewise.
33989 * resolv/netdb.h [__USE_BSD]: Likewise.
33990 * setjmp/setjmp.h [__USE_BSD]: Likewise.
33991 * signal/signal.h [__USE_BSD]: Likewise.
33992 [__USE_SVID]: Likewise.
33993 * socket/sys/socket.h [__USE_BSD]: Likewise.
33994 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
33995 * stdlib/stdlib.h [__USE_BSD]: Likewise.
33996 [__USE_SVID]: Likewise.
33997 * string/bits/string2.h [__USE_BSD]: Likewise.
33998 [__USE_SVID]: Likewise.
33999 * string/bits/string3.h [__USE_BSD]: Likewise.
34000 * string/endian.h [__USE_BSD]: Likewise.
34001 * string/string.h [__USE_SVID]: Likewise.
34002 [__USE_BSD]: Likewise.
34003 * string/strings.h [__USE_BSD]: Likewise.
34004 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
34005 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
34006 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
34007 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
34008 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
34009 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
34010 Likewise.
34011 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
34012 Likewise.
34013 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
34014 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
34015 Likewise.
34016 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
34017 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
34018 Likewise.
34019 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
34020 Likewise.
34021 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
34022 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
34023 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
34024 Likewise.
34025 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
34026 Likewise.
34027 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
34028 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
34029 * termios/termios.h [__USE_BSD]: Likewise.
34030 * time/sys/time.h [__USE_BSD]: Likewise.
34031 * time/time.h [__USE_BSD]: Likewise.
34032 [__USE_SVID]: Likewise.
34033
34034 * Makefile (subdir_targets): Remove subdir_lint.out.
34035
34036 * stdio-common/Makefile (do-tst-unbputc): Remove target.
34037 (do-tst-printf): Likewise.
34038 (tests): Depend directly on $(objpfx)tst-unbputc.out and
34039 $(objpfx)tst-printf.out.
34040
34041 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
34042
34043 * Makerules (check-abi-%): Change target to
34044 $(objpfx)check-abi-%.out.
34045 (check-abi target): Update dependencies.
34046 (check-abi-pattern variable): Redirect output of diff to $@.
34047 (check-abi variable): Likewise.
34048 * elf/Makefile (check-abi): Update dependencies.
34049
34050 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
34051 unused.
34052 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
34053 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
34054 subnormal range.
34055 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
34056 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
34057 value has largest subnormal exponent.
34058 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
34059 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
34060 * sysdeps/aarch64/soft-fp/sfp-machine.h
34061 (_FP_TININESS_AFTER_ROUNDING): New macro.
34062 * sysdeps/alpha/soft-fp/sfp-machine.h
34063 (_FP_TININESS_AFTER_ROUNDING): Likewise.
34064 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34065 Likewise.
34066 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
34067 (_FP_TININESS_AFTER_ROUNDING): Likewise.
34068 * sysdeps/mips/soft-fp/sfp-machine.h
34069 (_FP_TININESS_AFTER_ROUNDING): Likewise.
34070 * sysdeps/powerpc/soft-fp/sfp-machine.h
34071 (_FP_TININESS_AFTER_ROUNDING): Likewise.
34072 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34073 Likewise.
34074 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34075 (_FP_TININESS_AFTER_ROUNDING): Likewise.
34076 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34077 (_FP_TININESS_AFTER_ROUNDING): Likewise.
34078 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34079 Likewise.
34080
34081 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
34082
34083 [BZ #16545]
34084 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
34085 model 1.
34086
34087 2014-02-12 Richard Henderson <rth@redhat.com>
34088
34089 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
34090 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
34091 * sysdeps/unix/sysv/linux/alpha: Move directory from
34092 ports/sysdeps/unix/sysv/linux/alpha.
34093 * README: Update listing for alpha-*-linux-gnu.
34094
34095 2014-02-11 Joseph Myers <joseph@codesourcery.com>
34096
34097 * include/features.h: Update comment documenting feature test
34098 macros.
34099 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
34100 _DEFAULT_SOURCE.
34101 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
34102 (_SVID_SOURCE): Likewise.
34103 (_DEFAULT_SOURCE): Update description of default features.
34104 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
34105 with _GNU_SOURCE.
34106 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
34107 (S_ISVTX): Likewise.
34108 * manual/math.texi (Mathematical Constants): Likewise.
34109 * manual/signal.texi (Interrupted Primitives): Likewise.
34110 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
34111 * math/test-matherr.c (_SVID_SOURCE): Do not define.
34112 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
34113 Don't refer to _SVID_SOURCE in warning text.
34114
34115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34116
34117 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
34118 already defined.
34119 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
34120 * sysdeps/mips/dl-lookup.c: Remove.
34121 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
34122
34123 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
34124
34125 [BZ #16447]
34126 * math/auto-libm-test-in: Add testcase for expl.
34127 * math/auto-libm-test-out: Regenerate.
34128 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
34129 calculation of unsafe.
34130 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
34131
34132 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
34133
34134 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
34135 * sysdeps/unix/sysv/linux/aarch64: Move directory from
34136 ports/sysdeps/unix/sysv/linux/aarch64.
34137 * README: Update listing for aarch64*-*-linux-gnu.
34138
34139 2014-02-11 Will Newton <will.newton@linaro.org>
34140
34141 * manual/probes.texi (Mathematical Function Probes): Use
34142 "triggered" instead of "hit".
34143
34144 * manual/probes.texi (Internal Probes): Add documentation
34145 of setjmp, longjmp and longjmp_target probes.
34146
34147 * include/stap-probe.h: Add comment about probe argument
34148 format.
34149
34150 * malloc/mtrace.c (attribute_hidden): Remove unused macro
34151 definition. (tr_where, tr_freehook, tr_mallochook,
34152 tr_reallochook, tr_memalignhook): Use ANSI protoype.
34153
34154 2014-02-11 David S. Miller <davem@davemloft.net>
34155
34156 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
34157 processing int_tests.
34158
34159 2014-02-10 Joseph Myers <joseph@codesourcery.com>
34160
34161 * sysdeps/mips: Move directory from ports/sysdeps/mips.
34162 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
34163 * sysdeps/unix/sysv/linux/mips: Move directory from
34164 ports/sysdeps/unix/sysv/linux/mips.
34165 * README: Update listing for mips-*-linux-gnu and
34166 mips64-*-linux-gnu.
34167
34168 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
34169
34170 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
34171 * sysdeps/unix/sysv/linux/m68k: Move directory from
34172 ports/sysdeps/unix/sysv/linux/m68k.
34173 * README: Update listing for m68k-*-linux-gnu.
34174
34175 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
34176
34177 * sysdeps/tile: Move directory from ports/sysdeps/tile.
34178 * sysdeps/unix/sysv/linux/generic: Move directory from
34179 ports/sysdeps/unix/sysv/linux/generic.
34180 * sysdeps/unix/sysv/linux/tile: Move directory from
34181 ports/sysdeps/unix/sysv/linux/tile.
34182 * README: Update listing for tile*-*-linux-gnu.
34183
34184 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
34185
34186 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
34187 __builtin_expect.
34188 * benchtests/bench-memmem.c (simple_memmem): Likewise.
34189 * catgets/open_catalog.c (__open_catalog): Likewise.
34190 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
34191 * debug/confstr_chk.c: Likewise.
34192 * debug/fread_chk.c (__fread_chk): Likewise.
34193 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
34194 * debug/getgroups_chk.c: Likewise.
34195 * debug/mbsnrtowcs_chk.c: Likewise.
34196 * debug/mbsrtowcs_chk.c: Likewise.
34197 * debug/mbstowcs_chk.c: Likewise.
34198 * debug/memcpy_chk.c: Likewise.
34199 * debug/memmove_chk.c: Likewise.
34200 * debug/mempcpy_chk.c: Likewise.
34201 * debug/memset_chk.c: Likewise.
34202 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34203 * debug/strcat_chk.c (__strcat_chk): Likewise.
34204 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
34205 * debug/strncat_chk.c (__strncat_chk): Likewise.
34206 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
34207 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
34208 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
34209 * debug/wcpncpy_chk.c: Likewise.
34210 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34211 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
34212 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
34213 * debug/wcsncpy_chk.c: Likewise.
34214 * debug/wcsnrtombs_chk.c: Likewise.
34215 * debug/wcsrtombs_chk.c: Likewise.
34216 * debug/wcstombs_chk.c: Likewise.
34217 * debug/wmemcpy_chk.c: Likewise.
34218 * debug/wmemmove_chk.c: Likewise.
34219 * debug/wmempcpy_chk.c: Likewise.
34220 * debug/wmemset_chk.c: Likewise.
34221 * dirent/scandirat.c (SCANDIRAT): Likewise.
34222 * dlfcn/dladdr1.c (dladdr1): Likewise.
34223 * dlfcn/dladdr.c (dladdr): Likewise.
34224 * dlfcn/dlclose.c (dlclose_doit): Likewise.
34225 * dlfcn/dlerror.c (__dlerror): Likewise.
34226 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
34227 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
34228 * dlfcn/dlopen.c (dlopen_doit): Likewise.
34229 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
34230 * dlfcn/dlsym.c (dlsym_doit): Likewise.
34231 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
34232 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
34233 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
34234 Likewise.
34235 * elf/dl-conflict.c: Likewise.
34236 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34237 * elf/dl-dst.h: Likewise.
34238 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
34239 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
34240 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34241 * elf/dl-init.c (call_init, _dl_init): Likewise.
34242 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
34243 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
34244 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
34245 Likewise.
34246 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
34247 Likewise.
34248 * elf/dl-minimal.c (__libc_memalign): Likewise.
34249 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
34250 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34251 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
34252 * elf/dl-sym.c (do_sym): Likewise.
34253 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
34254 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
34255 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
34256 * elf/dl-writev.h (_dl_writev): Likewise.
34257 * elf/ldconfig.c (search_dir): Likewise.
34258 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
34259 (dl_main): Likewise.
34260 * elf/setup-vdso.h (setup_vdso): Likewise.
34261 * grp/compat-initgroups.c (compat_call): Likewise.
34262 * grp/fgetgrent.c (fgetgrent): Likewise.
34263 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
34264 * grp/putgrent.c (putgrent): Likewise.
34265 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34266 Likewise.
34267 * hurd/hurdinit.c: Likewise.
34268 * iconvdata/8bit-gap.c (struct): Likewise.
34269 * iconvdata/ansi_x3.110.c : Likewise.
34270 * iconvdata/big5.c : Likewise.
34271 * iconvdata/big5hkscs.c : Likewise.
34272 * iconvdata/cp1255.c: Likewise.
34273 * iconvdata/cp1258.c : Likewise.
34274 * iconvdata/cp932.c : Likewise.
34275 * iconvdata/euc-cn.c: Likewise.
34276 * iconvdata/euc-jisx0213.c : Likewise.
34277 * iconvdata/euc-jp.c: Likewise.
34278 * iconvdata/euc-jp-ms.c : Likewise.
34279 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
34280 * iconvdata/gb18030.c : Likewise.
34281 * iconvdata/gbbig5.c (const): Likewise.
34282 * iconvdata/gbgbk.c: Likewise.
34283 * iconvdata/gbk.c : Likewise.
34284 * iconvdata/ibm1364.c : Likewise.
34285 * iconvdata/ibm930.c : Likewise.
34286 * iconvdata/ibm932.c: Likewise.
34287 * iconvdata/ibm933.c : Likewise.
34288 * iconvdata/ibm935.c : Likewise.
34289 * iconvdata/ibm937.c : Likewise.
34290 * iconvdata/ibm939.c : Likewise.
34291 * iconvdata/ibm943.c: Likewise.
34292 * iconvdata/iso_11548-1.c: Likewise.
34293 * iconvdata/iso-2022-cn.c : Likewise.
34294 * iconvdata/iso-2022-cn-ext.c : Likewise.
34295 * iconvdata/iso-2022-jp-3.c: Likewise.
34296 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
34297 * iconvdata/iso-2022-kr.c : Likewise.
34298 * iconvdata/iso646.c (gconv_end): Likewise.
34299 * iconvdata/iso_6937-2.c : Likewise.
34300 * iconvdata/iso_6937.c : Likewise.
34301 * iconvdata/iso8859-1.c: Likewise.
34302 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
34303 * iconvdata/shift_jisx0213.c : Likewise.
34304 * iconvdata/sjis.c : Likewise.
34305 * iconvdata/t.61.c : Likewise.
34306 * iconvdata/tcvn5712-1.c : Likewise.
34307 * iconvdata/tscii.c: Likewise.
34308 * iconvdata/uhc.c : Likewise.
34309 * iconvdata/unicode.c (gconv_end): Likewise.
34310 * iconvdata/utf-16.c (gconv_end): Likewise.
34311 * iconvdata/utf-32.c (gconv_end): Likewise.
34312 * iconvdata/utf-7.c (base64): Likewise.
34313 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34314 * iconv/gconv_close.c (__gconv_close): Likewise.
34315 * iconv/gconv_open.c (__gconv_open): Likewise.
34316 * iconv/gconv_simple.c (internal_ucs4_loop_single)
34317 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
34318 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
34319 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
34320 (ucs4le_internal_loop_single): Likewise.
34321 * iconv/iconv.c (iconv): Likewise.
34322 * iconv/iconv_close.c: Likewise.
34323 * iconv/loop.c (SINGLE): Likewise.
34324 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
34325 * include/atomic.h: Likewise.
34326 * inet/inet6_option.c (option_alloc): Likewise.
34327 * intl/bindtextdom.c (set_binding_values): Likewise.
34328 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
34329 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
34330 * intl/localealias.c (read_alias_file): Likewise.
34331 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
34332 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
34333 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
34334 * libio/fmemopen.c (fmemopen): Likewise.
34335 * libio/iofgets.c (_IO_fgets): Likewise.
34336 * libio/iofgets_u.c (fgets_unlocked): Likewise.
34337 * libio/iofgetws.c (fgetws): Likewise.
34338 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
34339 * libio/iogetdelim.c (_IO_getdelim): Likewise.
34340 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
34341 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
34342 * locale/findlocale.c (_nl_find_locale): Likewise.
34343 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34344 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
34345 Likewise.
34346 * locale/setlocale.c (setlocale): Likewise.
34347 * login/programs/pt_chown.c (main): Likewise.
34348 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
34349 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
34350 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
34351 (mmap, mmap64, mremap, munmap): Likewise.
34352 * math/e_exp2l.c: Likewise.
34353 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
34354 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
34355 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
34356 * math/s_catan.c (__catan): Likewise.
34357 * math/s_catanf.c (__catanf): Likewise.
34358 * math/s_catanh.c (__catanh): Likewise.
34359 * math/s_catanhf.c (__catanhf): Likewise.
34360 * math/s_catanhl.c (__catanhl): Likewise.
34361 * math/s_catanl.c (__catanl): Likewise.
34362 * math/s_ccosh.c (__ccosh): Likewise.
34363 * math/s_ccoshf.c (__ccoshf): Likewise.
34364 * math/s_ccoshl.c (__ccoshl): Likewise.
34365 * math/s_cexp.c (__cexp): Likewise.
34366 * math/s_cexpf.c (__cexpf): Likewise.
34367 * math/s_cexpl.c (__cexpl): Likewise.
34368 * math/s_clog10.c (__clog10): Likewise.
34369 * math/s_clog10f.c (__clog10f): Likewise.
34370 * math/s_clog10l.c (__clog10l): Likewise.
34371 * math/s_clog.c (__clog): Likewise.
34372 * math/s_clogf.c (__clogf): Likewise.
34373 * math/s_clogl.c (__clogl): Likewise.
34374 * math/s_csin.c (__csin): Likewise.
34375 * math/s_csinf.c (__csinf): Likewise.
34376 * math/s_csinh.c (__csinh): Likewise.
34377 * math/s_csinhf.c (__csinhf): Likewise.
34378 * math/s_csinhl.c (__csinhl): Likewise.
34379 * math/s_csinl.c (__csinl): Likewise.
34380 * math/s_csqrt.c (__csqrt): Likewise.
34381 * math/s_csqrtf.c (__csqrtf): Likewise.
34382 * math/s_csqrtl.c (__csqrtl): Likewise.
34383 * math/s_ctan.c (__ctan): Likewise.
34384 * math/s_ctanf.c (__ctanf): Likewise.
34385 * math/s_ctanh.c (__ctanh): Likewise.
34386 * math/s_ctanhf.c (__ctanhf): Likewise.
34387 * math/s_ctanhl.c (__ctanhl): Likewise.
34388 * math/s_ctanl.c (__ctanl): Likewise.
34389 * math/w_pow.c: Likewise.
34390 * math/w_powf.c: Likewise.
34391 * math/w_powl.c: Likewise.
34392 * math/w_scalb.c (sysv_scalb): Likewise.
34393 * math/w_scalbf.c (sysv_scalbf): Likewise.
34394 * math/w_scalbl.c (sysv_scalbl): Likewise.
34395 * misc/error.c (error_tail): Likewise.
34396 * misc/pselect.c (__pselect): Likewise.
34397 * nis/nis_callback.c (__nis_create_callback): Likewise.
34398 * nis/nis_call.c (__nisfind_server): Likewise.
34399 * nis/nis_creategroup.c (nis_creategroup): Likewise.
34400 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
34401 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
34402 * nis/nis_getservlist.c (nis_getservlist): Likewise.
34403 * nis/nis_lookup.c (nis_lookup): Likewise.
34404 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
34405 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
34406 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
34407 * nis/nis_xdr.c (xdr_endpoint): Likewise.
34408 * nis/nss_compat/compat-grp.c (getgrent_next_file)
34409 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
34410 * nis/nss_compat/compat-initgroups.c (add_group)
34411 (internal_getgrent_r): Likewise.
34412 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
34413 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
34414 * nis/nss_compat/compat-spwd.c (getspent_next_file)
34415 (internal_getspnam_r): Likewise.
34416 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
34417 (_nss_nis_getaliasbyname_r): Likewise.
34418 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
34419 (_nss_nis_getntohost_r): Likewise.
34420 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
34421 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
34422 (_nss_nis_getgrgid_r): Likewise.
34423 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
34424 (internal_nis_gethostent_r, internal_gethostbyname2_r)
34425 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
34426 (_nss_nis_gethostbyname4_r): Likewise.
34427 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
34428 (initgroups_netid): Likewise.
34429 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
34430 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
34431 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
34432 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
34433 (_nss_nis_getprotobynumber_r): Likewise.
34434 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
34435 (_nss_nis_getsecretkey): Likewise.
34436 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
34437 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
34438 (_nss_nis_getpwuid_r): Likewise.
34439 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
34440 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
34441 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
34442 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
34443 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
34444 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
34445 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
34446 Likewise.
34447 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
34448 (_nss_nisplus_getntohost_r): Likewise.
34449 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
34450 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
34451 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
34452 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
34453 Likewise.
34454 * nis/nss_nisplus/nisplus-initgroups.c
34455 (_nss_nisplus_initgroups_dyn): Likewise.
34456 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
34457 (_nss_nisplus_getnetbyaddr_r): Likewise.
34458 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
34459 (_nss_nisplus_getprotobynumber_r): Likewise.
34460 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
34461 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
34462 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
34463 Likewise.
34464 * nis/nss_nisplus/nisplus-service.c
34465 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
34466 (_nss_nisplus_getservbyport_r): Likewise.
34467 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
34468 (_nss_nisplus_getspnam_r): Likewise.
34469 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
34470 Likewise.
34471 * nscd/aicache.c (addhstaiX): Likewise.
34472 * nscd/cache.c (cache_search, prune_cache): Likewise.
34473 * nscd/connections.c (register_traced_file, send_ro_fd)
34474 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
34475 (main_loop_epoll): Likewise.
34476 * nscd/grpcache.c (addgrbyX): Likewise.
34477 * nscd/hstcache.c (addhstbyX): Likewise.
34478 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34479 * nscd/mem.c (gc, mempool_alloc): Likewise.
34480 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
34481 (addinnetgrX): Likewise.
34482 * nscd/nscd-client.h (__nscd_acquire_maplock)
34483 (__nscd_drop_map_ref): Likewise.
34484 * nscd/nscd_getai.c (__nscd_getai): Likewise.
34485 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34486 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
34487 Likewise.
34488 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34489 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34490 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
34491 (__nscd_get_map_ref): Likewise.
34492 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34493 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
34494 Likewise.
34495 * nscd/pwdcache.c (addpwbyX): Likewise.
34496 * nscd/selinux.c (preserve_capabilities): Likewise.
34497 * nscd/servicescache.c (addservbyX): Likewise.
34498 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
34499 * posix/fnmatch.c (fnmatch): Likewise.
34500 * posix/getopt.c (_getopt_internal_r): Likewise.
34501 * posix/glob.c (glob, glob_in_dir): Likewise.
34502 * posix/wordexp.c (exec_comm_child): Likewise.
34503 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
34504 (getanswer_r, gaih_getanswer_slice): Likewise.
34505 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
34506 * resolv/res_init.c: Likewise.
34507 * resolv/res_mkquery.c (res_nmkquery): Likewise.
34508 * resolv/res_query.c (__libc_res_nquery): Likewise.
34509 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
34510 Likewise.
34511 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
34512 * stdio-common/perror.c (perror): Likewise.
34513 * stdio-common/printf_fp.c (___printf_fp): Likewise.
34514 * stdio-common/tmpnam.c (tmpnam): Likewise.
34515 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34516 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
34517 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34518 Likewise.
34519 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
34520 * stdlib/putenv.c (putenv): Likewise.
34521 * stdlib/setenv.c (__add_to_environ): Likewise.
34522 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34523 * stdlib/strtol_l.c (INTERNAL): Likewise.
34524 * string/memmem.c (memmem): Likewise.
34525 * string/strerror.c (strerror): Likewise.
34526 * string/strnlen.c (__strnlen): Likewise.
34527 * string/test-memmem.c (simple_memmem): Likewise.
34528 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
34529 * sunrpc/pm_getport.c (__get_socket): Likewise.
34530 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
34531 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
34532 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
34533 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
34534 Likewise.
34535 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
34536 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34537 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34538 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
34539 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34540 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
34541 Likewise.
34542 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
34543 Likewise.
34544 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34545 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34546 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34547 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34548 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
34549 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
34550 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34551 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
34552 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34553 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
34554 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34555 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
34556 Likewise.
34557 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
34558 Likewise.
34559 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
34560 Likewise.
34561 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
34562 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34563 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
34564 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
34565 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
34566 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
34567 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34568 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
34569 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
34570 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
34571 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
34572 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34573 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34574 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
34575 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34576 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34577 Likewise.
34578 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
34579 Likewise.
34580 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
34581 Likewise.
34582 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
34583 Likewise.
34584 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34585 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34586 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
34587 Likewise.
34588 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
34589 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
34590 * sysdeps/posix/opendir.c (__opendirat): Likewise.
34591 * sysdeps/posix/sleep.c: Likewise.
34592 * sysdeps/posix/tempname.c: Likewise.
34593 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
34594 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34595 Likewise.
34596 * sysdeps/powerpc/powerpc32/dl-machine.h
34597 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
34598 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34599 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34600 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
34601 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
34602 Likewise.
34603 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
34604 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
34605 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34606 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
34607 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34608 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
34609 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
34610 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
34611 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34612 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
34613 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
34614 (elf_machine_lazy_rel): Likewise.
34615 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34616 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
34617 (elf_machine_lazy_rel): Likewise.
34618 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
34619 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
34620 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
34621 * sysdeps/unix/grantpt.c (grantpt): Likewise.
34622 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
34623 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
34624 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34625 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34626 Likewise.
34627 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
34628 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
34629 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
34630 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
34631 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34632 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34633 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
34634 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
34635 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
34636 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34637 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34638 Likewise.
34639 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
34640 (__posix_fallocate64_l64): Likewise.
34641 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
34642 (posix_fallocate): Likewise.
34643 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
34644 Likewise.
34645 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34646 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
34647 (getifaddrs_internal): Likewise.
34648 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
34649 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
34650 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
34651 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34652 * sysdeps/unix/sysv/linux/posix_fallocate64.c
34653 (__posix_fallocate64_l64): Likewise.
34654 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34655 Likewise.
34656 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
34657 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
34658 (__get_clockfreq): Likewise.
34659 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
34660 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34661 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
34662 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34663 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34664 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
34665 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
34666 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
34667 Likewise.
34668 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
34669 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
34670 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
34671 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
34672 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34673 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
34674 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
34675 Likewise.
34676 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34677 (posix_fallocate): Likewise.
34678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34679 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
34680 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
34681 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
34682 (elf_machine_rela, elf_machine_rela_relative)
34683 (elf_machine_lazy_rel): Likewise.
34684 * time/asctime.c (asctime_internal): Likewise.
34685 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
34686 * time/tzset.c (__tzset_parse_tz): Likewise.
34687 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34688 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
34689 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
34690 * wcsmbs/wcsmbsload.h: Likewise.
34691
34692 [BZ #15894]
34693 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
34694
34695 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
34696 (arena_get2): Remove THREAD_STATS conditionals.
34697 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
34698 (__malloc_stats, int): Likewise.
34699
34700 2014-02-08 Mike Frysinger <vapier@gentoo.org>
34701
34702 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
34703 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
34704
34705 * manual/setjmp.texi: Fix typos/grammar errors.
34706
34707 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
34708 Only return early when n is <= 0. Delete unused return statement.
34709
34710 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
34711 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
34712 * debug/tst-longjmp_chk3.c: New file.
34713
34714 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
34715 (test_main): Replace code with set_fortify_handler call.
34716 * debug/test-strcpy_chk.c: Likewise.
34717 * debug/tst-chk1.c: Likewise.
34718 * debug/tst-longjmp_chk.c: Likewise.
34719 * test-skeleton.c: Include fcntl.h & paths.h
34720 (set_fortify_handler): Define.
34721
34722 * debug/tst-longjmp_chk.c: Add header comment and include
34723 ../test-skeleton.c.
34724 (do_test): Mark static.
34725 (TEST_FUNCTION): Define.
34726
34727 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
34728 (IP_PMTUDISC_INTERFACE): Likewise.
34729 (IP_MULTICAST_IF): Likewise.
34730 (IP_MULTICAST_TTL): Likewise.
34731 (IP_MULTICAST_LOOP): Likewise.
34732 (IP_ADD_MEMBERSHIP): Likewise.
34733 (IP_DROP_MEMBERSHIP): Likewise.
34734 (IP_UNBLOCK_SOURCE): Likewise.
34735 (IP_BLOCK_SOURCE): Likewise.
34736 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
34737 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
34738 (IP_MSFILTER): Likewise.
34739 (MCAST_JOIN_GROUP): Likewise.
34740 (MCAST_BLOCK_SOURCE): Likewise.
34741 (MCAST_UNBLOCK_SOURCE): Likewise.
34742 (MCAST_LEAVE_GROUP): Likewise.
34743 (MCAST_JOIN_SOURCE_GROUP): Likewise.
34744 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34745 (MCAST_MSFILTER): Likewise.
34746 (IP_MULTICAST_ALL): Likewise.
34747 (IP_UNICAST_IF): Likewise.
34748
34749 * timezone/Makefile: Delete $(have-ksh) check.
34750 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
34751 * timezone/tzselect.ksh: Add +x mode bits.
34752
34753 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
34754 (ANON_INODE_FS_MAGIC): Likewise.
34755 (BDEVFS_MAGIC): Likewise.
34756 (BINFMTFS_MAGIC): Likewise.
34757 (BTRFS_TEST_MAGIC): Likewise.
34758 (CRAMFS_MAGIC_WEND): Likewise.
34759 (DEBUGFS_MAGIC): Likewise.
34760 (ECRYPTFS_SUPER_MAGIC): Likewise.
34761 (EXT3_SUPER_MAGIC): Likewise.
34762 (EXT4_SUPER_MAGIC): Likewise.
34763 (FUTEXFS_SUPER_MAGIC): Likewise.
34764 (HOSTFS_SUPER_MAGIC): Likewise.
34765 (HUGETLBFS_MAGIC): Likewise.
34766 (MINIX3_SUPER_MAGIC): Likewise.
34767 (MTD_INODE_FS_MAGIC): Likewise.
34768 (NILFS_SUPER_MAGIC): Likewise.
34769 (OPENPROM_SUPER_MAGIC): Likewise.
34770 (PIPEFS_MAGIC): Likewise.
34771 (PSTOREFS_MAGIC): Likewise.
34772 (QNX6_SUPER_MAGIC): Likewise.
34773 (RAMFS_MAGIC): Likewise.
34774 (REISERFS_SUPER_MAGIC_STRING): Likewise.
34775 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
34776 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
34777 (SECURITYFS_MAGIC): Likewise.
34778 (SELINUX_MAGIC): Likewise.
34779 (SMACK_MAGIC): Likewise.
34780 (SOCKFS_MAGIC): Likewise.
34781 (SQUASHFS_MAGIC): Likewise.
34782 (STACK_END_MAGIC): Likewise.
34783 (TMPFS_MAGIC): Likewise.
34784 (USBDEVICE_SUPER_MAGIC): Likewise.
34785 (V9FS_MAGIC): Likewise.
34786 (XENFS_SUPER_MAGIC): Likewise.
34787 (CRAMFS_MAGIC): Fix typo in comment.
34788 (EXT2_SUPER_MAGIC): Update comment.
34789 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
34790
34791 2014-02-08 Joseph Myers <joseph@codesourcery.com>
34792
34793 * sysdeps/arm: Move directory from ports/sysdeps/arm.
34794 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
34795 * sysdeps/unix/sysv/linux/arm: Move directory from
34796 ports/sysdeps/unix/sysv/linux/arm.
34797 * README: Update listing for arm-*-linux-gnueabi.
34798
34799 * README: Remove mention of am33.
34800
34801 2014-02-07 Roland McGrath <roland@hack.frob.com>
34802
34803 * bits/sigset.h (__sigemptyset): Use a statement expression rather
34804 than the comma operator, to avoid "rhs of comma has no effect"
34805 compiler warnings.
34806 (__sigfillset, __sigandset, __sigorset): Likewise.
34807 * include/signal.h (__sigemptyset): Likewise.
34808 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
34809
34810 2014-02-07 Allan McRae <allan@archlinux.org>
34811
34812 * version.h (RELEASE): Set to "development".
34813 (VERSION): Set to "2.19.90"
34814 * NEWS: Add 2.20 section.
34815
34816 2014-02-06 Carlos O'Donell <carlos@redhat.com>
34817
34818 [BZ #16529]
34819 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
34820
34821 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34822
34823 * manual/contrib.texi: Update entry for Carlos O'Donell,
34824 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
34825
34826 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
34827
34828 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
34829
34830 * sysdeps/unix/sysv/linux/kernel-features.h
34831 [__LINUX_KERNEL_VERSION >= 0x020621]
34832 (__ASSUME_PROC_PID_TASK_COMM): Define.
34833
34834 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34835
34836 [BZ #16398]
34837 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
34838 conversion when destination buffer does not have enough space.
34839 * libio/tst-ftell-partial-wide.c: New test case.
34840 * libio/Makefile (tests): Add tst-ftell-partial-wide.
34841
34842 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
34843 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
34844 Leonard and Allan McRae.
34845
34846 2014-02-04 David S. Miller <davem@davemloft.net>
34847
34848 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
34849 32-bit.
34850
34851 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34852
34853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34854 New file
34855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34856 New file
34857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34858 New file.
34859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34860 New file.
34861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34862 New file.
34863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34864 New file.
34865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34866 New file.
34867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34868 New file.
34869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34870 New file.
34871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34872 New file.
34873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34874 New file.
34875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34876 New file.
34877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34878 New file.
34879
34880 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34881
34882 * nptl/shlib-versions: Change powerpc*le start to 2.17.
34883 * shlib-versions: Likewise.
34884
34885 2014-02-04 Roland McGrath <roland@hack.frob.com>
34886 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34887
34888 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
34889 (abilist-pattern): New variable, set to %-le.abilist.
34890
34891 * Makerules (abilist-pattern): New variable.
34892 (vpath): Use $(abilist-pattern) in place of %.abilist.
34893 (check-abi-% pattern rule): Likewise.
34894 (check-abi, update-abi): Likewise.
34895
34896 2014-02-04 Eric Wong <normalperson@yhbt.net>
34897
34898 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34899
34900 2014-02-03 Carlos O'Donell <carlos@redhat.com>
34901
34902 * manual/startup.texi: Add next, previous, and top entries for
34903 the `Program Arguments' and `Environment Variables' nodes.
34904
34905 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
34906
34907 * manual/macros.texi: Add comments before MTASC-safety macros.
34908
34909 * manual/users.texi: Document MTASC-safety properties.
34910
34911 * manual/threads.texi (pthread_key_create, pthread_key_delete)
34912 (pthread_getspecific, pthread_setspecific): Format with
34913 @deftypefun, and add @safety note.
34914 * manual/signal.texi: Move comments that analyze the above
34915 functions to their home place.
34916
34917 2014-02-03 Allan McRae <allan@archlinux.org>
34918
34919 * po/sl.po: Update Slovenian translation from translation project.
34920
34921 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
34922
34923 * manual/time.texi (timegm): Add missing blank after @c.
34924 Reported by Joseph Myers <joseph@codesourcery.com>.
34925
34926 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
34927
34928 * manual/check-safety.sh: New.
34929 * manual/Makefile ($(objpfx)stamp-summary): Run it.
34930
34931 * manual/terminal.texi: Document MTASC-safety properties.
34932
34933 * manual/filesys.texi: Document MTASC-safety properties.
34934
34935 * manual/errno.texi: Document MTASC-safety properties.
34936
34937 * manual/intro.texi: Document safety identifiers and
34938 conditionals.
34939
34940 * manual/string.texi (wcstok): Fix prototype.
34941 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
34942
34943 * manual/time.texi: Document MTASC-safety properties.
34944
34945 * manual/string.texi: Document MTASC-safety properties.
34946
34947 * manual/threads.texi: Document MTASC-safety properties.
34948
34949 * manual/stdio.texi: Document MTASC-safety properties.
34950
34951 * manual/syslog.texi: Document MTASC-safety properties.
34952
34953 * manual/sysinfo.texi: Document MTASC-safety properties.
34954
34955 * manual/startup.texi: Document MTASC-safety properties.
34956
34957 * manual/socket.texi: Document MTASC-safety properties.
34958
34959 * manual/signal.texi: Document MTASC-safety properties.
34960
34961 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
34962
34963 * manual/setjmp.texi: Document MTASC-safety properties.
34964
34965 * manual/search.texi: Document MTASC-safety properties.
34966
34967 * manual/resource.texi: Document MTASC-safety properties.
34968
34969 * manual/process.texi: Document MTASC-safety properties.
34970
34971 * manual/platform.texi: Document MTASC-safety properties.
34972
34973 * manual/pipe.texi: Document MTASC-safety properties.
34974
34975 * manual/pattern.texi: Document MTASC-safety properties.
34976
34977 * manual/message.texi: Document MTASC-safety properties.
34978
34979 [BZ #12751]
34980 * manual/memory.texi: Document MTASC-safety properties.
34981
34982 * manual/math.texi: Document MTASC-safety properties.
34983
34984 * manual/locale.texi: Document MTASC-safety properties.
34985
34986 * manual/llio.texi: Document MTASC-safety properties.
34987
34988 * manual/libdl.texi: New.
34989
34990 * manual/lang.texi: Document MTASC-safety properties.
34991
34992 * manual/job.texi: Document MTASC-safety properties.
34993
34994 * manual/getopt.texi: Document MTASC-safety properties.
34995
34996 * manual/ctype.texi: Document MTASC-safety properties.
34997
34998 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
34999
35000 [BZ #16046]
35001 * csu/libc-tls.c (static_map): Remove variable.
35002 (__libc_setup_tls): Use main executable's link map for TLS data.
35003 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
35004 casing for LM_ID_BASE and GL(dl_nns).
35005 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
35006 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
35007 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
35008 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
35009 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
35010 member.
35011 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
35012 l_phnum members.
35013
35014 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
35015
35016 * manual/debug.texi: Document MTASC-safety properties.
35017
35018 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
35019
35020 [BZ #16510]
35021 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
35022 of __x86_64__ when disabling x87 inline functions.
35023
35024 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
35025
35026 * manual/charset.texi: Document MTASC-safety properties.
35027
35028 * manual/crypt.texi: Document MTASC-safety properties.
35029
35030 * manual/conf.texi: Document MTASC-safety properties.
35031
35032 * manual/arith.texi: Document MTASC-safety properties.
35033
35034 * manual/argp.texi: Document MTASC-safety properties.
35035
35036 * manual/macros.texi: Introduce macros to document multi
35037 thread, asynchronous signal and asynchronous cancellation
35038 safety properties.
35039 * manual/intro.texi: Introduce the properties themselves.
35040
35041 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35042
35043 * sysdeps/sh/sh4/Makefile: New file.
35044
35045 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
35046
35047 * math/gen-libm-test.pl ($srcdir): New variable.
35048 ($auto_input): Use it.
35049
35050 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35051
35052 [BZ #16506]
35053 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
35054 access beyond array bounds when parsing netgroups file.
35055
35056 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
35057 the old buffer before realloc.
35058
35059 2014-01-27 Allan McRae <allan@archlinux.org>
35060
35061 * po/fr.po: Update French translation from translation project.
35062
35063 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35064
35065 * sysdeps/sh/libm-test-ulps: Regenerate.
35066
35067 2014-01-24 David S. Miller <davem@davemloft.net>
35068
35069 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
35070
35071 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35072
35073 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
35074 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
35075
35076 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
35077
35078 [BZ #16474]
35079 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
35080 string pointers after reallocation.
35081
35082 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35083
35084 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
35085 __SH4A__ instead of __SH_FPU_ANY__.
35086
35087 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35088
35089 * sysdeps/sh/fpu_control.h: New file.
35090 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
35091 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
35092 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
35093 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
35094 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
35095 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
35096 * sysdeps/sh/sys/ucontext.h: Remove.
35097 * sysdeps/sh/sys: Remove directory.
35098
35099 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35100
35101 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
35102 s390/sys/ucontext.h.
35103 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
35104 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
35105
35106 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
35107
35108 [BZ #15605]
35109 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
35110
35111 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35112
35113 [BZ#16431]
35114 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35115 Adjust the vDSO correctly for internal calls.
35116 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
35117
35118 2014-01-20 Allan McRae <allan@archlinux.org>
35119
35120 * po/ca.po: Update Catalan translation from translation project.
35121
35122 2014-01-16 Mike Frysinger <vapier@gentoo.org>
35123
35124 * sysdeps/s390/sotruss-lib.c: New file.
35125
35126 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35127
35128 [BZ#16430]
35129 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
35130 (__GI___gettimeofday): Alias for a different internal symbol to avoid
35131 local calls issues by not having a PLT stub required for IFUNC calls.
35132 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
35133
35134 2014-01-16 Joseph Myers <joseph@codesourcery.com>
35135
35136 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
35137 * math/test-fpucw-static.c: Likewise.
35138
35139 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35140
35141 [BZ #16453]
35142 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
35143
35144 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35145
35146 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
35147 implementation for powerpc.
35148
35149 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
35150
35151 [BZ #14782]
35152 * sysdeps/posix/system.c (__libc_system): Do not enable
35153 asynchronous cancellation.
35154
35155 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35156
35157 [BZ #16427]
35158 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
35159 handling only for numbers special also in the IEEE case.
35160
35161 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35162
35163 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35164
35165 2014-01-11 Allan McRae <allan@archlinux.org>
35166
35167 * po/bg.po: Update Bulgarian translation from translation project.
35168
35169 * po/de.po: Update German translation from translation project.
35170
35171 2014-01-10 Roland McGrath <roland@hack.frob.com>
35172
35173 * sysdeps/generic/gcc-compat.h: New file.
35174
35175 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35176
35177 * benchtests/asin-inputs: Correct slow inputs.
35178 * benchtests/acos-inputs: Likewise.
35179
35180 2014-01-10 Allan McRae <allan@archlinux.org>
35181
35182 * po:sv.po: Update Swedish translation from translation project.
35183
35184 * po/vi.po: Update Vietnamese translation from translation project.
35185
35186 * po/eo.po: Update Esperanto translation from translation project.
35187
35188 * po/cs.po: Update Czech translation from translation project.
35189
35190 * po/nl.po: Update Dutch translation from translation project.
35191
35192 * po/pl.po: Update Polish translation from translation project.
35193
35194 * po/ru.po: Update Russian translation from translation project.
35195
35196 * po/uk.po: Update Ukrainian translation from translation project.
35197
35198 2014-01-08 Brooks Moses <bmoses@google.com>
35199
35200 * elf/dl-load.c: Fix comment typo.
35201
35202 2014-01-08 Carlos O'Donell <carlos@redhat.com>
35203
35204 * po/header.pot: Rename to...
35205 * po/pot.header: ... this.
35206 * po/Makefile: Use pot.header.
35207
35208 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
35209 Maxim Kuvyrkov <maxim@kugelworks.com>
35210
35211 [BZ #16394]
35212 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
35213 SRC and DEST against LEN.
35214
35215 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35216
35217 [BZ #16414]
35218 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
35219 implementation.
35220 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
35221
35222 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35223
35224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35225
35226 2014-01-08 Joseph Myers <joseph@codesourcery.com>
35227
35228 [BZ #16408]
35229 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
35230 for large positive arguments.
35231
35232 2014-01-07 Joseph Myers <joseph@codesourcery.com>
35233
35234 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35235
35236 * math/auto-libm-test-in: Mark various tests with
35237 xfail-rounding:ldbl-128ibm.
35238 * math/auto-libm-test-out: Regenerated.
35239
35240 [BZ #16407]
35241 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35242 Increase overflow threshold.
35243
35244 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
35245
35246 [BZ #14286]
35247 * stdio-common/vfprintf.c: Check for integer overflow.
35248
35249 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35250
35251 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
35252 the first argument and return value of __tls_get_addr_internal.
35253
35254 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35255
35256 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
35257 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
35258
35259 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35260
35261 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
35262 * sysdeps/s390/rtld-global-offsets.sym: New file.
35263 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
35264 GLIBC_2.19 symbol.
35265 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
35266 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
35267 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35268 ... this.
35269 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
35270 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35271 ... this.
35272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35273 Regenerate.
35274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35275 Regenerate.
35276 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
35277 halfs of GPRs for high_gprs contexts.
35278 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
35279 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
35280 field.
35281 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
35282 uc_flags field.
35283 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
35284 64 bit versions:
35285 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
35286 for high GPRs (uc_high_gprs) and for future extensions
35287 (__reserved).
35288 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
35289 for future extensions (__reserved).
35290 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
35291 64 bit versions:
35292 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
35293 SC_HIGHGPRS offset definition.
35294 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
35295 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
35296
35297 * Versions.def: Add GLIBC_2.19 for libpthread.
35298 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
35299 siglongjmp for libpthread with GLIBC_2.19 symver.
35300 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
35301 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
35302 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
35303 * sysdeps/s390/__longjmp.c: New file.
35304 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
35305 * sysdeps/s390/longjmp.c: New file.
35306 * sysdeps/s390/setjmp.S: New file.
35307 * sysdeps/s390/sigjmp.S: New file.
35308 * sysdeps/s390/v1-longjmp.c: New file.
35309 * sysdeps/s390/v1-setjmp.h: New file.
35310 * sysdeps/s390/v1-sigjmp.c: New file.
35311 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
35312 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
35313 GLIBC_2.19 version.
35314 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
35315 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
35316 versioned symbols for ____longjmp_chk.
35317 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35318 Likewise.
35319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35320 Regenerate.
35321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35322 Regenerate.
35323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35324 Regenerate.
35325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35326 Regenerate.
35327 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
35328 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
35329 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
35330 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
35331 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
35332 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
35333 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
35334 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
35335 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
35336 * sysdeps/s390/rtld-__longjmp.c: New file.
35337 * sysdeps/s390/rtld-setjmp.S: New file.
35338
35339 2014-01-06 Joseph Myers <joseph@codesourcery.com>
35340
35341 [BZ #16400]
35342 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35343 Return -__logl (x) for small positive arguments without evaluating
35344 a polynomial.
35345
35346 2014-01-06 Mike Frysinger <vapier@gentoo.org>
35347
35348 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
35349 Rename to ...
35350 (__ptrace_peeksiginfo_args): ... this.
35351 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35352 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35353 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35354
35355 2014-01-06 Allan McRae <allan@archlinux.org>
35356
35357 * inet/netinet/in.h: Fix typo in comment.
35358
35359 2014-01-05 Andreas Jaeger <aj@suse.de>
35360
35361 * sysdeps/i386/fpu/libm-test-ulps: Update.
35362
35363 2014-01-05 Allan McRae <allan@archlinux.org>
35364
35365 * po/libc.pot: Regenerated.
35366
35367 * malloc/memusagestat.c: Fix gettext call formatting.
35368
35369 2014-01-04 Sami Kerola <kerolasa@iki.fi>
35370
35371 * nscd/nscd.c: Improve usage() output.
35372
35373 2014-01-04 Mike Frysinger <vapier@gentoo.org>
35374
35375 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
35376 * sysdeps/unix/sysv/linux/configure: Regenerated.
35377 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
35378 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
35379
35380 2014-01-03 Joseph Myers <joseph@codesourcery.com>
35381
35382 [BZ #16390]
35383 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35384 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
35385
35386 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35387
35388 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
35389 extra tokens at end of #undef directive.
35390 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
35391 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
35392 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35393
35394 2014-01-03 Joseph Myers <joseph@codesourcery.com>
35395
35396 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35397
35398 * math/auto-libm-test-in: Mark various tests with
35399 xfail-rounding:ldbl-128ibm.
35400 * math/auto-libm-test-out: Regenerated.
35401
35402 2014-01-02 Joseph Myers <joseph@codesourcery.com>
35403
35404 [BZ #16386]
35405 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
35406 numbers with subnormal high part when calculating exponent.
35407
35408 [BZ #16385]
35409 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
35410 fabs.
35411
35412 [BZ #16384]
35413 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
35414 M_LN2l.
35415 (__ieee754_acoshl): Use __log1pl not __log1p.
35416
35417 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
35418
35419 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
35420 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
35421 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
35422 (grow_heap, heap_trim, _int_new_arena, get_free_list)
35423 (reused_arena, arena_get2): Convert to GNU style.
35424 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
35425 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
35426 (memalign_check, __malloc_set_state): Likewise.
35427 * malloc/mallocbug.c (main): Likewise.
35428 * malloc/malloc.c (__malloc_assert, malloc_init_state)
35429 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
35430 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
35431 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
35432 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
35433 (__posix_memalign, malloc_info): Likewise.
35434 * malloc/malloc.h: Likewise.
35435 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
35436 (mallochook, memalignhook, reallochook, mabort): Likewise.
35437 * malloc/mcheck.h: Likewise.
35438 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
35439 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
35440 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
35441 * malloc/morecore.c (__default_morecore): Likewise.
35442 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
35443 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
35444 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
35445 (print_and_abort): Likewise.
35446 * malloc/obstack.h: Likewise.
35447 * malloc/set-freeres.c (__libc_freeres): Likewise.
35448 * malloc/tst-mallocstate.c (main): Likewise.
35449 * malloc/tst-mtrace.c (main): Likewise.
35450 * malloc/tst-realloc.c (do_test): Likewise.
35451
35452 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35453
35454 [BZ #16366]
35455 * nscd/netgroupcache.c (do_notfound): New function.
35456 (addgetnetgrentX): Use it.
35457
35458 [BZ # 16365]
35459 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
35460 NSS_STATUS_NOTFOUND.
35461
35462 2014-01-01 Joseph Myers <joseph@codesourcery.com>
35463
35464 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35466
35467 2014-01-01 Allan McRae <allan@archlinux.org>
35468
35469 * scripts/update-copyrights: Update configure input file suffix.
35470
35471 * NEWS: Update copyright year.
35472 * catgets/gencat.c: Likewise.
35473 * csu/version.c: Likewise.
35474 * debug/catchsegv.sh: Likewise.
35475 * debug/pcprofiledump.c: Likewise.
35476 * debug/xtrace.sh: Likewise.
35477 * elf/ldconfig.c: Likewise.
35478 * elf/ldd.bash.in: Likewise.
35479 * elf/pldd.c: Likewise.
35480 * elf/sotruss.ksh: Likewise.
35481 * elf/sprof.c: Likewise.
35482 * iconv/iconv_prog.c: Likewise.
35483 * iconv/iconvconfig.c: Likewise.
35484 * locale/programs/locale.c: Likewise.
35485 * locale/programs/localedef.c: Likewise.
35486 * login/programs/pt_chown.c: Likewise.
35487 * malloc/memusage.sh: Likewise.
35488 * malloc/memusagestat.c: Likewise.
35489 * malloc/mtrace.pl: Likewise.
35490 * manual/libc.texinfo: Likewise.
35491 * nscd/nscd.c: Likewise.
35492 * nss/getent.c: Likewise.
35493 * nss/makedb.c: Likewise.
35494 * posix/getconf.c: Likewise.
35495 * scripts/test-installation.pl: Likewise.
35496
35497 * All files with FSF copyright notices: Update copyright dates
35498 using scripts/update-copyrights.
35499 * intl/plural.c: Regenerated.
35500 * locale/programs/charmap-kw.h: Likewise.
35501 * locale/programs/locfile-kw.h: Likewise.
35502
35503 2013-12-31 Mike Frysinger <vapier@gentoo.org>
35504
35505 * sysdeps/unix/sysv/linux/configure: Regenerated.
35506 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
35507 the linux/fanotify.h header.
35508 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
35509 HAVE_LINUX_FANOTIFY_H is defined.
35510
35511 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35512
35513 * benchtests/cos-inputs: New inputs.
35514 * benchtests/sin-inputs: Likewise.
35515
35516 * benchtests/atan-inputs: New inputs. Fix name of multiple
35517 precision fallback inputs.
35518
35519 * benchtests/atanh-inputs: New inputs.
35520 * benchtests/tanh-inputs: Likewise.
35521
35522 * benchtests/acosh-inputs: New inputs.
35523 * benchtests/asinh-inputs: Likewise.
35524
35525 * benchtests/cosh-inputs: New inputs.
35526 * benchtests/sinh-inputs: Likewise.
35527
35528 * benchtests/acos-inputs: Add more inputs.
35529 * benchtests/asin-inputs: Likewise.
35530
35531 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
35532
35533 [BZ #16375]
35534 * manual/arith.texi: Fix spelling.
35535 * manual/charset.texi: Likewise.
35536 * manual/errno.texi: Likewise.
35537 * manual/filesys.texi: Likewise.
35538 * manual/lang.texi: Likewise.
35539 * manual/llio.texi: Likewise.
35540 * manual/locale.texi: Likewise.
35541 * manual/message.texi: Likewise.
35542 * manual/resource.texi: Likewise.
35543 * manual/search.texi: Likewise.
35544 * manual/setjmp.texi: Likewise.
35545 * manual/stdio.texi: Likewise.
35546 * manual/string.texi: Likewise.
35547 * manual/sysinfo.texi: Likewise.
35548 * manual/time.texi: Likewise.
35549
35550 2013-12-27 Carlos O'Donell <carlos@redhat.com>
35551
35552 * po/sl.po: New file.
35553
35554 2013-12-27 Mike Frysinger <vapier@gentoo.org>
35555
35556 * .gitignore: Add core/.gdbinit/.gdb_history.
35557
35558 2013-12-27 Allan McRae <allan@archlinux.org>
35559
35560 [BZ #16369]
35561 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
35562 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
35563
35564 2013-12-24 Brooks Moses <bmoses@google.com>
35565
35566 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
35567 all compilers that claim C++98 compliance, not just GCC.
35568 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35569 Likewise.
35570
35571 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
35572
35573 * NEWS: Restore accidentally deleted bug-fix entries.
35574
35575 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
35576 Ondřej Bílka <neleai@seznam.cz>
35577
35578 [BZ #15073]
35579 * malloc/malloc.c (_int_free): Perform sanity check only if we
35580 have_lock.
35581
35582 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
35583
35584 [BZ #12986]
35585 * manual/stdio.texi (String Input Conversions): Clarify that character
35586 classes are not supported.
35587
35588 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35589
35590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35591
35592 2013-12-22 Joseph Myers <joseph@codesourcery.com>
35593
35594 [BZ #16337]
35595 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35596 Calculate results for small negative arguments directly rather
35597 than using reflection formula with special underflow handling.
35598
35599 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
35600 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
35601 sysdeps/unix/bsd/bsd4.4/syscalls.list.
35602 (fchflags): Likewise.
35603 (revoke): Likewise.
35604 (setlogin): Likewise.
35605 (sigaltstack): Likewise.
35606 (wait4): Likewise.
35607 (sigblock): Remove.
35608 (sigsetmask): Likewise.
35609 (wait3): Likewise.
35610 (waitpid): Likewise.
35611 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
35612 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
35613 file.
35614 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
35615 * sysdeps/unix/bsd/Makefile: ... here.
35616 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
35617 * sysdeps/unix/bsd/Versions: ... here.
35618 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
35619 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
35620 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
35621 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
35622 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
35623 * sysdeps/unix/bsd/sigblock.c: ... here.
35624 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
35625 * sysdeps/unix/bsd/sigsetmask.c: ... here.
35626 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
35627 * sysdeps/unix/bsd/sigvec.c: ... here.
35628 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
35629 * sysdeps/unix/bsd/tcdrain.c: ... here.
35630 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
35631 * sysdeps/unix/bsd/tcgetattr.c: ... here.
35632 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
35633 * sysdeps/unix/bsd/tcsetattr.c: ... here.
35634 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
35635 * sysdeps/unix/bsd/wait.c: ... here.
35636 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
35637 * sysdeps/unix/bsd/wait3.c: ... here.
35638 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
35639 * sysdeps/unix/bsd/waitpid.c: ... here.
35640
35641 2013-12-21 Joseph Myers <joseph@codesourcery.com>
35642
35643 [BZ #16356]
35644 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
35645 round-to-nearest for [!USE_AS_EXPM1L].
35646 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
35647 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
35648 more tests of exp and exp10. Expect some exp10 tests to miss
35649 exceptions or fail in directed rounding modes.
35650 * math/auto-libm-test-out: Regenerated.
35651 * math/libm-test.inc (exp10_tonearest_test_data): New array.
35652 (exp10_test_tonearest): New function.
35653 (exp10_towardzero_test_data): New array.
35654 (exp10_test_towardzero): New function.
35655 (exp10_downward_test_data): New array.
35656 (exp10_test_downward): New function.
35657 (exp10_upward_test_data): New array.
35658 (exp10_test_upward): New function.
35659 (main): Call the new functions.
35660 * sysdeps/i386/fpu/libm-test-ulps: Update.
35661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35662
35663 2013-12-20 Joseph Myers <joseph@codesourcery.com>
35664
35665 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
35666 asinh, atan, atan2, atanh, cbrt, cos and cosh.
35667 * math/auto-libm-test-out: Regenerated.
35668 * math/libm-test.inc (acosh_test_data): Add more tests.
35669 (atanh_test_data): Likewise.
35670 (ceil_test_data): Likewise.
35671 (copysign_test_data): Likewise.
35672 * sysdeps/i386/fpu/libm-test-ulps: Update.
35673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35674
35675 * timezone/checktab.awk: Update from tzcode 2013i.
35676 * timezone/private.h: Likewise.
35677 * timezone/scheck.c: Likewise.
35678 * timezone/tzfile.h: Likewise.
35679 * timezone/tzselect.ksh: Likewise.
35680 * timezone/zdump.c: Likewise.
35681 * timezone/zic.c: Likewise.
35682
35683 * math/auto-libm-test-in: Add tests of cpow.
35684 * math/auto-libm-test-out: Regenerated.
35685 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
35686 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35687 mpc_cc_c.
35688 (func_calc_desc): Add mpc_cc_c union field.
35689 (test_functions): Add cpow.
35690 (special_fill_2pi): New function.
35691 (special_real_inputs): Add 2pi.
35692 (calc_generic_results): Handle mpc_cc_c.
35693 * sysdeps/i386/fpu/libm-test-ulps: Update.
35694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35695
35696 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
35697 csqrt, ctan and ctanh.
35698 * math/auto-libm-test-out: Regenerated.
35699 * math/libm-test.inc (TEST_COND_x86_64): New macro.
35700 (TEST_COND_x86): Likewise.
35701 (ccos_test_data): Use AUTO_TESTS_c_c.
35702 (ccosh_test_data): Likewise.
35703 (cexp_test_data): Likewise.
35704 (clog_test_data): Likewise.
35705 (csqrt_test_data): Likewise.
35706 (ctan_test_data): Likewise.
35707 (ctan_tonearest_test_data): Likewise.
35708 (ctan_towardzero_test_data): Likewise.
35709 (ctan_downward_test_data): Likewise.
35710 (ctan_upward_test_data): Likewise.
35711 (ctanh_test_data): Likewise.
35712 (ctanh_tonearest_test_data): Likewise.
35713 (ctanh_towardzero_test_data): Likewise.
35714 (ctanh_downward_test_data): Likewise.
35715 (ctanh_upward_test_data): Likewise.
35716 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35717 mpc_c_c.
35718 (func_calc_desc): Add mpc_c_c union field.
35719 (FUNC_mpc_c_c): New macro.
35720 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
35721 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
35722 ctanh.
35723 (special_fill_min_subnorm_p120): New function.
35724 (special_real_inputs): Add min_subnorm_p120.
35725 (calc_generic_results): Handle mpc_c_c.
35726 * sysdeps/i386/fpu/libm-test-ulps: Update.
35727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35728
35729 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35730
35731 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
35732 (do_sin_slow): New functions.
35733 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
35734 (cslow2, csloww1, csloww2): Use the new functions.
35735
35736 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
35737 Use M to change sign of result instead of X. Assume X is
35738 positive.
35739 (csloww1): Likewise.
35740 (__sin): Adjust.
35741 (__cos): Adjust.
35742
35743 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
35744 arguments A and DA.
35745 (__sin): Adjust.
35746 (__cos): Likewise.
35747
35748 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
35749 (__cos): Likewise.
35750 (sloww1): Don't adjust sign of DX.
35751 (csloww1): Likewise.
35752 (sloww2): Use X directly and don't adjust sign of DX.
35753 (csloww2): Likewise.
35754
35755 2013-12-19 Joseph Myers <joseph@codesourcery.com>
35756
35757 * math/auto-libm-test-in: Add tests of cabs and carg.
35758 * math/auto-libm-test-out: Regenerated.
35759 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
35760 (carg_test_data): Likewise.
35761 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35762 mpc_c_f.
35763 (func_calc_desc): Add mpc_c_f union field.
35764 (test_functions): Add cabs and carg.
35765 (calc_generic_results): Handle mpc_c_f.
35766
35767 * sysdeps/powerpc/powerpc32/libgcc-compat.S
35768 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
35769 as a macro and a compat symbol.
35770 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35771 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35772 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35773 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35774 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
35775 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
35776 not use .hidden.
35777 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
35778 Likewise.
35779 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
35780 Likewise.
35781 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
35782 Likewise.
35783 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
35784 Likewise.
35785 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
35786 Likewise.
35787 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
35788 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
35789 from GLIBC_2.3.2.
35790
35791 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35792
35793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35794
35795 2013-12-19 Joseph Myers <joseph@codesourcery.com>
35796
35797 * manual/texinfo.tex: Update to version 2013-11-26.10 with
35798 trailing whitespace removed.
35799 * scripts/config.guess: Update to version 2013-11-29.
35800 * scripts/config.sub: Update to version 2013-10-01.
35801
35802 * math/auto-libm-test-in: Add tests of sincos.
35803 * math/auto-libm-test-out: Regenerated.
35804 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
35805 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35806 mpfr_f_11.
35807 (func_calc_desc): Add mpfr_f_11 union field.
35808 (test_functions): Add sincos.
35809 (calc_generic_results): Handle mpfr_f_11.
35810 * sysdeps/i386/fpu/libm-test-ulps: Update.
35811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35812
35813 2013-12-19 Andreas Schwab <schwab@suse.de>
35814
35815 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
35816 CALL_MCOUNT.
35817 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35818 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
35819 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
35820
35821 2013-12-19 Joseph Myers <joseph@codesourcery.com>
35822
35823 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
35824 * sysdeps/i386/fpu/libm-test-ulps: Update.
35825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35826
35827 [BZ #16293]
35828 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
35829 round-to-nearest mode when using frndint.
35830 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
35831 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35832 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35833 Likewise.
35834 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
35835 sinh test to fail.
35836 * math/auto-libm-test-out: Regenerated.
35837 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
35838 (TEST_COND_x86): Likewise.
35839 (expm1_tonearest_test_data): New array.
35840 (expm1_test_tonearest): New function.
35841 (expm1_towardzero_test_data): New array.
35842 (expm1_test_towardzero): New function.
35843 (expm1_downward_test_data): New array.
35844 (expm1_test_downward): New function.
35845 (expm1_upward_test_data): New array.
35846 (expm1_test_upward): New function.
35847 (main): Run the new test functions.
35848 * sysdeps/i386/fpu/libm-test-ulps: Update.
35849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35850
35851 * include/features.h: Update comment documenting feature test
35852 macros. Mention _DEFAULT_SOURCE in comment.
35853 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
35854 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
35855 _BSD_SOURCE and _SVID_SOURCE.
35856 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
35857 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
35858 !_SVID_SOURCE]: Likewise.
35859 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35860 (__USE_POSIX_IMPLICITLY): Define.
35861 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35862 (_POSIX_SOURCE): Undefine and redefine.
35863 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35864 (_POSIX_C_SOURCE): Likewise.
35865 * manual/creature.texi (_DEFAULT_SOURCE): Document.
35866 (Feature Test Macros): Update documentation of default features.
35867
35868 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35869
35870 * benchtests/Makefile: Add bench-strtok.
35871 * benchtests/bench-strtok.c: New file: strtok benchtest.
35872
35873 2013-12-19 Allan McRae <allan@archlinux.org>
35874
35875 * manual/install.texi: Suppress menu for plain text output.
35876 * INSTALL: Regenerated.
35877
35878 2013-12-18 Brooks Moses <bmoses@google.com>
35879
35880 [BZ #15846]
35881 * misc/getauxval.c: Include errno.h.
35882 (__getauxval): Set errno to ENOENT if the requested type is not
35883 found.
35884 * misc/sys/auxv.h (getauxval): Document that it may set errno;
35885 don't declare with __attribute_const__.
35886 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
35887 * manual/startup.texi: Document that getauxval sets errno.
35888
35889 2013-12-18 Joseph Myers <joseph@codesourcery.com>
35890
35891 * math/auto-libm-test-in: Add tests of jn and yn.
35892 * math/auto-libm-test-out: Regenerated.
35893 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
35894 (yn_test_data): Likewise.
35895 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35896 mpfr_if_f.
35897 (func_calc_desc): Add mpfr_if_f union field.
35898 (FUNC_mpfr_if_f): New macro.
35899 (test_functions): Add jn and yn.
35900 (calc_generic_results): Assert type of second input for
35901 mpfr_ff_f. Handle mpfr_if_f.
35902 (output_for_one_input_case): Disable all checking for arguments
35903 fitting floating-point types in case of an integer argument.
35904 * sysdeps/i386/fpu/libm-test-ulps: Update.
35905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35906
35907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35908 Don't expect fegetround reference in libm.so.
35909
35910 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35911
35912 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
35913 $(config-cflags-nofma).
35914
35915 2013-12-18 Joseph Myers <joseph@codesourcery.com>
35916
35917 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
35918 * math/auto-libm-test-out: Regenerated.
35919
35920 [BZ #16338]
35921 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
35922 to determine exponent and adjust argument to have exponent of -1.
35923 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
35924 log2.
35925 * math/auto-libm-test-out: Regenerated.
35926 * sysdeps/i386/fpu/libm-test-ulps: Update.
35927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35928
35929 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
35930
35931 * manual/probes.texi: Remove cases when per-thread arenas are
35932 disabled.
35933
35934 2013-12-18 Andreas Schwab <schwab@suse.de>
35935
35936 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
35937 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
35938 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
35939 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
35940 * sysdeps/i386/i686/multiarch/Makefile: Update.
35941 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
35942
35943 2013-12-17 Joseph Myers <joseph@codesourcery.com>
35944
35945 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
35946 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
35947
35948 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
35949
35950 [BZ #15968]
35951 Support TZ transition times < 00:00:00.
35952 This is needed for version-3 tz-format files; it supports time
35953 stamps past 2037 for America/Godthab (the only entry in the tz
35954 database for which this change is relevant).
35955 * manual/time.texi (TZ Variable): Document transition times
35956 from -167:59:59 through -00:00:01.
35957 * time/tzset.c (tz_rule): Time of day is now signed.
35958 (__tzset_parse_tz): Parse negative time of day.
35959
35960 Document TZ transition times >= 25:00:00.
35961 * manual/time.texi (TZ Variable): Document transition times from
35962 25:00:00 through 167:59:59. These are already supported, and this
35963 support will help with version-3 tz-format files.
35964
35965 * manual/time.texi (TZ Variable): Modernize North America example
35966 to reflect current (i.e., 2007-and-later) daylight saving rules.
35967
35968 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
35969
35970 2013-12-17 Joseph Myers <joseph@codesourcery.com>
35971
35972 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
35973 * sysdeps/unix/bsd/bits/stat.h: Likewise.
35974 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
35975 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35976 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
35977 * sysdeps/unix/bsd/bsdstat.h: Likewise.
35978 * sysdeps/unix/bsd/clock.c: Likewise.
35979 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
35980 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
35981 * sysdeps/unix/bsd/init-posix.c: Likewise.
35982 * sysdeps/unix/bsd/poll.c: Likewise.
35983 * sysdeps/unix/bsd/ptsname.c: Likewise.
35984 * sysdeps/unix/bsd/seekdir.c: Likewise.
35985 * sysdeps/unix/bsd/setegid.c: Likewise.
35986 * sysdeps/unix/bsd/seteuid.c: Likewise.
35987 * sysdeps/unix/bsd/setgid.c: Likewise.
35988 * sysdeps/unix/bsd/setrgid.c: Likewise.
35989 * sysdeps/unix/bsd/setruid.c: Likewise.
35990 * sysdeps/unix/bsd/setsid.c: Likewise.
35991 * sysdeps/unix/bsd/setuid.c: Likewise.
35992 * sysdeps/unix/bsd/sigaction.c: Likewise.
35993 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
35994 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
35995 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
35996 * sysdeps/unix/bsd/telldir.c: Likewise.
35997 * sysdeps/unix/bsd/times.c: Likewise.
35998 * sysdeps/unix/bsd/usleep.c: Likewise.
35999
36000 * misc/Makefile (install-lib): Remove libbsd-compat.a.
36001 ($(objpfx)libbsd-compat.a): Remove rule.
36002
36003 * include/features.h (__FAVOR_BSD): Do not define.
36004 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
36005 features conflicting with POSIX.
36006 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
36007 (_BSD_SOURCE): Remove description of not being a subset of other
36008 feature test macros.
36009 * manual/job.texi (getpgrp): Do not document BSD version.
36010 (getpgid): Do not document by reference to BSD getpgrp.
36011 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
36012 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
36013 * signal/signal.h [__FAVOR_BSD]: Likewise.
36014 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
36015 instead of making contents conditional on [__FAVOR_BSD].
36016 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
36017
36018 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36019
36020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36021
36022 2013-12-17 Joseph Myers <joseph@codesourcery.com>
36023
36024 [BZ #16314]
36025 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
36026 values below 2**-450, not 2**-500.
36027 * math/auto-libm-test-in: Don't allow spurious underflow from
36028 hypot.
36029 * math/auto-libm-test-out: Regenerated.
36030
36031 [BZ #16316]
36032 [BZ #16330]
36033 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
36034 values of ha and hb and sort them after adjusting subnormal
36035 arguments.
36036 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36037 Likewise.
36038 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
36039 values of ea and eb and sort them after adjusting subnormal
36040 arguments.
36041 * math/auto-libm-test-in: Do not expect some hypot tests of
36042 subnormals to fail. Add more hypot tests.
36043 * math/auto-libm-test-out: Regenerated.
36044
36045 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36046
36047 [BZ #13304]
36048 * sysdeps/sh/s_fma.c: New file.
36049 * sysdeps/sh/s_fmaf.c: New file.
36050 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
36051 version.
36052 * sysdeps/sh/Implies: Add sh/soft-fp.
36053
36054 2013-12-16 Roland McGrath <roland@hack.frob.com>
36055
36056 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
36057 level of indirection to members `objname', `errstring', `malloced'.
36058 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
36059 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
36060 it as the __longjmp argument (just pass 1 instead).
36061 (_dl_catch_error): Initialize C with argument pointers and address of
36062 volatile local ERRCODE rather than copying values out of C at return.
36063
36064 2013-12-16 Joseph Myers <joseph@codesourcery.com>
36065
36066 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
36067 * math/auto-libm-test-out: Regenerated.
36068 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
36069 (hypot_test_data): Likewise.
36070 (pow_test_data): Likewise.
36071 (pow_tonearest_test_data): Likewise.
36072 * math/gen-auto-libm-tests.c (func_calc_method): Add value
36073 mpfr_ff_f.
36074 (func_calc_desc): Add mpfr_ff_f union field.
36075 (FUNC_mpfr_ff_f): New macro.
36076 (test_functions): Add atan2, hypot and pow.
36077 (special_fill_min): New function.
36078 (special_fill_minus_min): Likewise.
36079 (special_fill_min_subnorm): Likewise.
36080 (special_fill_minus_min_subnorm): Likewise.
36081 (special_real_inputs): Add min, -min, min_subnorm and
36082 -min_subnorm.
36083 (calc_generic_results): Handle mpfr_ff_f.
36084 * sysdeps/i386/fpu/libm-test-ulps: Update.
36085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36086
36087 2013-12-16 Will Newton <will.newton@linaro.org>
36088
36089 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
36090 (Aligned Memory Blocks): Add documentation for aligned_alloc
36091 and suggest it as an alternative to posix_memalign.
36092 (Hooks for Malloc): Document __memalign_hook is also called
36093 for aligned_alloc. (Summary of Malloc): Add summary for
36094 aligned alloc. Document __memalign_hook is also called
36095 for aligned_alloc.
36096
36097 2013-12-16 Will Newton <will.newton@linaro.org>
36098
36099 * manual/memory.texi (Malloc Examples): Clarify default
36100 alignment documentation. Suggest posix_memalign rather
36101 than memalign or valloc.
36102 (Aligned Memory Blocks): Remove suggestion to use memalign
36103 or valloc. Remove obsolete comment about BSD.
36104 Document memalign errno values and mark the function obsolete.
36105 Document posix_memalign returned error codes. Mark valloc
36106 as obsolete. (Hooks for Malloc): __memalign_hook is also
36107 called for posix_memalign and valloc.
36108 (Summary of Malloc): Add posix_memalign to function summary.
36109 __memalign_hook is also called for posix_memalign and valloc.
36110
36111 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36112
36113 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
36114 TAYLOR_SIN.
36115 (__sin): Adjust.
36116 (__cos): Likewise.
36117 (sloww): Use mynumber union. Expand ternary operator into
36118 if-else statements.
36119 (cslow): use mynumber union.
36120
36121 2013-12-16 Allan McRae <allan@archlinux.org>
36122
36123 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
36124 * configure: Regenerated.
36125
36126 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
36127
36128 [BZ #14120]
36129 * configure.ac: Added --enable-maintainer-mode. Check for
36130 autoconf when enabled.
36131 * configure: Regenerated.
36132
36133 * nscd/nscd.service: New file.
36134 * nscd/nscd.tmpfiles: New file.
36135
36136 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
36137
36138 [BZ #12100]
36139 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
36140 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
36141 * sysdeps/x86_64/multiarch/strstr.c: ... here.
36142 (strstr): Add __strstr_sse2_unaligned ifunc.
36143 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
36144 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
36145 (strcasestr): Remove __strcasestr_sse42 ifunc.
36146 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
36147 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
36149
36150 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36151
36152 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
36153 * sysdeps/sh/bits/fenv.h: ... here.
36154 * sysdeps/sh/sh4/fpu/bits: Remove directory.
36155
36156 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36157
36158 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
36159
36160 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
36161 hypotf multiarch implementations.
36162 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
36163 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
36164 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
36165 multiarch hypot for PPC64.
36166 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
36167 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
36168 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
36169 multiarch hypotf for PPC64.
36170
36171 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
36172 modff multiarch implementations.
36173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
36174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
36175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
36176 multiarch modf for PPC64.
36177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
36178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
36179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
36180 multiarch modff for PPC64.
36181
36182 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
36183 and logl multiarch implementations.
36184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
36185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
36186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
36187 multiarch logb for PPC64.
36188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
36189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
36190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
36191 multiarch logb for PPC64.
36192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
36193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
36194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
36195 multiarch logb for PPC64.
36196
36197 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
36198 isinff multiarch implementation.
36199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
36200 file.
36201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
36202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
36203 multiarch isinf for PPC64.
36204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
36205 file.
36206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
36207 multiarch isinff for PPC64.
36208
36209 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
36210 finitef multiarch implementation.
36211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
36212 file.
36213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
36214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
36215 multiarch finite for PPC64.
36216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
36217 file.
36218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
36219 multiarch finitef for PPC64.
36220
36221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
36222 lrint multiarch implementation.
36223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
36224 file.
36225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
36226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
36227 multiarch llrint for PPC64.
36228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
36229 multiarch lrint for PPC64.
36230
36231 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
36232 copysignf multiarch implementation.
36233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
36234 file.
36235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
36236 file.
36237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
36238 multiarch copysign for PPC64.
36239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
36240 multiarch copysignf for PPC64.
36241
36242 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
36243 multiarch implementation.
36244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
36245 file.
36246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
36247 file.
36248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
36249 file.
36250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
36251 file.
36252 multiarch llround for PPC64.
36253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
36254 multiarch trunc for PPC64.
36255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
36256 multiarch truncf for PPC64.
36257
36258 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
36259 multiarch implementation.
36260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
36261 file.
36262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
36263 file.
36264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
36265 file.
36266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
36267 file.
36268 multiarch llround for PPC64.
36269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
36270 multiarch round for PPC64.
36271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
36272 multiarch roundf for PPC64.
36273
36274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
36275 multiarch implementation.
36276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
36277 file.
36278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
36279 file.
36280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
36281 file.
36282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
36283 file.
36284 multiarch llround for PPC64.
36285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
36286 multiarch floor for PPC64.
36287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
36288 multiarch floorf for PPC64.
36289
36290 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
36291 multiarch implementation.
36292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
36293 file.
36294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
36295 file.
36296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
36297 file.
36298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
36299 file.
36300 multiarch llround for PPC64.
36301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
36302 multiarch ceil for PPC64.
36303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
36304 multiarch ceilf for PPC64.
36305
36306 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36307 multiarch implementation.
36308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
36309 file.
36310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
36311 file.
36312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
36313 file.
36314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
36315 multiarch llround for PPC64.
36316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
36317 multiarch lround for PPC64.
36318
36319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36320 multiarch implementation.
36321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
36322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
36323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
36324 file.
36325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
36326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
36327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
36328 multiarch isnan for PPC64.
36329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
36330 multiarch isnanf for PPC64.
36331
36332 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
36333 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
36334 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
36335 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
36336 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
36337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
36338
36339 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
36340 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36341 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36342 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36343
36344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
36345 multiarch implementations.
36346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36347 (__libc_ifunc_impl_list): Likewise.
36348 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
36349 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
36350 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
36351 multiarch stpcpy for PPC64.
36352
36353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
36354 multiarch implementations.
36355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36356 (__libc_ifunc_impl_list): Likewise.
36357 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
36358 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
36359 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
36360 multiarch strcpy for PPC64.
36361
36362 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
36363 redefine function name.
36364 (_wordcopy_fwd_dest_aligned): Likewise.
36365 (_wordcopy_bwd_aligned): Likewise.
36366 (_wordcopy_bwd_dest_aligned): Likewise.
36367 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
36368 multiarch implementations.
36369 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36370 (__libc_ifunc_impl_list): Likewise.
36371 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
36372 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
36373 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
36374 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
36375 multiarch wcscpy for PPC64.
36376
36377 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
36378 multiarch implementations.
36379 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36380 (__libc_ifunc_impl_list): Likewise.
36381 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
36382 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
36383 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
36384 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
36385 multiarch wcscpy for PPC64.
36386
36387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
36388 multiarch implementations.
36389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36390 (__libc_ifunc_impl_list): Likewise.
36391 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
36392 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
36393 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
36394 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
36395 multiarch wcsrchr for PPC64.
36396
36397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
36398 multiarch implementations.
36399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36400 (__libc_ifunc_impl_list): Likewise.
36401 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
36402 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
36403 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
36404 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
36405 multiarch wcschr for PPC64.
36406
36407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
36408 multiarch implementations.
36409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36410 (__libc_ifunc_impl_list): Likewise.
36411 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
36412 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
36413 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
36414 multiarch strchrnul for PPC64.
36415
36416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
36417 implementations.
36418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36419 (__libc_ifunc_impl_list): Likewise.
36420 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
36421 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
36422 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
36423 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
36424 strchr for PPC64.
36425
36426 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
36427 implementations.
36428 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36429 (__libc_ifunc_impl_list): Likewise.
36430 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
36431 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
36432 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
36433 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
36434 strncmp for PPC64.
36435
36436 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
36437 multiarch implementations.
36438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36439 (__libc_ifunc_impl_list): Likewise.
36440 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
36441 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
36442 strncasecmp for PPC64.
36443 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
36444 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
36445 multiarch strncasecmp_l for PPC64.
36446
36447 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
36448 multiarch implementations.
36449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36450 (__libc_ifunc_impl_list): Likewise.
36451 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
36452 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
36453 multiarch strcasecmp for PPC64.
36454 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
36455 file.
36456 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
36457 multiarch strcasecmp_l for PPC64.
36458
36459 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
36460 implementations.
36461 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36462 (__libc_ifunc_impl_list): Likewise.
36463 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
36464 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
36465 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
36466 strnlen for PPC64.
36467
36468 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
36469 implementations.
36470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36471 (__libc_ifunc_impl_list): Likewise.
36472 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
36473 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
36474 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
36475 strlen for PPC64.
36476
36477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
36478 implementations.
36479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36480 (__libc_ifunc_impl_list): Likewise.
36481 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
36482 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
36483 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
36484 rawmemrchr for PPC64.
36485
36486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
36487 implementation.
36488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36489 (__libc_ifunc_impl_list): Likewise.
36490 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
36491 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
36492 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
36493 memrchr for PPC64.
36494
36495 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
36496 implementation.
36497 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36498 (__libc_ifunc_impl_list): Likewise.
36499 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
36500 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
36501 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
36502 memchr for PPC64.
36503
36504 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
36505 implementation.
36506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36507 (__libc_ifunc_impl_list): Likewise.
36508 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
36509 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
36510 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
36511 mempcpy for PPC64.
36512
36513 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
36514 avoid cretion of __bzero symbol.
36515 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
36516 Likewise.
36517 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
36518 Likewise.
36519 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
36520 Likewise.
36521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
36522 multiarch implementations.
36523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36524 (__libc_ifunc_impl_list): Likewise.
36525 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
36526 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
36527 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
36528 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
36529 bzero for PPC32.
36530 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
36531 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
36532 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
36533 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
36534 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
36535 memset for PPC64.
36536 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
36537
36538 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
36539 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
36540 implementations.
36541 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36542 (__libc_ifunc_impl_list): Likewise.
36543 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
36544 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
36545 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
36546 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
36547 memcmp for PPC64.
36548
36549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
36550 multiarch for POWER/PPC64.
36551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
36552 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
36553 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
36554 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
36555 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
36556 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
36557 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
36558 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
36559 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
36560 memcpy for PPC64.
36561
36562 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
36563 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
36564 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
36565 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
36566 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
36567 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
36568 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
36569 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
36570 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
36571 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
36572 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
36573 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
36574 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
36575 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
36576 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
36577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
36578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
36579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
36580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
36581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
36582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
36583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
36584
36585 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36586
36587 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
36588
36589 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
36590
36591 * benchtests/Makefile (bench): Add exp2 and log2.
36592 (LDLIBS-bench-exp2): Add -lm.
36593 (LDLIBS-bench-log2): Likewise.
36594 * benchtests/exp2-inputs: New inputs file.
36595 * benchtests/log2-inputs: New inputs file.
36596 * benchtests/log-inputs: Add new inputs.
36597 * benchtests/tan-inputs: Likewise.
36598
36599 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36600
36601 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
36602 definition...
36603 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
36604 (csloww2): ... from here.
36605
36606 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
36607 instead of structures.
36608 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
36609 (POLYNOMIAL): Likewise.
36610 (TAYLOR_SLOW): Likewise.
36611 (__sin): Likewise.
36612 (__cos): Likewise.
36613 (slow1): Likewise.
36614 (slow2): Likewise.
36615 (sloww): Likewise.
36616 (sloww1); Likewise.
36617 (sloww2): Likewise.
36618 (bsloww1): Likewise.
36619 (bsloww2): Likewise.
36620 (cslow2): Likewise.
36621 (csloww): Likewise.
36622 (csloww1): Likewise.
36623 (csloww2): Likewise.
36624
36625 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
36626
36627 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
36628 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
36629 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
36630 * malloc/hooks.c (realloc_check): Likewise.
36631
36632 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
36633 * malloc/arena.c: Remove PER_THREAD conditional.
36634 [!PER_THREAD]: Remove code.
36635 (ptmalloc_unlock_all2): Likewise.
36636 (ptmalloc_init): Likewise.
36637 (_int_new_arena): Likewise.
36638 (arena_get2): Likewise.
36639 * malloc/hooks.c (__malloc_get_state): Likewise.
36640 (__malloc_set_state): Likewise.
36641 * malloc/malloc.c: Likewise.
36642 (struct malloc_state): Likewise.
36643 (struct malloc_par): Likewise.
36644 (__libc_realloc): Likewise.
36645 (__libc_mallopt): Likewise.
36646
36647 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36648
36649 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
36650
36651 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
36652
36653 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
36654 macro to a function. Check for zero perturb_byte.
36655 (_int_malloc, _int_free): Remove zero perturb_byte checks.
36656
36657 * malloc/malloc.c: (force_reg): Remove.
36658 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
36659 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
36660 force_reg by atomic_forced_read.
36661 * malloc/arena.c (ptmalloc_init): Likewise.
36662 * malloc/hooks.c (top_check): Likewise.
36663
36664 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36665
36666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36667
36668 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
36669
36670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36671
36672 2013-12-08 Joseph Myers <joseph@codesourcery.com>
36673
36674 * math/auto-libm-test-in: Add tests of lgamma.
36675 * math/auto-libm-test-out: Regenerated.
36676 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
36677 (M_LOG_2_SQRT_PIl): Likewise.
36678 (lgamma_test_data): Use AUTO_TESTS_f_f1.
36679 * math/gen-auto-libm-tests.c (func_calc_method): Add value
36680 mpfr_f_f1.
36681 (func_calc_desc): Add mpfr_f_f1 union field.
36682 (ARGS1): New macro.
36683 (ARGS2): Likewise.
36684 (ARGS3): Likewise.
36685 (ARGS4): Likewise.
36686 (RET1): Likewise.
36687 (RET2): Likewise.
36688 (CALC): Likewise.
36689 (FUNC): Likewise.
36690 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
36691 (test_functions): Add lgamma.
36692 (calc_generic_results): Handle mpfr_f_f1.
36693 * sysdeps/i386/fpu/libm-test-ulps: Update.
36694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36695
36696 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36697
36698 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
36699 __mpn_add_n for PowerPC64/POWER7.
36700 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
36701 __mpn_sub_n for PowerPC64/POWER7.
36702
36703 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
36704 __mpn_addmul_1 for PowerPC64.
36705 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
36706 __mpn_submul_1 for PowerPC64.
36707 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
36708 for PowerPC64.
36709 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
36710 for PowerPC64.
36711
36712 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
36713
36714 [BZ #15089]
36715 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
36716
36717 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36718
36719 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
36720
36721 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
36722 add multiarch folders.
36723 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
36724 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
36725 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
36726 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
36727 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
36728 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
36729 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
36730 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
36731 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
36732 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
36733 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
36734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
36735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
36736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
36737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
36738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
36739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
36740
36741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36742 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
36743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
36744 New file.
36745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
36746 New file.
36747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
36748 multiarch __ieee754_hypot for PowerPC32.
36749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
36750 New file.
36751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
36752 New file.
36753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
36754 multiarch __ieee754_hypotf for PowerPC32.
36755
36756 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
36757 long_double_symbol only if __logbl is defined.
36758 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
36759 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
36760 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
36761 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
36762 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
36763 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
36764 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
36765 path for implementation.
36766 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
36767 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
36768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
36769 logb, and logbl multiarch implementations for PowerPC32.
36770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
36771 file.
36772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
36773 file.
36774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
36775 multiarch logb for PowerPC32.
36776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
36777 file.
36778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
36779 file.
36780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
36781 multiarch logbf for PowerPC32.
36782 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
36783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
36784 file.
36785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
36786 multiarch logbl implementation for PowerPC32.
36787
36788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
36789 and modff multiarch implementations.
36790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
36791 New file.
36792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
36793 New file.
36794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
36795 multiarch modf for PowerPC32.
36796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
36797 New file.
36798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
36799 New file.
36800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
36801 multiarch modff for PowerPC32.
36802
36803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
36804 and lrintf multiarch implementations.
36805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
36806 New file.
36807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
36808 New file.
36809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
36810 multiarch lrint for PowerPC32.
36811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
36812 file: multiarch lrintf for PowerPC32.
36813
36814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
36815 and lroundf multiarch implementations.
36816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
36817 New file.
36818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
36819 New file.
36820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
36821 New file.
36822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
36823 multiarch lround for PowerPC32.
36824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
36825 file: multiarch lroundf for PowerPC32.
36826
36827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36828 copysign and copysignf multiarch implementations.
36829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
36830 New file.
36831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
36832 New file.
36833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
36834 file: multiarch copysign for PowerPC32.
36835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
36836 file: multiarch copysignf for PowerPC32.
36837
36838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
36839 and truncf multiarch implementations.
36840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
36841 New file.
36842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
36843 file.
36844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
36845 multiarch trunc for PowerPC32.
36846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
36847 New file.
36848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
36849 New file.
36850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
36851 multiarch truncf for PowerPC32.
36852
36853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
36854 and roundf multiarch implementations.
36855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
36856 New file.
36857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
36858 file.
36859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
36860 multiarch round for PowerPC32.
36861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
36862 New file.
36863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
36864 New file.
36865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
36866 multiarch roundf for PowerPC32.
36867
36868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
36869 and floorf multiarch implementations.
36870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
36871 New file.
36872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
36873 file.
36874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
36875 multiarch floor for PowerPC32.
36876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
36877 New file.
36878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
36879 New file.
36880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
36881 multiarch floorf for PowerPC32.
36882
36883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
36884 and ceilf multiarch implementations.
36885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
36886 New file.
36887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
36888 file.
36889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
36890 multiarch ceil for PowerPC32.
36891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
36892 New file.
36893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
36894 file.
36895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
36896 multiarch ceilf for PowerPC32.
36897
36898 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
36899 is defined.
36900 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
36901 FINITEF is defined.
36902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
36903 and finitef multiarch implementations.
36904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
36905 New file.
36906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
36907 file.
36908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
36909 multiarch finite for PowerPC32.
36910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
36911 New file.
36912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
36913 file: multiarch finitef for PowerPC32.
36914
36915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
36916 and isinff multiarch implementations.
36917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
36918 file.
36919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
36920 file.
36921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
36922 multiarch isinf for PowerPC32.
36923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
36924 New file.
36925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
36926 multiarch isinff for PowerPC32.
36927
36928 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
36929 alias when __isnan is defined.
36930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
36931 and isnanf multiarch implementations.
36932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
36933 file.
36934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
36935 file.
36936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
36937 file.
36938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
36939 file.
36940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
36941 multiarch isnan for PowerPC32.
36942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
36943 New file.
36944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
36945 New file.
36946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
36947 multiarch isnanf for PowerPC32.
36948
36949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
36950 and sqrtf multiarch implementations.
36951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
36952 file.
36953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
36954 file.
36955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
36956 multiarch sqrt for PowerPC32.
36957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
36958 file.
36959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
36960 file.
36961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
36962 multiarch sqrtf for PowerPC32.
36963
36964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
36965 and llroundf multiarch implementations.
36966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
36967 New file.
36968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
36969 New file.
36970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
36971 New file.
36972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
36973 file: multiarch llround for PowerPC32.
36974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
36975 file: multiarch llroundf for PowerPC32.
36976
36977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
36978 multiarch PowerPC32 fpu implementations.
36979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
36980 New file.
36981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
36982 New file.
36983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
36984 multiarch llrint for PowerPC32.
36985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
36986 New file.
36987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
36988 New file.
36989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
36990 file.
36991
36992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
36993
36994 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
36995 file.
36996 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
36997 file.
36998 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
36999 file.
37000 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
37001 multiarch wordcopy for PPC32.
37002 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37003 wordcopy objects.
37004 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37005 (__libc_ifunc_impl_list): Likewise.
37006 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
37007 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
37008 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
37009 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
37010 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
37011 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
37012
37013 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
37014 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
37015 file.
37016 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
37017 file.
37018 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
37019 file.
37020 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
37021 multiarch wcscpy for PPC32.
37022 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37023 multiarch objects.
37024 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37025 (__libc_ifunc_impl_list): Likewise.
37026 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37027 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37028 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
37029 sysdeps/powerpc/power6/wcscpy.c.
37030
37031 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
37032 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
37033 file.
37034 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
37035 file.
37036 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
37037 file.
37038 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
37039 multiarch wcsrchr for PPC32.
37040 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37041 multiarch objects.
37042 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37043 (__libc_ifunc_impl_list): Likewise.
37044 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37045 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37046 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
37047 sysdeps/powerpc/power6/wcsrchr.c.
37048
37049 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
37050 file.
37051 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
37052 file.
37053 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
37054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
37055 multiarch wcschr for PPc32.
37056 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37057 multiarch objects.
37058 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37059 (__libc_ifunc_impl_list): Likewise.
37060 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
37061 * sysdeps/powerpc/power6/wcschr.c: ... to here.
37062 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
37063 sysdeps/powerpc/power6/wcschr.c.
37064
37065 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
37066 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
37067 file.
37068 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
37069 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
37070 file: multiarch strchr for PPC32.
37071 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
37072 multiarch objects.
37073 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37074 (__libc_ifunc_impl_list): Likewise.
37075
37076 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
37077 name.
37078 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
37079 file.
37080 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
37081 file.
37082 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
37083 multiarch strchrnul for PPC32.
37084 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
37085 multiarch objects.
37086 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37087 (__libc_ifunc_impl_list): Likewise.
37088
37089 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
37090 file.
37091 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
37092 multiarch strncasecmp for PPC32.
37093 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
37094 file.
37095 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
37096 multiarch strncasecmp_l for PPC32.
37097 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
37098 strncasecmp multiarch objects.
37099 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37100 (__libc_ifunc_impl_list): Likewise.
37101
37102 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
37103 file.
37104 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
37105 multiarch strncasecmp for PPC32.
37106 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37107 New file.
37108 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
37109 multiarch strcasecmp_l for PPC32.
37110 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
37111 multiarch objects.
37112 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37113 (__libc_ifunc_impl_list): Likewise.
37114
37115 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
37116 file.
37117 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
37118 file.
37119 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
37120 multiarch strncmp for PPC32.
37121 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
37122 multiarch objects.
37123 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37124 (__libc_ifunc_impl_list): Likewise.
37125
37126 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
37127 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
37128 file.
37129 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
37130 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
37131 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
37132 multiarch objects.
37133 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37134 (__libc_ifunc_impl_list): Likewise.
37135
37136 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
37137 file.
37138 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
37139 file.
37140 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
37141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
37142 multiarch objects.
37143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37144 (__libc_ifunc_impl_list): Likewise.
37145
37146 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
37147 file.
37148 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
37149 file.
37150 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
37151 multiarch rawmemchr for PPC32.
37152 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
37153 multiarch objects.
37154 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37155 (__libc_ifunc_impl_list): Likewise.
37156
37157 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
37158 file.
37159 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
37160 file.
37161 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
37162 file: memrchr multiarch for PPC32.
37163 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
37164 multiarch objects.
37165 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37166 (__libc_ifunc_impl_list): Likewise.
37167
37168 * string/memchr.c (__memchr): Using macro to redefine symbol name.
37169 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
37170 file.
37171 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
37172 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
37173 multiarch memchr for PPC32.
37174 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
37175 multiarch objects.
37176 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37177 (__libc_ifunc_impl_list): Likewise.
37178
37179 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
37180 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
37181 file.
37182 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
37183 file.
37184 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
37185 file: multiarch mempcpy for PPC32.
37186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
37187 multiarch objects.
37188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37189 (__libc_ifunc_impl_list): Likewise.
37190
37191 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
37192 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
37193 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
37194 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
37195 multiarch bzero for PPC32.
37196 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
37197 file.
37198 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
37199 file.
37200 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
37201 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
37202 file: multiarch memset for PPC32.
37203 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
37204 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
37205 memset multiarch objects.
37206 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37207 (__libc_ifunc_impl_list): Likewise.
37208
37209 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
37210 file.
37211 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
37212 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
37213 memcmp for PPC32.
37214 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
37215 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
37216 multiarch objects.
37217 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37218 (__libc_ifunc_impl_list): Likewise.
37219
37220 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
37221 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
37222 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
37223 file.
37224 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
37225 file.
37226 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
37227 file.
37228 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
37229 multiarch memcpy for PPC32.
37230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
37231 multiarch objects.
37232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37233 (__libc_ifunc_impl_list): Likewise.
37234
37235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
37236 support multiarch for POWER/PPC32.
37237 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
37238 Likewise.
37239 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
37241 Implies file to make multiarch folder appers before the fpu and
37242 default folder for power4 configuration.
37243
37244 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37245
37246 * scripts/bench.pl: Append volatile keyword to type.
37247
37248 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37249
37250 * sysdeps/sh/sotruss-lib.c: New file.
37251 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
37252
37253 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37254
37255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37256
37257 2013-12-05 Joseph Myers <joseph@codesourcery.com>
37258
37259 [BZ #6810]
37260 * math/w_tgamma.c: Include <errno.h>.
37261 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
37262 * math/w_tgammaf.c: Include <errno.h>.
37263 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
37264 * math/w_tgammal.c: Include <errno.h>.
37265 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
37266 * math/auto-libm-test-in: Do not allow missing errno on tgamma
37267 underflow. Add more tgamma tests.
37268 * math/auto-libm-test-out: Regenerated.
37269 * sysdeps/i386/fpu/libm-test-ulps: Update.
37270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37271
37272 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
37273 sin, sinh, tan, tanh, tgamma, y0 and y1.
37274 * math/auto-libm-test-out: Regenerated.
37275 * math/libm-test.inc (TEST_COND_x86_64): New macro.
37276 (TEST_COND_x86): Likewise.
37277 (M_E2l): Remove macro.
37278 (M_E3l): Likewise.
37279 (M_2_SQRT_PIl): Likewise.
37280 (M_SQRT_PIl): Likewise.
37281 (M_1_DIV_El): Likewise.
37282 (log_test_data): Use AUTO_TESTS_f_f.
37283 (log10_test_data): Likewise.
37284 (log1p_test_data): Likewise.
37285 (log2_test_data): Likewise.
37286 (sin_test_data): Likewise.
37287 (sin_tonearest_test_data): Likewise.
37288 (sin_towardzero_test_data): Likewise.
37289 (sin_downward_test_data): Likewise.
37290 (sin_upward_test_data): Likewise.
37291 (sinh_test_data): Likewise.
37292 (sinh_tonearest_test_data): Likewise.
37293 (sinh_towardzero_test_data): Likewise.
37294 (sinh_downward_test_data): Likewise.
37295 (sinh_upward_test_data): Likewise.
37296 (tan_test_data): Likewise.
37297 (tan_tonearest_test_data): Likewise.
37298 (tan_towardzero_test_data): Likewise.
37299 (tan_downward_test_data): Likewise.
37300 (tan_upward_test_data): Likewise.
37301 (tanh_test_data): Likewise.
37302 (tgamma_test_data): Likewise.
37303 (y0_test_data): Likewise.
37304 (y1_test_data): Likewise.
37305 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
37306 (special_real_inputs): Add pi/4.
37307 * sysdeps/i386/fpu/libm-test-ulps: Update.
37308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37309
37310 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37311
37312 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
37313 "longjmp_target" static probes.
37314 (__longjmp): Rename to __longjmp_symbol.
37315 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37316 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
37317 on which longjmp to generate.
37318 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37319 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
37320 probe.
37321 (__sigsetjmp): Rename to __sigsetjmp_symbol.
37322 (__sigjmp_save): Rename to __sigjmp_save_symbol.
37323 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37324 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
37325 and __sigjmp_save_symbol based on which sigsetjmp to generated.
37326 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
37328 __longjmp_symbol based on which __longjmp to generate.
37329 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
37330 probe.
37331 (setjmp): Rename to setjmp_symbol.
37332 (__sigsetjmp): Rename to __sigsetjmp_symbol.
37333 (_setjmp): Rename to _setjmp_symbol.
37334 (__sigsetjmp): Rename to __sigsetjmp_symbol.
37335 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
37336 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
37337 which setjmp to generate.
37338 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
37339 "longjmp_target" static probes.
37340
37341 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37342
37343 * benchtests/README: Add note about output arguments.
37344 * benchtests/bench-sincos.c: Remove file.
37345 * benchtests/sincos-inputs: New file.
37346 * scripts/bench.pl: Identify output arguments and define
37347 static variables for them.
37348
37349 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
37350
37351 [BZ #15941]
37352 * Makefile (INSTALL): Add install-plain.texi as the primary
37353 dependency.
37354 * manual/install-plain.texi: New file.
37355 * manual/install.texi: Include node directive only for
37356 non-plaintext output.
37357
37358 2013-12-04 Joseph Myers <joseph@codesourcery.com>
37359
37360 * stdlib/longlong.h: Update from GCC.
37361
37362 [BZ #6807]
37363 [BZ #15901]
37364 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
37365 * math/w_j0f.c (y0f): Likewise.
37366 * math/w_j0l.c (__y0l): Likewise.
37367 * math/w_j1.c (y1): Likewise.
37368 * math/w_j1f.c (y1f): Likewise.
37369 * math/w_j1l.c (__y1l): Likewise.
37370 * math/w_jn.c (yn): Likewise.
37371 * math/w_jnf.c (ynf): Likewise.
37372 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
37373 Bessel function pole errors in _POSIX_ mode. Use NAN as return
37374 value for Bessel function domain errors outside _SVID_ mode.
37375 Adjust sign of return value for yn (negative integer, 0).
37376 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
37377 by zero in return for negative x and set sign appropriately for
37378 negative n.
37379 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
37380 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37381 * math/libm-test.inc (y0_test_data): Add more tests and adjust
37382 expectations in error cases.
37383 (y1_test_data): Likewise.
37384 (yn_test_data): Likewise.
37385 * sysdeps/i386/fpu/libm-test-ulps: Update.
37386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37387
37388 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37389
37390 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
37391 "64" to "64-v1". Add "64-v2".
37392 (abi-64-options): Rename to ...
37393 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
37394 (abi-64-condition): Rename to ...
37395 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
37396 (abi-64-ld-soname): Rename to ...
37397 (abi-64-v1-ld-soname): ... this.
37398 (abi-64-v2-options): Define.
37399 (abi-64-v2-condition): Likewise.
37400 (abi-64-v2-ld-soname): Likewise.
37401 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
37402 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
37403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
37404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
37405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
37406
37407 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37408 Alan Modra <amodra@gmail.com>
37409
37410 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
37411 New versions for use with the ELFv2 ABI.
37412 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
37413 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
37414 declaration.
37415 (struct La_ppc64v2_retval): Likewise.
37416 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
37417 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
37418 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
37419 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
37420 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
37421 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37422 Do not save or restore CR.
37423 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
37424 (_dl_profile_resolve): Do no save or restore CR. Support extended
37425 return values for ELFv2 ABI. Fix location of FPR return registers.
37426 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
37427 updated values for _CALL_ELF == 2.
37428 (La_regs, La_retval, int_retval): Likewise.
37429
37430 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37431
37432 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
37433 (FRAME_MIN_SIZE_PARM): Likewise.
37434 (FRAME_BACKCHAIN): Likewise.
37435 (FRAME_CR_SAVE): Likewise.
37436 (FRAME_LR_SAVE): Likewise.
37437 (FRAME_TOC_SAVE): Likewise.
37438 (FRAME_PARM_SAVE): Likewise.
37439 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
37440 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
37441 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37442 (call_mcount_parm_offset): New macro.
37443 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
37444 (PROF): Use symbolic stack frame offsets.
37445 (TAIL_CALL_SYSCALL_ERROR): Likewise.
37446 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
37447 Redefine in terms of FRAME_MIN_SIZE.
37448 (_dl_runtime_resolve): Use symbolic stack frame offsets.
37449 (_dl_profile_resolve): Likewise. Update comment.
37450 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
37451 symbols stack frame offsets.
37452 (__sigsetjmp): Likewise.
37453 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
37454 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
37455 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
37456 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
37457
37458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
37459 (FRAME_BACKCHAIN): Remove.
37460 (FRAME_CR_SAVE): Likewise.
37461 (FRAME_LR_SAVE): Likewise.
37462 (FRAME_COMPILER_DW): Likewise.
37463 (FRAME_LINKER_DW): Likewise.
37464 (FRAME_TOC_SAVE): Likewise.
37465 (FRAME_PARM_SAVE): Likewise.
37466 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
37467 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
37468 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
37470 (CHECK_SP): Use symbolic stack frame offsets.
37471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
37472 zone" instead of caller's parameter save area for temp storage.
37473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37474 Likewise. Also, use symbolic stack frame offsets.
37475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
37476 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
37477 our own stack frame instead of the caller's.
37478 (__socket): Use symbolic stack frame offsets.
37479
37480 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37481 Alan Modra <amodra@gmail.com>
37482
37483 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
37484 Define.
37485 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
37486 (PPC64_LOCAL_ENTRY_OFFSET): Define.
37487 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
37488 New function.
37489 (elf_machine_fixup_plt): Call it.
37490 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
37491 reloc arguments.
37492 (elf_machine_rela): Update call to elf_machine_plt_conflict.
37493 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37494 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
37495 r2 before calling target.
37496
37497 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37498 Alan Modra <amodra@gmail.com>
37499
37500 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
37501 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
37502 versions of macros to support ELFv2 ABI.
37503 (LOCALENTRY): New macro.
37504 (ENTRY, EALIGN): Use it.
37505 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
37506 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
37507 fall through into ENTRY entry point.
37508 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
37509 Only define if _CALL_ELF != 2.
37510
37511 (elf_machine_matches_host): Verify ABI version matches.
37512 (RTLD_START): Use LOCALENTRY.
37513 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
37514 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
37515 (PLT_ENTRY_WORDS): New macro.
37516 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
37517 (elf_machine_runtime_setup): Support ELFv2 ABI.
37518 (elf_machine_fixup_plt): Likewise.
37519 (elf_machine_plt_conflict): Likewise.
37520 (resolve_ifunc): Likewise.
37521 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37522 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37523 Likewise.
37524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
37525 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
37526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37527 (makecontext): Support ELFv2 ABI.
37528 * elf/elf.h (EF_PPC64_ABI): Define.
37529
37530 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37531
37532 * sysdeps/powerpc/powerpc64/sysdep.h
37533 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
37534 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
37535 (ENTRY) [ASSEMBLER]: ... but instead here ...
37536 (EALIGN) [ASSEMBLER]: ... and here.
37537 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
37538 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
37539 (ENTRY_2) [!ASSEMBLER]: Use it.
37540 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
37541 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
37542 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37543 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
37544 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
37545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
37546 Use PPC64_LOAD_FUNCPTR.
37547
37548 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
37549
37550 2013-12-04 Alan Modra <amodra@gmail.com>
37551
37552 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
37553 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
37554 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
37555 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
37556
37557 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
37558 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
37559 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
37560 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
37561 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
37562 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
37563
37564 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37565
37566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37567 (__makecontext): Fix incorrect CFI when backtracing out of
37568 context created via makecontext.
37569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
37570 (__setcontext): Fix incorrect CFI during switch to new context.
37571 (__novec_setcontext): Likewise.
37572
37573 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
37574
37575 [BZ #4772]
37576 * time/strptime_l.c (__strptime_internal): Allow modifiers
37577 in strptime.
37578 * time/tst-strptime.c (day_tests): Add testcase.
37579
37580 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37581
37582 * scripts/bench.pl: Skip over blank lines.
37583
37584 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
37585
37586 [BZ #926]
37587 * manual/time.texi (Calendar Time): Clarify what timezone functions
37588 use.
37589
37590 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37591
37592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37593
37594 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
37595
37596 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
37597 implementation.
37598 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
37599 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
37600 * debug/memset_chk.c (__memset_chk): Likewise.
37601 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
37602 * debug/strncpy_chk.c: Likewise.
37603
37604 2013-12-03 Joseph Myers <joseph@codesourcery.com>
37605
37606 [BZ #15268]
37607 [BZ #15425]
37608 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
37609 (__ieee754_exp): For possibly underflowing results, check size of
37610 result and force underflow exception if required.
37611 * math/auto-libm-test-in: Add more tests of exp.
37612 * math/auto-libm-test-out: Regenerated.
37613 * sysdeps/i386/fpu/libm-test-ulps: Update.
37614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37615
37616 [BZ #16283]
37617 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
37618 * math/w_exp2f.c (__exp2f): Likewise.
37619 * math/w_exp2l.c (__exp2l): Likewise.
37620 * math/auto-libm-test-in: Do not allow missing errno on exp2
37621 underflow.
37622 * math/auto-libm-test-out: Regenerated.
37623
37624 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
37625
37626 [BZ #16274]
37627 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
37628 handle filename validation.
37629 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
37630 (do_open): Delete.
37631
37632 2013-12-03 Joseph Myers <joseph@codesourcery.com>
37633
37634 [BZ #6786]
37635 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
37636 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
37637 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
37638 <float.h>.
37639 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
37640 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
37641 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37642 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
37643 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37644 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
37645 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37646 * math/auto-libm-test-in: Don't allow missing errno from erfc.
37647 Add more erfc tests.
37648 * math/auto-libm-test-out: Regenerated.
37649 * sysdeps/i386/fpu/libm-test-ulps: Update.
37650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37651
37652 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
37653 exp2, expm1, j0 and j1.
37654 * math/auto-libm-test-out: Regenerated.
37655 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
37656 (erfc_test_data): Likewise.
37657 (exp_test_data): Likewise.
37658 (exp_tonearest_test_data): Likewise.
37659 (exp_towardzero_test_data): Likewise.
37660 (exp_downward_test_data): Likewise.
37661 (exp_upward_test_data): Likewise.
37662 (exp10_test_data): Likewise.
37663 (exp2_test_data): Likewise.
37664 (expm1_test_data): Likewise.
37665 (j0_test_data): Likewise.
37666 (j1_test_data): Likewise.
37667 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
37668 (input_flag_type): Add flag_xfail_rounding.
37669 (input_flags): Add xfail-rounding.
37670 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
37671 (output_for_one_input_case): Handle flag_xfail_rounding.
37672 * sysdeps/i386/fpu/libm-test-ulps: Update.
37673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37674
37675 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
37676
37677 [BZ #16289]
37678 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
37679 division by 0.
37680
37681 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37682
37683 [BZ #16195]
37684 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
37685 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
37686 (STAP_PROBE0): New macro.
37687 (STAP_PROBE1): Likewise.
37688 (STAP_PROBE2): Likewise.
37689 (STAP_PROBE3): Likewise.
37690 (STAP_PROBE4): Likewise.
37691
37692 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
37693
37694 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
37695
37696 2013-12-02 Steve Ellcey <sellcey@mips.com>
37697
37698 * benchtests/Makefile (bench): Add sqrt.
37699 (LDLIBS-bench-sqrt): New.
37700 * benchtests/sqrt-input: New.
37701
37702 2013-12-02 Pavel Simerda <psimerda@redhat.com>
37703
37704 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
37705 (GAIH_EAI): Likewise.
37706 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
37707 (gaih_inet): Likewise.
37708 (getaddrinfo): Don't use GAIH_EAI.
37709
37710 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
37711 (struct gaih): Remove definition.
37712
37713 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37714
37715 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
37716 Use HERRNOP directly.
37717
37718 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37719
37720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37721
37722 2013-11-30 Joseph Myers <joseph@codesourcery.com>
37723
37724 * math/gen-auto-libm-tests.c (test_functions): Add more
37725 single-argument functions.
37726 (special_fill_pi_2): New function.
37727 (special_fill_minus_pi_2): Likewise.
37728 (special_fill_pi_6): Likewise.
37729 (special_fill_minus_pi_6): Likewise.
37730 (special_fill_pi_3): Likewise.
37731 (special_fill_2pi_3): Likewise.
37732 (special_fill_e): Likewise.
37733 (special_fill_1_e): Likewise.
37734 (special_fill_e_minus_1): Likewise.
37735 (special_real_inputs): Add more special inputs.
37736 (output_for_one_input_case): Do not require ERANGE on underflow to
37737 zero if round-to-nearest result does not underflow to zero, unless
37738 exact results required.
37739 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
37740 atan, atanh, cbrt, cos and cosh.
37741 * math/auto-libm-test-out: Regenerated.
37742 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
37743 (acos_tonearest_test_data): Likewise.
37744 (acos_towardzero_test_data): Likewise.
37745 (acos_downward_test_data): Likewise.
37746 (acos_upward_test_data): Likewise.
37747 (acosh_test_data): Likewise.
37748 (asin_test_data): Likewise.
37749 (asin_tonearest_test_data): Likewise.
37750 (asin_towardzero_test_data): Likewise.
37751 (asin_upward_test_data): Likewise.
37752 (asinh_test_data): Likewise.
37753 (atan_test_data): Likewise.
37754 (atanh_test_data): Likewise.
37755 (cbrt_test_data): Likewise.
37756 (cos_test_data): Likewise.
37757 (cos_tonearest_test_data): Likewise.
37758 (cos_towardzero_test_data): Likewise.
37759 (cos_downward_test_data): Likewise.
37760 (cos_upward_test_data): Likewise.
37761 (cosh_test_data): Likewise.
37762 (cosh_tonearest_test_data): Likewise.
37763 (cosh_towardzero_test_data): Likewise.
37764 (cosh_downward_test_data): Likewise.
37765 (cosh_upward_test_data): Likewise.
37766 * sysdeps/i386/fpu/libm-test-ulps: Update.
37767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37768
37769 2013-11-29 Joseph Myers <joseph@codesourcery.com>
37770
37771 [BZ #6787]
37772 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
37773 * math/w_exp10f.c (__exp10f): Likewise.
37774 * math/w_exp10l.c (__exp10l): Likewise.
37775 * math/libm-test.inc (exp10_test_data): Add more tests and expect
37776 errno settings in existing tests.
37777
37778 [BZ #14032]
37779 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
37780 precision control set to double precision.
37781 * sysdeps/i386/fpu/w_sqrt.c: New file.
37782 * math/auto-libm-test-in: Add more tests.
37783 * math/auto-libm-test-out: Update.
37784
37785 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
37786 (sqrt_test_tonearest): New function.
37787 (sqrt_towardzero_test_data): New variable.
37788 (sqrt_test_towardzero): New function.
37789 (sqrt_downward_test_data): New variable.
37790 (sqrt_test_downward): New function.
37791 (sqrt_upward_test_data): New variable.
37792 (sqrt_test_upward): New function.
37793 (main): Call the new functions.
37794
37795 * math/gen-auto-libm-tests.c: New file.
37796 * math/auto-libm-test-in: Likewise.
37797 * math/auto-libm-test-out: New generated file.
37798 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
37799 variables.
37800 (%beautify): Add generated representations of zero.
37801 (top level): Set $auto_input and call parse_auto_input.
37802 (beautify): Remove trailing "f" from hex float constants.
37803 (parse_args): Handle XFAIL_TEST.
37804 (convert_condition): New function.
37805 (or_value): Likewise.
37806 (or_cond_value): Likewise.
37807 (generate_testfile): Handle AUTO_TESTS_* lines.
37808 (parse_auto_input): New function.
37809 * math/libm-test.inc (XFAIL_TEST): New macro.
37810 (ERRNO_UNCHANGED): Update value.
37811 (ERRNO_EDOM): Likewise.
37812 (ERRNO_ERANGE): Likewise.
37813 (IGNORE_RESULT): Likewise.
37814 (TEST_COND_flt_32): New macro.
37815 (TEST_COND_dbl_64): Likewise.
37816 (TEST_COND_ldbl_96_intel): Likewise.
37817 (TEST_COND_ldbl_96_m68k): Likewise.
37818 (TEST_COND_ldbl_128): Likewise.
37819 (TEST_COND_ldbl_128ibm): Likewise.
37820 (TEST_COND_long32): Likewise.
37821 (TEST_COND_long64): Likewise.
37822 (TEST_COND_before_rounding): Likewise.
37823 (TEST_COND_after_rounding): Likewise.
37824 (enable_test): Handle XFAIL_TEST flag.
37825 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
37826 with finite results.
37827 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
37828 auto-libm-test-out.
37829
37830 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37831 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37832
37833 [BZ #16214]
37834 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
37835 __tls_get_addr_internal instead of __tls_get_offset in order to
37836 avoid GOT pointer dependency. Make rtld export
37837 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
37838 __tls_get_addr since we are a __tls_get_offset platform.
37839 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
37840 GOT pointer being set up before.
37841 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
37842
37843 2013-11-28 Joseph Myers <joseph@codesourcery.com>
37844
37845 * manual/math.texi (Errors in Math Functions): Document accuracy
37846 goals.
37847
37848 [BZ #15004]
37849 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
37850 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
37851 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37852 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37853 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37854 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37855 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37856 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37857 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37858 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37859 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37860 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37861 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37862 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37863 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37864 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37865
37866 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
37867 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
37868 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
37869 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
37870 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
37871 Likewise.
37872 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
37873 Likewise.
37874 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
37875 Likewise.
37876 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
37877 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
37878 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
37879 atomic-feupdateenv and flt-rounds.
37880 * sysdeps/powerpc/nofpu/Versions (libc): Add
37881 __atomic_feholdexcept, __atomic_feclearexcept,
37882 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
37883 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
37884 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
37885 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
37886 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
37887 here.
37888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37889 Update.
37890
37891 * manual/arith.texi (FP Exceptions): Document that exceptions may
37892 not be raised when matherr is used.
37893 (Math Error Reporting): Document overflow in directed rounding
37894 modes. Document that errno may not be set when finite values are
37895 returned on overflow. Document intent to set errno on underflow
37896 only for underflow to zero.
37897
37898 [BZ #16271]
37899 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
37900 round-to-nearest then adjust result for other rounding modes.
37901 * include/fenv.h (fegetround): Use libm_hidden_proto.
37902 * math/fegetround.c (fegetround): Use libm_hidden_def.
37903 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37904 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37905 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37906 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37907 Likewise.
37908 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
37909 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37910 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37911 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
37912
37913 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37914
37915 [BZ #16077]
37916 * nss/Versions (libnss_files): Add
37917 _nss_files_gethostbyname3_r.
37918 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
37919 New function.
37920 (HOST_DB_LOOKUP): Remove macro.
37921 (_nss_files_gethostbyname_r): Implement function without the
37922 HOST_DB_LOOKUP macro.
37923 (_nss_files_gethostbyname2_r): Likewise.
37924
37925 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
37926
37927 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
37928
37929 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
37930
37931 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
37932 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
37933 warning.
37934
37935 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37936
37937 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
37938 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
37939 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37940 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37941 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
37942 __fe_nomask_env_priv and attribute_hidden.
37943 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
37944 (libc_feupdateenv_test_ppc): Likewise.
37945 (libc_feresetround_ppc): Likewise.
37946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37947 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
37948 compat_symbol macro.
37949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37950 (__fe_nomask_env): Likewise.
37951 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
37952
37953 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
37954
37955 * string/Makefile: Remove ifunc tests.
37956 * string/test-string.h: Define TEST_IFUNC.
37957 * string/test-bcopy-ifunc.c: Remove.
37958 * string/test-bzero-ifunc.c: Likewise.
37959 * string/test-memccpy-ifunc.c: Likewise.
37960 * string/test-memchr-ifunc.c: Likewise.
37961 * string/test-memcmp-ifunc.c: Likewise.
37962 * string/test-memcpy-ifunc.c: Likewise.
37963 * string/test-memmem-ifunc.c: Likewise.
37964 * string/test-memmove-ifunc.c: Likewise.
37965 * string/test-mempcpy-ifunc.c: Likewise.
37966 * string/test-memrchr-ifunc.c: Likewise.
37967 * string/test-memset-ifunc.c: Likewise.
37968 * string/test-rawmemchr-ifunc.c: Likewise.
37969 * string/test-stpcpy-ifunc.c: Likewise.
37970 * string/test-stpncpy-ifunc.c: Likewise.
37971 * string/test-strcasecmp-ifunc.c: Likewise.
37972 * string/test-strcasestr-ifunc.c: Likewise.
37973 * string/test-strcat-ifunc.c: Likewise.
37974 * string/test-strchr-ifunc.c: Likewise.
37975 * string/test-strchrnul-ifunc.c: Likewise.
37976 * string/test-strcmp-ifunc.c: Likewise.
37977 * string/test-strcpy-ifunc.c: Likewise.
37978 * string/test-strcspn-ifunc.c: Likewise.
37979 * string/test-strlen-ifunc.c: Likewise.
37980 * string/test-strncasecmp-ifunc.c: Likewise.
37981 * string/test-strncat-ifunc.c: Likewise.
37982 * string/test-strncmp-ifunc.c: Likewise.
37983 * string/test-strncpy-ifunc.c: Likewise.
37984 * string/test-strnlen-ifunc.c: Likewise.
37985 * string/test-strpbrk-ifunc.c: Likewise.
37986 * string/test-strrchr-ifunc.c: Likewise.
37987 * string/test-strspn-ifunc.c: Likewise.
37988 * string/test-strstr-ifunc.c: Likewise.
37989
37990 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
37991
37992 * benchtests/Makefile: Remove ifunc tests.
37993 * benchtests/bench-string.h: Define TEST_IFUNC.
37994 * benchtests/bench-bcopy-ifunc.c: Remove.
37995 * benchtests/bench-bzero-ifunc.c: Likewise.
37996 * benchtests/bench-memccpy-ifunc.c: Likewise.
37997 * benchtests/bench-memchr-ifunc.c: Likewise.
37998 * benchtests/bench-memcmp-ifunc.c: Likewise.
37999 * benchtests/bench-memcpy-ifunc.c: Likewise.
38000 * benchtests/bench-memmem-ifunc.c: Likewise.
38001 * benchtests/bench-memmove-ifunc.c: Likewise.
38002 * benchtests/bench-mempcpy-ifunc.c: Likewise.
38003 * benchtests/bench-memrchr-ifunc.c: Likewise.
38004 * benchtests/bench-memset-ifunc.c: Likewise.
38005 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
38006 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
38007 * benchtests/bench-stpcpy-ifunc.c: Likewise.
38008 * benchtests/bench-stpncpy-ifunc.c: Likewise.
38009 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
38010 * benchtests/bench-strcasestr-ifunc.c: Likewise.
38011 * benchtests/bench-strcat-ifunc.c: Likewise.
38012 * benchtests/bench-strchr-ifunc.c: Likewise.
38013 * benchtests/bench-strchrnul-ifunc.c: Likewise.
38014 * benchtests/bench-strcmp-ifunc.c: Likewise.
38015 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
38016 * benchtests/bench-strcpy-ifunc.c: Likewise.
38017 * benchtests/bench-strcspn-ifunc.c: Likewise.
38018 * benchtests/bench-strlen-ifunc.c: Likewise.
38019 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
38020 * benchtests/bench-strncat-ifunc.c: Likewise.
38021 * benchtests/bench-strncmp-ifunc.c: Likewise.
38022 * benchtests/bench-strncpy-ifunc.c: Likewise.
38023 * benchtests/bench-strnlen-ifunc.c: Likewise.
38024 * benchtests/bench-strpbrk-ifunc.c: Likewise.
38025 * benchtests/bench-strrchr-ifunc.c: Likewise.
38026 * benchtests/bench-strsep-ifunc.c: Likewise.
38027 * benchtests/bench-strspn-ifunc.c: Likewise.
38028 * benchtests/bench-strstr-ifunc.c: Likewise.
38029
38030 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
38031
38032 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
38033
38034 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
38035
38036 * resolv/netdb.h: Use __glibc_reserved instead __unused.
38037 * rt/aio.h: Likewise.
38038 * sysdeps/gnu/bits/utmp.h: Likewise.
38039 * sysdeps/gnu/bits/utmpx.h: Likewise.
38040 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38041 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
38042 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
38043 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
38044 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
38045 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
38046 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
38047 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
38048 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
38049 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
38050 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
38051 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
38052 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
38053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
38054 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38055 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
38056 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
38057 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
38058 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
38059 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
38060 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
38061 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
38062 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
38063 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38064 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
38065 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38066 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
38067 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
38068 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
38069 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
38070 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
38071 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
38072 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
38073 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38074 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
38075 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
38076 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
38077 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
38078 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
38079 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
38080 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
38081 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38082
38083 2013-11-25 Carlos O'Donell <carlos@redhat.com>
38084
38085 [BZ #16245]
38086 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
38087 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
38088
38089 2013-11-25 Joseph Myers <joseph@codesourcery.com>
38090
38091 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
38092 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38093 Likewise.
38094
38095 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38096
38097 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
38098 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
38099 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
38100 (__fesetround): Remove define.
38101 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
38102 rounding and exceptions handling.
38103 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
38104 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
38105 (__fe_nomask_env): Likewise.
38106 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
38107 __fegetround instead of fegetround.
38108 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38109 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
38110
38111 2013-11-21 Roland McGrath <roland@hack.frob.com>
38112
38113 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
38114 it's there.
38115
38116 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
38117
38118 2013-11-21 Meador Inge <meadori@codesourcery.com>
38119
38120 [BZ #11157]
38121 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
38122 (encrypt_r): Likewise.
38123 * malloc/obstack.h (obstack_free): Likewise.
38124 * posix/unistd.h (encrypt): Likewise.
38125
38126 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
38127
38128 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
38129 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
38130 DL_CALL_DT_FINI() that call the functions directly.
38131 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
38132 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
38133 * elf/dl-fini.c: Likewise.
38134
38135 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
38136
38137 * malloc/hooks.c (memalign_check): Add alignment rounding.
38138 * malloc/malloc.c (_mid_memalign): New function.
38139 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
38140 Implement by calling _mid_memalign.
38141 * manual/probes.texi (Memory Allocation Probes): Remove
38142 memory_valloc_retry and memory_pvalloc_retry.
38143
38144 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
38145
38146 * locale/programs/locarchive.c (open_archive): Add const
38147 qualifier to ARCHIVEFNAME and copy default fname to
38148 DEFAULT_FNAME.
38149
38150 [BZ #15601]
38151 * libio/tst-widetext.input: Rename Oriya to Odia.
38152 * locale/iso-639.def: Likewise.
38153
38154 * manual/probes.texi (Mathematical Function Probes): Add
38155 documentation for sin, cos, asin and acos probes.
38156 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
38157 (__sin32): Add slowasin probe.
38158 (__cos32): Add slowacos probe.
38159 (__mpsin): Add slowsin probe.
38160 (__mpcos): Add slowcos probe.
38161
38162 2013-11-19 Joseph Myers <joseph@codesourcery.com>
38163
38164 [BZ #15483]
38165 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
38166 thread-local __sim_exceptions_thread and global
38167 __sim_exceptions_global.
38168 (__sim_disabled_exceptions): Change to thread-local
38169 __sim_disabled_exceptions_thread and global
38170 __sim_disabled_exceptions_global.
38171 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38172 and global __sim_round_mode_global.
38173 (__simulate_exceptions): Use thread-local floating-point state and
38174 set global state from it as needed.
38175 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
38176 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
38177 __sim_round_mode_thread.
38178 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
38179 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
38180 and global __sim_exceptions_global.
38181 (__sim_disabled_exceptions): Change to thread-local
38182 __sim_disabled_exceptions_thread and global
38183 __sim_disabled_exceptions_global.
38184 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38185 and global __sim_round_mode_global.
38186 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
38187 (SIM_SET_GLOBAL): Likewise.
38188 * sysdeps/powerpc/soft-fp/sfp-machine.h
38189 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
38190 __sim_round_mode_thread.
38191 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
38192 __sim_disabled_exceptions_thread.
38193 (__sim_exceptions): Change to __sim_exceptions_thread.
38194 (__sim_disabled_exceptions): Change to
38195 __sim_disabled_exceptions_thread.
38196 (__sim_round_mode): Change to __sim_round_mode_thread.
38197 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
38198 thread-local floating-point state and set global state from it as
38199 needed.
38200 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
38201 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
38202 (__sim_disabled_exceptions): Remove extern declaration.
38203 (feenableexcept): Use thread-local floating-point state and set
38204 global state from it as needed.
38205 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
38206 extern declaration.
38207 (__sim_disabled_exceptions): Likewise.
38208 (__sim_round_mode): Likewise.
38209 (__fegetenv): Use thread-local floating-point state.
38210 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
38211 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38212 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
38213 floating-point state and set global state from it as needed.
38214 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
38215 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38216 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
38217 Likewise.
38218 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38219 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
38220 Likewise.
38221 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
38222 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
38223 Use __sim_round_mode_thread.
38224 * math/test-fenv-tls.c: New file.
38225 * math/Makefile (tests): Add test-fenv-tls.
38226 ($(objpfx)test-fenv-tls): Depend on
38227 $(common-objpfx)nptl/libpthread.so.
38228
38229 2013-11-19 Andreas Schwab <schwab@suse.de>
38230
38231 * locale/programs/locale.c (show_info): Decode wordarray elements.
38232 * locale/categories.def (LC_MONETARY): Add element for
38233 _NL_MONETARY_CRNCYSTR.
38234 * locale/C-monetary.c (conversion_rate): New variable.
38235 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
38236 element.
38237
38238 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
38239
38240 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
38241 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
38242
38243 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38244
38245 * elf/Makefile (tst-auxv): New test.
38246 * elf/tst-auxv.c: New
38247 * elf/rtld.c (dl_main): Adjust AT_EXECFN
38248
38249 2013-11-18 Joseph Myers <joseph@codesourcery.com>
38250
38251 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
38252 (hidden_proto): Caller changed.
38253 (hidden_tls_proto): New macro.
38254 (libc_hidden_tls_proto): Likewise.
38255 (rtld_hidden_tls_proto): Likewise.
38256 (libm_hidden_tls_proto): Likewise.
38257 (libresolv_hidden_tls_proto): Likewise.
38258 (librt_hidden_tls_proto): Likewise.
38259 (libdl_hidden_tls_proto): Likewise.
38260 (libnss_files_hidden_tls_proto): Likewise.
38261 (libnsl_hidden_tls_proto): Likewise.
38262 (libnss_nisplus_hidden_tls_proto): Likewise.
38263 (libutil_hidden_tls_proto): Likewise.
38264
38265 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
38266
38267 [BZ #10253]
38268 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
38269 (decompose_rpath): Defer expansion to fillin_rpath.
38270 (_dl_init_paths): Pass linkmap to fillin_rpath.
38271
38272 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38273
38274 * benchtests/Makefile: Add strsep.
38275 * benchtests/bench-strsep.c: New file: strsep benchtest.
38276 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
38277
38278 2013-11-18 Andreas Schwab <schwab@suse.de>
38279
38280 * locale/programs/locale.c (show_info) [case byte]: Check for
38281 '\377' instead of '\177'.
38282 * locale/C-monetary.c (not_available): Always use "\377".
38283 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
38284 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
38285 detect unavailable sign_posn locale elements.
38286 * locale/localeconv.c (__localeconv): For grouping and
38287 mon_grouping handle "\177" and "\377" like no grouping.
38288 (INT_ELEM): New macro. Use it to set all numeric members.
38289 * locale/programs/ld-monetary.c (monetary_read)
38290 <tok_mon_grouping>: Normalize single -1 to the empty string.
38291 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
38292 Likewise.
38293
38294 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
38295
38296 [BZ #16055]
38297 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
38298 when we match (nil).
38299 * stdio-common/tst-sscanf.c (struct test): Add testcase.
38300
38301 2013-11-16 Joseph Myers <joseph@codesourcery.com>
38302
38303 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
38304 (NO_TEST_INLINE): Update value.
38305 (ERRNO_UNCHANGED): Likewise.
38306 (ERRNO_EDOM): Likewise.
38307 (ERRNO_ERANGE): Likewise.
38308 (IGNORE_RESULT): Likewise.
38309 (check_float_internal): Check signs of NaN results if
38310 TEST_NAN_SIGN used.
38311 (check_complex): Pass TEST_NAN_SIGN flag through to second
38312 check_float_internal call.
38313 (copysign_test_data): Add tests with quiet NaNs as second
38314 argument. Use TEST_NAN_SIGN.
38315 (fabs_test_data): Add test of negative quiet NaN argument. Use
38316 TEST_NAN_SIGN.
38317 (signbit_test_data): Add tests of quiet NaN argument.
38318 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
38319
38320 * math/gen-libm-test.pl (show_exceptions): Take extra argument
38321 $ignore_result.
38322 (parse_args): Handle function results specified as IGNORE.
38323 * math/libm-test.inc (IGNORE_RESULT): New macro.
38324 (check_float_internal): Do not check numerical result if flag
38325 IGNORE_RESULT set.
38326 (check_complex): Pass through IGNORE_RESULT to second
38327 check_float_internal call.
38328 (check_int): Do not check numerical result if flag IGNORE_RESULT
38329 set.
38330 (check_long): Likewise.
38331 (check_bool): Likewise.
38332 (check_longlong): Likewise.
38333 (lrint_test_data): Add tests of infinite and NaN arguments.
38334 (lrint_tonearest_test_data): Likewise.
38335 (lrint_towardzero_test_data): Likewise.
38336 (lrint_downward_test_data): Likewise.
38337 (lrint_upward_test_data): Likewise.
38338 (llrint_test_data): Likewise.
38339 (llrint_tonearest_test_data): Likewise.
38340 (llrint_towardzero_test_data): Likewise.
38341 (llrint_downward_test_data): Likewise.
38342 (llrint_upward_test_data): Likewise.
38343 (lround_test_data): Likewise.
38344 (llround_test_data): Likewise.
38345
38346 * math/libm-test.inc (NO_TEST_INLINE): New macro.
38347 (ERRNO_UNCHANGED): Update value.
38348 (ERRNO_EDOM): Likewise.
38349 (ERRNO_ERANGE): Likewise.
38350 (NO_TEST_INLINE_FLOAT): New macro.
38351 (NO_TEST_INLINE_DOUBLE): Likewise.
38352 (enable_test): New function.
38353 (RUN_TEST_f_f): Check enable_test before running test.
38354 (RUN_TEST_2_f): Likewise.
38355 (RUN_TEST_fff_f): Likewise.
38356 (RUN_TEST_c_f): Likewise.
38357 (RUN_TEST_f_f1): Likewise.
38358 (RUN_TEST_fF_f1): Likewise.
38359 (RUN_TEST_fI_f1): Likewise.
38360 (RUN_TEST_ffI_f1): Likewise.
38361 (RUN_TEST_c_c): Likewise.
38362 (RUN_TEST_cc_c): Likewise.
38363 (RUN_TEST_f_i): Likewise.
38364 (RUN_TEST_f_i_tg): Likewise.
38365 (RUN_TEST_ff_i_tg): Likewise.
38366 (RUN_TEST_f_b): Likewise.
38367 (RUN_TEST_f_b_tg): Likewise.
38368 (RUN_TEST_f_l): Likewise.
38369 (RUN_TEST_f_L): Likewise.
38370 (RUN_TEST_fFF_11): Likewise.
38371 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
38372 conditionals.
38373 (cosh_test_data): Likewise.
38374 (exp_test_data): Likewise.
38375 (expm1_test_data): Likewise.
38376 (hypot_test_data): Likewise.
38377 (pow_test_data): Likewise.
38378 (sinh_test_data): Likewise.
38379 (tanh_test_data): Likewise.
38380 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
38381 flags argument.
38382
38383 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
38384 tests with quiet NaN input and output.
38385 (acosh_test_data): Likewise.
38386 (asin_test_data): Likewise.
38387 (asinh_test_data): Likewise.
38388 (atan_test_data): Likewise.
38389 (atanh_test_data): Likewise.
38390 (atan2_test_data): Likewise.
38391 (cbrt_test_data): Likewise.
38392 (cos_test_data): Likewise.
38393 (cosh_test_data): Likewise.
38394 (erf_test_data): Likewise.
38395 (erfc_test_data): Likewise.
38396 (exp_test_data): Likewise.
38397 (exp10_test_data): Likewise.
38398 (exp2_test_data): Likewise.
38399 (expm1_test_data): Likewise.
38400 (hypot_test_data): Likewise.
38401 (j0_test_data): Likewise.
38402 (j1_test_data): Likewise.
38403 (jn_test_data): Likewise.
38404 (lgamma_test_data): Likewise.
38405 (log_test_data): Likewise.
38406 (log10_test_data): Likewise.
38407 (log1p_test_data): Likewise.
38408 (log2_test_data): Likewise.
38409 (pow_test_data): Likewise.
38410 (scalb_test_data): Likewise.
38411 (sin_test_data): Likewise.
38412 (sincos_test_data): Likewise.
38413 (sinh_test_data): Likewise.
38414 (tan_test_data): Likewise.
38415 (tanh_test_data): Likewise.
38416 (tgamma_test_data): Likewise.
38417 (y0_test_data): Likewise.
38418 (y1_test_data): Likewise.
38419 (yn_test_data): Likewise.
38420
38421 [BZ #16167]
38422 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
38423 argument being NaN and avoid computations with second argument in
38424 that case.
38425 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38426 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38427 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38428
38429 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
38430
38431 * locale/iso-639.def: Add Chitwani Tharu (the).
38432
38433 2013-11-14 Andreas Schwab <schwab@suse.de>
38434
38435 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
38436 word instead of empty string.
38437
38438 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38439
38440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38441 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
38442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38443 (__fe_nomask_env): Likewise.
38444
38445 2013-11-13 Steve Ellcey <sellcey@mips.com>
38446
38447 * benchtests/bench-timing.h: Include time.h.
38448
38449 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
38450
38451 [BZ #15997]
38452 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
38453 to 3.4.0 for x32.
38454 * sysdeps/unix/sysv/linux/configure: Regenerated.
38455
38456 2013-11-13 Joseph Myers <joseph@codesourcery.com>
38457
38458 [BZ #16151]
38459 * stdlib/strtod_l.c (round_and_return): Do not consider
38460 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
38461 exponent one less than half the least subnormal exponent.
38462 * stdlib/test-strtod-round-data: Add more tests.
38463 * stdlib/tst-strtod-round.c (tests): Regenerated.
38464
38465 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38466
38467 [BZ #14143]
38468 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
38469 (__fe_mask_env): Likewise.
38470 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
38471 libm_hidden_proto and add function prototype.
38472 (__fe_mask_env): Add function prototype.
38473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38474 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
38475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38476 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
38477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38478 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
38479
38480 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38481
38482 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
38483 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
38484
38485 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38486
38487 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
38488 of htab_find_slot().
38489
38490 2013-11-11 David S. Miller <davem@davemloft.net>
38491
38492 [BZ #16150]
38493 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
38494 symbol in the non-vis3 case in static builds.
38495 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
38496 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
38497 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
38498 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
38499
38500 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
38501
38502 [BZ #387]
38503 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
38504 it is empty.
38505
38506 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38507
38508 * benchtests/Makefile: Add bench-strtod.
38509 * benchtests/bench-strtod.c: New file: strtod benchtest
38510
38511 2013-11-11 Andreas Schwab <schwab@suse.de>
38512
38513 [BZ #16153]
38514 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
38515 terminating NUL in key length.
38516
38517 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38518
38519 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38520 Add artificial ODP entry for vDSO symbol for PPC64.
38521 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
38522 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38523
38524 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
38525
38526 [BZ #15374]
38527 * nss/getent.c (services_keys): Recognize services starting with digit.
38528
38529 2013-11-06 David S. Miller <davem@davemloft.net>
38530
38531 [BZ #15985]
38532 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
38533 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
38534
38535 2013-11-06 Will Newton <will.newton@linaro.org>
38536
38537 * manual/memory.texi (Malloc Examples): Remove register
38538 keyword from examples.
38539
38540 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
38541
38542 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
38543
38544 2013-11-04 Joseph Myers <joseph@codesourcery.com>
38545
38546 [BZ #6981]
38547 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
38548 depending on [__GCC_IEC_559 > 0].
38549 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
38550 depending on [__GCC_IEC_559_COMPLEX > 0].
38551
38552 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
38553
38554 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
38555 to iso-639.def.
38556
38557 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
38558
38559 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
38560
38561 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
38562
38563 [BZ #16112]
38564 * malloc/malloc (malloc_info): Do not handle first bin as
38565 special case.
38566
38567 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
38568
38569 * locale/iso-639.def: Add Central Nahuatl (nhn).
38570
38571 2013-11-01 Bruno Haible <bruno@clisp.org>
38572
38573 [BZ #7003]
38574 * manual/math.texi (BSD Random): Specify range upper bound as
38575 in POSIX.
38576
38577 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
38578
38579 * locale/iso-639.def: Add Meadow Mari (mhr).
38580
38581 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
38582
38583 [BZ #14752], [BZ #15763]
38584 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
38585 Validate name.
38586 * rt/tst_shm.c: Add test for escaping directory.
38587
38588 2013-10-31 Andreas Schwab <schwab@suse.de>
38589
38590 [BZ #15917]
38591 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
38592 followed by 'x' as part of digit sequence.
38593 * stdio-common/tst-sscanf.c (double_tests2): New tests.
38594
38595 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
38596
38597 [BZ #16037]
38598 * configure.ac: allow GNU Make 4.0 and greater.
38599 * configure: Regenerated.
38600
38601 2013-10-30 Will Newton <will.newton@linaro.org>
38602
38603 [BZ #16038]
38604 * malloc/hooks.c (memalign_check): Limit alignment to the
38605 maximum representable power of two.
38606 * malloc/malloc.c (__libc_memalign): Likewise.
38607 * malloc/tst-memalign.c (do_test): Add test for very
38608 large alignment values.
38609 * malloc/tst-posix_memalign.c (do_test): Likewise.
38610
38611 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
38612
38613 [BZ #11087]
38614 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
38615 (munmap_chunk): Likewise.
38616 (mremap_chunk): Likewise.
38617
38618 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
38619
38620 [BZ #15799]
38621 * stdlib/div.c (div): Remove obsolete code.
38622 * stdlib/ldiv.c (ldiv): Likewise.
38623 * stdlib/lldiv.c (lldiv): Likewise.
38624
38625 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38626
38627 [BZ #16071]
38628 * nss/nss_files/files-XXX.c (get_contents_ret): New
38629 enumerator.
38630 (get_contents): New function.
38631 (internal_getent): Use it. Expand size of LINEBUFLEN.
38632
38633 2013-10-30 Mike Frysinger <vapier@gentoo.org>
38634
38635 * configure.in: Moved to ...
38636 * configure.ac: ... here. Change reference to configure.in
38637 to configure.ac.
38638 * sysdeps/arm/preconfigure.ac: ... here.
38639 configure.in to configure.ac.
38640 * sysdeps/gnu/configure.in: Moved to ...
38641 * sysdeps/gnu/configure.ac: ... here.
38642 * sysdeps/i386/configure.in: Moved to ...
38643 * sysdeps/i386/configure.ac: ... here.
38644 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
38645 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
38646 * sysdeps/mach/configure.in: Moved to ...
38647 * sysdeps/mach/configure.ac: ... here.
38648 * sysdeps/mach/hurd/configure.in: Moved to ...
38649 * sysdeps/mach/hurd/configure.ac: ... here.
38650 * sysdeps/powerpc/configure.in: Moved to ...
38651 * sysdeps/powerpc/configure.ac: ... here.
38652 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
38653 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
38654 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
38655 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
38656 * sysdeps/s390/s390-32/configure.in: Moved to ...
38657 * sysdeps/s390/s390-32/configure.ac: ... here.
38658 * sysdeps/s390/s390-64/configure.in: Moved to ...
38659 * sysdeps/s390/s390-64/configure.ac: ... here.
38660 * sysdeps/sh/configure.in: Moved to ...
38661 * sysdeps/sh/configure.ac: ... here.
38662 * sysdeps/sparc/configure.in: Moved to ...
38663 * sysdeps/sparc/configure.ac: ... here.
38664 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
38665 * sysdeps/unix/sysv/linux/configure.ac: ... here.
38666 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
38667 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
38668 * sysdeps/x86_64/configure.in: Moved to ...
38669 * sysdeps/x86_64/configure.ac: ... here.
38670 * sysdeps/x86_64/preconfigure.in: Moved to ...
38671 * sysdeps/x86_64/preconfigure.ac: ... here.
38672 * aclocal.m4: Change reference to configure.in to configure.ac.
38673 * config.h.in: Likewise.
38674 * manual/install.texi: Likewise.
38675 * manual/maint.texi: Likewise.
38676 * Makefile: Likewise.
38677 * malloc/Makefile: Likewise.
38678 * nscd/Makefile: Likewise.
38679 * Makeconfig: Change reference to configure.in and
38680 preconfigure.in to configure.ac and preconfigure.ac
38681 respectively.
38682 * INSTALL: Regenerated.
38683 * configure: Likewise.
38684 * sysdeps/gnu/configure: Likewise.
38685 * sysdeps/i386/configure: Likewise.
38686 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
38687 * sysdeps/mach/configure: Likewise.
38688 * sysdeps/mach/hurd/configure: Likewise.
38689 * sysdeps/powerpc/configure: Likewise.
38690 * sysdeps/powerpc/powerpc32/configure: Likewise.
38691 * sysdeps/powerpc/powerpc64/configure: Likewise.
38692 * sysdeps/s390/s390-32/configure: Likewise.
38693 * sysdeps/s390/s390-64/configure: Likewise.
38694 * sysdeps/sh/configure: Likewise.
38695 * sysdeps/sparc/configure: Likewise.
38696 * sysdeps/unix/sysv/linux/configure: Likewise.
38697 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
38698 * sysdeps/x86_64/configure: Likewise.
38699 * sysdeps/x86_64/preconfigure: Likewise.
38700
38701 2013-10-29 Andreas Schwab <schwab@suse.de>
38702
38703 * stdio-common/Makefile (tst-swscanf-ENV): Define.
38704
38705 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38706
38707 * benchtests/pow-inputs: Add new inputs.
38708
38709 * benchtests/exp-inputs: Add new inputs.
38710
38711 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
38712 conditional check for return value.
38713 (__cos32): Likewise.
38714
38715 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38716
38717 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
38718 to provide a boost for large inputs with word alignment.
38719 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
38720 implementation based on optimized PPC64 strcpy.
38721 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
38722 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
38723 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
38724 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
38725
38726 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
38727
38728 [BZ #2801]
38729 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
38730
38731 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
38732
38733 [BZ #14876]
38734 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
38735 * time/tst-strptime.c (day_tests): Add testcase.
38736
38737 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
38738
38739 [BZ #14029]
38740 * manual/pattern.texi: Acknowledge that fnmatch can fail.
38741
38742 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
38743
38744 [BZ #16074]
38745 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
38746 MAP_FAILED on error.
38747
38748 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38749
38750 [BZ #16072]
38751 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
38752 heap for large requests.
38753
38754 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
38755
38756 [BZ #9954]
38757 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
38758 result if the result has no associated interface.
38759 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
38760 interface for all 127.X.Y.Z addresses.
38761
38762 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
38763
38764 * locale/iso-639.def: Add Ligurian (lij)
38765
38766 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
38767
38768 [BZ #15825]
38769 * sunrpc/rpc_main.c: Document rpcgen -5.
38770
38771 2013-10-19 Michael Stahl <mstahl@redhat.com>
38772
38773 * elf/rtld.c (do_preload): Print the reason why preloading failed.
38774
38775 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
38776
38777 [BZ #10278]
38778 * posix/glob.c: Match only directories when trailing slash is present.
38779 * posix/tst-gnuglob.c (my_opendir): Do not open files.
38780 (main): Add testcase.
38781
38782 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
38783
38784 [BZ #15670]
38785 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
38786
38787 2013-10-18 Carlos O'Donell <carlos@redhat.com>
38788
38789 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
38790 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
38791 AUTH_DES and cindex for FIPS 140-2.
38792 (DES Encryption): Add cindex FIPS 46-3.
38793
38794 * locale/locarchive.h (struct locarhandle): Add fname.
38795 * locale/programs/localedef.c (main): Pass ARGV[remaining]
38796 if an optional argument was specified to --list-archive,
38797 otherwise NULL.
38798 * locale/programs/locarchive.c (show_archive_content): Take new
38799 argument fname and pass it via ah.fname to open_archive.
38800 * locale/programs/localedef.h: Update decl.
38801 (open_archive): If AH->fname is non-null, open that file
38802 rather than the default file name, and don't ignore ENOENT.
38803 (create_archive): Set AH.fname to NULL.
38804 (delete_locales_from_archive): Likewise.
38805 (add_locales_to_archive): Likewise.
38806 * locale/programs/locfile.c (write_all_categories): Likewise.
38807
38808 2013-10-18 Joseph Myers <joseph@codesourcery.com>
38809 Aldy Hernandez <aldyh@redhat.com>
38810
38811 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
38812 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
38813 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
38814 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
38815 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
38816 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
38817 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
38818 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
38819 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
38820 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
38821 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
38822 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
38823 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
38824 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
38825 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
38826 Likewise.
38827 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
38828 Likewise.
38829 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
38830 Likewise.
38831 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
38832 Likewise.
38833 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
38834 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
38835 Likewise.
38836 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
38837 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
38838 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
38839 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
38840 Likewise.
38841 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
38842 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
38843 * sysdeps/powerpc/preconfigure: Likewise.
38844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
38845 Likewise.
38846 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
38847 Replace contents of file by #include of <fenv_libc.h>.
38848 * sysdeps/powerpc/soft-fp/sfp-machine.h
38849 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
38850 and <sys/prctl.h>.
38851 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
38852 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
38853 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
38854 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
38855 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
38856 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
38857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
38858 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
38859 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
38860 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
38861 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
38862 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
38863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38864 Allow copysignl PLT reference to be missing.
38865
38866 2013-10-18 Richard Sandiford <richard@codesourcery.com>
38867 Joseph Myers <joseph@codesourcery.com
38868
38869 [BZ #15948]
38870 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
38871 single character.
38872 (add_to_tablewc): Assert sequence of wide characters is nonempty.
38873
38874 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38875
38876 * elf/tst-tls-dlinfo.c: Don't include tls.h.
38877 * elf/tst-tls1.c: Likewise.
38878 * elf/tst-tls10.h: Likewise.
38879 * elf/tst-tls14.c: Likewise.
38880 * elf/tst-tls2.c: Likewise.
38881 * elf/tst-tls3.c: Likewise.
38882 * elf/tst-tls4.c: Likewise.
38883 * elf/tst-tls5.c: Likewise.
38884 * elf/tst-tls6.c: Likewise.
38885 * elf/tst-tls7.c: Likewise.
38886 * elf/tst-tls8.c: Likewise.
38887 * elf/tst-tls9.c: Likewise.
38888 * elf/tst-tlsmod1.c: Likewise.
38889 * elf/tst-tlsmod13.c: Likewise.
38890 * elf/tst-tlsmod13a.c: Likewise.
38891 * elf/tst-tlsmod14a.c: Likewise.
38892 * elf/tst-tlsmod16a.c: Likewise.
38893 * elf/tst-tlsmod16b.c: Likewise.
38894 * elf/tst-tlsmod2.c: Likewise.
38895 * elf/tst-tlsmod3.c: Likewise.
38896 * elf/tst-tlsmod4.c: Likewise.
38897 * elf/tst-tlsmod5.c: Likewise.
38898 * elf/tst-tlsmod6.c: Likewise.
38899
38900 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
38901
38902 [BZ #12486]
38903 * malloc/malloc.c: remove checks for statistics.
38904
38905 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
38906
38907 [BZ #15277]
38908 * inet/inet_net.c (inet_network): Detect additional invalid strings.
38909 * inet/tst-network.c: Add testcase.
38910
38911 2013-10-17 Andreas Schwab <schwab@suse.de>
38912
38913 [BZ #15218]
38914 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
38915 to determine canonical name.
38916
38917 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
38918
38919 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
38920 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
38921 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38922 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38923 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38924 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38925 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38926 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38927 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38928 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38929 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38930 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38931 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38932 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38933 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38934 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38936 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38937 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38938 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38939 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38940 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38941 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38942 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
38943 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
38944 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38945 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38946 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
38947 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38948 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
38949 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38950 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38951 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38952 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38953 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38954 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38955 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38956 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38957 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38958 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38959 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38960 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38961 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38962 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38963 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38964 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38965 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38966 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38967 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38968 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38969 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38970 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38971 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38972 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38973 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38974 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38975 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38976 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38977
38978 2013-10-17 Joseph Myers <joseph@codesourcery.com>
38979
38980 [BZ #16041]
38981 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
38982 make result into a quiet NaN.
38983
38984 2013-10-16 Joseph Myers <joseph@codesourcery.com>
38985
38986 * soft-fp/adddf3.c: Fix horizontal whitespace.
38987 * soft-fp/addsf3.c: Likewise.
38988 * soft-fp/addtf3.c: Likewise.
38989 * soft-fp/divdf3.c: Likewise.
38990 * soft-fp/divsf3.c: Likewise.
38991 * soft-fp/divtf3.c: Likewise.
38992 * soft-fp/double.h: Likewise.
38993 * soft-fp/eqdf2.c: Likewise.
38994 * soft-fp/eqsf2.c: Likewise.
38995 * soft-fp/eqtf2.c: Likewise.
38996 * soft-fp/extenddftf2.c: Likewise.
38997 * soft-fp/extended.h: Likewise.
38998 * soft-fp/extendsfdf2.c: Likewise.
38999 * soft-fp/extendsftf2.c: Likewise.
39000 * soft-fp/extendxftf2.c: Likewise.
39001 * soft-fp/fixdfdi.c: Likewise.
39002 * soft-fp/fixdfsi.c: Likewise.
39003 * soft-fp/fixdfti.c: Likewise.
39004 * soft-fp/fixsfdi.c: Likewise.
39005 * soft-fp/fixsfsi.c: Likewise.
39006 * soft-fp/fixsfti.c: Likewise.
39007 * soft-fp/fixtfdi.c: Likewise.
39008 * soft-fp/fixtfsi.c: Likewise.
39009 * soft-fp/fixtfti.c: Likewise.
39010 * soft-fp/fixunsdfdi.c: Likewise.
39011 * soft-fp/fixunsdfsi.c: Likewise.
39012 * soft-fp/fixunsdfti.c: Likewise.
39013 * soft-fp/fixunssfdi.c: Likewise.
39014 * soft-fp/fixunssfsi.c: Likewise.
39015 * soft-fp/fixunssfti.c: Likewise.
39016 * soft-fp/fixunstfdi.c: Likewise.
39017 * soft-fp/fixunstfsi.c: Likewise.
39018 * soft-fp/fixunstfti.c: Likewise.
39019 * soft-fp/floatdidf.c: Likewise.
39020 * soft-fp/floatdisf.c: Likewise.
39021 * soft-fp/floatditf.c: Likewise.
39022 * soft-fp/floatsidf.c: Likewise.
39023 * soft-fp/floatsisf.c: Likewise.
39024 * soft-fp/floatsitf.c: Likewise.
39025 * soft-fp/floattidf.c: Likewise.
39026 * soft-fp/floattisf.c: Likewise.
39027 * soft-fp/floattitf.c: Likewise.
39028 * soft-fp/floatundidf.c: Likewise.
39029 * soft-fp/floatundisf.c: Likewise.
39030 * soft-fp/floatunditf.c: Likewise.
39031 * soft-fp/floatunsidf.c: Likewise.
39032 * soft-fp/floatunsisf.c: Likewise.
39033 * soft-fp/floatunsitf.c: Likewise.
39034 * soft-fp/floatuntidf.c: Likewise.
39035 * soft-fp/floatuntisf.c: Likewise.
39036 * soft-fp/floatuntitf.c: Likewise.
39037 * soft-fp/fmadf4.c: Likewise.
39038 * soft-fp/fmasf4.c: Likewise.
39039 * soft-fp/fmatf4.c: Likewise.
39040 * soft-fp/gedf2.c: Likewise.
39041 * soft-fp/gesf2.c: Likewise.
39042 * soft-fp/getf2.c: Likewise.
39043 * soft-fp/ledf2.c: Likewise.
39044 * soft-fp/lesf2.c: Likewise.
39045 * soft-fp/letf2.c: Likewise.
39046 * soft-fp/muldf3.c: Likewise.
39047 * soft-fp/mulsf3.c: Likewise.
39048 * soft-fp/multf3.c: Likewise.
39049 * soft-fp/negdf2.c: Likewise.
39050 * soft-fp/negsf2.c: Likewise.
39051 * soft-fp/negtf2.c: Likewise.
39052 * soft-fp/op-1.h: Likewise.
39053 * soft-fp/op-2.h: Likewise.
39054 * soft-fp/op-4.h: Likewise.
39055 * soft-fp/op-8.h: Likewise.
39056 * soft-fp/op-common.h: Likewise.
39057 * soft-fp/quad.h: Likewise.
39058 * soft-fp/single.h: Likewise.
39059 * soft-fp/soft-fp.h: Likewise.
39060 * soft-fp/sqrtdf2.c: Likewise.
39061 * soft-fp/sqrtsf2.c: Likewise.
39062 * soft-fp/sqrttf2.c: Likewise.
39063 * soft-fp/subdf3.c: Likewise.
39064 * soft-fp/subsf3.c: Likewise.
39065 * soft-fp/subtf3.c: Likewise.
39066 * soft-fp/truncdfsf2.c: Likewise.
39067 * soft-fp/trunctfdf2.c: Likewise.
39068 * soft-fp/trunctfsf2.c: Likewise.
39069 * soft-fp/trunctfxf2.c: Likewise.
39070 * soft-fp/unorddf2.c: Likewise.
39071 * soft-fp/unordsf2.c: Likewise.
39072 * soft-fp/unordtf2.c: Likewise.
39073
39074 2013-10-15 Joseph Myers <joseph@codesourcery.com>
39075
39076 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
39077 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
39078
39079 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
39080
39081 * elf/dl-libc.c: Clear initfini list after freeing.
39082
39083 2013-10-14 Joseph Myers <joseph@codesourcery.com>
39084
39085 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
39086 * soft-fp/addsf3.c: Likewise.
39087 * soft-fp/addtf3.c: Likewise.
39088 * soft-fp/divdf3.c: Likewise.
39089 * soft-fp/divsf3.c: Likewise.
39090 * soft-fp/divtf3.c: Likewise.
39091 * soft-fp/double.h: Likewise.
39092 * soft-fp/eqdf2.c: Likewise.
39093 * soft-fp/eqsf2.c: Likewise.
39094 * soft-fp/eqtf2.c: Likewise.
39095 * soft-fp/extenddftf2.c: Likewise.
39096 * soft-fp/extended.h: Likewise.
39097 * soft-fp/extendsfdf2.c: Likewise.
39098 * soft-fp/extendsftf2.c: Likewise.
39099 * soft-fp/extendxftf2.c: Likewise.
39100 * soft-fp/fixdfdi.c: Likewise.
39101 * soft-fp/fixdfsi.c: Likewise.
39102 * soft-fp/fixdfti.c: Likewise.
39103 * soft-fp/fixsfdi.c: Likewise.
39104 * soft-fp/fixsfsi.c: Likewise.
39105 * soft-fp/fixsfti.c: Likewise.
39106 * soft-fp/fixtfdi.c: Likewise.
39107 * soft-fp/fixtfsi.c: Likewise.
39108 * soft-fp/fixtfti.c: Likewise.
39109 * soft-fp/fixunsdfdi.c: Likewise.
39110 * soft-fp/fixunsdfsi.c: Likewise.
39111 * soft-fp/fixunsdfti.c: Likewise.
39112 * soft-fp/fixunssfdi.c: Likewise.
39113 * soft-fp/fixunssfsi.c: Likewise.
39114 * soft-fp/fixunssfti.c: Likewise.
39115 * soft-fp/fixunstfdi.c: Likewise.
39116 * soft-fp/fixunstfsi.c: Likewise.
39117 * soft-fp/fixunstfti.c: Likewise.
39118 * soft-fp/floatdidf.c: Likewise.
39119 * soft-fp/floatdisf.c: Likewise.
39120 * soft-fp/floatditf.c: Likewise.
39121 * soft-fp/floatsidf.c: Likewise.
39122 * soft-fp/floatsisf.c: Likewise.
39123 * soft-fp/floatsitf.c: Likewise.
39124 * soft-fp/floattidf.c: Likewise.
39125 * soft-fp/floattisf.c: Likewise.
39126 * soft-fp/floattitf.c: Likewise.
39127 * soft-fp/floatundidf.c: Likewise.
39128 * soft-fp/floatundisf.c: Likewise.
39129 * soft-fp/floatunsidf.c: Likewise.
39130 * soft-fp/floatunsisf.c: Likewise.
39131 * soft-fp/floatuntidf.c: Likewise.
39132 * soft-fp/floatuntisf.c: Likewise.
39133 * soft-fp/floatuntitf.c: Likewise.
39134 * soft-fp/fmadf4.c: Likewise.
39135 * soft-fp/fmasf4.c: Likewise.
39136 * soft-fp/fmatf4.c: Likewise.
39137 * soft-fp/gedf2.c: Likewise.
39138 * soft-fp/gesf2.c: Likewise.
39139 * soft-fp/getf2.c: Likewise.
39140 * soft-fp/ledf2.c: Likewise.
39141 * soft-fp/lesf2.c: Likewise.
39142 * soft-fp/letf2.c: Likewise.
39143 * soft-fp/muldf3.c: Likewise.
39144 * soft-fp/mulsf3.c: Likewise.
39145 * soft-fp/multf3.c: Likewise.
39146 * soft-fp/negdf2.c: Likewise.
39147 * soft-fp/negsf2.c: Likewise.
39148 * soft-fp/negtf2.c: Likewise.
39149 * soft-fp/op-1.h: Likewise.
39150 * soft-fp/op-2.h: Likewise.
39151 * soft-fp/op-4.h: Likewise.
39152 * soft-fp/op-8.h: Likewise.
39153 * soft-fp/op-common.h: Likewise.
39154 * soft-fp/quad.h: Likewise.
39155 * soft-fp/single.h: Likewise.
39156 * soft-fp/soft-fp.h: Likewise.
39157 * soft-fp/sqrtdf2.c: Likewise.
39158 * soft-fp/sqrtsf2.c: Likewise.
39159 * soft-fp/sqrttf2.c: Likewise.
39160 * soft-fp/subdf3.c: Likewise.
39161 * soft-fp/subsf3.c: Likewise.
39162 * soft-fp/subtf3.c: Likewise.
39163 * soft-fp/truncdfsf2.c: Likewise.
39164 * soft-fp/trunctfdf2.c: Likewise.
39165 * soft-fp/trunctfsf2.c: Likewise.
39166 * soft-fp/trunctfxf2.c: Likewise.
39167 * soft-fp/unorddf2.c: Likewise.
39168 * soft-fp/unordsf2.c: Likewise.
39169 * soft-fp/unordtf2.c: Likewise.
39170
39171 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
39172
39173 [BZ #15672]
39174 * misc/error.c (error_tail): Fix possible buffer overflow.
39175
39176 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
39177
39178 [BZ #13028]
39179 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
39180 address.
39181
39182 2013-10-14 P. J. McDermott <pj@pehjota.net>
39183
39184 [BZ #832]
39185 * elf/ldd.bash.in (try_trace): New function. Delete previous code
39186 testing pipefail option.
39187
39188 2013-10-12 Joseph Myers <joseph@codesourcery.com>
39189
39190 * soft-fp/double.h: Indent preprocessor directives inside #if.
39191 * soft-fp/extended.h: Likewise.
39192 * soft-fp/op-2.h: Likewise.
39193 * soft-fp/op-4.h: Likewise.
39194 * soft-fp/op-common.h: Likewise.
39195 * soft-fp/quad.h: Likewise.
39196 * soft-fp/single.h: Likewise.
39197 * soft-fp/soft-fp.h: Likewise.
39198
39199 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
39200
39201 * iconv/iconv_prog.c: Fix typos.
39202 * stdio-common/psiginfo-data.h: Likewise.
39203
39204 2013-10-12 Reuben Thomas <rrt@sc3d.org>
39205
39206 [BZ #15764]
39207 * locale/setlocale.c: Fix typo.
39208
39209 2013-10-12 Joseph Myers <joseph@codesourcery.com>
39210
39211 [BZ #16036]
39212 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
39213 signaling NaN arguments.
39214 * soft-fp/unordsf2.c (__unordsf2): Likewise.
39215 * soft-fp/unordtf2.c (__unordtf2): Likewise.
39216
39217 [BZ #14910]
39218 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
39219 unordered operands.
39220 * soft-fp/gesf2.c (__gesf2): Likewise.
39221 * soft-fp/getf2.c (__getf2): Likewise.
39222 * soft-fp/ledf2.c (__ledf2): Likewise.
39223 * soft-fp/lesf2.c (__lesf2): Likewise.
39224 * soft-fp/letf2.c (__letf2): Likewise.
39225
39226 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
39227 * soft-fp/eqsf2.c (__eqsf2): Likewise.
39228 * soft-fp/eqtf2.c (__eqtf2): Likewise.
39229 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
39230 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
39231 * soft-fp/fixdfti.c (__fixdfti): Likewise.
39232 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
39233 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
39234 * soft-fp/fixsfti.c (__fixsfti): Likewise.
39235 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
39236 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
39237 * soft-fp/fixtfti.c (__fixtfti): Likewise.
39238 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
39239 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
39240 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
39241 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
39242 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
39243 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
39244 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
39245 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
39246 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
39247 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
39248 * soft-fp/floatdisf.c (__floatdisf): Likewise.
39249 * soft-fp/floatsisf.c (__floatsisf): Likewise.
39250 * soft-fp/floattidf.c (__floattidf): Likewise.
39251 * soft-fp/floattisf.c (__floattisf): Likewise.
39252 * soft-fp/floattitf.c (__floattitf): Likewise.
39253 * soft-fp/floatundidf.c (__floatundidf): Likewise.
39254 * soft-fp/floatundisf.c (__floatundisf): Likewise.
39255 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
39256 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
39257 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
39258 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
39259 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
39260 * soft-fp/gesf2.c (__gesf2): Likewise.
39261 * soft-fp/getf2.c (__getf2): Likewise.
39262 * soft-fp/ledf2.c (__ledf2): Likewise.
39263 * soft-fp/lesf2.c (__lesf2): Likewise.
39264 * soft-fp/letf2.c (__letf2): Likewise.
39265
39266 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
39267 Undefine and redefine.
39268 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
39269 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
39270 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
39271 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
39272 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39273 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
39274 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39275 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
39276 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39277 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
39278 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39279 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
39280 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39281 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
39282 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39283
39284 [BZ #16032]
39285 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
39286 without decrementing exponent if mantissa >= that for the
39287 denominator, not >.
39288 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
39289 denominator, not >. Decrement exponent in < case instead of
39290 incrementing in >= case.
39291 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
39292 without decrementing exponent if mantissa >= that for the
39293 denominator, not >.
39294
39295 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
39296 computing saturated result for unsigned overflow.
39297
39298 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39299 Jeff Law <law@redhat.com>
39300
39301 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
39302 (atan2Mp): Add systemtap probe marker.
39303 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
39304 (__ieee754_log): Add systemtap probe marker.
39305 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
39306 (atanMp): Add systemtap probe marker.
39307 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
39308 (tanMp): Add systemtap probe marker.
39309 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
39310 (__slowexp): Add systemtap probe marker.
39311 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
39312 (__slowpow): Add systemtap probe marker.
39313 * manual/probes.texi: Document probes.
39314
39315 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
39316
39317 [BZ #15362]
39318 * libio/fileops.c (_IO_new_file_write): Return count of bytes
39319 written.
39320 (_IO_new_file_xsputn): Don't return EOF if nothing has been
39321 written.
39322 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
39323 written to buffer but not flushed.
39324 * libio/iofwrite_u.c: Likewise.
39325 * libio/iopadn.c: Return bytes returned even if EOF was
39326 encountered.
39327 * libio/iowpadn.c: Likewise.
39328 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
39329 if _IO_padn does not write the whole buffer.
39330 [!COMPILE_WPRINTF] (PAD): Likewise.
39331
39332 2013-10-10 David S. Miller <davem@davemloft.net>
39333
39334 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
39335 directory block.
39336
39337 2013-10-10 Joseph Myers <joseph@codesourcery.com>
39338
39339 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
39340 instead of FSF address.
39341 * soft-fp/fixdfti.c: Likewise.
39342 * soft-fp/fixsfti.c: Likewise.
39343 * soft-fp/fixtfti.c: Likewise.
39344 * soft-fp/fixunsdfti.c: Likewise.
39345 * soft-fp/fixunssfti.c: Likewise.
39346 * soft-fp/fixunstfti.c: Likewise.
39347 * soft-fp/floattidf.c: Likewise.
39348 * soft-fp/floattisf.c: Likewise.
39349 * soft-fp/floattitf.c: Likewise.
39350 * soft-fp/floatuntidf.c: Likewise.
39351 * soft-fp/floatuntisf.c: Likewise.
39352 * soft-fp/floatuntitf.c: Likewise.
39353 * soft-fp/trunctfxf2.c: Likewise.
39354
39355 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
39356 * soft-fp/fixdfti.c: Likewise.
39357 * soft-fp/fixsfti.c: Likewise.
39358 * soft-fp/fixtfti.c: Likewise.
39359 * soft-fp/fixunsdfti.c: Likewise.
39360 * soft-fp/fixunssfti.c: Likewise.
39361 * soft-fp/fixunstfti.c: Likewise.
39362 * soft-fp/floattidf.c: Likewise.
39363 * soft-fp/floattisf.c: Likewise.
39364 * soft-fp/floattitf.c: Likewise.
39365 * soft-fp/floatuntidf.c: Likewise.
39366 * soft-fp/floatuntisf.c: Likewise.
39367 * soft-fp/floatuntitf.c: Likewise.
39368 * soft-fp/trunctfxf2.c: Likewise.
39369
39370 2013-10-10 David S. Miller <davem@davemloft.net>
39371
39372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39373
39374 2013-10-10 Joseph Myers <joseph@codsourcery.com>
39375
39376 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39377 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
39378 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
39379 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
39380 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
39381 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
39382 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
39383
39384 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
39385 for NaNs before doing comparisons on argument.
39386 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
39387 Likewise.
39388
39389 2013-10-10 Will Newton <will.newton@linaro.org>
39390
39391 * malloc/hooks.c (memalign_check): Ensure the value of bytes
39392 passed to _int_memalign does not overflow.
39393
39394 2013-10-10 Torvald Riegel <triegel@redhat.com>
39395
39396 * scripts/bench.pl: Add include-sources directive.
39397 * benchtests/README: Update documentation.
39398
39399 2013-10-10 Joseph Myers <joseph@codesourcery.com>
39400
39401 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
39402 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
39403 instead of FP_INIT_ROUNDMODE.
39404 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
39405 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
39406
39407 [BZ #16034]
39408 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
39409 copy class of input value.
39410 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
39411 not handle exceptions.
39412 * soft-fp/negsf2.c (__negsf2): Likewise.
39413 * soft-fp/negtf2.c (__negtf2): Likewise.
39414 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
39415
39416 2013-10-09 Joseph Myers <joseph@codesourcery.com>
39417
39418 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
39419 semicolon. From Linux kernel.
39420
39421 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
39422
39423 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
39424
39425 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
39426
39427 [BZ #156]
39428 * manual/socket.texi: Added statement about buffer
39429 for gethostbyname2_r.
39430
39431 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
39432
39433 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
39434 Use .p2align directive instead, throughout.
39435 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39436 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39437 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
39438 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39439 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39440 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
39441 * sysdeps/x86_64/strchr.S: Likewise.
39442 * sysdeps/x86_64/strrchr.S: Likewise.
39443
39444 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39445
39446 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
39447
39448 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
39449
39450 * sysdeps/generic/math_private.h (__mpsin1): Remove
39451 declaration.
39452 (__mpcos1): Likewise.
39453 (__mpsin): New argument __range_reduce.
39454 (__mpcos): Likewise.
39455 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39456 (slow): Use __mpsin and __mpcos.
39457 (slow1): Likewise.
39458 (slow2): Likewise.
39459 (sloww): Likewise.
39460 (sloww1): Likewise.
39461 (sloww2): Likewise.
39462 (bsloww): Likewise.
39463 (bsloww1): Likewise.
39464 (bsloww2): Likewise.
39465 (cslow2): Likewise.
39466 (csloww): Likewise.
39467 (csloww1): Likewise.
39468 (csloww2): Likewise.
39469 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
39470 range_reduce. Merge in __mpsin1.
39471 (__mpcos): Likewise.
39472 (__mpsin1): Remove.
39473 (__mpcos1): Likewise.
39474
39475 2013-10-07 Joseph Myers <joseph@codesourcery.com>
39476
39477 * locale/loadlocale.c (_nl_intern_locale_data): Use
39478 LOCFILE_ALIGNED_P.
39479 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
39480 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
39481 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
39482 obstack data is appropriately aligned.
39483 (obstack_int32_grow_fast): Likewise.
39484 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
39485 * locale/programs/locfile.c (add_locale_uint32): Likewise.
39486 (add_locale_uint32_array): Likewise.
39487
39488 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39489
39490 * benchtests/Makefile: Remove ARGLIST and RET variables.
39491 ($(objpfx)bench-%.c): Pass only function name to the script.
39492 * benchtests/README: Update documentation.
39493 * benchtests/acos-inputs: Add new directives.
39494 * benchtests/acosh-inputs: Likewise.
39495 * benchtests/asin-inputs: Likewise.
39496 * benchtests/asinh-inputs: Likewise.
39497 * benchtests/atan-inputs: Likewise.
39498 * benchtests/atanh-inputs: Likewise.
39499 * benchtests/cos-inputs: Likewise.
39500 * benchtests/cosh-inputs: Likewise.
39501 * benchtests/exp-inputs: Likewise.
39502 * benchtests/log-inputs: Likewise.
39503 * benchtests/pow-inputs: Likewise.
39504 * benchtests/rint-inputs: Likewise.
39505 * benchtests/sin-inputs: Likewise.
39506 * benchtests/sinh-inputs: Likewise.
39507 * benchtests/tan-inputs: Likewise.
39508 * benchtests/tanh-inputs: Likewise.
39509 * scripts/bench.pl: Add support for new directives.
39510
39511 2013-10-07 Alan Modra <amodra@gmail.com>
39512
39513 * README: Fix careless merge.
39514
39515 2013-10-05 Alan Modra <amodra@gmail.com>
39516
39517 * NEWS: Mention powerpc64le support and bugs fixed.
39518 * README: Both big-endian and little-endian powerpc64 supported.
39519
39520 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
39521
39522 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
39523 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
39524 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
39525 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
39526
39527 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
39528
39529 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
39530 match prototype.
39531
39532 2013-10-04 Joseph Myers <joseph@codesourcery.com>
39533
39534 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
39535 Move -mhard-float appending from
39536 ports/sysdeps/powerpc/powerpc32/Makefile.
39537 [$(with-fp) = yes] (ASFLAGS): Likewise.
39538 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
39539 * sysdeps/powerpc/nofpu: Move directory from
39540 ports/sysdeps/powerpc/nofpu.
39541 * sysdeps/powerpc/soft-fp: Move directory from
39542 ports/sysdeps/powerpc/soft-fp.
39543 * sysdeps/powerpc/powerpc32/405: Move directory from
39544 ports/sysdeps/powerpc/powerpc32/405.
39545 * sysdeps/powerpc/powerpc32/440: Move directory from
39546 ports/sysdeps/powerpc/powerpc32/440.
39547 * sysdeps/powerpc/powerpc32/464: Move directory from
39548 ports/sysdeps/powerpc/powerpc32/464.
39549 * sysdeps/powerpc/powerpc32/476: Move directory from
39550 ports/sysdeps/powerpc/powerpc32/476.
39551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
39552 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
39553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
39554 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
39555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
39556 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
39557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
39558 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
39559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
39560 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
39561 * README: Update for powerpc-*-linux-gnu software floating point
39562 support in libc.
39563
39564 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
39565 case to powerpc/powerpc32*.
39566 * sysdeps/unix/sysv/linux/configure: Regenerated.
39567
39568 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
39569 (_FPU_MASK_OM): Define as 0x04.
39570 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
39571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
39572 0x00c10080.
39573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
39574 0x0000003c.
39575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
39576
39577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
39578 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39579 getcontext_e500.
39580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
39581 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39582 setcontext_e500.
39583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
39584 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
39585 and setcontext_e500.
39586
39587 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
39588
39589 * locale/iso-3166.def: Update iso-1366.def and related occurrences
39590
39591 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39592
39593 * manual/threads.texi (Default Thread Attributes): Fix typo.
39594
39595 2013-10-04 Will Newton <will.newton@linaro.org>
39596
39597 * malloc/Makefile: Add tst-memalign.
39598 * malloc/tst-memalign.c: New file.
39599
39600 * malloc/tst-posix_memalign.c: Add comments.
39601 (do_test): Add comments and call free on all potentially
39602 allocated pointers. Add space after cast.
39603
39604 * malloc/tst-pvalloc.c: Add comments.
39605 (do_test): Add comments and call free on all potentially
39606 allocated pointers. Remove duplicate check for NULL pointer.
39607 Add space after cast.
39608
39609 * malloc/tst-valloc.c: Add comments.
39610 (do_test): Add comments and call free on all potentially
39611 allocated pointers. Remove duplicate check for NULL pointer.
39612 Add space after cast.
39613
39614 2013-10-04 Alan Modra <amodra@gmail.com>
39615
39616 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39617 Use stdint types in rather than __attribute__((mode())).
39618 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39619
39620 2013-10-04 Alan Modra <amodra@gmail.com>
39621
39622 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39623 Correct handling of unaligned relocs for little-endian.
39624 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39625
39626 2013-10-04 Alan Modra <amodra@gmail.com>
39627
39628 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
39629 * configure: Regenerate.
39630 * nptl/shlib-versions: Powerpc*le starts at 2.18.
39631 * shlib-versions: Likewise.
39632
39633 2013-10-04 Alan Modra <amodra@gmail.com>
39634
39635 * string/tester.c (test_memrchr): Increment reported test cycle.
39636
39637 2013-10-04 Alan Modra <amodra@gmail.com>
39638
39639 * string/test-memcpy.c (do_one_test): When reporting errors, print
39640 string address and don't overrun end of string.
39641
39642 2013-10-04 Alan Modra <amodra@gmail.com>
39643
39644 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
39645 insrdi. Make better use of reg selection to speed exit slightly.
39646 Schedule entry path a little better. Remove useless "are we done"
39647 checks on entry to main loop. Handle wrapping around zero address.
39648 Correct main loop count. Handle single left-over word from main
39649 loop inline rather than by using loop_small. Remove extra word
39650 case in loop_small caused by wrong loop count. Add little-endian
39651 support.
39652 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39653 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
39654 cache hint.
39655 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39656 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
39657 support. Avoid rlwimi.
39658 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
39659
39660 2013-10-04 Alan Modra <amodra@gmail.com>
39661
39662 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
39663 insrdi. Formatting.
39664 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
39665 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39666 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39667 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39668 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39669 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
39670
39671 2013-10-04 Alan Modra <amodra@gmail.com>
39672
39673 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
39674 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39675 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39676 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
39677 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39678 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39679 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39680 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39681 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
39682 use of regs. Use power7 mtocrf. Tidy function tails.
39683
39684 2013-10-04 Alan Modra <amodra@gmail.com>
39685
39686 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
39687 Formatting. Consistently use rXXX register defines or rN defines.
39688 Use early exit labels that avoid restoring unused non-volatile regs.
39689 Make cr field use more consistent with rWORDn compares. Rename
39690 regs used as shift registers for unaligned loop, using rN defines
39691 for short lifetime/multiple use regs.
39692 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39693 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
39694 addi 1,1,64 to pop stack frame. Simplify return value code.
39695 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39696
39697 2013-10-04 Alan Modra <amodra@gmail.com>
39698
39699 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
39700 support. Correct typos, formatting. Optimize tail. Use insrdi
39701 rather than rlwimi.
39702 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
39703 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
39704 little-endian support. Correct typos.
39705 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
39706 rather than rlwimi.
39707 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
39708 in loop and entry code to keep "and." results.
39709 (strchr): Add little-endian support. Comment. Move cntlzd
39710 earlier in tail.
39711 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
39712
39713 2013-10-04 Alan Modra <amodra@gmail.com>
39714
39715 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
39716 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
39717 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
39718 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
39719
39720 2013-10-04 Alan Modra <amodra@gmail.com>
39721
39722 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
39723 (rTMP): Define as r11.
39724 (strcmp): Add little-endian support. Optimise tail.
39725 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
39726 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39727 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39728 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39729 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39730 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39731 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39732
39733 2013-10-04 Alan Modra <amodra@gmail.com>
39734
39735 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
39736 little-endian support. Remove unnecessary "are we done" tests.
39737 Handle "s" wrapping around zero and extremely large "size".
39738 Correct main loop count. Handle single left-over word from main
39739 loop inline rather than by using small_loop. Correct comments.
39740 Delete "zero" tail, use "end_max" instead.
39741 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
39742
39743 2013-10-04 Alan Modra <amodra@gmail.com>
39744
39745 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
39746 support. Don't branch over align.
39747 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
39748 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
39749 support. Rearrange tmp reg use to suit. Comment.
39750 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
39751
39752 2013-10-04 Alan Modra <amodra@gmail.com>
39753
39754 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
39755
39756 2013-10-04 Alan Modra <amodra@gmail.com>
39757
39758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
39759 conditional form of branch and link when obtaining pc.
39760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39761
39762 2013-10-04 Alan Modra <amodra@gmail.com>
39763
39764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
39765 HIWORD/LOWORD.
39766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
39767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
39768
39769 2013-10-04 Alan Modra <amodra@gmail.com>
39770
39771 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
39772 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
39773 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39774 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
39775 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39776 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39777 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
39778 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39779 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39780 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
39781
39782 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39783 Alistair Popple <alistair@ozlabs.au.ibm.com>
39784 Alan Modra <amodra@gmail.com>
39785
39786 [BZ #15723]
39787 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
39788 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
39789 _dl_hwcap access for little-endian.
39790 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
39791 destroy vmx regs when saving unaligned.
39792 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
39793 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
39794 destroy vmx regs when saving unaligned.
39795
39796 2013-10-04 Alan Modra <amodra@gmail.com>
39797
39798 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
39799 Don't use a union to pack hi/low value.
39800
39801 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39802
39803 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
39804 for little-endian.
39805 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39806 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
39807 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39808 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39809 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39810
39811 2013-10-04 Alan Modra <amodra@gmail.com>
39812
39813 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
39814 constants to usual value for .cst8 section, and remove redundant
39815 high address load.
39816 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
39817 constant for 0x1p52. Load little-endian words of double from
39818 correct stack offsets.
39819
39820 2013-10-04 Alan Modra <amodra@gmail.com>
39821
39822 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
39823 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
39824 words of double from correct stack offsets.
39825 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39826 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
39827 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39828 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39829 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39830 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39831 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39832 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39833 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39834 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39835 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39836 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39837 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39838 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39839 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39840 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
39841 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39842
39843 2013-10-04 Alan Modra <amodra@gmail.com>
39844
39845 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
39846 64-bit int/double union.
39847 (_FPU_SETCW): Likewise.
39848 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
39849 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
39850
39851 2013-10-04 Alan Modra <amodra@gmail.com>
39852
39853 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
39854 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
39855
39856 2013-10-04 Alan Modra <amodra@gmail.com>
39857
39858 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
39859 use vector int constants.
39860 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
39861
39862 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39863
39864 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
39865 array with long long.
39866 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
39867 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
39868 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
39869 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
39870 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
39871 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
39872 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
39873 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
39874 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
39875 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
39876 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
39877 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
39878 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
39879
39880 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39881
39882 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
39883 (__signbit): Likewise. Correct for little-endian.
39884 (__signbitl): Call __signbit.
39885 (lrint): Correct for little-endian.
39886 (lrintf): Call lrint.
39887
39888 2013-10-04 Alan Modra <amodra@gmail.com>
39889
39890 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
39891 union 32-bit int array member with 64-bit int array.
39892 (t515, tm256): Double rather than long double.
39893 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
39894
39895 2013-10-04 Alan Modra <amodra@gmail.com>
39896
39897 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
39898 Delete.
39899 (IEEE854_LONG_DOUBLE_BIAS): Delete.
39900 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
39901 version of math_ldbl.h.
39902
39903 2013-10-04 Alan Modra <amodra@gmail.com>
39904
39905 [BZ #15734], [BZ #15735]
39906 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
39907 all uses of ieee875 long double macros and unions. Simplify test
39908 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
39909 ldbl_extract_mantissa value for ix,iy exponents. Properly
39910 normalize after ldbl_extract_mantissa, and don't add hidden bit
39911 already handled. Don't treat low word of ieee854 mantissa like
39912 low word of IBM long double and mask off bit when testing for
39913 zero.
39914 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
39915 all uses of ieee875 long double macros and unions. Simplify tests
39916 for 0.0L and inf. Correct double adjustment of k. Delete dead code
39917 adjusting ha,hb. Simplify code setting kld. Delete two600 and
39918 two1022, instead use their values. Recognise that tests for large
39919 "a" and small "b" are mutually exclusive. Rename vars. Comment.
39920 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
39921 Rewrite all uses of ieee875 long double macros and unions. Simplify
39922 test for 0.0L and nan. Correct negation.
39923 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
39924 ieee875 long double macros and unions. Correct output for large
39925 magnitude x. Correct absolute value calculation.
39926 (__erfcl): Likewise.
39927 * math/libm-test.inc: Add tests for errors discovered in IBM long
39928 double versions of fmodl, remainderl, erfl and erfcl.
39929
39930 2013-10-04 Alan Modra <amodra@gmail.com>
39931
39932 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
39933 all uses of ieee854 long double macros and unions. Simplify tests
39934 for long doubles that are fully specified by the high double.
39935 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
39936 Likewise.
39937 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
39938 Remove dead code too.
39939 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
39940 (__ieee754_ynl): Likewise.
39941 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
39942 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
39943 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
39944 Remove dead code too.
39945 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
39946 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
39947 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
39948 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
39949 Simplify.
39950 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
39951 Simplify.
39952 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
39953 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
39954 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
39955 Comment on variable precision.
39956 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
39957 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39958 Likewise.
39959 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39960 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39961 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39962 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
39963 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
39964
39965 2013-10-04 Alan Modra <amodra@gmail.com>
39966
39967 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
39968 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
39969 all uses of ieee854 long double macros and unions.
39970 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
39971 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39972 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
39973 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
39974 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
39975 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39976 Likewise.
39977 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
39978 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39979 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
39980 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39981 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
39982 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
39983 Simplify sign and nan test too.
39984 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
39985 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
39986 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
39987 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
39988 Likewise.
39989 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39990 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
39991 Likewise.
39992 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39993 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
39994 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
39995 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
39996 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
39997 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
39998
39999 2013-10-04 Alan Modra <amodra@gmail.com>
40000
40001 * stdio-common/printf_size.c (__printf_size): Don't use
40002 union ieee854_long_double in fpnum union.
40003 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
40004 signbit macro to retrieve sign from long double.
40005 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
40006 retrieve sign from long double.
40007 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
40008 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
40009 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
40010 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40011 * math/test-misc.c (main): Don't use union ieee854_long_double.
40012
40013 2013-10-04 Alan Modra <amodra@gmail.com>
40014
40015 [BZ #15680]
40016 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
40017 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
40018 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
40019 calculation. Remove unnecessary test for denormal exponent.
40020 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
40021 Correct handling of denormals. Avoid undefined shift behaviour.
40022 Correct normalisation of low mantissa when low double is denormal.
40023 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
40024 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
40025 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
40026 Correct normalisation of low mantissa. Test for overflow of high
40027 mantissa and normalise.
40028 (ldbl_nearbyint): Use more readable constant for two52.
40029 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
40030 (__mpn_construct_long_double): Fix test for overflow of high
40031 mantissa and correct normalisation. Avoid undefined shift.
40032
40033 2013-10-04 Alan Modra <amodra@gmail.com>
40034
40035 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40036 (union ibm_extended_long_double): Define as an array of ieee754_double.
40037 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
40038 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
40039 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
40040 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40041 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40042 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
40043 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40044 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40045 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40046 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
40047 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40048
40049 2013-10-03 Joseph Myers <joseph@codesourcery.com>
40050
40051 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
40052 page size instead of calling getpagesize.
40053
40054 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
40055 (LOCFILE_ALIGN_MASK): Likewise.
40056 (LOCFILE_ALIGN_UP): Likewise.
40057 (LOCFILE_ALIGNED_P): Likewise.
40058 * locale/programs/ld-collate.c (collate_output): Use the new
40059 macros instead of __alignof__ (int32_t).
40060 * locale/weight.h (findidx): Likewise.
40061
40062 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
40063
40064 [BZ #431]
40065 * manual/string.texi: Fix strncat and wcsncat.
40066
40067 2013-10-03 Brooks Moses <bmoses@google.com>
40068
40069 [BZ #15915]
40070 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
40071 * Makerules: ...here, and adjust associated comments.
40072
40073 2013-10-02 Will Newton <will.newton@linaro.org>
40074
40075 * malloc/Makefile: Add tst-pvalloc.
40076 * malloc/tst-pvalloc.c: New file.
40077
40078 2013-10-02 Will Newton <will.newton@linaro.org>
40079
40080 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
40081 improve test coverage.
40082
40083 2013-10-02 Will Newton <will.newton@linaro.org>
40084
40085 * malloc/Makefile: Add tst-posix_memalign.
40086 * malloc/tst-posix_memalign.c: New file.
40087
40088 2013-10-01 Eric Blake <eblake@redhat.com>
40089
40090 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
40091 Use __THROWNL rather than __THROW on static functions.
40092
40093 2013-09-30 Petr Machata <pmachata@redhat.com>
40094
40095 * elf/elf.h (R_AARCH64_ABS16): New macro.
40096 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
40097 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
40098 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
40099 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
40100 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
40101 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
40102 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
40103 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
40104 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
40105 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
40106 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
40107 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
40108 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
40109 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
40110 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
40111 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
40112 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
40113 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
40114 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
40115 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
40116 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
40117 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
40118 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
40119 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
40120 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
40121 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
40122 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
40123 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
40124 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
40125 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
40126 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
40127 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
40128 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
40129 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
40130 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
40131 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
40132 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
40133 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
40134 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
40135 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
40136 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
40137 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
40138 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
40139 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
40140 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
40141 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
40142 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
40143 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
40144 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
40145 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
40146 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
40147 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
40148 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
40149 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
40150 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
40151 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
40152 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
40153 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
40154 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
40155 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
40156 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
40157 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
40158 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
40159 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
40160 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
40161 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
40162 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
40163 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
40164 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
40165 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
40166 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
40167 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
40168 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
40169 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
40170 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
40171 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
40172 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
40173 (R_AARCH64_TLSDESC_LDR): Likewise.
40174 (R_AARCH64_TLSDESC_ADD): Likewise.
40175 (R_AARCH64_TLSDESC_CALL): Likewise.
40176
40177 2013-09-30 Andreas Schwab <schwab@suse.de>
40178
40179 [BZ #15048]
40180 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
40181 the nss database lookup.
40182 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40184
40185 2013-09-28 Mike Frysinger <vapier@gentoo.org>
40186
40187 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
40188
40189 2013-09-28 P. J. McDermott <pj@pehjota.net>
40190
40191 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
40192 ${Bash-specific parameter/pattern/string} parameter expansion.
40193 * sysdeps/unix/make-syscalls.sh: Likewise.
40194
40195 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40196
40197 * sysdeps/sh/stackguard-macros.h: New file.
40198
40199 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
40200
40201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40202 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
40203 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
40204 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
40205 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40206 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
40207
40208 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40209
40210 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
40211 Fix thread ID register.
40212
40213 2013-09-25 Joseph Myers <joseph@codesourcery.com>
40214
40215 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
40216 [POSIX || UNIX98]: Require rather than permitting all symbols from
40217 <time.h>.
40218 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
40219 element of struct sched_param.
40220 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
40221 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
40222 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
40223 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
40224 constant.
40225
40226 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
40227
40228 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
40229 argument calculation.
40230
40231 2013-09-24 Joseph Myers <joseph@codesourcery.com>
40232
40233 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
40234 Expect macro.
40235 [POSIX] (pthread_attr_t): Do not require type.
40236 [POSIX] (pthread_cond_t): Likewise.
40237 [POSIX] (pthread_condattr_t): Likewise.
40238 [POSIX] (pthread_key_t): Likewise.
40239 [POSIX] (pthread_mutex_t): Likewise.
40240 [POSIX] (pthread_mutexattr_t): Likewise.
40241 [POSIX] (pthread_once_t): Likewise.
40242 [POSIX] (pthread_t): Likewise.
40243 [POSIX-based standards] (pthread_atfork): Expect function.
40244
40245 2013-09-24 Joseph Myers <joseph@codesourcery.com>
40246 Richard Sandiford <richard@codesourcery.com>
40247
40248 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
40249 (swap_endianness_p): New extern variable.
40250 (set_big_endian): New inline function.
40251 (maybe_swap_uint32): Likewise.
40252 (maybe_swap_uint32_array): Likewise.
40253 (maybe_swap_uint32_obstack): Likewise.
40254 * locale/programs/locfile.c: Include <stdbool.h>.
40255 (swap_endianness_p): New variable.
40256 (add_locale_uint32): Call maybe_swap_uint32.
40257 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
40258 (write_locale_data): Call maybe_swap_uint32_array.
40259 * locale/programs/ld-collate.c (obstack_int32_grow): Call
40260 maybe_swap_uint32.
40261 (obstack_int32_grow_fast): Likewise.
40262 (output_weightwc): Call maybe_swap_uint32_obstack.
40263 (collate_output): Likewise.
40264 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
40265 (OPT_LITTLE_ENDIAN): Likewise.
40266 (options): Add --little-endian and --big-endian options.
40267 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
40268 * locale/programs/locarchive.c: Include "locfile.h".
40269 (GET): New macro.
40270 (SET): Likewise.
40271 (INC): Likewise.
40272 (create_archive): Use the new macros to access fields of
40273 structures directly mapped from or written to locale archives.
40274 (oldlocrecentcmp): Likewise.
40275 (enlarge_archive): Likewise.
40276 (insert_name): Likewise.
40277 (add_alias): Likewise.
40278 (add_locale): Likewise.
40279 (delete_locales_from_archive): Likewise.
40280 (show_archive_content): Likewise.
40281 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
40282 locale data.
40283
40284 2013-09-24 Roland McGrath <roland@hack.frob.com>
40285
40286 * manual/freemanuals.texi: Updated from (newly) canonical copy at
40287 http://www.gnu.org/doc/freemanuals.texi.
40288 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
40289
40290 2013-09-24 Will Newton <will.newton@linaro.org>
40291
40292 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
40293 macro.
40294
40295 2013-09-23 Joseph Myers <joseph@codesourcery.com>
40296
40297 * locale/hashval.h (compute_hashval): Interpret bytes of key as
40298 unsigned char.
40299
40300 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
40301
40302 * manual/threads.texi (POSIX Threads): Fix a typo.
40303
40304 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
40305
40306 [BZ #14547]
40307 * string/tst-strcoll-overflow.c: New test case.
40308 * string/Makefile (xtests): Add tst-strcoll-overflow.
40309 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
40310 cache if string sizes may cause integer overflow.
40311
40312 [BZ #14547]
40313 * string/strcoll_l.c (coll_seq): New members rule, idx,
40314 save_idx and back_us.
40315 (get_next_seq_nocache): New function.
40316 (do_compare_nocache): New function.
40317 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
40318 when malloc fails.
40319
40320 2013-09-23 Carlos O'Donell <carlos@redhat.com>
40321
40322 [BZ #15754]
40323 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
40324 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
40325 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
40326
40327 [BZ #15754]
40328 * elf/Makefile (tests): Add tst-ptrguard1.
40329 (tests-static): Add tst-ptrguard1-static.
40330 (tst-ptrguard1-ARGS): Define.
40331 (tst-ptrguard1-static-ARGS): Define.
40332 * elf/tst-ptrguard1.c: New file.
40333 * elf/tst-ptrguard1-static.c: New file.
40334 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
40335 * sysdeps/i386/stackguard-macros.h: Likewise.
40336 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40337 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40338 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40339 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40340 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40341 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40342
40343 2013-09-23 Hector Marco <hecmargi@upv.es>
40344 Ismael Ripoll <iripoll@disca.upv.es>
40345 Carlos O'Donell <carlos@redhat.com>
40346
40347 [BZ #15754]
40348 * sysdeps/generic/stackguard-macros.h: Define
40349 __pointer_chk_guard_local and POINTER_CHK_GUARD.
40350 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
40351 Define __pointer_chk_guard_local.
40352 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
40353 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
40354
40355 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
40356
40357 [BZ #15859]
40358 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
40359
40360 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
40361
40362 * include/string.h (__ffs): Declare as hidden.
40363 * string/ffs.c (__ffs): Define as hidden.
40364 * sysdeps/i386/ffs.c (__ffs): Likewise.
40365 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
40366 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
40367 * sysdeps/s390/ffs.c (__ffs): Likewise.
40368 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
40369
40370 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
40371
40372 * NEWS: Mention malloc probes.
40373
40374 * malloc/arena.c (new_heap): New memory_heap_new probe.
40375 (grow_heap): New memory_heap_more probe.
40376 (shrink_heap): New memory_heap_less probe.
40377 (heap_trim): New memory_heap_free probe.
40378 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
40379 (systrim): New memory_sbrk_less probe.
40380 * manual/probes.texi: Document them.
40381
40382 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
40383 * manual/probes.texi: Document it.
40384
40385 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
40386 (__libc_realloc): Add memory_realloc_retry probe.
40387 (__libc_memalign): Add memory_memalign_retry probe.
40388 (__libc_valloc): Add memory_valloc_retry probe.
40389 (__libc_pvalloc): Add memory_pvalloc_retry probe.
40390 (__libc_calloc): Add memory_calloc_retry probe.
40391 * manual/probes.texi: Document them.
40392
40393 * malloc/arena.c (get_free_list): Add probe
40394 memory_arena_reuse_free_list.
40395 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
40396 and memory_arena_reuse.
40397 (arena_get2) [!PER_THREAD]: Likewise.
40398 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
40399 memory_arena_reuse_realloc.
40400 * manual/probes.texi: Document them.
40401
40402 * malloc/malloc.c (__libc_free): Add
40403 memory_mallopt_free_dyn_thresholds probe.
40404 (__libc_mallopt): Add multiple memory_mallopt probes.
40405 * manual/probes.texi: Document them.
40406
40407 * malloc/malloc.c: Include stap-probe.h.
40408 (__libc_mallopt): Add memory_mallopt probe.
40409 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
40410 * manual/probes.texi: New.
40411 * manual/Makefile (chapters): Add probes.
40412 * manual/threads.texi: Set next node.
40413
40414 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
40415
40416 [BZ #15963, #13985]
40417 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
40418 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
40419 Add `Chinese' to `nan' entry name.
40420
40421 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40422
40423 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
40424 (POLYNOMIAL): Likewise.
40425 (TAYLOR_SINCOS): Likewise.
40426 (TAYLOR_SLOW): Likewise.
40427 (__sin): Use TAYLOR_SINCOS.
40428 (__cos): Likewise.
40429 (slow): Use TAYLOR_SLOW.
40430 (sloww): Likewise.
40431 (bsloww): Likewise.
40432 (csloww): Likewise.
40433
40434 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40435
40436 * stdlib/strtod_l.c: Fix buffer overrun.
40437
40438 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40439
40440 * benchtests/Makefile (bench): Add sincos.
40441 * benchtests/bench-sincos.c: New file.
40442
40443 * math/libm-test.inc (cos_test_data): New test inputs.
40444 (sin_test_data): Likewise.
40445
40446 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
40447 macro.
40448 (__sin): Use it.
40449 (__cos): Likewise.
40450 (slow1): Likewise.
40451 (slow2): Likewise.
40452 (sloww1): Likewise.
40453 (sloww2): Likewise.
40454 (bsloww1): Likewise.
40455 (bsloww2): Likewise.
40456 (cslow2): Likewise.
40457 (csloww1): Likewise.
40458 (csloww2): Likewise.
40459
40460 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
40461 function.
40462 (__sin): Use it.
40463 (__cos): Likewise.
40464
40465 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
40466 gotos.
40467 (__cos): Likewise.
40468
40469 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
40470
40471 * config.h.in (HAVE_MIPS_NAN2008): New macro.
40472 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
40473 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
40474 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
40475 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
40476 * elf/cache.c (print_entry): Handle the new cache flags.
40477
40478 2013-09-18 Joseph Myers <joseph@codesourcery.com>
40479 Aldy Hernandez <aldyh@redhat.com>
40480
40481 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
40482 Change condition to [_SOFT_FLOAT].
40483 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
40484 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
40485 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
40486 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
40487 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
40488 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
40489 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
40490 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
40491 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
40492 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
40493 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
40494 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
40495 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
40496 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
40497 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
40498 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
40499 declaration.
40500
40501 2013-09-18 Joseph Myers <joseph@codesourcery.com>
40502
40503 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
40504 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40505 (__longjmp): Use LOAD_GP to load saved GPRs.
40506 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
40507 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40508 (__sigsetjmp): Use SAVE_GP to save GPRs.
40509
40510 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
40511 Do not append -msoft-float.
40512 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
40513
40514 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40515
40516 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
40517
40518 2013-09-17 Joseph Myers <joseph@codesourcery.com>
40519
40520 [BZ #15966]
40521 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
40522 (_FPU_GETCW): Use initial "__" on variable and field names but not
40523 on macro parameter name.
40524 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
40525 parentheses around reference to macro parameter.
40526
40527 2013-09-13 Richard Sandiford <richard@codesourcery.com>
40528
40529 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
40530 prototype.
40531 (ctype_startup): Use uint32_t in cast and sizeof for
40532 ctype->charnames.
40533
40534 2013-09-11 Jia Liu <proljc@gmail.com>
40535
40536 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
40537 __daddr_t_defined.
40538 [__FreeBSD__]: Likewise.
40539
40540 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
40541
40542 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
40543 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
40544 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
40545 (strchr): Remove __strchr_sse42 ifunc selection.
40546 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
40547 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
40548
40549 2013-09-11 Will Newton <will.newton@linaro.org>
40550
40551 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
40552 parameter to RES. Remove hardcoded 1000 value.
40553 * benchtests/bench-skeleton.c (main): Pass RES parameter
40554 to TIMING_INIT and multiply result by 1000.
40555
40556 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40557
40558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40559
40560 2013-09-11 Andreas Schwab <schwab@suse.de>
40561
40562 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40563 if not defined.
40564 (O_TMPFILE) [__USE_GNU]: Define.
40565 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
40566 Define.
40567
40568 2013-09-11 Will Newton <will.newton@linaro.org>
40569
40570 [BZ #15857]
40571 * malloc/malloc.c (__libc_memalign): Check the value of bytes
40572 does not overflow.
40573
40574 2013-09-11 Will Newton <will.newton@linaro.org>
40575
40576 [BZ #15856]
40577 * malloc/malloc.c (__libc_valloc): Check the value of bytes
40578 does not overflow.
40579
40580 2013-09-11 Will Newton <will.newton@linaro.org>
40581
40582 [BZ #15855]
40583 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
40584 does not overflow.
40585
40586 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
40587
40588 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
40589 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40590 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40591 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40592 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40593
40594 2013-09-10 Allan McRae <allan@archlinux.org>
40595
40596 [BZ #15748]
40597 * manual/arith.texi (Parsing of Floats): Clarify
40598 cross-reference.
40599
40600 [BZ #15849]
40601 * manual/install.texi (Running make install): Mention
40602 --enable-pt-chown.
40603 * INSTALL: Regenerated.
40604
40605 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
40606
40607 * csu/init-first.c (_init): Remove the !SHARED condition around
40608 FPU control word initialization.
40609 * elf/dl-support.c (_dl_fpu_control): New variable.
40610 (_dl_aux_init) <AT_FPUCW>: Initialize it.
40611 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
40612 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
40613 * math/test-fpucw-static.c: New file.
40614 * math/test-fpucw-ieee.c: New file.
40615 * math/test-fpucw-ieee-static.c: New file.
40616 * math/Makefile (tests): Add `test-fpucw-ieee' and
40617 `$(tests-static)'.
40618 (tests-static): New variable.
40619 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
40620 dependency to...
40621 [($(build-shared),yes)]
40622 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40623 ... this.
40624 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
40625 New dependency.
40626
40627 2013-09-09 Allan McRae <allan@archlinux.org>
40628
40629 [BZ #15939]
40630 * manual/string.texi (Collation Functions): Fix typo in
40631 strcoll example.
40632 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
40633
40634 [BZ #15893]
40635 * stdlib/isomac.c (get_null_defines): Fix memory leak.
40636
40637 [BZ #15892]
40638 * libio/memstream.c (open_memstream): Fix memory leak.
40639 * libio/wmemstream.c (open_wmemstream): Likewise.
40640
40641 [BZ #15895]
40642 * nscd/netgroupcache.c: Fix nesting of ifdefs.
40643
40644 2013-09-09 Will Newton <will.newton@linaro.org>
40645
40646 * malloc/Makefile: Add tst-realloc to tests.
40647 * malloc/tst-realloc.c: New file.
40648
40649 2013-09-09 Allan McRae <allan@archlinux.org>
40650
40651 [BZ #15844]
40652 * COPYING: Update from GNU website to fix FSF address.
40653 * COPYING.LIB: Likewise.
40654
40655 2013-09-06 David S. Miller <davem@davemloft.net>
40656
40657 * po/zh_TW.po: Update Chinese (traditional) translation from
40658 translation project.
40659
40660 2013-09-06 Richard Sandiford <richard@codesourcery.com>
40661 Joseph Myers <joseph@codesourcery.com>
40662
40663 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
40664 "localeinfo.h".
40665 (obstack_chunk_alloc): New macro.
40666 (obstack_chunk_free): Likewise.
40667 (record_offset): New function.
40668 (init_locale_data): Likewise.
40669 (align_locale_data): Likewise.
40670 (add_locale_empty): Likewise.
40671 (add_locale_raw_data): Likewise.
40672 (add_locale_raw_obstack): Likewise.
40673 (add_locale_string): Likewise.
40674 (add_locale_wstring): Likewise.
40675 (add_locale_uint32): Likewise.
40676 (add_locale_uint32_array): Likewise.
40677 (add_locale_char): Likewise.
40678 (start_locale_structure): Likewise.
40679 (end_locale_structure): Likewise.
40680 (start_locale_prelude): Likewise.
40681 (end_locale_prelude): Likewise.
40682 (write_locale_data): Take locale_file structure rather than an
40683 iovec.
40684 * locale/programs/locfile.h: Include "obstack.h".
40685 (struct locale_file): Change to store locale file contents instead
40686 of header.
40687 (init_locale_data): New prototype.
40688 (align_locale_data): Likewise.
40689 (add_locale_empty): Likewise.
40690 (add_locale_raw_data): Likewise.
40691 (add_locale_raw_obstack): Likewise.
40692 (add_locale_string): Likewise.
40693 (add_locale_wstring): Likewise.
40694 (add_locale_uint32): Likewise.
40695 (add_locale_uint32_array): Likewise.
40696 (add_locale_char): Likewise.
40697 (start_locale_structure): Likewise.
40698 (end_locale_structure): Likewise.
40699 (start_locale_prelude): Likewise.
40700 (end_locale_prelude): Likewise.
40701 (write_locale_data): Update prototype.
40702 * locale/programs/3level.h (struct TABLE): Remove result field.
40703 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
40704 Use new locale_file interface.
40705 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
40706 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
40707 * locale/programs/ld-address.c (address_output): Use new
40708 locale_file interface.
40709 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
40710 NO_ADD_LOCALE.
40711 (collate_finish): Don't call collseq_table_finalize.
40712 (collate_output): Use new locale_file interface.
40713 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
40714 in file.
40715 (NO_FINALIZE): Change to NO_ADD_LOCALE.
40716 (TABLE): Move defines earlier in file.
40717 (ELEMENT): Likewise.
40718 (DEFAULT): Likewise.
40719 (wctrans_table_add): Move macro and inline function earlier in
40720 file.
40721 (struct wctype_table): Move type earlier in file.
40722 (add_locale_wctype_table): New static prototype.
40723 (struct locale_ctype_t): Use logical types instead of struct iovec
40724 pointers for members.
40725 (ctype_output): Use new locale_file interface.
40726 (wctype_table_finalize): Change to add_locale_wctype_table. Use
40727 new locale_file interface.
40728 (allocate_arrays): Update for use of new locale_file interface.
40729 * locale/programs/ld-identification.c (identification_output): Use
40730 new locale_file interface.
40731 * locale/programs/ld-measurement.c (measurement_output): Likewise.
40732 * locale/programs/ld-messages.c (messages_output): Likewise.
40733 * locale/programs/ld-monetary.c (monetary_output): Likewise.
40734 * locale/programs/ld-name.c (name_output): Likewise.
40735 * locale/programs/ld-numeric.c (numeric_output): Likewise.
40736 * locale/programs/ld-paper.c (paper_output): Likewise.
40737 * locale/programs/ld-telephone.c (telephone_output): Likewise.
40738 * locale/programs/ld-time.c (time_output): Likewise.
40739
40740 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40741
40742 * benchtests/Makefile: Add memrchr benchmark.
40743 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
40744 benchmark as memrchr.
40745 * benchtests/bench-memrchr-ifunc.c: New file.
40746 * benchtests/bench-memrchr.c: New file.
40747
40748 2013-09-06 Will Newton <will.newton@linaro.org>
40749
40750 * benchtests/Makefile (string-bench): Add memcpy.
40751
40752 2013-09-05 Carlos O'Donell <carlos@redhat.com>
40753 Cong Wang <amwang@redhat.com>
40754
40755 [BZ #15850]
40756 * sysdeps/unix/sysv/linux/bits/in.h
40757 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
40758 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
40759 before __USE_KERNEL_IPV6_DEFS uses.
40760 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
40761 IPPROTO_BEETPH.
40762 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
40763 sockaddr_in6, or ipv6_mreq.
40764
40765 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40766
40767 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
40768 memory access for final bytes in some large inputs.
40769 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
40770
40771 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40772
40773 * string/test-memrchr.c: New file.
40774 * string/test-memrchr-ifunc.c: New file.
40775 * string/Makefile: Add new memrchr testcase.
40776
40777 2013-09-05 Mike Frysinger <vapier@gentoo.org>
40778
40779 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
40780 fanotify_init returns EPERM.
40781
40782 2013-09-04 Joseph Myers <joseph@codesourcery.com>
40783
40784 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
40785 errors.
40786 (top level): Treat second token from macro or constant entries for
40787 allowed headers as allowed.
40788 * include/complex.h: Condition internal declarations on
40789 [!_ISOMAC].
40790 * include/fenv.h: Condition include of <stdbool.h> and internal
40791 declarations on [!_ISOMAC].
40792
40793 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
40794
40795 [BZ #15923]
40796 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
40797
40798 2013-09-04 Joseph Myers <joseph@codesourcery.com>
40799
40800 * configure.in (--enable-versioning): Remove configure option.
40801 (libc_cv_asm_symver_directive): Remove configure test.
40802 (libc_cv_ld_version_script_option): Likewise.
40803 (VERSIONING): Remove variable and AC_SUBST.
40804 (DO_VERSIONING): Remove AC_DEFINE.
40805 * configure: Regenerated.
40806 * config.h.in (DO_VERSIONING): Remove macro.
40807 * Makerules [$(versioning) = yes]: Change conditionals to
40808 [$(build-shared) = yes].
40809 * config.make.in (versioning): Remove variable.
40810 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
40811 [$(build-shared) = yes].
40812 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
40813 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
40814 * elf/Makefile [$(versioning) = yes]: Change conditionals to
40815 [$(build-shared) = yes].
40816 * extra-lib.mk [$(versioning) = yes]: Likewise.
40817 * hurd/Makefile [$(versioning) = yes]: Likewise.
40818 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
40819 [SHARED].
40820 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
40821 [SHARED].
40822 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40823 [SHARED && !NO_HIDDEN].
40824 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
40825 [SHARED].
40826 [SHARED && DO_VERSIONING]: Likewise..
40827 * libio/Makefile [$(versioning) = yes]: Change conditionals to
40828 [$(build-shared) = yes].
40829 * manual/install.texi (--disable-versioning): Remove
40830 documentation.
40831 * INSTALL: Regenerated.
40832 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
40833 to [SHARED].
40834 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
40835 [$(build-shared) = yes].
40836 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
40837 * sysdeps/i386/i686/multiarch/strstr-c.c
40838 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40839 [SHARED && !NO_HIDDEN].
40840 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
40841 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
40842 * sysdeps/powerpc/powerpc32/dl-machine.c
40843 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
40844 * sysdeps/powerpc/powerpc32/sysdep.h
40845 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
40846 to [SHARED && PIC && !NO_HIDDEN].
40847 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
40848 conditional to [SHARED].
40849
40850 2013-09-04 Will Newton <will.newton@linaro.org>
40851
40852 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
40853 * benchtests/bench-string.h: Include bench-timing.h instead
40854 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
40855 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
40856 call to HP_TIMING_DIFF_INIT.
40857 * benchtests/bench-memccpy.c: Use bench-timing.h macros
40858 instead of hp-timing.h macros.
40859 * benchtests/bench-memchr.c: Likewise.
40860 * benchtests/bench-memcmp.c: Likewise.
40861 * benchtests/bench-memcpy.c: Likewise.
40862 * benchtests/bench-memmem.c: Likewise.
40863 * benchtests/bench-memmove.c: Likewise.
40864 * benchtests/bench-memset.c: Likewise.
40865 * benchtests/bench-rawmemchr.c: Likewise.
40866 * benchtests/bench-strcasecmp.c: Likewise.
40867 * benchtests/bench-strcasestr.c: Likewise.
40868 * benchtests/bench-strcat.c: Likewise.
40869 * benchtests/bench-strchr.c: Likewise.
40870 * benchtests/bench-strcmp.c: Likewise.
40871 * benchtests/bench-strcpy.c: Likewise.
40872 * benchtests/bench-strcpy_chk.c: Likewise.
40873 * benchtests/bench-strlen.c: Likewise.
40874 * benchtests/bench-strncasecmp.c: Likewise.
40875 * benchtests/bench-strncat.c: Likewise.
40876 * benchtests/bench-strncmp.c: Likewise.
40877 * benchtests/bench-strncpy.c: Likewise.
40878 * benchtests/bench-strnlen.c: Likewise.
40879 * benchtests/bench-strpbrk.c: Likewise.
40880 * benchtests/bench-strrchr.c: Likewise.
40881 * benchtests/bench-strspn.c: Likewise.
40882 * benchtests/bench-strstr.c: Likewise.
40883
40884 2013-09-04 Will Newton <will.newton@linaro.org>
40885
40886 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
40887
40888 2013-09-03 Joseph Myers <joseph@codesourcery.com>
40889
40890 [BZ #15427]
40891 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
40892 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
40893 * math/libm-test.inc (lgamma_test_data): Add more tests.
40894 * sysdeps/i386/fpu/libm-test-ulps: Update.
40895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40896
40897 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
40898
40899 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
40900 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40901 Add ifunc.
40902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40903 Add strcmp-sse2-unaligned
40904 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
40905
40906 2013-09-02 Mike Frysinger <vapier@gentoo.org>
40907
40908 * Versions.def (libc): Add GLIBC_2.19.
40909
40910 2013-09-02 Mike Frysinger <vapier@gentoo.org>
40911
40912 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
40913 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
40914
40915 2013-09-02 Joseph Myers <joseph@codesourcery.com>
40916
40917 [BZ #14155]
40918 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
40919 intermediate calculations in recurrence.
40920 (__ieee754_ynf): Likewise.
40921 * math/libm-test.inc (jn_test_data): Do not allow spurious
40922 underflow exception. Add more tests.
40923 (yn_test_data): Add more tests.
40924 * sysdeps/i386/fpu/libm-test-ulps: Update.
40925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40926
40927 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
40928
40929 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
40930
40931 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
40932
40933 * csu/init-first.c: Fix then/than typos.
40934 * locale/programs/ld-collate.c: Likewise.
40935 * locale/programs/linereader.h: Likewise.
40936 * manual/charset.texi: Likewise.
40937 * manual/filesys.texi: Likewise.
40938 * manual/stdio.texi: Likewise.
40939 * manual/string.texi: Likewise.
40940 * stdlib/fmtmsg.c: Likewise.
40941 * sysdeps/i386/stpncpy.S: Likewise.
40942 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40943 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40944 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40945 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40946
40947 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
40948
40949 * elf/dl-open.c: Fix typos.
40950 * iconvdata/gbbig5.c: Likewise.
40951 * iconvdata/iso-2022-jp.c: Likewise.
40952 * iconv/gconv_int.h: Likewise.
40953 * iconv/loop.c: Likewise.
40954 * nis/rpcsvc/nis.h: Likewise.
40955 * resolv/ns_name.c: Likewise.
40956 * stdio-common/vfscanf.c: Likewise.
40957 * streams/stropts.h: Likewise.
40958 * sunrpc/rpc_thread.c: Likewise.
40959 * sysdeps/i386/strpbrk.S: Likewise.
40960 * sysdeps/ieee754/k_standard.c: Likewise.
40961 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40962 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40963 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
40964 * sysdeps/mach/hurd/profil.c: Likewise.
40965 * sysdeps/s390/dl-procinfo.h: Likewise.
40966 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
40967 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40968 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
40969 * sysdeps/x86_64/dl-trampoline.S: Likewise.
40970 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40971
40972 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
40973
40974 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
40975 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
40976
40977 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
40978
40979 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
40980 aix specific files.
40981 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
40982 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
40983 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
40984 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
40985 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
40986 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
40987 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
40988 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
40989
40990 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
40991 Roland McGrath <roland@hack.frob.com>
40992
40993 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
40994 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
40995
40996 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
40997
40998 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
40999 __executable_start symbol instead of _start.
41000
41001 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
41002
41003 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
41004 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
41005 Move macros to...
41006 * sysdeps/gnu/ldsodefs.h: ... this new file.
41007
41008 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
41009 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
41010 instead of ELFOSABI_LINUX.
41011
41012 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
41013 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
41014 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
41015 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
41016 Likewise.
41017 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
41018 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
41019 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
41020 Likewise.
41021 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41022 (ibm_extended_long_double): Add ieee_nan member.
41023 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
41024 (do_test): New function.
41025
41026 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
41027 TEST_TRUNC.
41028 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
41029 functions, renamed from truncdfsf_test, trunctfsf_test,
41030 trunctfdf_test.
41031 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
41032 functions.
41033 (do_test): Run all these.
41034
41035 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
41036
41037 * argp/argp-help.c: Fix typos.
41038 * argp/argp-parse.c: Likewise.
41039 * debug/backtracesyms.c: Likewise.
41040 * elf/elf.h: Likewise.
41041 * malloc/malloc.c: Likewise.
41042 * nis/nis_print.c: Likewise.
41043 * resolv/res_comp.c: Likewise.
41044 * stdlib/stdlib.h: Likewise.
41045 * sunrpc/clnt_tcp.c: Likewise.
41046 * sunrpc/clnt_udp.c: Likewise.
41047 * sunrpc/clnt_unix.c: Likewise.
41048 * sysdeps/unix/bsd/ptsname.c: Likewise.
41049 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41050 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
41051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
41052 Likewise.
41053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
41054 Likewise.
41055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
41056 Likewise.
41057 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41058
41059 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41060
41061 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
41062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41063
41064 2013-08-27 Mike Frysinger <vapier@gentoo.org>
41065
41066 [BZ #15897]
41067 * dlfcn/Makefile (tests): Add bug-dl-leaf.
41068 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
41069 ($(objpfx)bug-dl-leaf): New rule.
41070 ($(objpfx)bug-dl-leaf.so): Likewise.
41071 ($(objpfx)bug-dl-leaf.out): Likewise.
41072 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
41073 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
41074 * dlfcn/bug-dl-leaf.c: New test.
41075 * dlfcn/bug-dl-leaf-lib.c: Likewise.
41076 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
41077 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
41078 (dlclose): Likewise.
41079 (dlmopen): Likewise.
41080
41081 2013-08-27 Roland McGrath <roland@hack.frob.com>
41082
41083 * include/netdb.h [!_ISOMAC]:
41084 Don't include <tls.h>.
41085 (h_errno, __libc_h_errno): Move declaration and macros out of
41086 [_LIBC_REENTRANT].
41087
41088 * include/resolv.h [_RESOLV_H_]:
41089 Don't include <tls.h>.
41090 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
41091 * resolv/res_libc.c: Don't include <tls.h>.
41092 (_res): Use __attribute__ ((nocommon)) in place of
41093 __attribute__ ((section (".bss"))).
41094
41095 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
41096 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
41097
41098 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
41099
41100 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
41101 only under [SIOCGIFCONF && SIOCGIFNETMASK].
41102
41103 * resolv/res_mkquery.c: Include <sys/time.h>.
41104
41105 * inet/ifreq.c: Moved to ...
41106 * sysdeps/unix/ifreq.c: ... here.
41107 * inet/ifreq.c: New file, true stub version.
41108
41109 * socket/sa_len.c: New file.
41110 * socket/Makefile (aux): Add it.
41111 * sysdeps/unix/sysv/linux/Makefile
41112 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
41113 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
41114 and #include <socket/sa_len.c>.
41115 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
41116 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
41117
41118 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
41119 * bits/socket.h: ... here.
41120
41121 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
41122 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
41123 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
41124
41125 2013-08-27 Andreas Schwab <schwab@suse.de>
41126
41127 [BZ #15736]
41128 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
41129 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
41130 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
41131 * string/test-strcasecmp.c (test_main): Run tests in several
41132 locales.
41133 * string/test-strncasecmp.c (test_main): Likewise.
41134
41135 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
41136 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
41137 to __strcasecmp_nonascii and __strncasecmp_nonascii.
41138 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
41139 (__strncasecmp_ssse3) [PIC]: Likewise.
41140
41141 2013-08-26 Roland McGrath <roland@hack.frob.com>
41142
41143 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
41144
41145 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
41146 instead of explicitly declaring xdecrypt.
41147 * nis/nss_nis/nis-publickey.c: Likewise.
41148
41149 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41150
41151 [BZ #15890]
41152 * nscd/aicache.c: Include res_hconf.h.
41153 (addhstaiX): Initialize res_hconf.
41154
41155 2013-08-26 Andreas Schwab <schwab@suse.de>
41156
41157 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
41158 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
41159
41160 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41161
41162 * nscd/aicache.c (addhstaiX): Fix indentation.
41163
41164 2013-08-25 Mike Frysinger <vapier@gentoo.org>
41165
41166 * configure.ac: Quote $build_pt_chown test.
41167 * configure: Regenerated.
41168
41169 2013-08-23 Joseph Myers <joseph@codesourcery.com>
41170
41171 [BZ #15532]
41172 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
41173 * math/s_cexpf.c (__cexpf): Likewise.
41174 * math/s_cexpl.c (__cexpl): Likewise.
41175 * math/libm-test.inc (cexp_test_data): Correct expected return
41176 value for NaN + i0. Add another test.
41177
41178 2013-08-22 David S. Miller <davem@davemloft.net>
41179
41180 * po/ca.po: Update Catalan translation from translation project.
41181 * po/uk.po: Add Ukrainian translations from translation project.
41182
41183 2013-08-21 Joseph Myers <joseph@codesourcery.com>
41184
41185 [BZ #15797]
41186 * math/s_fdim.c (__fdim): Check for infinite arguments if result
41187 is infinite, not alongside NaN test.
41188 * math/s_fdimf.c (__fdimf): Likewise.
41189 * math/s_fdiml.c (__fdiml): Likewise.
41190 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
41191 errno is unchanged.
41192
41193 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
41194
41195 * argp/argp-help.c: Fix typos.
41196 * crypt/speeds.c: Likewise.
41197 * csu/check_fds.c: Likewise.
41198 * elf/dl-load.c: Likewise.
41199 * elf/dl-open.c: Likewise.
41200 * elf/reldep3.c: Likewise.
41201 * elf/reldep.c: Likewise.
41202 * elf/sprof.c: Likewise.
41203 * iconv/iconv_charmap.c: Likewise.
41204 * iconv/skeleton.c: Likewise.
41205 * iconv/strtab.c: Likewise.
41206 * io/lockf64.c: Likewise.
41207 * libio/libioP.h: Likewise.
41208 * resolv/gai_notify.c: Likewise.
41209 * resolv/ns_name.c: Likewise.
41210 * resolv/ns_samedomain.c: Likewise.
41211 * resolv/res_send.c: Likewise.
41212 * stdlib/random.c: Likewise.
41213 * sunrpc/rpc/xdr.h: Likewise.
41214 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
41215 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41216 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41217 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41218 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41219 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41220 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41221 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41222 * sysdeps/mach/hurd/check_fds.c: Likewise.
41223 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41224 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41225 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41226 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41227 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41228 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41229 * sysdeps/pthread/aio_notify.c: Likewise.
41230 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
41231 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
41232 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
41233 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41234 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41235
41236 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41237
41238 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
41239 version if bit_Slow_SSE4_2 is set.
41240 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41241 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41242
41243 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41244
41245 [BZ #15867]
41246 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
41247 trampoline stack frame information.
41248 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
41249 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
41250 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
41251 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
41252 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
41253 * sysdeps/unix/sysv/linux/powerpc/init-first.c
41254 (_libc_vdso_platform_setup): Initialize the signal trampolines.
41255 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
41256 sa_flags value.
41257 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
41258 interrupting a syscall and set with option SA_SIGINFO.
41259
41260 2013-08-20 Joseph Myers <joseph@codesourcery.com>
41261
41262 [BZ #15531]
41263 * math/s_cproj.c (__cproj): Only return an infinity if one part of
41264 argument is infinite.
41265 * math/s_cprojf.c (__cprojf): Likewise.
41266 * math/s_cprojl.c (__cprojl): Likewise.
41267 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
41268 * math/libm-test.inc (cproj_test_data): Add more tests.
41269
41270 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
41271
41272 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
41273 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
41274 size. Use __ffs to determine corresponding shift.
41275
41276 2013-08-20 Joseph Myers <joseph@codesourcery.com>
41277 Roland McGrath <roland@hack.frob.com>
41278
41279 * Makefile (INSTALL): Remove trailing blank lines from output of
41280 makeinfo.
41281
41282 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41283
41284 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
41285 Align 32 bit compat elf_greg to 8 bytes.
41286
41287 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
41288
41289 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
41290
41291 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41292
41293 * string/strcoll_l.c (coll_seq): New structure.
41294 (get_next_seq_cached): New function.
41295 (get_next_seq): New function.
41296 (do_compare): New function.
41297 (STRCOLL): Use GNU style definition. Simplify implementation
41298 by using get_next_seq, get_next_seq_cached and do_compare.
41299
41300 2013-08-16 Florian Weimer <fweimer@redhat.com>
41301
41302 [BZ #14699]
41303 CVE-2013-4237
41304 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
41305 member.
41306 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
41307 member.
41308 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
41309 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
41310 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
41311 conditional.
41312 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
41313 GETDENTS_64BIT_ALIGNED.
41314 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41315 * manual/filesys.texi (Reading/Closing Directory): Document
41316 ENAMETOOLONG return value of readdir_r. Recommend readdir more
41317 strongly.
41318 * manual/conf.texi (Limits for Files): Add portability note to
41319 NAME_MAX, PATH_MAX.
41320 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
41321
41322 2013-08-13 Andreas Schwab <schwab@suse.de>
41323
41324 [BZ #15749]
41325 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
41326 of fabs.
41327 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
41328 LDBL_MAX_EXP >= 16384]: Add tests for it.
41329
41330 2013-08-12 David S. Miller <davem@davemloft.net>
41331
41332 * version.h (RELEASE): Set to "development".
41333 (VERSION): Set to "2.18.90".
41334 * NEWS: Add 2.19 section.
41335
41336 2013-08-03 David S. Miller <davem@davemloft.net>
41337
41338 * po/ko.po: Update Korean translation from translation project.
41339
41340 2013-08-01 David S. Miller <davem@davemloft.net>
41341
41342 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
41343 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
41344 Bilka.
41345
41346 2013-07-30 David S. Miller <davem@davemloft.net>
41347
41348 * po/fr.po: Update French translation from translation project.
41349
41350 2013-07-28 David S. Miller <davem@davemloft.net>
41351
41352 * po/cs.po: Update Czech translation from translation project.
41353
41354 * po/sv.po: Update Swedish translation from translation project.
41355
41356 2013-07-27 David S. Miller <davem@davemloft.net>
41357
41358 * po/eo.po: Update Esperanto translation from translation project.
41359
41360 * po/vi.po: Update Vietnamese translation from translation project.
41361
41362 * po/de.po: Update German translation from translation project.
41363
41364 2013-07-26 David S. Miller <davem@davemloft.net>
41365
41366 * po/bg.po: Update Bulgarian translation from translation project.
41367
41368 * po/nl.po: Update Dutch translation from translation project.
41369 * po/pl.po: Update Polish translation from translation project.
41370 * po/ru.po: Update Russian translation from translation project.
41371
41372 2013-07-24 David S. Miller <davem@davemloft.net>
41373
41374 * po/libc.pot: Update.
41375
41376 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41377
41378 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
41379 variable page size.
41380 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
41381 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
41382 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
41383
41384 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41385
41386 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
41387
41388 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
41389 Andreas Schwab <schwab@suse.de>
41390 Roland McGrath <roland@hack.frob.com>
41391 Joseph Myers <joseph@codesourcery.com>
41392 Carlos O'Donell <carlos@redhat.com>
41393
41394 [BZ #15755]
41395 * config.h.in: Define HAVE_PT_CHOWN.
41396 * config.make.in (build-pt-chown): New variable.
41397 * configure.in (--enable-pt_chown): New configure option.
41398 * configure: Regenerate.
41399 * login/Makefile: Include Makeconfig. Build pt_chown only if
41400 build-pt-chown is enabled.
41401 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
41402 pt_chown to fix pty ownership.
41403 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
41404 CLOSE_ALL_FDS.
41405 * manual/install.texi (Configuring and compiling): Mention
41406 --enable-pt_chown. Add @findex for grantpt.
41407 * INSTALL: Regenerate.
41408
41409 2013-07-20 David S. Miller <davem@davemloft.net>
41410
41411 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
41412 difference between 32-bit and 64-bit.
41413
41414 2013-07-15 Carlos O'Donell <carlos@redhat.com>
41415
41416 [BZ #15711]
41417 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
41418 Avoid system header dependency with -ffreestanding.
41419 ($(objpfx)bits/syscall%d): Likewise.
41420
41421 2013-07-13 David S. Miller <davem@davemloft.net>
41422
41423 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
41424 underflows from atanl/atan2l due to bug 15319.
41425 (casinh_test_data): Likewise.
41426
41427 2013-07-07 David S. Miller <davem@davemloft.net>
41428
41429 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
41430
41431 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
41432
41433 * sysdeps/i386/fpu/libm-test-ulps: Update.
41434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41435
41436 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41437
41438 * configure.in (--enable-lock-elision): Fix message text.
41439 * INSTALL: Regenerate.
41440 * configure: Regenerate.
41441
41442 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41443
41444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41445
41446 2013-07-03 Andreas Jaeger <aj@suse.de>
41447
41448 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
41449 define.
41450 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
41451 (ptrace_peeksiginfo_args): Add.
41452 (__ptrace_peeksiginfo_flags): Add.
41453 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41454 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41455 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41456
41457 2013-07-03 Allan McRae <allan@archlinux.org>
41458
41459 * sysdeps/i386/fpu/libm-test-ulps: Update.
41460
41461 2013-07-02 David S. Miller <davem@davemloft.net>
41462
41463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41464
41465 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
41466
41467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41468
41469 2013-07-02 Joseph Myers <joseph@codesourcery.com>
41470
41471 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41473
41474 2013-07-02 Andi Kleen <ak@linux.intel.com>
41475
41476 * config.h.in (ENABLE_LOCK_ELISION): Add.
41477 * configure.in (--enable-lock-elision): Add option.
41478 * manual/install.texi: Document --enable lock elision.
41479 * configure: Regenerate
41480 * INSTALL: Regenerate.
41481
41482 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
41483
41484 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
41485 SSE4.2 strcasecmp for libc.a.
41486 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41487
41488 2013-07-02 Joseph Myers <joseph@codesourcery.com>
41489
41490 [BZ #13304]
41491 * soft-fp/op-common.h (_FP_FMA): New macro.
41492 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
41493 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
41494 (_FP_MUL_MEAT_1_imm): ... here.
41495 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
41496 (_FP_MUL_MEAT_1_wide): ... here.
41497 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
41498 (_FP_MUL_MEAT_1_hard): ... here.
41499 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
41500 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
41501 (_FP_MUL_MEAT_2_wide): ... here.
41502 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
41503 (_FP_MUL_MEAT_2_wide_3mul): ... here.
41504 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
41505 (_FP_MUL_MEAT_2_gmp): ... here.
41506 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
41507 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
41508 (_FP_MUL_MEAT_4_wide): ... here.
41509 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
41510 (_FP_MUL_MEAT_4_gmp): ... here.
41511 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
41512 (_FP_WFRACBITS_DW_S): Likewise.
41513 (_FP_WFRACXBITS_DW_S): Likewise.
41514 (_FP_HIGHBIT_DW_S): Likewise.
41515 (FP_FMA_S): Likewise.
41516 (_FP_FRAC_HIGH_DW_S): Likewise.
41517 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
41518 (_FP_WFRACBITS_DW_D): Likewise.
41519 (_FP_WFRACXBITS_DW_D): Likewise.
41520 (_FP_HIGHBIT_DW_D): Likewise.
41521 (FP_FMA_D): Likewise.
41522 (_FP_FRAC_HIGH_DW_D): Likewise.
41523 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
41524 (_FP_WFRACBITS_DW_E): Likewise.
41525 (_FP_WFRACXBITS_DW_E): Likewise.
41526 (_FP_HIGHBIT_DW_E): Likewise.
41527 (FP_FMA_E): Likewise.
41528 (_FP_FRAC_HIGH_DW_E): Likewise.
41529 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
41530 (_FP_WFRACBITS_DW_Q): Likewise.
41531 (_FP_WFRACXBITS_DW_Q): Likewise.
41532 (_FP_HIGHBIT_DW_Q): Likewise.
41533 (FP_FMA_Q): Likewise.
41534 (_FP_FRAC_HIGH_DW_Q): Likewise.
41535 * soft-fp/fmasf4.c: New file.
41536 * soft-fp/fmadf4.c: Likewise.
41537 * soft-fp/fmatf4.c: Likewise.
41538
41539 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41540
41541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41542 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
41543 Silvermont.
41544 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
41545 macro.
41546 (index_Slow_SSE4_2): Likewise.
41547 (index_Prefer_PMINUB_for_stringop): Likewise.
41548 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
41549 bit_Slow_SSE4_2 is set.
41550 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41551 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41552
41553 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41554
41555 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
41556 rtld_global._dl_hwcap2.
41557 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
41558 POWER8.
41559 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
41560 POWER8 feature descriptions defined in _dl_hwcap2.
41561 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
41562 string handling for POWER8 feature bits.
41563 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
41564 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
41565 _dl_powerpc_cap_flags.
41566 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
41567 * sysdeps/powerpc/rtld-global-offsets.sym
41568 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
41569 _dl_hwcap2 in the rtld_global_ro structure.
41570
41571 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41572
41573 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
41574 hardware capabilities in support of AT_HWCAP2.
41575 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
41576 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
41577 GLRO(dl_hwcap2).
41578 (_dl_show_auxv): Add support for calling _dl_procinfo to display
41579 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
41580 explicitly the unknown a_type display mechanism is used.
41581 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
41582 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
41583 struct member.
41584 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
41585 to macro prototype for AT_HWCAP2 support.
41586 * sysdeps/i386/dl-procinfo.h: Likewise.
41587 * sysdeps/s390/dl-procinfo.h: Likewise.
41588 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
41589 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
41590 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
41591 return -1 for unknown a_type display fallback.
41592 * sysdeps/sparc/dl-procinfo.h: Likewise.
41593 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
41594 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
41595
41596 2013-06-28 Joseph Myers <joseph@codesourcery.com>
41597
41598 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
41599 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
41600
41601 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
41602
41603 [BZ #12492]
41604 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
41605 mprotect making __stack_prot writable.
41606
41607 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
41608 Joseph Myers <joseph@codesourcery.com>
41609
41610 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
41611 as being properly aligned.
41612
41613 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
41614
41615 * dlfcn/modstatic5.c: New file.
41616 * dlfcn/tststatic5.c: New file.
41617 * dlfcn/Makefile (tests): Add tststatic5.
41618 (tests-static): Likewise.
41619 (modules-names): Add modstatic5.
41620 (tststatic5-ENV): New variable.
41621 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
41622
41623 [BZ #15022]
41624 * elf/dl-support.c (_dl_main_map): New variable.
41625 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
41626 (_dl_nns, _dl_load_adds): Set to 1.
41627 (_dl_initial_searchlist): Refer to _dl_main_map.
41628 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
41629 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
41630 call to _dl_get_origin.
41631 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
41632 around call_map.
41633 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
41634 * dlfcn/modstatic3.c: New file.
41635 * dlfcn/tststatic3.c: New file.
41636 * dlfcn/tststatic4.c: New file.
41637 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
41638 (tests-static): Likewise.
41639 (modules-names): Add modstatic3.
41640 (tststatic3-ENV, tststatic4-ENV): New variables.
41641 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
41642 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
41643
41644 2013-06-26 Joseph Myers <joseph@codesourcery.com>
41645
41646 * configure.in (CC): Require GCC version 4.4 or later.
41647 * configure: Regenerated.
41648 * manual/install.texi (Tools for Compilation): Update GCC version
41649 requirement.
41650 * INSTALL: Regenerated.
41651
41652 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41653
41654 [BZ #15674]
41655 * string/test-memcmp.c (check2): New.
41656 (main): Call check2.
41657
41658 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
41659
41660 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
41661
41662 [BZ #15022]
41663 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
41664 over to...
41665 (dl_open_worker) [!SHARED]: ... here.
41666
41667 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41668
41669 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
41670
41671 2013-06-25 Richard Henderson <rth@redhat.com>
41672
41673 * locale/programs/locarchive.c: Include <libc-internal.h>
41674
41675 2013-06-25 Joseph Myers <joseph@codesourcery.com>
41676
41677 * manual/texinfo.tex: Update to version 2013-06-21.17, with
41678 trailing whitespace removed.
41679
41680 2013-06-24 Mike Frysinger <vapier@gentoo.org>
41681
41682 [BZ #10283]
41683 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
41684 * locale/programs/locarchive.c: Include libc-mmap.h.
41685 (prepare_address_space): Take two new outputs (the mmap base and len).
41686 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
41687 values.
41688 (create_archive): Declare new mmap base and len values for
41689 prepare_address_space, and store the result in ah.
41690 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
41691 (enlarge_archive): If ah->mmap_base is not NULL, use that and
41692 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41693 Declare new mmap base and len values for
41694 prepare_address_space, and store the result in new_ah.
41695 (open_archive): Declare new mmap base and len values for
41696 prepare_address_space, and store the result in ah.
41697 (close_archive): If ah->mmap_base is not NULL, use that and
41698 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41699 * sysdeps/generic/libc-mmap.h: New file.
41700
41701 2013-06-24 Mike Frysinger <vapier@gentoo.org>
41702
41703 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
41704 (ALIGN_UP): Likewise.
41705 (PTR_ALIGN_DOWN): Likewise.
41706 (PTR_ALIGN_UP): Likewise.
41707
41708 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41709
41710 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
41711 entry mapped to PPC_PLATFORM_POWER8.
41712 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
41713 POWER8.
41714 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
41715 (_dl_string_platform): Add case for exporting platform position for
41716 POWER8.
41717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
41718 search path to sysdeps/powerpc/powerpc32/power8 directory.
41719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
41720 search path to sysdeps/powerpc/powerpc64/power8 directory.
41721 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
41722 power7 directories.
41723 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
41724 power7 directories.
41725
41726 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
41727
41728 * INSTALL: Regenerate.
41729
41730 * nscd/connections.c (nscd_init): Fix comment.
41731
41732 2013-06-22 Joseph Myers <joseph@codesourcery.com>
41733
41734 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
41735
41736 [BZ #15667]
41737 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
41738 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
41739
41740 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
41741
41742 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
41743 DL_DST_REQ_STATIC.
41744 (DL_DST_REQ_STATIC): Remove macro.
41745
41746 2013-06-21 Joseph Myers <joseph@codesourcery.com>
41747
41748 [BZ #7006]
41749 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
41750 with a shift of 0 bits.
41751
41752 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
41753
41754 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
41755 $(tststatic-ENV).
41756
41757 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41758
41759 [BZ #15655]
41760 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
41761
41762 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41763
41764 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
41765 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
41766 accepts -fno-tree-loop-distribute-patterns.
41767 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
41768 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
41769 recursive call.
41770 * string/memset.c (memset): Likewise.
41771 * string/test-memmove.c (simple_memmove): Disable loop transformation
41772 to library calls.
41773 * string/test-memset.c (simple_memset): Likewise.
41774 * benchtests/bench-memmove.c (simple_memmove): Likewise.
41775 * benchtests/bench-memset.c (simple_memset): Likewise.
41776 * configure: Regenerated.
41777
41778 2013-06-20 Joseph Myers <joseph@codesourcery.com>
41779
41780 * math/test-misc.c (main): Ignore fesetround failure when failures
41781 of subsequent rounding tests would be ignored.
41782
41783 [BZ #15654]
41784 * math/fedisblxcpt.c (fedisableexcept): Return 0.
41785 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
41786 * math/fegetenv.c (__fegetenv): Return 0.
41787 * math/fegetexcept.c (fegetexcept): Return 0.
41788 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
41789 FE_TONEAREST.
41790 * math/feholdexcpt.c (feholdexcept): Return 0.
41791 * math/fesetenv.c (__fesetenv): Return 0.
41792 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
41793 argument FE_TONEAREST.
41794 * math/feupdateenv.c (__feupdateenv): Return 0.
41795 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
41796
41797 2013-06-18 Roland McGrath <roland@hack.frob.com>
41798
41799 * elf/rtld-Rules (rtld-compile-command.S): New variable.
41800 (rtld-compile-command.s, rtld-compile-command.c): New variables.
41801 ($(objpfx)rtld-%.os rules): Use them.
41802
41803 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41804
41805 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
41806 fields.
41807
41808 2013-06-17 Roland McGrath <roland@hack.frob.com>
41809
41810 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
41811 length of target pattern, then descending length of dependency pattern.
41812 * configure.in (AWK): Require gawk 3.1.2 or newer.
41813 * manual/install.texi (Tools for Compilation): Say that we do.
41814 * configure: Regenerated.
41815
41816 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
41817 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
41818 * scripts/sysd-rules.awk: ... this new script.
41819 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
41820 than a glob-style pattern.
41821
41822 2013-06-17 Joseph Myers <joseph@codesourcery.com>
41823
41824 * math/test-misc.c (main): Do not treat incorrectly rounded
41825 conversions as failure unless ROUNDING_TESTS passes.
41826
41827 2013-06-15 Joseph Myers <joseph@codesourcery.com>
41828
41829 [BZ #15631]
41830 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
41831 restore exception state around main square root computation, then
41832 check for inexactness explicitly.
41833
41834 * math/libm-test.inc (fma_test_data): Add another test.
41835
41836 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41837
41838 * manual/threads.texi (Non-POSIX Extensions): New document
41839 node. Document pthread_getattr_default_np and
41840 pthread_setattr_default_np.
41841
41842 * Versions.def (libpthread): Add GLIBC_2.18.
41843 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
41844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41845 Likewise.
41846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41847 Likewise.
41848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41849 Likewise.
41850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41851 Likewise.
41852 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
41853 Likewise.
41854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41855 Likewise.
41856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41857 Likewise.
41858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41859 Likewise.
41860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41861 Likewise.
41862
41863 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41864
41865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41866 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
41867
41868 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41869 H.J. Lu <hjl.tools@gmail.com>
41870
41871 [BZ #15627]
41872 * sysdeps/x86_64/rtld-memset.c: Remove file.
41873 * sysdeps/x86_64/rtld-memset.S: New file.
41874
41875 2013-06-14 Joseph Myers <joseph@codesourcery.com>
41876
41877 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
41878 (test_in_one_mode): Take arguments for whether the rounding mode
41879 is supported for each floating-point type.
41880 (do_test): Pass new arguments to test_in_one_mode using
41881 ROUNDING_TESTS.
41882
41883 2013-06-13 Roland McGrath <roland@hack.frob.com>
41884
41885 * posix/tst-waitid.c (do_test): Distinguish different instances of
41886 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
41887 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
41888 before entering the kernel for waitpid.
41889
41890 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
41891
41892 * NEWS: Fix note on clock function precision. Text by Roland
41893 McGrath.
41894
41895 2013-06-13 Roland McGrath <roland@hack.frob.com>
41896
41897 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
41898 it into place only when and if the sanity check passes.
41899
41900 2013-06-13 Joseph Myers <joseph@codesourcery.com>
41901
41902 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
41903 output for whether conversion result is exact. Take argument
41904 indicating whether type is IBM long double.
41905 (round_for_all): Change need_exact field to ibm_ld.
41906 * stdlib/tst-strtod-round.c (struct exactness): New type.
41907 (struct test): Change bool ld_ok field to struct exactness exact.
41908 (TEST): Update all definitions for change to field.
41909 (tests): Regenerate array contents.
41910 (test_in_one_mode): Take pointer to new field instead of old ld_ok
41911 field value. Check for IBM long double here.
41912 (do_test): Update calls to test_in_one_mode.
41913
41914 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
41915
41916 [BZ #12515]
41917 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
41918 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
41919
41920 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41921
41922 [BZ #15605]
41923 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
41924 generated by the compiler on loop optimizations.
41925 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
41926 general definitions.
41927
41928 2013-06-12 Joseph Myers <joseph@codesourcery.com>
41929
41930 * math/bug-nextafter.c: Include <math-tests.h>.
41931 (main): Only test for exceptions if EXCEPTION_TESTS is true for
41932 the relevant type.
41933 * math/bug-nexttoward.c: Include <math-tests.h>.
41934 (main): Only test for exceptions if EXCEPTION_TESTS is true for
41935 the relevant type.
41936 * math/test-misc.c: Include <math-tests.h>.
41937 (main): Only test for exceptions if EXCEPTION_TESTS is true for
41938 the relevant type.
41939
41940 2013-06-12 Andreas Jaeger <aj@suse.de>
41941
41942 * po/ia.po: Update Interlingua translation from translation
41943 project.
41944
41945 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
41946
41947 * include/fenv.h: Include stdbool.h.
41948 (struct rm_ctx): New structure.
41949 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
41950 Define macro.
41951 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
41952 (SET_RESTORE_ROUNDF): Likewise.
41953 (SET_RESTORE_ROUNDL): Likewise.
41954 (SET_RESTORE_ROUND_NOEX): Likewise.
41955 (SET_RESTORE_ROUND_NOEXF): Likewise.
41956 (SET_RESTORE_ROUND_NOEXL): Likewise.
41957 (SET_RESTORE_ROUND_53BIT): Likewise.
41958 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
41959 (libc_feresetround_noexf_ctx): Likewise.
41960 (libc_feresetround_noexl_ctx): Likewise.
41961 (libc_feholdsetround_53bit_ctx): Likewise.
41962 (libc_feresetround_53bit_ctx): Likewise.
41963 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
41964 (libc_feholdexcept_setround_sse_ctx): New function.
41965 (libc_fesetenv_sse_ctx): Likewise.
41966 (libc_feupdateenv_sse_ctx): Likewise.
41967 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
41968 (libc_feholdexcept_setround_387_ctx): Likewise.
41969 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
41970 (libc_feholdsetround_387_prec_ctx): Likewise.
41971 (libc_feholdsetround_387_ctx): Likewise.
41972 (libc_feholdsetround_387_53bit_ctx): Likewise.
41973 (libc_feholdsetround_sse_ctx): Likewise.
41974 (libc_feresetround_sse_ctx): Likewise.
41975 (libc_feresetround_387_ctx): Likewise.
41976 (libc_feupdateenv_387_ctx): Likewise.
41977 (libc_feholdexcept_setroundf_ctx): Define macro.
41978 (libc_fesetenvf_ctx): Likewise.
41979 (libc_feupdateenvf_ctx): Likewise.
41980 (libc_feholdsetroundf_ctx): Likewise.
41981 (libc_feresetroundf_ctx): Likewise.
41982 (libc_feholdexcept_setround_ctx): Likewise.
41983 (libc_fesetenv_ctx): Likewise.
41984 (libc_feupdateenv_ctx): Likewise.
41985 (libc_feholdsetround_ctx): Likewise.
41986 (libc_feresetround_ctx): Likewise.
41987 (libc_feholdexcept_setroundl_ctx): Likewise.
41988 (libc_feupdateenvl_ctx): Likewise.
41989 (libc_feholdsetroundl_ctx): Likewise.
41990 (libc_feresetroundl_ctx): Likewise.
41991 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
41992 (libc_feresetround_53bit_ctx): Likewise.
41993
41994 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41995
41996 * locale/iso-639.def: Convert to UTF-8.
41997
41998 2013-06-11 Joseph Myers <joseph@codesourcery.com>
41999
42000 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
42001 (EXCEPTION_TESTS_double): Likewise.
42002 (EXCEPTION_TESTS_long_double): Likewise.
42003 (EXCEPTION_TESTS): Likewise.
42004 * math/libm-test.inc (test_exceptions): Only test exceptions if
42005 EXCEPTION_TESTS (FLOAT).
42006
42007 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42008
42009 * benchtests/Makefile (string-bench): Add strcpy_chk and
42010 stpcpy_chk.
42011 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
42012 * benchtests/bench-stpcpy_chk.c: New file.
42013 * benchtests/bench-strcpy_chk-ifunc.c: New file.
42014 * benchtests/bench-strcpy_chk.c: New file.
42015 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
42016 code.
42017 (do_test): Likewise.
42018
42019 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42020
42021 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
42022 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
42023 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
42024 with tabs where appropriate.
42025 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
42026 dl-procinfo.h.
42027 [PPC_PLATFORM_PPC440]: Likewise.
42028 [PPC_PLATFORM_PPC464]: Likewise.
42029 [PPC_PLATFORM_PPC476]: Likewise.
42030 (_dl_string_platform): Add support for detecting ppc405, ppc440,
42031 ppc464, and ppc476 platform strings merging from ports/
42032 dl-procinfo.h.
42033
42034 2013-06-11 Andreas Schwab <schwab@suse.de>
42035
42036 [BZ #14991]
42037 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
42038 (from_ucs4_idx): Regenerate.
42039 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
42040 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
42041 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
42042 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
42043 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
42044 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
42045 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
42046 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
42047 from FROM_LOOP and TO_LOOP specific macros.
42048 (BODY): Handle combining characters.
42049 * iconvdata/BIG5HKSCS.irreversible: Update.
42050 * iconvdata/BIG5HKSCS.precomposed: New file.
42051 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
42052 characters.
42053 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
42054
42055 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42056
42057 * include/sys/time.h: Fix indentation and add copyright header.
42058
42059 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
42060 (do_test): Likewise.
42061 * string/test-memchr.c (do_one_test): Likewise.
42062 (do_test): Likewise.
42063 * string/test-memcmp.c (do_one_test): Likewise.
42064 (do_test): Likewise.
42065 * string/test-memcpy.c (do_one_test): Likewise.
42066 (do_test): Likewise.
42067 * string/test-memmem.c (do_one_test): Likewise.
42068 (do_test): Likewise.
42069 (do_random_tests): Likewise.
42070 * string/test-memmove.c (do_one_test): Likewise.
42071 (do_test): Likewise.
42072 * string/test-memset.c (do_one_test): Likewise.
42073 (do_test): Likewise.
42074 * string/test-rawmemchr.c (do_one_test): Likewise.
42075 (do_test): Likewise.
42076 * string/test-strcasecmp.c (do_one_test): Likewise.
42077 (do_test): Likewise.
42078 * string/test-strcasestr.c (do_one_test): Likewise.
42079 (do_test): Likewise.
42080 * string/test-strcat.c (do_one_test): Likewise.
42081 (do_test): Likewise.
42082 * string/test-strchr.c (do_one_test): Likewise.
42083 (do_test): Likewise.
42084 * string/test-strcmp.c (do_one_test): Likewise.
42085 (do_test): Likewise.
42086 * string/test-strcpy.c (do_one_test): Likewise.
42087 (do_test): Likewise.
42088 * string/test-string.h: Likewise.
42089 (test_init): Likewise.
42090 * string/test-strlen.c (do_one_test): Likewise.
42091 (do_test): Likewise.
42092 * string/test-strncasecmp.c (do_one_test): Likewise.
42093 (do_test): Likewise.
42094 * string/test-strncat.c (do_one_test): Likewise.
42095 (do_test): Likewise.
42096 * string/test-strncmp.c (do_one_test): Likewise.
42097 (do_test_limit): Likewise.
42098 (do_test): Likewise.
42099 * string/test-strncpy.c (do_one_test): Likewise.
42100 (do_test): Likewise.
42101 * string/test-strnlen.c (do_one_test): Likewise.
42102 (do_test): Likewise.
42103 * string/test-strpbrk.c (do_one_test): Likewise.
42104 (do_test): Likewise.
42105 * string/test-strrchr.c (do_one_test): Likewise.
42106 (do_test): Likewise.
42107 * string/test-strspn.c (do_one_test): Likewise.
42108 (do_test): Likewise.
42109 * string/test-strstr.c (do_one_test): Likewise.
42110 (do_test): Likewise.
42111
42112 * benchtests/Makefile (string-bench): Add string benchmarks.
42113 * benchtests/bench-bcopy-ifunc.c: New file.
42114 * benchtests/bench-bcopy.c: New file.
42115 * benchtests/bench-bzero-ifunc.c: New file.
42116 * benchtests/bench-bzero.c: New file.
42117 * benchtests/bench-memccpy-ifunc.c: New file.
42118 * benchtests/bench-memccpy.c: New file.
42119 * benchtests/bench-memchr-ifunc.c: New file.
42120 * benchtests/bench-memchr.c: New file.
42121 * benchtests/bench-memcmp-ifunc.c: New file.
42122 * benchtests/bench-memcmp.c: New file.
42123 * benchtests/bench-memmem-ifunc.c: New file.
42124 * benchtests/bench-memmem.c: New file.
42125 * benchtests/bench-memmove-ifunc.c: New file.
42126 * benchtests/bench-memmove.c: New file.
42127 * benchtests/bench-mempcpy-ifunc.c: New file.
42128 * benchtests/bench-mempcpy.c: New file.
42129 * benchtests/bench-memset-ifunc.c: New file.
42130 * benchtests/bench-memset.c: New file.
42131 * benchtests/bench-rawmemchr-ifunc.c: New file.
42132 * benchtests/bench-rawmemchr.c: New file.
42133 * benchtests/bench-stpcpy-ifunc.c: New file.
42134 * benchtests/bench-stpcpy.c: New file.
42135 * benchtests/bench-stpncpy-ifunc.c: New file.
42136 * benchtests/bench-stpncpy.c: New file.
42137 * benchtests/bench-strcasecmp-ifunc.c: New file.
42138 * benchtests/bench-strcasecmp.c: New file.
42139 * benchtests/bench-strcasestr-ifunc.c: New file.
42140 * benchtests/bench-strcasestr.c: New file.
42141 * benchtests/bench-strcat-ifunc.c: New file.
42142 * benchtests/bench-strcat.c: New file.
42143 * benchtests/bench-strchr-ifunc.c: New file.
42144 * benchtests/bench-strchr.c: New file.
42145 * benchtests/bench-strchrnul-ifunc.c: New file.
42146 * benchtests/bench-strchrnul.c: New file.
42147 * benchtests/bench-strcmp-ifunc.c: New file.
42148 * benchtests/bench-strcmp.c: New file.
42149 * benchtests/bench-strcpy-ifunc.c: New file.
42150 * benchtests/bench-strcpy.c: New file.
42151 * benchtests/bench-strcspn-ifunc.c: New file.
42152 * benchtests/bench-strcspn.c: New file.
42153 * benchtests/bench-strlen-ifunc.c: New file.
42154 * benchtests/bench-strlen.c: New file.
42155 * benchtests/bench-strncasecmp-ifunc.c: New file.
42156 * benchtests/bench-strncasecmp.c: New file.
42157 * benchtests/bench-strncat-ifunc.c: New file.
42158 * benchtests/bench-strncat.c: New file.
42159 * benchtests/bench-strncmp-ifunc.c: New file.
42160 * benchtests/bench-strncmp.c: New file.
42161 * benchtests/bench-strncpy-ifunc.c: New file.
42162 * benchtests/bench-strncpy.c: New file.
42163 * benchtests/bench-strnlen-ifunc.c: New file.
42164 * benchtests/bench-strnlen.c: New file.
42165 * benchtests/bench-strpbrk-ifunc.c: New file.
42166 * benchtests/bench-strpbrk.c: New file.
42167 * benchtests/bench-strrchr-ifunc.c: New file.
42168 * benchtests/bench-strrchr.c: New file.
42169 * benchtests/bench-strspn-ifunc.c: New file.
42170 * benchtests/bench-strspn.c: New file.
42171 * benchtests/bench-strstr-ifunc.c: New file.
42172 * benchtests/bench-strstr.c: New file.
42173
42174 * benchtests/Makefile: Disable parallel execution of targets.
42175 (string-bench): Add memcpy.
42176 (benchset): New variable to store a list of benchmark sets.
42177 (bench-func): Renamed from bench.
42178 (bench-set): New target.
42179 (bench): Depend on bench-func and bench-set.
42180 * benchtests/README: Add section on benchmark sets.
42181 * benchtests/bench-memcpy-ifunc.c: New file.
42182 * benchtests/bench-memcpy.c: New file.
42183 * benchtests/bench-string.h: New file.
42184
42185 2013-06-11 Andreas Schwab <schwab@suse.de>
42186
42187 [BZ #15577]
42188 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
42189 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
42190 values in the triple.
42191 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
42192 terminator in the group key.
42193
42194 2013-06-11 Andreas Jaeger <aj@suse.de>
42195
42196 * po/zh_TW.po: Update Chinese (traditional) translation from
42197 translation project.
42198
42199 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42200
42201 * include/time.h (__clock_gettime): Add libc_hidden_proto.
42202 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
42203 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
42204 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42205 (clock_getcpuclockid): Likewise.
42206 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
42207 Add weak_alias and libc_hidden_def.
42208 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
42209 * rt/clock_gettime.c (clock_gettime): Rename to
42210 __clock_gettime. Add weak_alias and libc_hidden_def.
42211 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
42212 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
42213 __clock_nanosleep. Add weak_alias and libc_hidden_def.
42214 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
42215 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
42216 Likewise.
42217 * rt/clock_settime.c (clock_settime): Rename to
42218 __clock_settime. Add weak_alias and libc_hidden_def.
42219 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
42220
42221 2013-06-10 Joseph Myers <joseph@codesourcery.com>
42222
42223 * mach/err_boot.sub: Remove trailing whitespace.
42224 * mach/err_ipc.sub: Likewise.
42225 * mach/err_mach.sub: Likewise.
42226
42227 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
42228 (ROUNDING_TESTS_double): Likewise.
42229 (ROUNDING_TESTS_long_double): Likewise.
42230 (ROUNDING_TESTS): Likewise.
42231 * math/libm-test.inc: Include <math-tests.h>.
42232 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
42233 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42234 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42235 (IF_ROUND_INIT_FE_UPWARD): Likewise.
42236
42237 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42238
42239 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
42240 of assigning.
42241
42242 2013-06-08 Joseph Myers <joseph@codesourcery.com>
42243
42244 * sysdeps/gnu/errlist.awk: Do not generate space at end of
42245 otherwise empty TRANS lines.
42246 * sysdeps/gnu/errlist.c: Regenerated.
42247
42248 * catgets/gencat.c (error_print): Use (void) in function
42249 definition.
42250 * crypt/crypt_util.c (__init_des): Likewise.
42251 * crypt/speeds.c (Stop): Likewise.
42252 (main): Likewise.
42253 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
42254 * inet/ruserpass.c (token): Likewise.
42255 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
42256 * intl/localealias.c (extend_alias_table): Likewise.
42257 * intl/plural-exp.c (init_germanic_plural): Likewise.
42258 * libio/fcloseall.c (__fcloseall): Likewise.
42259 * libio/genops.c (_IO_flush_all): Likewise.
42260 (_IO_flush_all_linebuffered): Likewise.
42261 (_IO_cleanup): Likewise.
42262 (_IO_iter_begin): Likewise.
42263 (_IO_iter_end): Likewise.
42264 (_IO_list_lock): Likewise.
42265 (_IO_list_unlock): Likewise.
42266 (_IO_list_resetlock): Likewise.
42267 * libio/getchar.c (getchar): Likewise.
42268 * libio/getchar_u.c (getchar_unlocked): Likewise.
42269 * libio/getwchar.c (getwchar): Likewise.
42270 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
42271 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
42272 * login/getpt.c (__getpt): Likewise.
42273 * login/tst-utmp.c (main): Likewise.
42274 * malloc/hooks.c (__malloc_check_init): Likewise.
42275 * malloc/malloc.c (__malloc_stats): Likewise.
42276 * malloc/mtrace.c (tr_break): Likewise.
42277 (mtrace): Likewise.
42278 (muntrace): Likewise.
42279 * misc/fstab.c (endfsent): Likewise.
42280 * misc/getclktck.c (__getclktck): Likewise.
42281 * misc/getdtsz.c (__getdtablesize): Likewise.
42282 * misc/gethostid.c (gethostid): Likewise.
42283 * misc/getpagesize.c (__getpagesize): Likewise.
42284 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
42285 (__get_nprocs): Likewise.
42286 (__get_phys_pages): Likewise.
42287 (__get_avphys_pages): Likewise.
42288 * misc/getttyent.c (getttyent): Likewise.
42289 (setttyent): Likewise.
42290 (endttyent): Likewise.
42291 * misc/getusershell.c (getusershell): Likewise.
42292 (endusershell): Likewise.
42293 (setusershell): Likewise.
42294 (initshells): Likewise.
42295 * misc/hsearch.c (__hdestroy): Likewise.
42296 * misc/sync.c (sync): Likewise.
42297 * misc/syslog.c (closelog_internal): Likewise.
42298 (closelog): Likewise.
42299 * misc/ttyslot.c (ttyslot): Likewise.
42300 * misc/vhangup.c (vhangup): Likewise.
42301 * posix/fork.c (__fork): Likewise.
42302 * posix/getegid.c (__getegid): Likewise.
42303 * posix/geteuid.c (__geteuid): Likewise.
42304 * posix/getgid.c (__getgid): Likewise.
42305 * posix/getpid.c (__getpid): Likewise.
42306 * posix/getppid.c (__getppid): Likewise.
42307 * posix/getuid.c (__getuid): Likewise.
42308 * posix/pause.c (pause): Likewise.
42309 * posix/setpgrp.c (setpgrp): Likewise.
42310 * posix/setsid.c (__setsid): Likewise.
42311 * posix/test-vfork.c (noop): Likewise.
42312 * resolv/gethnamaddr.c (_endhtent): Likewise.
42313 (_gethtent): Likewise.
42314 (ht_endhostent): Likewise.
42315 (gethostent): Likewise.
42316 (dns_service): Likewise.
42317 * stdlib/drand48.c (drand48): Likewise.
42318 * stdlib/lrand48.c (lrand48): Likewise.
42319 * stdlib/mrand48.c (mrand48): Likewise.
42320 * stdlib/rand.c (rand): Likewise.
42321 * stdlib/random.c (__random): Likewise.
42322 * stdlib/setenv.c (clearenv): Likewise.
42323 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
42324 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
42325 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
42326 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
42327 (__get_nprocs): Likewise.
42328 (__get_phys_pages): Likewise.
42329 (__get_avphys_pages): Likewise.
42330 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
42331 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
42332 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
42333 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
42334 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
42335 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
42336 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
42337 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
42338 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
42339 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
42340 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
42341 * sysdeps/mach/hurd/sync.c (sync): Likewise.
42342 * sysdeps/posix/clock.c (clock): Likewise.
42343 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
42344 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
42345 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
42346 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
42347 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
42348 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
42349 (__get_nprocs_conf): Likewise.
42350 (__get_phys_pages): Likewise.
42351 (__get_avphys_pages): Likewise.
42352 * time/clock.c (clock): Likewise.
42353 * time/tzset.c (__tzname_max): Likewise.
42354
42355 2013-06-07 Joseph Myers <joseph@codesourcery.com>
42356
42357 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
42358 (__bswap_32): Do not use "register".
42359 * crypt/crypt.c (_ufc_doit_r): Likewise.
42360 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42361 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42362 * gmon/gmon.c (__monstartup): Likewise.
42363 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
42364 * hurd/hurdmalloc.c (more_memory): Likewise.
42365 (malloc): Likewise.
42366 (free): Likewise.
42367 (realloc): Likewise.
42368 (malloc_fork_prepare): Likewise.
42369 (malloc_fork_parent): Likewise.
42370 (malloc_fork_child): Likewise.
42371 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
42372 (_svcauth_des): Likewise.
42373 * inet/inet_lnaof.c (inet_lnaof): Likewise.
42374 * inet/inet_net.c (inet_network): Likewise.
42375 * inet/inet_netof.c (inet_netof): Likewise.
42376 * inet/rcmd.c (__validuser2_sa): Likewise.
42377 * io/fts.c (fts_open): Likewise.
42378 (fts_load): Likewise.
42379 (fts_close): Likewise.
42380 (fts_read): Likewise.
42381 (fts_children): Likewise.
42382 (fts_build): Likewise.
42383 (fts_stat): Likewise.
42384 (fts_sort): Likewise.
42385 (fts_alloc): Likewise.
42386 (fts_lfree): Likewise.
42387 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
42388 (_IO_file_xsgetn): Likewise.
42389 (_IO_file_xsgetn_mmap): Likewise.
42390 * libio/iofopncook.c (_IO_cookie_read): Likewise.
42391 (_IO_cookie_write): Likewise.
42392 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
42393 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
42394 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
42395 * malloc/obstack.c (_obstack_begin): Likewise.
42396 (_obstack_begin_1): Likewise.
42397 (_obstack_newchunk): Likewise.
42398 (_obstack_allocated_p): Likewise.
42399 (obstack_free): Likewise.
42400 (_obstack_memory_used): Likewise.
42401 * misc/getttyent.c (getttynam): Likewise.
42402 (getttyent): Likewise.
42403 (skip): Likewise.
42404 (value): Likewise.
42405 * misc/getusershell.c (initshells): Likewise.
42406 * misc/syslog.c (__vsyslog_chk): Likewise.
42407 * misc/ttyslot.c (ttyslot): Likewise.
42408 * nis/nis_hash.c (__nis_hash): Likewise.
42409 * posix/fnmatch_loop.c (FCT): Likewise.
42410 * posix/getconf.c (print_all): Likewise.
42411 (main): Likewise.
42412 * posix/getopt.c (exchange): Likewise.
42413 * posix/glob.c (globfree): Likewise.
42414 (prefix_array): Likewise.
42415 (__glob_pattern_type): Likewise.
42416 * resolv/arpa/nameser.h (NS_GET16): Likewise.
42417 (NS_GET32): Likewise.
42418 (NS_PUT16): Likewise.
42419 (NS_PUT32): Likewise.
42420 * resolv/gethnamaddr.c (getanswer): Likewise.
42421 (gethostbyname2): Likewise.
42422 (gethostbyaddr): Likewise.
42423 (_gethtent): Likewise.
42424 (_gethtbyname2): Likewise.
42425 (_gethtbyaddr): Likewise.
42426 * resolv/ns_print.c (dst_s_get_int16): Likewise.
42427 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
42428 * resolv/res_init.c (__res_vinit): Likewise.
42429 (net_mask): Likewise.
42430 * resolv/res_mkquery.c (outchar): Likewise.
42431 (PRINT): Likewise.
42432 * stdio-common/printf_fp.c (outchar): Likewise.
42433 (PRINT): Likewise.
42434 * stdio-common/printf_fphex.c (outchar): Likewise.
42435 (PRINT): Likewise.
42436 * stdio-common/printf_size.c (outchar): Likewise.
42437 (PRINT): Likewise.
42438 * stdio-common/test_rdwr.c (main): Likewise.
42439 * stdio-common/tfformat.c (matches): Likewise.
42440 * stdio-common/vfprintf.c (outchar): Likewise.
42441 (printf_unknown): Likewise.
42442 (buffered_vfprintf): Likewise.
42443 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42444 * stdio-common/xbug.c (AppendToBuffer): Likewise.
42445 (ReadFile): Likewise.
42446 * stdlib/qsort.c (SWAP): Likewise.
42447 (_quicksort): Likewise.
42448 * stdlib/setenv.c (__add_to_environ): Likewise.
42449 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42450 * stdlib/strtol_l.c (__strtol_l): Likewise.
42451 * stdlib/tst-strtod.c (main): Likewise.
42452 * stdlib/tst-strtol.c (main): Likewise.
42453 * stdlib/tst-strtoll.c (main): Likewise.
42454 * string/bits/string2.h (__strcmp_cc): Likewise.
42455 (__strcmp_cg): Likewise.
42456 (__strcspn_c1): Likewise.
42457 (__strcspn_c2): Likewise.
42458 (__strcspn_c3): Likewise.
42459 (__strspn_c1): Likewise.
42460 (__strspn_c2): Likewise.
42461 (__strspn_c3): Likewise.
42462 (__strsep_1c): Likewise.
42463 (__strsep_2c): Likewise.
42464 (__strsep_3c): Likewise.
42465 * string/memccpy.c (__memccpy): Likewise.
42466 * string/stpcpy.c (__stpcpy): Likewise.
42467 * string/strcmp.c (strcmp): Likewise.
42468 * string/strrchr.c (strrchr): Likewise.
42469 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
42470 Likewise.
42471 * sysdeps/mach/hurd/getcwd.c
42472 (_hurd_canonicalize_directory_name_internal): Likewise.
42473 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
42474 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
42475 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
42476 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
42477 Likewise, in both definitions.
42478 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
42479 definitions.
42480 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
42481 64] (__bswap_64): Likewise.
42482 * time/test_time.c (main): Likewise.
42483 * time/tzfile.c (__tzfile_read): Likewise.
42484 (__tzfile_compute): Likewise.
42485 * time/tzset.c (__tzset_parse_tz): Likewise.
42486 (tzset_internal): Likewise.
42487 (compute_change): Likewise.
42488 * wcsmbs/wcscat.c (__wcscat): Likewise.
42489 * wcsmbs/wcschr.c (wcschr): Likewise.
42490 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
42491 * wcsmbs/wcscspn.c (wcscspn): Likewise.
42492 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
42493 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
42494 * wcsmbs/wcsspn.c (wcsspn): Likewise.
42495 * wcsmbs/wcsstr.c (wcsstr): Likewise.
42496 * wcsmbs/wmemchr.c (wmemchr): Likewise.
42497 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42498 * wcsmbs/wmemset.c (wmemset): Likewise.
42499
42500 2013-06-06 Joseph Myers <joseph@codesourcery.com>
42501
42502 * scripts/config.guess: Update to version 2013-05-16.
42503 * scripts/config.sub: Update to version 2013-04-24.
42504 * scripts/install-sh: Update to version 2011-11-20.07.
42505 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
42506 * scripts/move-if-change: Update to version 2012-01-06 07:23.
42507
42508 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
42509
42510 * debug/fgetws_u_chk.c: Fix leading whitespaces.
42511 * elf/sln.c: Likewise.
42512 * hurd/hurd/ioctl.h: Likewise.
42513 * hurd/hurdmalloc.c: Likewise.
42514 * hurd/xattr.c: Likewise.
42515 * include/shlib-compat.h: Likewise.
42516 * inet/ruserpass.c: Likewise.
42517 * libio/iofgets_u.c: Likewise.
42518 * libio/iofgetws_u.c: Likewise.
42519 * locale/programs/ld-identification.c: Likewise.
42520 * locale/programs/ld-time.c: Likewise.
42521 * mach/msg-destroy.c: Likewise.
42522 * nss/nss_files/files-netgrp.c: Likewise.
42523 * resolv/res_data.c: Likewise.
42524 * soft-fp/op-1.h: Likewise.
42525 * soft-fp/op-2.h: Likewise.
42526 * soft-fp/op-4.h: Likewise.
42527 * soft-fp/op-common.h: Likewise.
42528 * stdio-common/printf_fphex.c: Likewise.
42529 * stdlib/strtod_l.c: Likewise.
42530 * sunrpc/rpc/clnt.h: Likewise.
42531 * sysdeps/generic/framestate.c: Likewise.
42532 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42533 * sysdeps/i386/bsd-setjmp.S: Likewise.
42534 * sysdeps/i386/__longjmp.S: Likewise.
42535 * sysdeps/i386/setjmp.S: Likewise.
42536 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42537 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42538 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42539 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42540 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42541 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42542 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42543 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42544 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42545 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42546 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42547 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42548 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42549 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42550 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42551 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42552 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42553 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
42554 * sysdeps/ieee754/support.c: Likewise.
42555 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42556 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
42557 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
42558 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
42559 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
42560 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
42561 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
42562 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
42563 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
42564 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
42565 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
42566 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
42567 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
42568 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
42569 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
42570 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
42571 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42573
42574 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
42575
42576 * posix/transbug.c: Remove executable mode.
42577
42578 2013-06-05 Joseph Myers <joseph@codesourcery.com>
42579
42580 * crypt/speeds.c: Remove trailing whitespace.
42581 * dlfcn/default.c: Likewise.
42582 * elf/ifuncdep2.c: Likewise.
42583 * elf/ifuncmain1.c: Likewise.
42584 * elf/ifuncmain1vis.c: Likewise.
42585 * elf/testobj.h: Likewise.
42586 * elf/tst-stackguard1.c: Likewise.
42587 * gmon/sys/gmon.h: Likewise.
42588 * hurd/hurdmsg.c: Likewise.
42589 * hurd/new-fd.c: Likewise.
42590 * hurd/ports-get.c: Likewise.
42591 * iconvdata/ibm1008_420.c: Likewise.
42592 * inet/tst-getni1.c: Likewise.
42593 * inet/tst-getni2.c: Likewise.
42594 * libio/ioungetc.c: Likewise.
42595 * libio/wfiledoalloc.c: Likewise.
42596 * manual/libm-err-tab.pl: Likewise.
42597 * math/w_dremf.c: Likewise.
42598 * misc/ftruncate.c: Likewise.
42599 * posix/bug-glob2.c: Likewise.
42600 * posix/tst-pcre.c: Likewise.
42601 * posix/wait4.c: Likewise.
42602 * resolv/README: Likewise.
42603 * resolv/res_debug.h: Likewise.
42604 * resolv/tst-inet_ntop.c: Likewise.
42605 * setjmp/bug269-setjmp.c: Likewise.
42606 * soft-fp/extended.h: Likewise.
42607 * soft-fp/op-1.h: Likewise.
42608 * soft-fp/op-2.h: Likewise.
42609 * soft-fp/op-4.h: Likewise.
42610 * soft-fp/op-8.h: Likewise.
42611 * soft-fp/testit.c: Likewise.
42612 * stdio-common/bug16.c: Likewise.
42613 * stdlib/random.c: Likewise.
42614 * sunrpc/rpcsvc/rquota.x: Likewise.
42615 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
42616 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42617 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42618 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42619 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42620 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42621 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42622 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42623 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42624 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42625 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42626 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42627 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42628 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42629 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42630 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42631 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42632 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42633 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42634 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42635 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42636 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42637 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
42638 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42639 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42640 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42641 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42642 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42643 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42644 * sysdeps/ieee754/s_lib_version.c: Likewise.
42645 * sysdeps/mach/hurd/check_fds.c: Likewise.
42646 * sysdeps/mach/hurd/getsockname.c: Likewise.
42647 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
42648 * sysdeps/mach/hurd/recvfrom.c: Likewise.
42649 * sysdeps/powerpc/bits/link.h: Likewise.
42650 * sysdeps/powerpc/dl-procinfo.c: Likewise.
42651 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
42652 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
42653 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
42654 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42655 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42656 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
42657 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42658 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
42659 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42660 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42661 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42662 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
42663 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42664 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42665 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42666 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42667 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42668 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42669 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42670 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42671 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
42672 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42673 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42674 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
42675 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42676 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42677 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42678 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42679 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42680 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42681 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42682 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42683 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42684 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
42685 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42686 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
42687 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42688 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42689 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
42690 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
42691 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
42692 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
42693 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
42694 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42695 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
42696 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
42697 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42698 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
42699 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
42700 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42701 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42702 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42703 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42704 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
42705 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42706 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42707 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42708 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
42709 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42710 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
42711 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
42712 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
42713 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42714 * sysdeps/powerpc/sysdep.h: Likewise.
42715 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42716 * sysdeps/s390/s390-64/sub_n.S: Likewise.
42717 * sysdeps/sh/dl-trampoline.S: Likewise.
42718 * sysdeps/sh/memset.S: Likewise.
42719 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
42720 * sysdeps/sh/strlen.S: Likewise.
42721 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
42722 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
42723 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
42724 * sysdeps/sparc/sparc32/rem.S: Likewise.
42725 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
42726 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
42727 * sysdeps/sparc/sparc32/strchr.S: Likewise.
42728 * sysdeps/sparc/sparc32/udiv.S: Likewise.
42729 * sysdeps/sparc/sparc32/urem.S: Likewise.
42730 * sysdeps/sparc/sparc64/add_n.S: Likewise.
42731 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42732 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
42733 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
42734 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
42735 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
42736 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
42737 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
42738 * sysdeps/unix/bsd/times.c: Likewise.
42739 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
42740 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
42741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42744 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
42745 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42746 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
42747 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
42748 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
42749 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
42750 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42751 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
42752 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42753 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42754 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
42755 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42756 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
42757 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
42758 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
42759 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
42760 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
42761 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42762 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
42763 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
42764 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42765 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
42766 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42767 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
42768 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
42769 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
42770 * sysdeps/x86_64/strcspn.S: Likewise.
42771
42772 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42773
42774 * locale/C-translit.h: Revert #include <stdint.h> because this is a
42775 generated file. Regenerate properly from gen-translit.pl.
42776 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
42777 locale/C-translit.h.
42778
42779 2013-06-05 Andreas Schwab <schwab@suse.de>
42780
42781 [BZ #15100]
42782 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
42783 week as 6 instead of -1.
42784 * time/tst-strptime.c (day_tests): Add test case.
42785
42786 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42787
42788 * sysdeps/generic/math_private.h
42789 (libc_feholdexcept_setround_53bit): Replace with
42790 libc_feholdsetround_53bit.
42791 (libc_feupdateenv_53bit): Replace with
42792 libc_feresetround_53bit.
42793 (SET_RESTORE_ROUND_53BIT): Adjust.
42794
42795 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
42796
42797 * string/test-strchrnul.c: Add copyright header.
42798
42799 * posix/tst-getaddrinfo4.c: Increase test timeout.
42800
42801 2013-06-03 Carlos O'Donell <carlos@redhat.com>
42802
42803 [BZ #15536]
42804 * math/libm-test.inc (MAX_EXP): Remove
42805 (MIN_EXP): Define.
42806 (ulp): Use MIN_EXP - MANT_DIG.
42807 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
42808
42809 2013-05-31 Carlos O'Donell <carlos@redhat.com>
42810
42811 * po/be.po: Revert last change.
42812 * po/zh_CN.po: Likewise.
42813 * po/header.pot: Likewise.
42814
42815 2013-05-31 Joseph Myers <joseph@codesourcery.com>
42816
42817 * Makefile ($(common-objpfx)linkobj/libc.so): Define
42818 link-libc-deps to empty as target-specific variable.
42819 * Makerules (link-libc-args): New variable.
42820 (libc-for-link): Likewise.
42821 (link-libc-deps): Likewise.
42822 (lib%.so): Depend on $(link-libc-deps). Link with
42823 $(link-libc-args).
42824 (build-module): Link with $(link-libc-args).
42825 (build-module-asneeded): Likewise.
42826 (build-module-helper-objlist): Filter out $(link-libc-deps) from
42827 list of objects.
42828 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
42829 target-specific variable.
42830 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
42831 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
42832 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
42833 libc.
42834 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
42835 libc and ld.so.
42836 ($(objpfx)libpcprofile.so): Likewise.
42837 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
42838 libc_nonshared.a.
42839 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
42840 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
42841 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
42842 $(link-libc-deps).
42843 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
42844 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
42845 * login/Makefile ($(objpfx)libutil.so): Likewise.
42846 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
42847 * math/Makefile ($(objpfx)libm.so): Likewise.
42848 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
42849 $(objpfx)libnsl.so): Define libc-for-link as target-specific
42850 variable instead of depending directly on libc.
42851 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
42852 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
42853 $(link-libc-deps).
42854 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
42855 libc.
42856 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
42857 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
42858 ($(objpfx)libanl.so): Likewise.
42859 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
42860 ld.so.
42861 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
42862 $(link-libc-deps).
42863 * sysdeps/i386/fpu/Makefile: Remove file.
42864 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
42865 ($(objpfx)libm.so): Remove dependency on ld.so.
42866
42867 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
42868
42869 [BZ # 15553]
42870 * nis/yp_xdr.c (XDRMAXNAME): Define.
42871 (XDRMAXRECORD): Define.
42872 (xdr_domainname): Use XDRMAXNAME.
42873 (xdr_mapname): Likewise.
42874 (xdr_peername): Likewise.
42875 (xdr_keydat): Use XDRMAXRECORD.
42876 (xdr_valdat): Likewise.
42877
42878 2013-05-30 Jeff Law <law@redhat.com>
42879
42880 [BZ #14256]
42881 * manual/errno.texi (ESTALE): Update to account for more than
42882 just NFS file systems.
42883 * sysdeps/gnu/errlist.c: Regenerated.
42884
42885 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42886
42887 [BZ #15465]
42888 * elf/Makefile (tests): Add tst-null-argv.
42889 (modules-names): Add tst-null-argv-lib.
42890 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
42891 (tst-null-argv-ENV): Set environment for tst-null-argv.
42892 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
42893 (RTLD_PROGNAME): New macro.
42894 * elf/tst-null-argv.c: New test case.
42895 * elf/tst-null-argv-lib.c: Library for test case.
42896 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
42897 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
42898 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
42899 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
42900 * elf/dl-init.c (call_init): Likewise.
42901 (_dl_init): Likewise.
42902 * elf/dl-load.c (print_search_path): Likewise.
42903 (_dl_map_object): Likewise.
42904 * elf/dl-lookup.c (do_lookup_x): Likewise.
42905 (add_dependency): Likewise.
42906 (_dl_lookup_symbol_x): Likewise.
42907 (_dl_debug_bindings): Likewise.
42908 * elf/dl-open.c (_dl_show_scope): Likewise.
42909 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42910 * elf/dl-version.c (match_symbol): Likewise.
42911 (_dl_check_map_versions): Likewise.
42912 * elf/rtld.c (dl_main): Likewise.
42913 (print_unresolved): Use RTLD_PROGNAME.
42914 (print_missing_version): Likewise.
42915 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
42916 (elf_machine_rela): Likewise.
42917 * sysdeps/powerpc/powerpc32/dl-machine.c
42918 (__process_machine_rela): Likewise.
42919 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42920 Likewise.
42921 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42922 Likewise.
42923 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42924 Likewise.
42925 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42926 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
42927 Likewise.
42928 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
42929 Likewise.
42930 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42931
42932 2013-05-28 Carlos O'Donell <carlos@redhat.com>
42933
42934 * po/be.po: Add descriptive title.
42935 * po/zh_CN.po: Likewise.
42936 * po/header.pot: Likewise.
42937
42938 2013-05-28 Mike Frysinger <vapier@gentoo.org>
42939
42940 * locale/programs/locarchive.c (create_archive): Inlucde fname in
42941 error message.
42942 (enlarge_archive): Likewise.
42943
42944 2013-05-28 Ben North <ben@redfrontdoor.org>
42945
42946 * manual/arith.texi (frexp): It is the magnitude of the return
42947 value which lies in [0.5, 1), not the return value itself.
42948
42949 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42950
42951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42952
42953 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
42954
42955 * stdio-common/bug26.c (main): Correct fscanf template.
42956
42957 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
42958 declare _dl_skip_args.
42959
42960 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
42961 Don't declare.
42962
42963 * manual/platform.texi: Add missing @end deftypefun.
42964
42965 2013-05-24 Joseph Myers <joseph@codesourcery.com>
42966
42967 [BZ #15529]
42968 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
42969 bit of mantissa of 2^16382.
42970 * math/libm-test.inc (hypot_test_data): Add more tests.
42971
42972 * math/libm-test.inc: Add drem and pow10 to list of tested
42973 functions.
42974 (pow10_test): New function.
42975 (drem_test): Likewise.
42976 (drem_test_tonearest): Likewise.
42977 (drem_test_towardzero): Likewise.
42978 (drem_test_downward): Likewise.
42979 (drem_test_upward): Likewise.
42980 (main): Call the new functions.
42981
42982 * math/libm-test.inc (finite_test_data): Remove.
42983 (finite_test): Run tests from isfinite_test_data.
42984 (gamma_test_data): Remove.
42985 (gamma_test): Run tests from lgamma_test_data.
42986 * sysdeps/i386/fpu/libm-test-ulps: Update.
42987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42988
42989 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42990
42991 * manual/platform.texi: Add PowerPC PPR function set documentation.
42992 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
42993 implementation.
42994
42995 2013-05-24 Carlos O'Donell <carlos@redhat.com>
42996
42997 * math/libm-test.inc (MAX_EXP): Define.
42998 (ULPDIFF): Define.
42999 (ulp): New function.
43000 (check_float_internal): Use ULPDIFF.
43001 (cpow_test): Disable failing test.
43002 (check_ulp): Test ulp() implemetnation.
43003 (main): Call check_ulp before starting tests.
43004
43005 2013-05-24 Joseph Myers <joseph@codesourcery.com>
43006
43007 * math/gen-libm-test.pl (generate_testfile): Do not handle
43008 START_DATA and END_DATA.
43009 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
43010 END_DATA.
43011 (acos_tonearest_test_data): Likewise.
43012 (acos_towardzero_test_data): Likewise.
43013 (acos_downward_test_data): Likewise.
43014 (acos_upward_test_data): Likewise.
43015 (acosh_test_data): Likewise.
43016 (asin_test_data): Likewise.
43017 (asin_tonearest_test_data): Likewise.
43018 (asin_towardzero_test_data): Likewise.
43019 (asin_downward_test_data): Likewise.
43020 (asin_upward_test_data): Likewise.
43021 (asinh_test_data): Likewise.
43022 (atan_test_data): Likewise.
43023 (atanh_test_data): Likewise.
43024 (atan2_test_data): Likewise.
43025 (cabs_test_data): Likewise.
43026 (cacos_test_data): Likewise.
43027 (cacosh_test_data): Likewise.
43028 (carg_test_data): Likewise.
43029 (casin_test_data): Likewise.
43030 (casinh_test_data): Likewise.
43031 (catan_test_data): Likewise.
43032 (catanh_test_data): Likewise.
43033 (cbrt_test_data): Likewise.
43034 (ccos_test_data): Likewise.
43035 (ccosh_test_data): Likewise.
43036 (ceil_test_data): Likewise.
43037 (cexp_test_data): Likewise.
43038 (cimag_test_data): Likewise.
43039 (clog_test_data): Likewise.
43040 (clog10_test_data): Likewise.
43041 (conj_test_data): Likewise.
43042 (copysign_test_data): Likewise.
43043 (cos_test_data): Likewise.
43044 (cos_tonearest_test_data): Likewise.
43045 (cos_towardzero_test_data): Likewise.
43046 (cos_downward_test_data): Likewise.
43047 (cos_upward_test_data): Likewise.
43048 (cosh_test_data): Likewise.
43049 (cosh_tonearest_test_data): Likewise.
43050 (cosh_towardzero_test_data): Likewise.
43051 (cosh_downward_test_data): Likewise.
43052 (cosh_upward_test_data): Likewise.
43053 (cpow_test_data): Likewise.
43054 (cproj_test_data): Likewise.
43055 (creal_test_data): Likewise.
43056 (csin_test_data): Likewise.
43057 (csinh_test_data): Likewise.
43058 (csqrt_test_data): Likewise.
43059 (ctan_test_data): Likewise.
43060 (ctan_tonearest_test_data): Likewise.
43061 (ctan_towardzero_test_data): Likewise.
43062 (ctan_downward_test_data): Likewise.
43063 (ctan_upward_test_data): Likewise.
43064 (ctanh_test_data): Likewise.
43065 (ctanh_tonearest_test_data): Likewise.
43066 (ctanh_towardzero_test_data): Likewise.
43067 (ctanh_downward_test_data): Likewise.
43068 (ctanh_upward_test_data): Likewise.
43069 (erf_test_data): Likewise.
43070 (erfc_test_data): Likewise.
43071 (exp_test_data): Likewise.
43072 (exp_tonearest_test_data): Likewise.
43073 (exp_towardzero_test_data): Likewise.
43074 (exp_downward_test_data): Likewise.
43075 (exp_upward_test_data): Likewise.
43076 (exp10_test_data): Likewise.
43077 (exp2_test_data): Likewise.
43078 (expm1_test_data): Likewise.
43079 (fabs_test_data): Likewise.
43080 (fdim_test_data): Likewise.
43081 (finite_test_data): Likewise.
43082 (floor_test_data): Likewise.
43083 (fma_test_data): Likewise.
43084 (fma_towardzero_test_data): Likewise.
43085 (fma_downward_test_data): Likewise.
43086 (fma_upward_test_data): Likewise.
43087 (fmax_test_data): Likewise.
43088 (fmin_test_data): Likewise.
43089 (fmod_test_data): Likewise.
43090 (fpclassify_test_data): Likewise.
43091 (frexp_test_data): Likewise.
43092 (gamma_test_data): Likewise.
43093 (hypot_test_data): Likewise.
43094 (ilogb_test_data): Likewise.
43095 (isfinite_test_data): Likewise.
43096 (isgreater_test_data): Likewise.
43097 (isgreaterequal_test_data): Likewise.
43098 (isinf_test_data): Likewise.
43099 (isless_test_data): Likewise.
43100 (islessequal_test_data): Likewise.
43101 (islessgreater_test_data): Likewise.
43102 (isnan_test_data): Likewise.
43103 (isnormal_test_data): Likewise.
43104 (issignaling_test_data): Likewise.
43105 (isunordered_test_data): Likewise.
43106 (j0_test_data): Likewise.
43107 (j1_test_data): Likewise.
43108 (jn_test_data): Likewise.
43109 (ldexp_test_data): Likewise.
43110 (lgamma_test_data): Likewise.
43111 (lrint_test_data): Likewise.
43112 (lrint_tonearest_test_data): Likewise.
43113 (lrint_towardzero_test_data): Likewise.
43114 (lrint_downward_test_data): Likewise.
43115 (lrint_upward_test_data): Likewise.
43116 (llrint_test_data): Likewise.
43117 (llrint_tonearest_test_data): Likewise.
43118 (llrint_towardzero_test_data): Likewise.
43119 (llrint_downward_test_data): Likewise.
43120 (llrint_upward_test_data): Likewise.
43121 (log_test_data): Likewise.
43122 (log10_test_data): Likewise.
43123 (log1p_test_data): Likewise.
43124 (log2_test_data): Likewise.
43125 (logb_test_data): Likewise.
43126 (logb_downward_test_data): Likewise.
43127 (lround_test_data): Likewise.
43128 (llround_test_data): Likewise.
43129 (modf_test_data): Likewise.
43130 (nearbyint_test_data): Likewise.
43131 (nextafter_test_data): Likewise.
43132 (nexttoward_test_data): Likewise.
43133 (pow_test_data): Likewise.
43134 (pow_tonearest_test_data): Likewise.
43135 (pow_towardzero_test_data): Likewise.
43136 (pow_downward_test_data): Likewise.
43137 (pow_upward_test_data): Likewise.
43138 (remainder_test_data): Likewise.
43139 (remainder_tonearest_test_data): Likewise.
43140 (remainder_towardzero_test_data): Likewise.
43141 (remainder_downward_test_data): Likewise.
43142 (remainder_upward_test_data): Likewise.
43143 (remquo_test_data): Likewise.
43144 (rint_test_data): Likewise.
43145 (rint_tonearest_test_data): Likewise.
43146 (rint_towardzero_test_data): Likewise.
43147 (rint_downward_test_data): Likewise.
43148 (rint_upward_test_data): Likewise.
43149 (round_test_data): Likewise.
43150 (scalb_test_data): Likewise.
43151 (scalbn_test_data): Likewise.
43152 (scalbln_test_data): Likewise.
43153 (signbit_test_data): Likewise.
43154 (sin_test_data): Likewise.
43155 (sin_tonearest_test_data): Likewise.
43156 (sin_towardzero_test_data): Likewise.
43157 (sin_downward_test_data): Likewise.
43158 (sin_upward_test_data): Likewise.
43159 (sincos_test_data): Likewise.
43160 (sinh_test_data): Likewise.
43161 (sinh_tonearest_test_data): Likewise.
43162 (sinh_towardzero_test_data): Likewise.
43163 (sinh_downward_test_data): Likewise.
43164 (sinh_upward_test_data): Likewise.
43165 (sqrt_test_data): Likewise.
43166 (tan_test_data): Likewise.
43167 (tan_tonearest_test_data): Likewise.
43168 (tan_towardzero_test_data): Likewise.
43169 (tan_downward_test_data): Likewise.
43170 (tan_upward_test_data): Likewise.
43171 (tanh_test_data): Likewise.
43172 (tgamma_test_data): Likewise.
43173 (trunc_test_data): Likewise.
43174 (y0_test_data): Likewise.
43175 (y1_test_data): Likewise.
43176 (yn_test_data): Likewise.
43177 (significand_test_data): Likewise.
43178
43179 * math/gen-libm-test.pl (@functions): Remove variable.
43180 (generate_testfile): Don't handle START and END lines.
43181 * math/libm-test.inc (START): New macro.
43182 (END): Likewise.
43183 (END_COMPLEX): Likewise.
43184 (acos_test): Use END macro without arguments.
43185 (acos_test_tonearest): Likewise.
43186 (acos_test_towardzero): Likewise.
43187 (acos_test_downward): Likewise.
43188 (acos_test_upward): Likewise.
43189 (acosh_test): Likewise.
43190 (asin_test): Likewise.
43191 (asin_test_tonearest): Likewise.
43192 (asin_test_towardzero): Likewise.
43193 (asin_test_downward): Likewise.
43194 (asin_test_upward): Likewise.
43195 (asinh_test): Likewise.
43196 (atan_test): Likewise.
43197 (atanh_test): Likewise.
43198 (atan2_test): Likewise.
43199 (cabs_test): Likewise.
43200 (cacos_test): Use END_COMPLEX macro without arguments.
43201 (cacosh_test): Likewise.
43202 (carg_test): Use END macro without arguments.
43203 (casin_test): Use END_COMPLEX macro without arguments.
43204 (casinh_test): Likewise.
43205 (catan_test): Likewise.
43206 (catanh_test): Likewise.
43207 (cbrt_test): Use END macro without arguments.
43208 (ccos_test): Use END_COMPLEX macro without arguments.
43209 (ccosh_test): Likewise.
43210 (ceil_test): Use END macro without arguments.
43211 (cexp_test): Use END_COMPLEX macro without arguments.
43212 (cimag_test): Use END macro without arguments.
43213 (clog_test): Use END_COMPLEX macro without arguments.
43214 (clog10_test): Likewise.
43215 (conj_test): Likewise.
43216 (copysign_test): Use END macro without arguments.
43217 (cos_test): Likewise.
43218 (cos_test_tonearest): Likewise.
43219 (cos_test_towardzero): Likewise.
43220 (cos_test_downward): Likewise.
43221 (cos_test_upward): Likewise.
43222 (cosh_test): Likewise.
43223 (cosh_test_tonearest): Likewise.
43224 (cosh_test_towardzero): Likewise.
43225 (cosh_test_downward): Likewise.
43226 (cosh_test_upward): Likewise.
43227 (cpow_test): Use END_COMPLEX macro without arguments.
43228 (cproj_test): Likewise.
43229 (creal_test): Use END macro without arguments.
43230 (csin_test): Use END_COMPLEX macro without arguments.
43231 (csinh_test): Likewise.
43232 (csqrt_test): Likewise.
43233 (ctan_test): Likewise.
43234 (ctan_test_tonearest): Likewise.
43235 (ctan_test_towardzero): Likewise.
43236 (ctan_test_downward): Likewise.
43237 (ctan_test_upward): Likewise.
43238 (ctanh_test): Likewise.
43239 (ctanh_test_tonearest): Likewise.
43240 (ctanh_test_towardzero): Likewise.
43241 (ctanh_test_downward): Likewise.
43242 (ctanh_test_upward): Likewise.
43243 (erf_test): Use END macro without arguments.
43244 (erfc_test): Likewise.
43245 (exp_test): Likewise.
43246 (exp_test_tonearest): Likewise.
43247 (exp_test_towardzero): Likewise.
43248 (exp_test_downward): Likewise.
43249 (exp_test_upward): Likewise.
43250 (exp10_test): Likewise.
43251 (exp2_test): Likewise.
43252 (expm1_test): Likewise.
43253 (fabs_test): Likewise.
43254 (fdim_test): Likewise.
43255 (finite_test): Likewise.
43256 (floor_test): Likewise.
43257 (fma_test): Likewise.
43258 (fma_test_towardzero): Likewise.
43259 (fma_test_downward): Likewise.
43260 (fma_test_upward): Likewise.
43261 (fmax_test): Likewise.
43262 (fmin_test): Likewise.
43263 (fmod_test): Likewise.
43264 (fpclassify_test): Likewise.
43265 (frexp_test): Likewise.
43266 (gamma_test): Likewise.
43267 (hypot_test): Likewise.
43268 (ilogb_test): Likewise.
43269 (isfinite_test): Likewise.
43270 (isgreater_test): Likewise.
43271 (isgreaterequal_test): Likewise.
43272 (isinf_test): Likewise.
43273 (isless_test): Likewise.
43274 (islessequal_test): Likewise.
43275 (islessgreater_test): Likewise.
43276 (isnan_test): Likewise.
43277 (isnormal_test): Likewise.
43278 (issignaling_test): Likewise.
43279 (isunordered_test): Likewise.
43280 (j0_test): Likewise.
43281 (j1_test): Likewise.
43282 (jn_test): Likewise.
43283 (ldexp_test): Likewise.
43284 (lgamma_test): Likewise.
43285 (lrint_test): Likewise.
43286 (lrint_test_tonearest): Likewise.
43287 (lrint_test_towardzero): Likewise.
43288 (lrint_test_downward): Likewise.
43289 (lrint_test_upward): Likewise.
43290 (llrint_test): Likewise.
43291 (llrint_test_tonearest): Likewise.
43292 (llrint_test_towardzero): Likewise.
43293 (llrint_test_downward): Likewise.
43294 (llrint_test_upward): Likewise.
43295 (log_test): Likewise.
43296 (log10_test): Likewise.
43297 (log1p_test): Likewise.
43298 (log2_test): Likewise.
43299 (logb_test): Likewise.
43300 (logb_test_downward): Likewise.
43301 (lround_test): Likewise.
43302 (llround_test): Likewise.
43303 (modf_test): Likewise.
43304 (nearbyint_test): Likewise.
43305 (nextafter_test): Likewise.
43306 (nexttoward_test): Likewise.
43307 (pow_test): Likewise.
43308 (pow_test_tonearest): Likewise.
43309 (pow_test_towardzero): Likewise.
43310 (pow_test_downward): Likewise.
43311 (pow_test_upward): Likewise.
43312 (remainder_test): Likewise.
43313 (remainder_test_tonearest): Likewise.
43314 (remainder_test_towardzero): Likewise.
43315 (remainder_test_downward): Likewise.
43316 (remainder_test_upward): Likewise.
43317 (remquo_test): Likewise.
43318 (rint_test): Likewise.
43319 (rint_test_tonearest): Likewise.
43320 (rint_test_towardzero): Likewise.
43321 (rint_test_downward): Likewise.
43322 (rint_test_upward): Likewise.
43323 (round_test): Likewise.
43324 (scalb_test): Likewise.
43325 (scalbn_test): Likewise.
43326 (scalbln_test): Likewise.
43327 (signbit_test): Likewise.
43328 (sin_test): Likewise.
43329 (sin_test_tonearest): Likewise.
43330 (sin_test_towardzero): Likewise.
43331 (sin_test_downward): Likewise.
43332 (sin_test_upward): Likewise.
43333 (sincos_test): Likewise.
43334 (sinh_test): Likewise.
43335 (sinh_test_tonearest): Likewise.
43336 (sinh_test_towardzero): Likewise.
43337 (sinh_test_downward): Likewise.
43338 (sinh_test_upward): Likewise.
43339 (sqrt_test): Likewise.
43340 (tan_test): Likewise.
43341 (tan_test_tonearest): Likewise.
43342 (tan_test_towardzero): Likewise.
43343 (tan_test_downward): Likewise.
43344 (tan_test_upward): Likewise.
43345 (tanh_test): Likewise.
43346 (tgamma_test): Likewise.
43347 (trunc_test): Likewise.
43348 (y0_test): Likewise.
43349 (y1_test): Likewise.
43350 (yn_test): Likewise.
43351 (significand_test): Likewise.
43352
43353 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
43354
43355 [BZ #15381]
43356 * libio/genops.c (_IO_no_init): Initialize wide struct info.
43357
43358 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
43359
43360 [BZ #14894]
43361 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
43362 __ppc_mdoio and __ppc_mdoom.
43363 * manual/platform.texi: Document new functions __ppc_yield,
43364 __ppc_mdoio and __ppc_mdoom.
43365
43366 2013-05-22 Carlos O'Donell <carlos@redhat.com>
43367
43368 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
43369 (main): Mention "tls" pseudo-hwcap is legacy.
43370 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
43371
43372 2013-05-22 Joseph Myers <joseph@codesourcery.com>
43373
43374 * math/gen-libm-test.pl (parse_args): Output only string of
43375 arguments as text for test name, not full call or descriptions of
43376 tests for extra outputs.
43377 (generate_testfile): Do not pass function name to parse_args.
43378 Generate this_func variable from START.
43379 * math/libm-test.inc (struct test_f_f_data): Rename test_name
43380 field to arg_str.
43381 (struct test_ff_f_data): Likewise.
43382 (test_ff_f_data_nexttoward): Likewise.
43383 (struct test_fi_f_data): Likewise.
43384 (struct test_fl_f_data): Likewise.
43385 (struct test_if_f_data): Likewise.
43386 (struct test_fff_f_data): Likewise.
43387 (struct test_c_f_data): Likewise.
43388 (struct test_f_f1_data): Likewise. Remove field extra_name.
43389 (struct test_fF_f1_data): Likewise.
43390 (struct test_ffI_f1_data): Likewise.
43391 (struct test_c_c_data): Rename test_name field to arg_str.
43392 (struct test_cc_c_data): Likewise.
43393 (struct test_f_i_data): Likewise.
43394 (struct test_ff_i_data): Likewise.
43395 (struct test_f_l_data): Likewise.
43396 (struct test_f_L_data): Likewise.
43397 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
43398 and extra2_name.
43399 (COMMON_TEST_SETUP): New macro.
43400 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
43401 (COMMON_TEST_CLEANUP): Likewise.
43402 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
43403 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
43404 macros.
43405 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
43406 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
43407 macros.
43408 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
43409 (RUN_TEST_fff_f): Take argument string. Call new setup and
43410 cleanup macros.
43411 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
43412 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
43413 macros.
43414 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
43415 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
43416 macros.
43417 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43418 (RUN_TEST_fF_f1): Take argument string. Call new setup and
43419 cleanup macros.
43420 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43421 (RUN_TEST_fI_f1): Take argument string. Call new setup and
43422 cleanup macros.
43423 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43424 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
43425 cleanup macros.
43426 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43427 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
43428 macros.
43429 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
43430 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
43431 macros.
43432 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
43433 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
43434 macros.
43435 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
43436 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
43437 cleanup macros.
43438 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
43439 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
43440 cleanup macros.
43441 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
43442 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
43443 macros.
43444 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
43445 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
43446 cleanup macros.
43447 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
43448 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
43449 macros.
43450 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
43451 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
43452 macros.
43453 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
43454 (RUN_TEST_fFF_11): Take argument string. Call new setup and
43455 cleanup macros.
43456 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
43457
43458 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
43459
43460 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
43461 to _sifields.sigfault.
43462 (si_addr_lsb): Define new macro.
43463 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43464 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43465 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
43466
43467 2013-05-03 Carlos O'Donell <carlos at redhat.com>
43468
43469 [BZ #15441]
43470 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
43471 returns -1.
43472 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
43473 null return -1.
43474 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
43475 loading the domain.
43476
43477 2013-05-22 Joseph Myers <joseph@codesourcery.com>
43478
43479 * math/gen-libm-test.pl (parse_args): Do not include expected
43480 result in test name.
43481 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
43482 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43483 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43484 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43485 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43487
43488 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43489
43490 * benchtests/Makefile: Sort function entries.
43491
43492 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
43493 tanh, asinh, acosh, atanh.
43494 * benchtests/acos-inputs: New file.
43495 * benchtests/acosh-inputs: New file.
43496 * benchtests/asin-inputs: New file.
43497 * benchtests/asinh-inputs: New file.
43498 * benchtests/atanh-inputs: New file.
43499 * benchtests/cosh-inputs: New file.
43500 * benchtests/log-inputs: New file.
43501 * benchtests/sinh-inputs: New file.
43502 * benchtests/tanh-inputs: New file.
43503
43504 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
43505
43506 [BZ #15339]
43507 * posix/tst-getaddrinfo4.c: New test.
43508 * posix/Makefile (tests): Add it.
43509
43510 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
43511
43512 [BZ #15339]
43513 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
43514 when no services were used.
43515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
43516 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
43517
43518 2013-05-21 Andreas Schwab <schwab@suse.de>
43519
43520 [BZ #15014]
43521 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
43522 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
43523 successful.
43524 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
43525 redundant variable declarations and reallocation of buffer when
43526 parsing as IPv6 address. Always set NSS status when called from
43527 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
43528 buffer too small. Correct computation of needed size.
43529 * nss/Makefile (tests): Add test-digits-dots.
43530 * nss/test-digits-dots.c: New test.
43531
43532 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
43533
43534 * benchtests/Makefile: Remove instructions for adding
43535 benchmark tests.
43536 * benchtests/README: New file to explain how to execute and
43537 enhance the benchmark tests.
43538
43539 2013-05-21 Andreas Schwab <schwab@suse.de>
43540
43541 [BZ #15493]
43542 * setjmp/Makefile (tests): Add tst-sigsetjmp.
43543 * setjmp/tst-sigsetjmp.c: New test.
43544
43545 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
43546
43547 * sysdeps/x86_64/memset.S (memset): New implementation.
43548 (__bzero): Likewise.
43549 (__memset_tail): New function.
43550
43551 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
43552
43553 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
43554 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
43555 __memcpy_sse2_unaligned ifunc selection.
43556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43557 Add memcpy-sse2-unaligned.S.
43558 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43559 Add: __memcpy_sse2_unaligned.
43560
43561 2013-05-19 Joseph Myers <joseph@codesourcery.com>
43562
43563 [BZ #15490]
43564 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
43565 math_force_eval before restoring floating-point envrionment.
43566 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
43567 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
43568 Likewise.
43569 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
43570 <math_private.h>.
43571 (__nearbyintl): Use math_force_eval before restoring
43572 floating-point environment.
43573 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
43574
43575 * math/gen-libm-test.pl (special_functions): Remove.
43576 (parse_args): Don't handle TEST_extra. Handle functions with no
43577 return value.
43578 * math/libm-test.inc (struct test_sincos_data): Replace with
43579 struct test_fFF_11_data.
43580 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
43581 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
43582 (sincos_test_data): Change element type to struct
43583 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
43584 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
43585 RUN_TEST_LOOP_sincos.
43586 * math/README.libm-test: Don't mention special handling of
43587 individual functions.
43588 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
43589 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43590 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43591 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43592 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43594
43595 * math/gen-libm-test.pl (get_variable): Remove function.
43596 (parse_args): Don't show pointer parameters to call in test
43597 names. Use "extra output N" in test names for extra outputs
43598 rather than naming variables.
43599
43600 2013-05-18 Joseph Myers <joseph@codesourcery.com>
43601
43602 [BZ #15488]
43603 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
43604 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
43605 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
43606 double tests.
43607 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
43608 disable.
43609 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
43610 check_long_double.
43611
43612 * math/gen-libm-test.pl (@tests): Remove variable.
43613 ($count): Likewise.
43614 (new_test): Remove function.
43615 (show_exceptions): New function.
43616 (special_functions): Use show_exceptions instead of new_test.
43617 (parse_args): Likewise.
43618 (generate_testfile): Pass only function name in generated call to
43619 print_max_error or print_complex_max_error.
43620 (get_ulps): Do not handle complex tests specially.
43621 (output_test): Rename to ...
43622 (get_all_ulps_for_test): ... this. Return a string rather than
43623 printing to a file. Require ulps to be present.
43624 (output_ulps): Generate arrays rather than #defines.
43625 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
43626 (struct ulp_data): New type.
43627 (BUILD_COMPLEX_ULP): Remove macro.
43628 (compare_ulp_data): New function.
43629 (find_ulps): Likewise.
43630 (find_test_ulps): Likewise.
43631 (find_function_ulps): Likewise.
43632 (find_complex_function_ulps): Likewise.
43633 (print_max_error): Determine allowed ulps using
43634 find_function_ulps.
43635 (print_complex_max_error): Determine allowed ulps using
43636 find_complex_function_ulps.
43637 (check_float_internal): Determine max ulps using find_test_ulps.
43638 (check_float): Do not take max_ulp parameter. Update call to
43639 check_float_internal.
43640 (check_complex): Likewise.
43641 (check_int): Do not take max_ulp parameter.
43642 (check_long): Likewise.
43643 (check_bool): Likewise.
43644 (check_longlong): Likewise.
43645 (struct test_f_f_data): Remove max_ulp field.
43646 (struct test_ff_f_data): Likewise.
43647 (struct test_ff_f_data_nexttoward): Likewise.
43648 (struct test_fi_f_data): Likewise.
43649 (struct test_fl_f_data): Likewise.
43650 (struct test_if_f_data): Likewise.
43651 (struct test_fff_f_data): Likewise.
43652 (struct test_c_f_data): Likewise.
43653 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
43654 (struct test_fF_f1_data): Likewise.
43655 (struct test_ffI_f1_data): Likewise.
43656 (struct test_c_c_data): Remove max_ulp field.
43657 (struct test_cc_c_data): Likewise.
43658 (struct test_f_i_data): Likewise.
43659 (struct test_ff_i_data): Likewise.
43660 (struct test_f_l_data): Likewise.
43661 (struct test_f_L_data): Likewise.
43662 (struct test_sincos_data): Likewise.
43663 (RUN_TEST_f_f): Do not handle ulps.
43664 (RUN_TEST_LOOP_f_f): Likewise.
43665 (RUN_TEST_2_f): Likewise.
43666 (RUN_TEST_LOOP_2_f): Likewise.
43667 (RUN_TEST_fff_f): Likewise.
43668 (RUN_TEST_LOOP_fff_f): Likewise.
43669 (RUN_TEST_c_f): Likewise.
43670 (RUN_TEST_LOOP_c_f): Likewise.
43671 (RUN_TEST_f_f1): Likewise.
43672 (RUN_TEST_LOOP_f_f1): Likewise.
43673 (RUN_TEST_fF_f1): Likewise.
43674 (RUN_TEST_LOOP_fF_f1): Likewise.
43675 (RUN_TEST_fI_f1): Likewise.
43676 (RUN_TEST_LOOP_fI_f1): Likewise.
43677 (RUN_TEST_ffI_f1): Likewise.
43678 (RUN_TEST_LOOP_ffI_f1): Likewise.
43679 (RUN_TEST_c_c): Likewise.
43680 (RUN_TEST_LOOP_c_c): Likewise.
43681 (RUN_TEST_cc_c): Likewise.
43682 (RUN_TEST_LOOP_cc_c): Likewise.
43683 (RUN_TEST_f_i): Likewise.
43684 (RUN_TEST_LOOP_f_i): Likewise.
43685 (RUN_TEST_f_i_tg): Likewise.
43686 (RUN_TEST_LOOP_f_i_tg): Likewise.
43687 (RUN_TEST_ff_i_tg): Likewise.
43688 (RUN_TEST_LOOP_ff_i_tg): Likewise.
43689 (RUN_TEST_f_b): Likewise.
43690 (RUN_TEST_LOOP_f_b): Likewise.
43691 (RUN_TEST_f_b_tg): Likewise.
43692 (RUN_TEST_LOOP_f_b_tg): Likewise.
43693 (RUN_TEST_f_l): Likewise.
43694 (RUN_TEST_LOOP_f_l): Likewise.
43695 (RUN_TEST_f_L): Likewise.
43696 (RUN_TEST_LOOP_f_L): Likewise.
43697 (RUN_TEST_sincos): Likewise.
43698 (RUN_TEST_LOOP_sincos): Likewise.
43699
43700 2013-05-17 Joseph Myers <joseph@codesourcery.com>
43701
43702 [BZ #15480]
43703 [BZ #15485]
43704 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
43705 main case of finite arguments, set rounding mode to FE_TONEAREST
43706 and discard exceptions.
43707 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
43708 exceptions.
43709 (remainder_tonearest_test_data): New variable.
43710 (remainder_test_tonearest): New function.
43711 (remainder_towardzero_test_data): New variable.
43712 (remainder_test_towardzero): New function.
43713 (remainder_downward_test_data): New variable.
43714 (remainder_test_downward): New function.
43715 (remainder_upward_test_data): New variable.
43716 (remainder_test_upward): New function.
43717 (main): Call the new test functions.
43718
43719 * math/libm-test.inc (struct test_f_f1_data): Remove field
43720 extra_init.
43721 (struct test_fF_f1_data): Likewise.
43722 (struct test_ffI_f1_data): Likewise.
43723 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
43724 based on value of EXTRA_EXPECTED.
43725 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43726 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
43727 EXTRA_VAR based on value of EXTRA_EXPECTED.
43728 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43729 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
43730 EXTRA_VAR based on value of EXTRA_EXPECTED.
43731 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43732 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
43733 EXTRA_VAR based on value of EXTRA_EXPECTED.
43734 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43735 * math/gen-libm-test.pl (parse_args): Don't output initializers
43736 for extra output values.
43737
43738 * math/libm-test.inc (check_int): Expect result to be exactly
43739 equal to expected value and do not handle ulps.
43740 (check_long): Likewise.
43741 (check_longlong): Likewise.
43742
43743 * math/libm-test.inc (ceil_test_data): Test for "inexact"
43744 exceptions.
43745 (cimag_test_data): Likewise.
43746 (conj_test_data): Likewise.
43747 (copysign_test_data): Likewise.
43748 (cproj_test_data): Likewise.
43749 (creal_test_data): Likewise.
43750 (fabs_test_data): Likewise.
43751 (fdim_test_data): Likewise.
43752 (finite_test_data): Likewise.
43753 (floor_test_data): Likewise.
43754 (fmax_test_data): Likewise.
43755 (fmin_test_data): Likewise.
43756 (fmod_test_data): Likewise.
43757 (fpclassify_test_data): Likewise.
43758 (frexp_test_data): Likewise.
43759 (ilogb_test_data): Likewise.
43760 (isfinite_test_data): Likewise.
43761 (isgreater_test_data): Likewise.
43762 (isgreaterequal_test_data): Likewise.
43763 (isinf_test_data): Likewise.
43764 (isless_test_data): Likewise.
43765 (islessequal_test_data): Likewise.
43766 (islessgreater_test_data): Likewise.
43767 (isnan_test_data): Likewise.
43768 (isnormal_test_data): Likewise.
43769 (issignaling_test_data): Likewise.
43770 (isunordered_test_data): Likewise.
43771 (ldexp_test_data): Likewise.
43772 (lrint_test_data): Likewise.
43773 (lrint_test_data) [TEST_FLOAT]: Disable one test.
43774 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
43775 (lrint_tonearest_test_data): Test for "inexact" exceptions.
43776 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43777 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
43778 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43779 test input.
43780 (lrint_towardzero_test_data): Test for "inexact" exceptions.
43781 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43782 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
43783 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
43784 that test input.
43785 (lrint_downward_test_data): Test for "inexact" exceptions.
43786 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43787 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
43788 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43789 test input.
43790 (lrint_upward_test_data): Test for "inexact" exceptions.
43791 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
43792 test input.
43793 (llrint_test_data): Test for "inexact" exceptions.
43794 (llrint_test_data) [TEST_FLOAT]: Disable one test.
43795 (llrint_tonearest_test_data): Test for "inexact" exceptions.
43796 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43797 (llrint_towardzero_test_data): Test for "inexact" exceptions.
43798 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43799 (llrint_downward_test_data): Test for "inexact" exceptions.
43800 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43801 (llrint_upward_test_data): Test for "inexact" exceptions.
43802 (logb_test_data): Likewise.
43803 (logb_downward_test_data): Likewise.
43804 (nextafter_test_data): Likewise.
43805 (nexttoward_test_data): Likewise.
43806 (remainder_test_data): Likewise.
43807 (remquo_test_data): Likewise.
43808 (scalbn_test_data): Likewise.
43809 (scalbln_test_data): Likewise.
43810 (signbit_test_data): Likewise.
43811 (sqrt_test_data): Likewise.
43812 (significand_test_data): Likewise.
43813
43814 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
43815
43816 [BZ #15424]
43817 * benchtests/bench-modf.c (struct args): Mark arg0 as
43818 volatile.
43819 * scripts/bench.pl: Mark members of struct args as volatile.
43820
43821 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43822
43823 [BZ # 15497]
43824 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
43825 negative infinity on POWER6 or lower.
43826 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
43827
43828 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
43829
43830 [BZ #15442]
43831 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
43832 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
43833 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
43834 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
43835 (_FP_SETQNAN): New macro.
43836 (_FP_SETQNAN_SEMIRAW): Likewise.
43837 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
43838 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
43839 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
43840 (FP_EXTEND): Use _FP_FRAC_SNANP.
43841 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
43842 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
43843 into account.
43844 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43845 New macro.
43846 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43847 Likewise.
43848
43849 2013-05-16 Joseph Myers <joseph@codesourcery.com>
43850
43851 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
43852 with DIVIDE_BY_ZERO_EXCEPTION.
43853 (gamma_test_data): Likewise.
43854 (lgamma_test_data): Likewise.
43855 (log_test_data): Likewise.
43856 (log10_test_data): Likewise.
43857 (log2_test_data): Likewise.
43858 (tgamma_test_data): Likewise.
43859
43860 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
43861 (acos_test_tonearest): Likewise.
43862 (acos_test_towardzero): Likewise.
43863 (acos_test_downward): Likewise.
43864 (acos_test_upward): Likewise.
43865 (acosh_test): Likewise.
43866 (asin_test): Likewise.
43867 (asin_test_tonearest): Likewise.
43868 (asin_test_towardzero): Likewise.
43869 (asin_test_downward): Likewise.
43870 (asin_test_upward): Likewise.
43871 (asinh_test): Likewise.
43872 (atan_test): Likewise.
43873 (atanh_test): Likewise.
43874 (atan2_test): Likewise.
43875 (cabs_test): Likewise.
43876 (cacos_test): Likewise.
43877 (cacosh_test): Likewise.
43878 (casin_test): Likewise.
43879 (casinh_test): Likewise.
43880 (catan_test): Likewise.
43881 (catanh_test): Likewise.
43882 (cbrt_test): Likewise.
43883 (ccos_test): Likewise.
43884 (ccosh_test): Likewise.
43885 (cexp_test): Likewise.
43886 (clog_test): Likewise.
43887 (clog10_test): Likewise.
43888 (cos_test): Likewise.
43889 (cos_test_tonearest): Likewise.
43890 (cos_test_towardzero): Likewise.
43891 (cos_test_downward): Likewise.
43892 (cos_test_upward): Likewise.
43893 (cosh_test): Likewise.
43894 (cosh_test_tonearest): Likewise.
43895 (cosh_test_towardzero): Likewise.
43896 (cosh_test_downward): Likewise.
43897 (cosh_test_upward): Likewise.
43898 (cpow_test): Likewise.
43899 (csin_test): Likewise.
43900 (csinh_test): Likewise.
43901 (csqrt_test): Likewise.
43902 (ctan_test): Likewise.
43903 (ctan_test_tonearest): Likewise.
43904 (ctan_test_towardzero): Likewise.
43905 (ctan_test_downward): Likewise.
43906 (ctan_test_upward): Likewise.
43907 (ctanh_test): Likewise.
43908 (ctanh_test_tonearest): Likewise.
43909 (ctanh_test_towardzero): Likewise.
43910 (ctanh_test_downward): Likewise.
43911 (ctanh_test_upward): Likewise.
43912 (erf_test): Likewise.
43913 (erfc_test): Likewise.
43914 (exp_test): Likewise.
43915 (exp_test_tonearest): Likewise.
43916 (exp_test_towardzero): Likewise.
43917 (exp_test_downward): Likewise.
43918 (exp_test_upward): Likewise.
43919 (exp10_test): Likewise.
43920 (exp2_test): Likewise.
43921 (expm1_test): Likewise.
43922 (fmod_test): Likewise.
43923 (gamma_test): Likewise.
43924 (hypot_test): Likewise.
43925 (j0_test): Likewise.
43926 (j1_test): Likewise.
43927 (jn_test): Likewise.
43928 (lgamma_test): Likewise.
43929 (log_test): Likewise.
43930 (log10_test): Likewise.
43931 (log1p_test): Likewise.
43932 (log2_test): Likewise.
43933 (logb_test_downward): Likewise.
43934 (pow_test): Likewise.
43935 (pow_test_tonearest): Likewise.
43936 (pow_test_towardzero): Likewise.
43937 (pow_test_downward): Likewise.
43938 (pow_test_upward): Likewise.
43939 (remainder_test): Likewise.
43940 (remquo_test): Likewise.
43941 (sin_test): Likewise.
43942 (sin_test_tonearest): Likewise.
43943 (sin_test_towardzero): Likewise.
43944 (sin_test_downward): Likewise.
43945 (sin_test_upward): Likewise.
43946 (sincos_test): Likewise.
43947 (sinh_test): Likewise.
43948 (sinh_test_tonearest): Likewise.
43949 (sinh_test_towardzero): Likewise.
43950 (sinh_test_downward): Likewise.
43951 (sinh_test_upward): Likewise.
43952 (sqrt_test): Likewise.
43953 (tan_test): Likewise.
43954 (tan_test_tonearest): Likewise.
43955 (tan_test_towardzero): Likewise.
43956 (tan_test_downward): Likewise.
43957 (tan_test_upward): Likewise.
43958 (tanh_test): Likewise.
43959 (tgamma_test): Likewise.
43960 (y0_test): Likewise.
43961 (y1_test): Likewise.
43962 (yn_test): Likewise.
43963
43964 * math/gen-libm-test.pl (adjust_arg): Remove function.
43965 (special_function): Remove argument $in_func. Only handle
43966 generating output for tables of tests, not inside functions.
43967 (parse_args): Likewise.
43968 (generate_testfile): Remove variable $in_func. Update call to
43969 parse_args.
43970 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
43971 (MINUS_ZERO_INIT): Rename macro to minus_zero.
43972 (PLUS_INFTY_INIT): Rename macro to plus_infty.
43973 (MINUS_INFTY_INIT): Rename macro to minus_infty.
43974 (QNAN_VALUE_INIT): Rename macro to qnan_value.
43975 (MAX_VALUE_INIT): Rename macro to max_value.
43976 (MIN_VALUE_INIT): Rename macro to min_value.
43977 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
43978 (plus_zero): Remove variable.
43979 (minus_zero): Likewise.
43980 (plus_infty): Likewise.
43981 (minus_infty): Likewise.
43982 (qnan_value): Likewise.
43983 (max_value): Likewise.
43984 (min_value): Likewise.
43985 (min_subnorm_value): Likewise.
43986
43987 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43988
43989 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
43990 uint64_t or uint32_t usage.
43991 * crypt/sha256-block.c: Likewise.
43992 * crypt/sha256-crypt.c: Likewise.
43993 * crypt/sha256.c: Likewise.
43994 * crypt/sha512-block.c: Likewise.
43995 * crypt/sha512-crypt.c: Likewise.
43996 * crypt/sha512.c: Likewise.
43997 * debug/backtrace-tst.c: Likewise.
43998 * debug/pcprofiledump.c: Likewise.
43999 * elf/cache.c: Likewise.
44000 * elf/dl-cache.c: Likewise.
44001 * elf/dl-misc.c: Likewise.
44002 * elf/dl-profile.c: Likewise.
44003 * elf/dl-support.c: Likewise.
44004 * elf/ldconfig.c: Likewise.
44005 * elf/sprof.c: Likewise.
44006 * iconv/dummy-repertoire.c: Likewise.
44007 * iconv/iconv_charmap.c: Likewise.
44008 * iconv/skeleton.c: Likewise.
44009 * iconvdata/8bit-generic.c: Likewise.
44010 * iconvdata/cp737.h: Likewise.
44011 * iconvdata/cp775.h: Likewise.
44012 * iconvdata/ibm1008.h: Likewise.
44013 * iconvdata/ibm1025.h: Likewise.
44014 * iconvdata/ibm1046.h: Likewise.
44015 * iconvdata/ibm1097.h: Likewise.
44016 * iconvdata/ibm1112.h: Likewise.
44017 * iconvdata/ibm1122.h: Likewise.
44018 * iconvdata/ibm1123.h: Likewise.
44019 * iconvdata/ibm1124.h: Likewise.
44020 * iconvdata/ibm1129.h: Likewise.
44021 * iconvdata/ibm1130.h: Likewise.
44022 * iconvdata/ibm1132.h: Likewise.
44023 * iconvdata/ibm1133.h: Likewise.
44024 * iconvdata/ibm1137.h: Likewise.
44025 * iconvdata/ibm1140.h: Likewise.
44026 * iconvdata/ibm1141.h: Likewise.
44027 * iconvdata/ibm1142.h: Likewise.
44028 * iconvdata/ibm1143.h: Likewise.
44029 * iconvdata/ibm1144.h: Likewise.
44030 * iconvdata/ibm1145.h: Likewise.
44031 * iconvdata/ibm1146.h: Likewise.
44032 * iconvdata/ibm1147.h: Likewise.
44033 * iconvdata/ibm1148.h: Likewise.
44034 * iconvdata/ibm1149.h: Likewise.
44035 * iconvdata/ibm1153.h: Likewise.
44036 * iconvdata/ibm1154.h: Likewise.
44037 * iconvdata/ibm1155.h: Likewise.
44038 * iconvdata/ibm1156.h: Likewise.
44039 * iconvdata/ibm1157.h: Likewise.
44040 * iconvdata/ibm1158.h: Likewise.
44041 * iconvdata/ibm1160.h: Likewise.
44042 * iconvdata/ibm1161.h: Likewise.
44043 * iconvdata/ibm1162.h: Likewise.
44044 * iconvdata/ibm1163.h: Likewise.
44045 * iconvdata/ibm1164.h: Likewise.
44046 * iconvdata/ibm1166.h: Likewise.
44047 * iconvdata/ibm1167.h: Likewise.
44048 * iconvdata/ibm12712.h: Likewise.
44049 * iconvdata/ibm1390.h: Likewise.
44050 * iconvdata/ibm1399.h: Likewise.
44051 * iconvdata/ibm16804.h: Likewise.
44052 * iconvdata/ibm4517.h: Likewise.
44053 * iconvdata/ibm4899.h: Likewise.
44054 * iconvdata/ibm4909.h: Likewise.
44055 * iconvdata/ibm4971.h: Likewise.
44056 * iconvdata/ibm5347.h: Likewise.
44057 * iconvdata/ibm803.h: Likewise.
44058 * iconvdata/ibm856.h: Likewise.
44059 * iconvdata/ibm901.h: Likewise.
44060 * iconvdata/ibm902.h: Likewise.
44061 * iconvdata/ibm9030.h: Likewise.
44062 * iconvdata/ibm9066.h: Likewise.
44063 * iconvdata/ibm921.h: Likewise.
44064 * iconvdata/ibm922.h: Likewise.
44065 * iconvdata/ibm9448.h: Likewise.
44066 * iconvdata/isiri-3342.h: Likewise.
44067 * iconvdata/jis0201.h: Likewise.
44068 * include/link.h: Likewise.
44069 * include/netdb.h: Likewise.
44070 * inet/check_native.c: Likewise.
44071 * inet/check_pf.c: Likewise.
44072 * inet/getipv4sourcefilter.c: Likewise.
44073 * inet/getnameinfo.c: Likewise.
44074 * inet/getsourcefilter.c: Likewise.
44075 * inet/htonl.c: Likewise.
44076 * inet/setipv4sourcefilter.c: Likewise.
44077 * inet/setsourcefilter.c: Likewise.
44078 * inet/test-inet6_opt.c: Likewise.
44079 * inet/tst-network.c: Likewise.
44080 * locale/C-collate.c: Likewise.
44081 * locale/C-ctype.c: Likewise.
44082 * locale/C-time.c: Likewise.
44083 * locale/C-translit.h: Likewise.
44084 * locale/loadarchive.c: Likewise.
44085 * locale/programs/3level.h: Likewise.
44086 * locale/programs/charmap.c: Likewise.
44087 * locale/programs/charmap.h: Likewise.
44088 * locale/programs/ld-address.c: Likewise.
44089 * locale/programs/ld-collate.c: Likewise.
44090 * locale/programs/ld-ctype.c: Likewise.
44091 * locale/programs/ld-identification.c: Likewise.
44092 * locale/programs/ld-measurement.c: Likewise.
44093 * locale/programs/ld-messages.c: Likewise.
44094 * locale/programs/ld-monetary.c: Likewise.
44095 * locale/programs/ld-name.c: Likewise.
44096 * locale/programs/ld-numeric.c: Likewise.
44097 * locale/programs/ld-paper.c: Likewise.
44098 * locale/programs/ld-telephone.c: Likewise.
44099 * locale/programs/ld-time.c: Likewise.
44100 * locale/programs/linereader.c: Likewise.
44101 * locale/programs/locale.c: Likewise.
44102 * locale/programs/locarchive.c: Likewise.
44103 * locale/programs/locfile.h: Likewise.
44104 * locale/programs/repertoire.c: Likewise.
44105 * locale/programs/simple-hash.c: Likewise.
44106 * locale/programs/simple-hash.h: Likewise.
44107 * malloc/memusage.c: Likewise.
44108 * malloc/memusagestat.c: Likewise.
44109 * nis/nis_defaults.c: Likewise.
44110 * nis/nis_hash.c: Likewise.
44111 * nis/nis_print.c: Likewise.
44112 * nis/nis_xdr.c: Likewise.
44113 * nscd/connections.c: Likewise.
44114 * nscd/hstcache.c: Likewise.
44115 * nscd/nscd_gethst_r.c: Likewise.
44116 * nscd/nscd_getserv_r.c: Likewise.
44117 * nscd/nscd_helper.c: Likewise.
44118 * nscd/servicescache.c: Likewise.
44119 * nss/makedb.c: Likewise.
44120 * nss/nss_db/db-XXX.c: Likewise.
44121 * nss/nss_db/db-initgroups.c: Likewise.
44122 * nss/nss_db/db-netgrp.c: Likewise.
44123 * nss/nss_files/files-network.c: Likewise.
44124 * nss/nss_files/files-parse.c: Likewise.
44125 * posix/bug-regex5.c: Likewise.
44126 * posix/fnmatch_loop.c: Likewise.
44127 * posix/regcomp.c: Likewise.
44128 * posix/regexec.c: Likewise.
44129 * posix/tst-rfc3484-2.c: Likewise.
44130 * posix/tst-rfc3484-3.c: Likewise.
44131 * posix/tst-rfc3484.c: Likewise.
44132 * resolv/nss_dns/dns-canon.c: Likewise.
44133 * resolv/nss_dns/dns-network.c: Likewise.
44134 * resolv/res_init.c: Likewise.
44135 * resolv/res_mkquery.c: Likewise.
44136 * resolv/tst-aton.c: Likewise.
44137 * stdlib/cxa_atexit.c: Likewise.
44138 * stdlib/cxa_finalize.c: Likewise.
44139 * stdlib/gen-fpioconst.c: Likewise.
44140 * stdlib/strtol_l.c: Likewise.
44141 * string/tst-endian.c: Likewise.
44142 * sunrpc/auth_des.c: Likewise.
44143 * sunrpc/clnt_udp.c: Likewise.
44144 * sunrpc/rtime.c: Likewise.
44145 * sunrpc/svcauth_des.c: Likewise.
44146 * sunrpc/xdr.c: Likewise.
44147 * sunrpc/xdr_intXX_t.c: Likewise.
44148 * sunrpc/xdr_rec.c: Likewise.
44149 * sysdeps/generic/ldconfig.h: Likewise.
44150 * sysdeps/generic/ldsodefs.h: Likewise.
44151 * sysdeps/generic/memusage.h: Likewise.
44152 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44153 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
44154 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
44155 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44156 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44157 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44158 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44159 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44160 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44161 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44162 * sysdeps/posix/getaddrinfo.c: Likewise.
44163 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44164 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44165 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44166 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44167 * sysdeps/powerpc/test-gettimebase.c: Likewise.
44168 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44169 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
44170 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
44171 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44172 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
44173 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44174 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44175 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
44176 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
44177 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
44178 * sysdeps/x86_64/dl-tls.h: Likewise.
44179 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
44180 * time/alt_digit.c: Likewise.
44181 * time/era.c: Likewise.
44182 * wcsmbs/tst-c16c32-1.c: Likewise.
44183
44184 2013-05-16 Joseph Myers <joseph@codesourcery.com>
44185
44186 * math/libm-test.inc (struct test_sincos_data): New type.
44187 (RUN_TEST_LOOP_sincos): New macro.
44188 (sincos_test_data): New variable.
44189 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
44190
44191 2013-05-16 Richard Henderson <rth@redhat.com>
44192
44193 * math/atest-exp2.c (LIMB64): New macro.
44194 (CONSTSZ): New macro.
44195 (mp_exp1, mp_exp_m1, mp_log2): New variables.
44196 (hexdig): Move ...
44197 (print_mpn_fp): ... to function scope.
44198 (read_mpn_hex): Remove.
44199 (get_log2): Remove.
44200 (exp2_mpn): Use mp_log2.
44201 (main): Use mp_exp1.
44202
44203 2013-05-16 Joseph Myers <joseph@codesourcery.com>
44204
44205 * math/libm-test.inc: Remove comment about not testing "inexact"
44206 exceptions.
44207 (INEXACT_EXCEPTION): New macro.
44208 (NO_INEXACT_EXCEPTION): Likewise.
44209 (INVALID_EXCEPTION_OK): Update value.
44210 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44211 (OVERFLOW_EXCEPTION_OK): Likewise.
44212 (UNDERFLOW_EXCEPTION_OK): Likewise.
44213 (IGNORE_ZERO_INF_SIGN): Likewise.
44214 (ERRNO_UNCHANGED): Likewise.
44215 (ERRNO_EDOM): Likewise.
44216 (ERRNO_ERANGE): Likewise.
44217 (test_exceptions): Handle testing "inexact" exceptions.
44218 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
44219 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
44220 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
44221 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
44222 INEXACT_EXCEPTION.
44223 (rint_towardzero_test_data): Likewise.
44224 (rint_downward_test_data): Likewise.
44225 (rint_upward_test_data): Likewise.
44226
44227 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
44228 with OVERFLOW_EXCEPTION.
44229 (exp10_test_data): Likewise.
44230 (exp2_test_data): Likewise.
44231 (expm1_test_data): Likewise.
44232 (lgamma_test_data): Likewise.
44233 (pow_test_data): Likewise.
44234 (tgamma_test_data): Likewise.
44235 (yn_test_data): Remove duplicate test of overflow.
44236
44237 * math/libm-test.inc (struct test_cc_c_data): New type.
44238 (RUN_TEST_LOOP_cc_c): New macro.
44239 (cpow_test_data): New variable.
44240 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
44241
44242 * math/libm-test.inc (struct test_f_L_data): New type.
44243 (RUN_TEST_LOOP_f_L): New macro.
44244 (llrint_test_data): New variable.
44245 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
44246 (llrint_tonearest_test_data): New variable.
44247 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
44248 (llrint_towardzero_test_data): New variable.
44249 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
44250 (llrint_downward_test_data): New variable.
44251 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
44252 (llrint_upward_test_data): New variable.
44253 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
44254 (llround_test_data): New variable.
44255 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
44256
44257 2013-05-13 Peter Collingbourne <pcc@google.com>
44258
44259 * math/atest-exp2.c (get_log2): Remove const attribute.
44260
44261 2013-05-15 Joseph Myers <joseph@codesourcery.com>
44262
44263 * math/libm-test.inc (struct test_f_l_data): New type.
44264 (RUN_TEST_LOOP_f_l): New macro.
44265 (lrint_test_data): New variable.
44266 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
44267 (lrint_tonearest_test_data): New variable.
44268 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
44269 (lrint_towardzero_test_data): New variable.
44270 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
44271 (lrint_downward_test_data): New variable.
44272 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
44273 (lrint_upward_test_data): New variable.
44274 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
44275 (lround_test_data): New variable.
44276 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
44277
44278 2013-05-15 Peter Collingbourne <pcc@google.com>
44279
44280 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
44281 (EXTRACT_WORDS64) Use where appropriate.
44282 (INSERT_WORDS64) Likewise.
44283
44284 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
44285 constraints with x constraints.
44286 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
44287
44288 * malloc/obstack.c (_obstack_compat): Add initializer.
44289
44290 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
44291
44292 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
44293 si_trapno and add si_addr_lsb to _sifields.sigfault.
44294 (si_trapno): Remove macro.
44295 (si_addr_lsb): Define new macro.
44296 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44297
44298 2013-05-15 Joseph Myers <joseph@codesourcery.com>
44299
44300 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
44301 instead of TEST_f_l.
44302 (llrint_test_tonearest): Likewise.
44303 (llrint_test_towardzero): Likewise.
44304 (llrint_test_downward): Likewise.
44305 (llrint_test_upward): Likewise.
44306 (llround_test): Likewise.
44307
44308 * math/libm-test.inc (struct test_f_i_data): Add comment.
44309 (RUN_TEST_LOOP_f_b): New macro.
44310 (RUN_TEST_LOOP_f_b_tg): Likewise.
44311 (finite_test_data): New variable.
44312 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
44313 (isfinite_test_data): New variable.
44314 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44315 (isinf_test_data): New variable.
44316 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44317 (isnan_test_data): New variable.
44318 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44319 (isnormal_test_data): New variable.
44320 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44321 (issignaling_test_data): New variable.
44322 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44323 (signbit_test_data): New variable.
44324 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44325
44326 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
44327 with INVALID_EXCEPTION.
44328 (acosh_test_data): Likewise.
44329 (asin_test_data): Likewise.
44330 (atanh_test_data): Likewise.
44331 (fmod_test_data): Likewise.
44332 (log_test_data): Likewise.
44333 (log10_test_data): Likewise.
44334 (log2_test_data): Likewise.
44335 (pow_test_data): Likewise.
44336 (sqrt_test_data): Likewise.
44337 (y0_test_data): Likewise.
44338 (y1_test_data): Likewise.
44339 (yn_test_data): Likewise.
44340
44341 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
44342 function contents.
44343
44344 * math/libm-test.inc (struct test_ff_i_data): New type.
44345 (RUN_TEST_LOOP_ff_i_tg): New macro.
44346 (isgreater_test_data): New variable.
44347 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44348 (isgreaterequal_test_data): New variable.
44349 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44350 (isless_test_data): New variable.
44351 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44352 (islessequal_test_data): New variable.
44353 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44354 (islessgreater_test_data): New variable.
44355 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44356 (isunordered_test_data): New variable.
44357 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44358
44359 2013-05-14 David S. Miller <davem@davemloft.net>
44360
44361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44362
44363 2013-05-14 Joseph Myers <joseph@codesourcery.com>
44364
44365 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
44366
44367 * math/libm-test.inc (struct test_fF_f1_data): Change type of
44368 extra_test to int.
44369 (struct test_f_i_data): Change type of max_ulp to int.
44370
44371 * math/libm-test.inc (test_ffI_f1_data): New type.
44372 (RUN_TEST_LOOP_ffI_f1): New macro.
44373 (remquo_test_data): New variable.
44374 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
44375
44376 * setjmp/tst-setjmp-fp.c: New file.
44377 * setjmp/Makefile (tests): Add tst-setjmp-fp.
44378 (link-libm): New variable.
44379 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
44380
44381 * math/libm-test.inc (struct test_f_i_data): New type.
44382 (RUN_TEST_LOOP_f_i): New macro.
44383 (RUN_TEST_LOOP_f_i_tg): Likewise.
44384 (fpclassify_test_data): New variable.
44385 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
44386 (ilogb_test_data): New variable.
44387 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
44388
44389 * math/libm-test.inc (scalbln_test): Correct function name in END
44390 call.
44391
44392 * math/libm-test.inc (struct test_f_f1_data): Add comment.
44393 (RUN_TEST_LOOP_fI_f1): New macro.
44394 (frexp_test_data): New variable.
44395 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
44396
44397 * math/libm-test.inc (struct test_fF_f1_data): New type.
44398 (RUN_TEST_LOOP_fF_f1): New macro.
44399 (modf_test_data): New variable.
44400 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
44401
44402 * math/libm-test.inc (struct test_f_f1_data): New type.
44403 (RUN_TEST_LOOP_f_f1): New macro.
44404 (gamma_test_data): New variable.
44405 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44406 (lgamma_test_data): New variable.
44407 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44408
44409 2013-05-13 Carlos O'Donell <carlos@redhat.com>
44410
44411 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
44412 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
44413 (main): Comment "tls" pseudo-hwcap.
44414
44415 2013-05-13 Joseph Myers <joseph@codesourcery.com>
44416
44417 * math/libm-test.inc (struct test_fl_f_data): New type.
44418 (RUN_TEST_LOOP_fl_f): New variable.
44419 (scalbln_test_data): New variable.
44420 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
44421
44422 * math/libm-test.inc (struct test_fi_f_data): New type.
44423 (RUN_TEST_LOOP_fi_f): New macro.
44424 (ldexp_test_data): New variable.
44425 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
44426 (scalbn_test_data): New variable.
44427 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
44428
44429 * math/libm-test.inc (struct test_c_f_data): New type.
44430 (RUN_TEST_LOOP_c_f): New macro.
44431 (cabs_test_data): New variable.
44432 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
44433 (carg_test_data): New variable.
44434 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
44435 (cimag_test_data): New variable.
44436 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
44437 (creal_test_data): New variable.
44438 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
44439
44440 * math/libm-test.inc (struct test_if_f_data): New type.
44441 (RUN_TEST_LOOP_if_f): New macro.
44442 (jn_test_data): New variable.
44443 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
44444 (yn_test_data): New variable.
44445 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
44446
44447 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
44448
44449 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44450
44451 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
44452 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
44453
44454 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
44455
44456 * benchtests/Makefile (CPPFLAGS-nonlib): Add
44457 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
44458 (bench-deps): Add bench-timing.h.
44459 * benchtests-bench-skeleton.c: Include bench-timing.h.
44460 (main): Use TIMING_* macros instead of clock_gettime.
44461 * benchtests/bench-timing.h: New file.
44462
44463 [BZ #14582]
44464 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
44465 Renamed from _LIB_VERSION.
44466 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
44467
44468 2013-05-12 Joseph Myers <joseph@codesourcery.com>
44469
44470 * math/libm-test.inc (struct test_fff_f_data): New type.
44471 (RUN_TEST_LOOP_fff_f): New macro.
44472 (fma_test_data): New variable.
44473 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
44474 (fma_towardzero_test_data): New variable.
44475 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
44476 (fma_downward_test_data): New variable.
44477 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
44478 (fma_upward_test_data): New variable.
44479 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
44480
44481 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
44482 (struct test_c_c_data): New type.
44483 (RUN_TEST_LOOP_c_c): New macro.
44484 (cacos_test_data): New variable.
44485 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
44486 (cacosh_test_data): New variable.
44487 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
44488 (casin_test_data): New variable.
44489 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
44490 (casinh_test_data): New variable.
44491 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
44492 (catan_test_data): New variable.
44493 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
44494 (catanh_test_data): New variable.
44495 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
44496 (ccos_test_data): New variable.
44497 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
44498 (ccosh_test_data): New variable.
44499 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
44500 (cexp_test_data): New variable.
44501 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
44502 (clog_test_data): New variable.
44503 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
44504 (clog10_test_data): New variable.
44505 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
44506 (conj_test_data): New variable.
44507 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
44508 (cproj_test_data): New variable.
44509 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
44510 (csin_test_data): New variable.
44511 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
44512 (csinh_test_data): New variable.
44513 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
44514 (csqrt_test_data): New variable.
44515 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
44516 (ctan_test_data): New variable.
44517 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
44518 (ctan_tonearest_test_data): New variable.
44519 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44520 (ctan_towardzero_test_data): New variable.
44521 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44522 (ctan_downward_test_data): New variable.
44523 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44524 (ctan_upward_test_data): New variable.
44525 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44526 (ctanh_test_data): New variable.
44527 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
44528 (ctanh_tonearest_test_data): New variable.
44529 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44530 (ctanh_towardzero_test_data): New variable.
44531 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44532 (ctanh_downward_test_data): New variable.
44533 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44534 (ctanh_upward_test_data): New variable.
44535 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44536 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
44537 of BUILD_COMPLEX.
44538
44539 * math/libm-test.inc (struct test_ff_f_data): New type.
44540 (struct test_ff_f_data_nexttoward): Likewise.
44541 (RUN_TEST_LOOP_2_f): New macro.
44542 (RUN_TEST_LOOP_ff_f): Likewise.
44543 (atan2_test_data): New variable.
44544 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
44545 (copysign_test_data): New variable.
44546 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
44547 (fdim_test_data): New variable.
44548 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
44549 (fmax_test_data): New variable.
44550 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
44551 (fmin_test_data): New variable.
44552 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
44553 (fmod_test_data): New variable.
44554 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
44555 (hypot_test_data): New variable.
44556 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
44557 (nextafter_test_data): New variable.
44558 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
44559 (nexttoward_test_data): New variable.
44560 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
44561 (pow_test_data): New variable.
44562 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
44563 (pow_tonearest_test_data): New variable.
44564 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
44565 (pow_towardzero_test_data): New variable.
44566 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
44567 (pow_downward_test_data): New variable.
44568 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
44569 (pow_upward_test_data): New variable.
44570 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
44571 (remainder_test_data): New variable.
44572 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
44573 (scalb_test_data): New variable.
44574 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
44575 * sysdeps/i386/fpu/libm-test-ulps: Update.
44576
44577 2013-05-11 Joseph Myers <joseph@codesourcery.com>
44578
44579 * math/libm-test.inc (fma_test): Use max_value instead of local
44580 variable fltmax.
44581 (nextafter_test): Likewise.
44582
44583 * math/libm-test.inc (acos_towardzero_test_data): New variable.
44584 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44585 (acos_downward_test_data): New variable.
44586 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44587 (acos_upward_test_data): New variable.
44588 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44589 (acosh_test_data): New variable.
44590 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
44591 (asin_test_data): New variable.
44592 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
44593 (asin_tonearest_test_data): New variable.
44594 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44595 (asin_towardzero_test_data): New variable.
44596 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44597 (asin_downward_test_data): New variable.
44598 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44599 (asin_upward_test_data): New variable.
44600 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44601 (asinh_test_data): New variable.
44602 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
44603 (atan_test_data): New variable.
44604 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
44605 (atanh_test_data): New variable.
44606 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
44607 (cbrt_test_data): New variable.
44608 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
44609 (ceil_test_data): New variable.
44610 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
44611 (cos_test_data): New variable.
44612 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
44613 (cos_tonearest_test_data): New variable.
44614 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44615 (cos_towardzero_test_data): New variable.
44616 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44617 (cos_downward_test_data): New variable.
44618 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44619 (cos_upward_test_data): New variable.
44620 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44621 (cosh_test_data): New variable.
44622 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
44623 (cosh_tonearest_test_data): New variable.
44624 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44625 (cosh_towardzero_test_data): New variable.
44626 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44627 (cosh_downward_test_data): New variable.
44628 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44629 (cosh_upward_test_data): New variable.
44630 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44631 (erf_test_data): New variable.
44632 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
44633 (erfc_test_data): New variable.
44634 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
44635 (exp_test_data): New variable.
44636 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
44637 (exp_tonearest_test_data): New variable.
44638 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44639 (exp_towardzero_test_data): New variable.
44640 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44641 (exp_downward_test_data): New variable.
44642 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44643 (exp_upward_test_data): New variable.
44644 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44645 (exp10_test_data): New variable.
44646 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
44647 (exp2_test_data): New variable.
44648 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
44649 (expm1_test_data): New variable.
44650 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
44651 (fabs_test_data): New variable.
44652 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
44653 (floor_test_data): New variable.
44654 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
44655 (j0_test_data): New variable.
44656 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
44657 (j1_test_data): New variable.
44658 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
44659 (log_test_data): New variable.
44660 (log_test): Run tests with RUN_TEST_LOOP_f_f.
44661 (log10_test_data): New variable.
44662 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
44663 (log1p_test_data): New variable.
44664 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
44665 (log2_test_data): New variable.
44666 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
44667 (logb_test_data): New variable.
44668 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
44669 (logb_downward_test_data): New variable.
44670 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44671 (nearbyint_test_data): New variable.
44672 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
44673 (rint_test_data): New variable.
44674 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
44675 (rint_tonearest_test_data): New variable.
44676 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44677 (rint_towardzero_test_data): New variable.
44678 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44679 (rint_downward_test_data): New variable.
44680 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44681 (rint_upward_test_data): New variable.
44682 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44683 (round_test_data): New variable.
44684 (round_test): Run tests with RUN_TEST_LOOP_f_f.
44685 (sin_test_data): New variable.
44686 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
44687 (sin_tonearest_test_data): New variable.
44688 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44689 (sin_towardzero_test_data): New variable.
44690 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44691 (sin_downward_test_data): New variable.
44692 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44693 (sin_upward_test_data): New variable.
44694 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44695 (sinh_test_data): New variable.
44696 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
44697 (sinh_tonearest_test_data): New variable.
44698 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44699 (sinh_towardzero_test_data): New variable.
44700 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44701 (sinh_downward_test_data): New variable.
44702 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44703 (sinh_upward_test_data): New variable.
44704 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44705 (sqrt_test_data): New variable.
44706 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
44707 (tan_test_data): New variable.
44708 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
44709 (tan_tonearest_test_data): New variable.
44710 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44711 (tan_towardzero_test_data): New variable.
44712 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44713 (tan_downward_test_data): New variable.
44714 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44715 (tan_upward_test_data): New variable.
44716 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44717 (tanh_test_data): New variable.
44718 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
44719 (tgamma_test_data): New variable.
44720 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
44721 (trunc_test_data): New variable.
44722 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
44723 (y0_test_data): New variable.
44724 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
44725 (y1_test_data): New variable.
44726 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
44727 (significand_test_data): New variable.
44728 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
44729
44730 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
44731
44732 [BZ #12387]
44733 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
44734
44735 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
44736
44737 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
44738
44739 2013-05-10 Andreas Jaeger <aj@suse.de>
44740
44741 [BZ #15448]
44742 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
44743 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
44744
44745 2013-05-10 Joseph Myers <joseph@codesourcery.com>
44746
44747 * math/gen-libm-test.pl (adjust_arg): New function.
44748 (special_functions): Handle generating output in both functions
44749 and arrays.
44750 (parse_args): Likewise.
44751 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
44752 $in_func argument to parse_args.
44753 * math/libm-test.inc (struct test_f_f_data): New type.
44754 (IF_ROUND_INIT_): New macro.
44755 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
44756 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44757 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44758 (IF_ROUND_INIT_FE_UPWARD): Likewise.
44759 (ROUND_RESTORE_): Likewise.
44760 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
44761 (ROUND_RESTORE_FE_TONEAREST): Likewise.
44762 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
44763 (ROUND_RESTORE_FE_UPWARD): Likewise.
44764 (RUN_TEST_LOOP_f_f): New macro.
44765 (acos_test_data): New variable.
44766 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
44767 (acos_tonearest_test_data): New variable.
44768 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44769
44770 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44771
44772 * benchtests/bench-skeleton.c (startup): Fix coding style.
44773
44774 2013-05-10 Joseph Myers <joseph@codesourcery.com>
44775
44776 [BZ #6809]
44777 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
44778 negative infinity argument.
44779 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
44780 negative infinity argument.
44781 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
44782 negative infinity argument.
44783 * math/libm-test.inc (tgamma_test): Expect errno to be set for
44784 domain errors.
44785
44786 2013-05-10 Florian Weimer <fweimer@redhat.com>
44787
44788 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
44789 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
44790 * iconv/iconv_prog.c (main): Likewise.
44791 * locale/programs/charmap-dir.c (charmap_readdir)
44792 (fopen_uncompressed): Likewise.
44793 * locale/programs/locfile.c (siblings_uncached)
44794 (write_locale_data): Use lstat64 instead of lstat.
44795 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
44796 stat.
44797
44798 2013-05-10 Andreas Jaeger <aj@suse.de>
44799
44800 [BZ #15395]
44801 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
44802 localization.
44803 Include <locale.h>.
44804
44805 2013-05-09 Carlos O'Donell <carlos@redhat.com>
44806
44807 * elf/dl-close.c (_dl_close_worker): Add comments.
44808
44809 2013-05-09 Joseph Myers <joseph@codesourcery.com>
44810
44811 [BZ #15359]
44812 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
44813 high part of pi/2.
44814 (__ieee754_rem_pio2l): Update comments.
44815
44816 [BZ #15429]
44817 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
44818 high part of pi/2.
44819 (__ieee754_rem_pio2l): Update comments.
44820
44821 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
44822 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
44823
44824 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
44825 M_PI_4l.
44826
44827 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
44828 (M_PI_34_LOG10El): Likewise.
44829 (M_PI2_LOG10El): Likewise.
44830 (M_PI4_LOG10El): Likewise.
44831 (M_PI_LOG10El): Likewise.
44832
44833 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44834
44835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44836
44837 2013-05-08 Joseph Myers <joseph@codesourcery.com>
44838
44839 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
44840 (MINUS_ZERO_INIT): Likewise.
44841 (PLUS_INFTY_INIT): Likewise.
44842 (MINUS_INFTY_INIT): Likewise.
44843 (QNAN_VALUE_INIT): Likewise.
44844 (MAX_VALUE_INIT): Likewise.
44845 (MIN_VALUE_INIT): Likewise.
44846 (MIN_SUBNORM_VALUE_INIT): Likewise.
44847 (plus_zero): Initialize with PLUS_ZERO_INIT.
44848 (minus_zero): Initialize with MINUS_ZERO_INIT.
44849 (plus_infty): Initialize with PLUS_INFTY_INIT.
44850 (minus_infty): Initialize with MINUS_INFTY_INIT.
44851 (qnan_value): Initialize with QNAN_VALUE_INIT.
44852 (max_value): Initialize with MAX_VALUE_INIT.
44853 (min_value): Initialize with MIN_VALUE_INIT.
44854 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
44855
44856 * math/libm-test.inc (RUN_TEST_if_f): New macro.
44857 (jn_test): Use TEST_if_f instead of TEST_ff_f.
44858 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
44859 (yn_test): Use TEST_if_f instead of TEST_ff_f.
44860
44861 * math/libm-test.inc (RUN_TEST_f_f): New macro.
44862 (RUN_TEST_2_f): Likewise.
44863 (RUN_TEST_ff_f): Likewise.
44864 (RUN_TEST_fi_f): Likewise.
44865 (RUN_TEST_fl_f): Likewise.
44866 (RUN_TEST_fff_f): Likewise.
44867 (RUN_TEST_c_f): Likewise.
44868 (RUN_TEST_f_f1): Likewise.
44869 (RUN_TEST_fF_f1): Likewise.
44870 (RUN_TEST_fI_f1): Likewise.
44871 (RUN_TEST_ffI_f1): Likewise.
44872 (RUN_TEST_c_c): Likewise.
44873 (RUN_TEST_cc_c): Likewise.
44874 (RUN_TEST_f_i): Likewise.
44875 (RUN_TEST_f_i_tg): Likewise.
44876 (RUN_TEST_ff_i_tg): Likewise.
44877 (RUN_TEST_f_b): Likewise.
44878 (RUN_TEST_f_b_tg): Likewise.
44879 (RUN_TEST_f_l): Likewise.
44880 (RUN_TEST_f_L): Likewise.
44881 (RUN_TEST_sincos): Likewise.
44882 * math/gen-libm-test.pl (new_test): Take new argument to indicate
44883 whether to show exceptions. Do not include ");\n" in return
44884 value.
44885 (special_functions): Output call to RUN_TEST_sincos instead of
44886 check_float calls. Update calls to new_test.
44887 (parse_args): Output call to single RUN_TEST_* macro instead of
44888 check_* calls and other assignments. Update calls to new_test.
44889
44890 [BZ #2546]
44891 [BZ #2560]
44892 [BZ #5159]
44893 [BZ #15426]
44894 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
44895 input to result for tgamma overflow.
44896 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
44897 (gamma_coeff): New variable.
44898 (NCOEFF): New macro.
44899 (gamma_positive): New function.
44900 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
44901 underflow here. Use gamma_positive instead of exp (lgamma) for
44902 other arguments.
44903 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
44904 (gamma_coeff): New variable.
44905 (NCOEFF): New macro.
44906 (gammaf_positive): New function.
44907 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
44908 underflow here. Use gamma_positive instead of exp (lgamma) for
44909 other arguments.
44910 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
44911 (gamma_coeff): New variable.
44912 (NCOEFF): New macro.
44913 (gammal_positive): New function.
44914 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
44915 underflow here. Use gamma_positive instead of exp (lgamma) for
44916 other arguments.
44917 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
44918 (gamma_coeff): New variable.
44919 (NCOEFF): New macro.
44920 (gammal_positive): New function.
44921 (__ieee754_gammal_r): Handle positive infinity, overflow and
44922 underflow here. Handle NaN the same as positive infinity. Remove
44923 check x < 0xffffffff for negative integers. Use gamma_positive
44924 instead of exp (lgamma) for other arguments.
44925 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
44926 (gamma_coeff): New variable.
44927 (NCOEFF): New macro.
44928 (gammal_positive): New function.
44929 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
44930 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
44931 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
44932 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
44933 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
44934 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
44935 * sysdeps/generic/math_private.h (__gamma_productf): New
44936 prototype.
44937 (__gamma_product): Likewise.
44938 (__gamma_productl): Likewise.
44939 * math/Makefile (libm-calls): Add gamma_product.
44940 * math/libm-test.inc (tgamma_test): Add more tests.
44941 * sysdeps/i386/fpu/libm-test-ulps: Update.
44942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44943
44944 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
44945
44946 * benchtests/bench-skeleton.c (main): Preheat CPU.
44947
44948 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
44949
44950 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
44951
44952 2013-05-07 Roland McGrath <roland@hack.frob.com>
44953
44954 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
44955 and _dl_skip_args_internal.
44956
44957 2013-05-07 Carlos O'Donell <carlos@redhat.com>
44958
44959 * manual/message.texi (Message Translation): Talk about users.
44960 Message to key mapping impacts design.
44961
44962 2013-05-06 Roland McGrath <roland@hack.frob.com>
44963
44964 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
44965
44966 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
44967
44968 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
44969 * sysdeps/wordsize-64/glob64.c: ... here.
44970
44971 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
44972 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
44973 New macros.
44974
44975 * debug/getlogin_r_chk.c: Moved to ...
44976 * login/getlogin_r_chk.c: ... here.
44977 * debug/Makefile (routines): Move getlogin_r_chk to ...
44978 * login/Makefile (routines): ... here.
44979 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
44980 * login/Versions (libc: GLIBC_2.4): ... here.
44981
44982 * io/poll.c (__poll): Renamed from poll.
44983 Add libc_hidden_def.
44984 (poll): Define as weak alias.
44985
44986 * debug/ptsname_r_chk.c: Moved to ...
44987 * login/ptsname_r_chk.c: ... here.
44988 * debug/Makefile (routines): Move ptsname_r_chk to ...
44989 * login/Makefile (routines): ... here.
44990 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
44991 * login/Versions (libc: GLIBC_2.4): ... here.
44992
44993 * posix/getlogin.c: Moved to ...
44994 * login/getlogin.c: ... here.
44995 * posix/getlogin_r.c: Moved to ...
44996 * login/getlogin_r.c: ... here.
44997 * posix/getlogin_r.c: Moved to ...
44998 * login/getlogin_r.c: ... here.
44999 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
45000 * login/Makefile (routines): ... here.
45001 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
45002 * login/Versions (libc: GLIBC_2.0): ... here.
45003
45004 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
45005 (setrlimit): Define as weak alias.
45006
45007 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
45008 Call __ names for open, ftruncate, and close.
45009 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
45010 (truncate): Define as weak alias.
45011
45012 2013-05-06 Joseph Myers <joseph@codesourcery.com>
45013
45014 * math/gen-libm-test.pl (parse_args): Initialize x before each
45015 test of frexp, modf and remquo.
45016
45017 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
45018 test signgam value.
45019
45020 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45021
45022 [BZ #15418]
45023 [BZ #15419]
45024 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
45025 internal tests.
45026 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45027
45028 2013-05-06 Roland McGrath <roland@hack.frob.com>
45029
45030 * elf/dl-writev.h: New file.
45031 * elf/dl-misc.c: Include it.
45032 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
45033 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
45034
45035 2013-05-04 Joseph Myers <joseph@codesourcery.com>
45036
45037 * math/libm-test.inc (noXFails): Remove variable.
45038 (noXPasses): Likewise.
45039 (BUILD_COMPLEX_INT): Remove macro.
45040 (print_screen): Remove xfail argument.
45041 (print_screen_max_error): Likewise.
45042 (update_stats): Likewise.
45043 (print_max_error): Likewise. Update calls to other affected
45044 functions.
45045 (print_complex_max_error): Likewise.
45046 (test_single_exception): Update calls to print_screen.
45047 (test_single_errno): Likewise.
45048 (check_float_internal): Remove xfail argument. Update calls to
45049 other affected functions.
45050 (check_float): Likewise.
45051 (check_complex): Likewise.
45052 (check_int): Likewise.
45053 (check_long): Likewise.
45054 (check_bool): Likewise.
45055 (check_longlong): Likewise.
45056 (main): Don't print noXFails and noXPasses.
45057 * math/gen-libm-test.pl (top level): Don't mention expected
45058 failure handling in comment.
45059 (new_test): Don't handle expected failures.
45060 (parse_args): Don't mention expected failure handling in comment.
45061 (generate_testfile): Don't handle expected failures.
45062 (parse_ulps): Likewise.
45063 (print_ulps_file): Likewise.
45064 (get_failure): Remove function.
45065 (output_test): Don't handle expected failures.
45066 * make/README.libm-test: Don't mention expected failure handling.
45067
45068 * math/libm-test.inc (plus_zero): Make const. Add initializer.
45069 (minus_zero): Likewise.
45070 (plus_infty): Likewise.
45071 (minus_infty): Likewise.
45072 (qnan_value): Likewise.
45073 (max_value): Likewise.
45074 (min_value): Likewise.
45075 (min_subnorm_value): Likewise.
45076 (initialize): Do not initialize those variables dynamically.
45077
45078 2013-05-03 Roland McGrath <roland@hack.frob.com>
45079
45080 * io/open.c (__open_2): Moved to ...
45081 * io/open_2.c: ... this new file.
45082 * io/open64.c (__open64_2): Moved to ...
45083 * io/open64_2.c: ... this new file.
45084 * io/openat.c (__openat_2): Moved to ...
45085 * io/openat_2.c: ... this new file.
45086 * io/openat64.c (__openat64_2): Moved to ...
45087 * io/openat64_2.c: ... this new file.
45088 * io/Makefile (routines): Add them.
45089 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
45090 * sysdeps/unix/sysv/linux/open_2.c: File removed.
45091 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
45092 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
45093 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
45094 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
45095 (__openat64): Add hidden_ver.
45096 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
45097 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
45098
45099 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
45100 Separately conditionalize setting of GLRO(dl_sysinfo) so
45101 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
45102 as well, but the actual setting is only under [NEED_DL_SYSINFO].
45103
45104 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45105
45106 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
45107 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
45108 definition.
45109 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
45110 * sysdeps/unix/sysv/linux/powerpc/init-first.c
45111 (_libc_vdso_platform_setup): Add __vdso_time initialization.
45112 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
45113 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
45114
45115 2013-05-03 Joseph Myers <joseph@codesourcery.com>
45116
45117 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
45118 test signgam value.
45119
45120 * math/libm-test.inc (hypot_test): Do not use
45121 IGNORE_ZERO_INF_SIGN.
45122
45123 2013-05-03 Andreas Jaeger <aj@suse.de>
45124
45125 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
45126 Linux 3.9.
45127 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
45128 (PF_MAX): Adjust for VSOCK change.
45129
45130 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45131
45132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45133
45134 2013-05-02 Carlos O'Donell <carlos@redhat.com>
45135
45136 [BZ #15264]
45137 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
45138 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
45139 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
45140
45141 2013-05-02 David S. Miller <davem@davemloft.net>
45142
45143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45144
45145 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
45146
45147 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
45148
45149 2013-05-01 Roland McGrath <roland@hack.frob.com>
45150
45151 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
45152
45153 2013-05-01 Richard Smith <richard@metafoo.co.uk>
45154
45155 [BZ #14952]
45156 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
45157 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45158 Use __attribute__ ((__gnu_inline__)).
45159 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45160 Don't use __attribute__ ((__gnu_inline__)).
45161
45162 2013-05-01 Joseph Myers <joseph@codesourcery.com>
45163
45164 [BZ #15423]
45165 * math/s_catan.c (__catan): Handle small real or imaginary part of
45166 input specially to avoid spurious underflow.
45167 * math/s_catanf.c (__catanf): Likewise.
45168 * math/s_catanh.c (__catanh): Likewise.
45169 * math/s_catanhf.c (__catanhf): Likewise.
45170 * math/s_catanhl.c (__catanhl): Likewise.
45171 * math/s_catanl.c (__catanl): Likewise.
45172 * math/libm-test.inc (catan_test): Add more tests.
45173 (catanh_test): Likewise.
45174 * sysdeps/i386/fpu/libm-test-ulps: Update.
45175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45176
45177 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45178
45179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45180
45181 2013-04-30 Joseph Myers <joseph@codesourcery.com>
45182
45183 [BZ #15416]
45184 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
45185 accurately for denominator in atan2.
45186 * math/s_catanf.c (__catanf): Likewise.
45187 * math/s_catanh.c (__catanh): Likewise.
45188 * math/s_catanhf.c (__catanhf): Likewise.
45189 * math/s_catanhl.c (__catanhl): Likewise.
45190 * math/s_catanl.c (__catanl): Likewise.
45191 * math/libm-test.inc (catan_test): Add more tests.
45192 (catanh_test): Likewise.
45193 * sysdeps/i386/fpu/libm-test-ulps: Update.
45194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45195
45196 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45197
45198 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
45199
45200 * benchtests/Makefile (bench): Remove slow benchmarks.
45201 * benchtests/atan-inputs: Add slow benchmark inputs.
45202 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
45203 (BENCH_FUNC): Accept variant offset.
45204 (VARIANT): Define.
45205 * benchtests/bench-skeleton.c (main): Run benchmark for each
45206 variant.
45207 * benchtests/cos-inputs: Add slow benchmark inputs.
45208 * benchtests/exp-inputs: Likewise.
45209 * benchtests/pow-inputs: Likewise.
45210 * benchtests/sin-inputs: Likewise.
45211 * benchtests/slowatan-inputs: Remove.
45212 * benchtests/slowatan.c: Remove.
45213 * benchtests/slowcos-inputs: Remove.
45214 * benchtests/slowcos.c: Remove.
45215 * benchtests/slowexp-inputs: Remove.
45216 * benchtests/slowexp.c: Remove.
45217 * benchtests/slowpow-inputs: Remove.
45218 * benchtests/slowpow.c: Remove.
45219 * benchtests/slowsin-inputs: Remove.
45220 * benchtests/slowsin.c: Remove.
45221 * benchtests/slowtan-inputs: Remove.
45222 * benchtests/slowtan.c: Remove.
45223 * benchtests/tan-inputs: Add slow benchmark inputs.
45224 * scripts/bench.pl: Parse comments and directives.
45225
45226 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
45227 in CPPFLAGS.
45228 ($(objpfx)bench-%.c): Remove *-ITER.
45229 * benchtests/bench-modf.c: Remove definition of ITER.
45230 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
45231 (main): Loop for DURATION seconds instead of fixed number of
45232 iterations.
45233 * scripts/bench.pl: Don't expect iterations in parameters.
45234
45235 2013-04-29 Roland McGrath <roland@hack.frob.com>
45236
45237 * io/fchdir.c (__fchdir): Renamed from fchdir.
45238 (fchdir): Define as weak alias.
45239
45240 2013-04-29 Joseph Myers <joseph@codesourcery.com>
45241
45242 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
45243 (ERRNO_EDOM): Likewise.
45244 (ERRNO_ERANGE): Likewise.
45245 (noErrnoTests): New variable.
45246 (init_max_error): Set errno to 0.
45247 (test_single_errno): New function.
45248 (test_errno): Likewise.
45249 (check_float_internal): Call test_errno. Set errno to 0.
45250 (check_complex): Refer to errno tests in comment.
45251 (check_int): Call test_errno. Set errno to 0.
45252 (check_long): Likewise.
45253 (check_bool): Likewise.
45254 (check_longlong): Likewise.
45255 (cos_test): Use ERRNO_* flags for errno tests instead of
45256 check_int.
45257 (expm1_test): Likewise.
45258 (fmod_test): Likewise.
45259 (ilogb_test): Likewise.
45260 (lgamma_test): Likewise.
45261 (pow_test): Likewise.
45262 (remainder_test): Likewise.
45263 (sin_test): Likewise.
45264 (tan_test): Likewise.
45265 (yn_test): Likewise.
45266 (initialize): Set errno to 0.
45267 (main): Print number of errno tests.
45268 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
45269
45270 2013-04-29 Andreas Jaeger <aj@suse.de>
45271
45272 [BZ #15084]
45273 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
45274 and RES_USEVC.
45275
45276 [BZ #15085]
45277 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
45278 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
45279 unimplemented.
45280
45281 [BZ #15380]
45282 * stdlib/random.c (__initstate): Return NULL if
45283 __initstate fails.
45284
45285 [BZ #15086]
45286 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
45287 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
45288 RES_SNGLKUPREOP.
45289
45290 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45291
45292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45293
45294 2013-04-29 Joseph Myers <joseph@codesourcery.com>
45295
45296 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
45297 of individual tests.
45298 (casin_test): Likewise.
45299 (casinh_test): Likewise.
45300
45301 2013-04-27 Joseph Myers <joseph@codesourcery.com>
45302
45303 [BZ #15409]
45304 * math/s_catan.c (__catan): Handle arguments with large real or
45305 imaginary part separately without squaring.
45306 * math/s_catanf.c (__catanf): Likewise.
45307 * math/s_catanh.c (__catanh): Likewise.
45308 * math/s_catanhf.c (__catanhf): Likewise.
45309 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45310 and redefine.
45311 (__catanhl): Handle arguments with large real or imaginary part
45312 separately without squaring.
45313 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45314 and redefine.
45315 (__catanl): Handle arguments with large real or imaginary part
45316 separately without squaring.
45317 * math/libm-test.inc (catan_test): Add more tests.
45318 (catanh_test): Likewise.
45319 * sysdeps/i386/fpu/libm-test-ulps: Update.
45320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45321
45322 2013-04-27 Andreas Jaeger <aj@suse.de>
45323
45324 [BZ #15007]
45325 * stdlib/stdlib.h: Update guards for qecvt.
45326 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
45327 <stdlib.h>.
45328
45329 2013-04-27 Allan McRae <allan@archlinux.org>
45330
45331 * sysdeps/i386/fpu/libm-test-ulps: Update.
45332
45333 2013-04-26 Joseph Myers <joseph@codesourcery.com>
45334
45335 [BZ #15406]
45336 * math/s_catan.c: Include <float.h>.
45337 (__catan): Ensure underflow exception occurs for underflowed
45338 result.
45339 * math/s_catanf.c: Include <float.h>.
45340 (__catanf): Ensure underflow exception occurs for underflowed
45341 result.
45342 * math/s_catanh.c: Include <float.h>.
45343 (__catanh): Ensure underflow exception occurs for underflowed
45344 result.
45345 * math/s_catanhf.c: Include <float.h>.
45346 (__catanhf): Ensure underflow exception occurs for underflowed
45347 result.
45348 * math/s_catanhl.c: Include <float.h>.
45349 (__catanhl): Ensure underflow exception occurs for underflowed
45350 result.
45351 * math/s_catanl.c: Include <float.h>.
45352 (__catanl): Ensure underflow exception occurs for underflowed
45353 result.
45354 * math/libm-test.inc (catan_test): Add more tests.
45355 (catanh_test): Likewise.
45356
45357 [BZ #15405]
45358 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
45359 underflowed result.
45360 * math/s_ccoshf.c (__ccoshf): Likewise.
45361 * math/s_ccoshl.c (__ccoshl): Likewise.
45362 * math/s_csin.c (__csin): Likewise.
45363 * math/s_csinf.c (__csinf): Likewise.
45364 * math/s_csinh.c (__csinh): Likewise.
45365 * math/s_csinhf.c (__csinhf): Likewise.
45366 * math/s_csinhl.c (__csinhl): Likewise.
45367 * math/s_csinl.c (__csinl): Likewise.
45368 * math/libm-test.inc (ccos_test): Add more tests.
45369 (ccosh_test): Likewise.
45370 (csin_test): Likewise.
45371 (csinh_test): Likewise.
45372
45373 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45374
45375 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
45376 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
45377 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
45378 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
45379 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
45380 powerpc/power5+/fpu folders.
45381 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
45382
45383
45384 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45385
45386 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45387
45388 2013-04-25 Joseph Myers <joseph@codesourcery.com>
45389
45390 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
45391 additions to variable.
45392 [$(config-machine) = x86_64] (modules-names): Likewise.
45393 ($(objpfx)tst-audit3): Remove dependency.
45394 ($(objpfx)tst-audit3.out): Likewise.
45395 ($(objpfx)tst-audit4): Likewise.
45396 ($(objpfx)tst-audit4.out): Likewise.
45397 ($(objpfx)tst-audit5): Likewise.
45398 ($(objpfx)tst-audit5.out): Likewise.
45399 ($(objpfx)tst-audit6): Likewise.
45400 ($(objpfx)tst-audit6.out): Likewise.
45401 ($(objpfx)tst-audit7): Likewise.
45402 ($(objpfx)tst-audit7.out): Likewise.
45403 (tst-audit3-ENV): Remove variable.
45404 (tst-audit4-ENV): Likewise.
45405 (tst-audit5-ENV): Likewise.
45406 (tst-audit6-ENV): Likewise.
45407 (tst-audit7-ENV): Likewise.
45408 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
45409 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
45410 addition to variable.
45411 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
45412 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
45413 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
45414 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
45415 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
45416 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
45417 tst-audit3, tst-audit4 and tst-audit5.
45418 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
45419 tst-audit6 and tst-audit7.
45420 [$(subdir) = elf] (modules-names): Add audit modules for those
45421 tests.
45422 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
45423 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
45424 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
45425 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
45426 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
45427 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
45428 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
45429 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
45430 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
45431 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
45432 [$(subdir) = elf] (tst-audit3-ENV): New variable.
45433 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
45434 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
45435 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
45436 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
45437 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
45438 Likewise.
45439 [$(subdir) = elf && $(config-cflags-avx) = yes]
45440 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
45441 [$(subdir) = elf && $(config-cflags-avx) = yes]
45442 (CFLAGS-tst-auditmod4a.c): Likewise.
45443 [$(subdir) = elf && $(config-cflags-avx) = yes]
45444 (CFLAGS-tst-auditmod4b.c): Likewise.
45445 [$(subdir) = elf && $(config-cflags-avx) = yes]
45446 (CFLAGS-tst-auditmod6b.c): Likewise.
45447 [$(subdir) = elf && $(config-cflags-avx) = yes]
45448 (CFLAGS-tst-auditmod6c.c): Likewise.
45449 [$(subdir) = elf && $(config-cflags-avx) = yes]
45450 (CFLAGS-tst-auditmod7b.c): Likewise.
45451 * elf/tst-audit3.c: Move to ...
45452 * sysdeps/x86_64/tst-audit3.c: ... here.
45453 * elf/tst-audit4.c: Move to ...
45454 * sysdeps/x86_64/tst-audit4.c: ... here.
45455 * elf/tst-audit5.c: Move to ...
45456 * sysdeps/x86_64/tst-audit5.c: ... here.
45457 * elf/tst-audit6.c: Move to ...
45458 * sysdeps/x86_64/tst-audit6.c: ... here.
45459 * elf/tst-audit7.c: Move to ...
45460 * sysdeps/x86_64/tst-audit7.c: ... here.
45461 * elf/tst-auditmod3a.c: Move to ...
45462 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
45463 * elf/tst-auditmod3b.c: Move to ...
45464 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
45465 * elf/tst-auditmod4a.c: Move to ...
45466 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
45467 * elf/tst-auditmod4b.c: Move to ...
45468 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
45469 * elf/tst-auditmod5a.c: Move to ...
45470 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
45471 * elf/tst-auditmod5b.c: Move to ...
45472 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
45473 * elf/tst-auditmod6a.c: Move to ...
45474 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
45475 * elf/tst-auditmod6b.c: Move to ...
45476 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
45477 * elf/tst-auditmod6c.c: Move to ...
45478 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
45479 * elf/tst-auditmod7a.c: Move to ...
45480 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
45481 * elf/tst-auditmod7b.c: Move to ...
45482 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
45483
45484 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
45485
45486 [BZ #15366]
45487 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
45488 define unconditionally.
45489 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
45490 define unconditionally.
45491 (INT8_C, INT16_C, etc.): Likewise.
45492
45493 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
45494
45495 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
45496 __ehdr_start with hidden visibility.
45497
45498 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
45499
45500 2013-04-24 Carlos O'Donell <carlos@redhat.com>
45501
45502 * math/libm-test.inc (cos_test): Use accurate hex constants.
45503 (sincost_test): Likewise.
45504
45505 2013-04-24 Joseph Myers <joseph@codesourcery.com>
45506
45507 * math/libm-test.inc (catan_test): Add more tests.
45508 (catanh_test): Likewise.
45509
45510 * math/s_catanf.c (__catanf): Use suffixed floating-point
45511 constants.
45512 * math/s_catanhf.c (__catanhf): Likewise.
45513 * math/s_catanhl.c (__catanhl): Likewise.
45514 * math/s_catanl.c (__catanl): Likewise.
45515
45516 [BZ #15394]
45517 * math/s_catan.c (__catan): Calculate imaginary part of result
45518 with log1p not log unless computing log of number close to 0.
45519 * math/s_catanf.c (__catanf): Likewise.
45520 * math/s_catanl.c (__catanl): Likewise.
45521 * math/s_catanh.c (__catanh): Calculate real part of result with
45522 log1p not log unless computing log of number close to 0.
45523 * math/s_catanhf.c (__catanhf): Likewise.
45524 * math/s_catanhl.c (__catanhl): Likewise.
45525 * math/libm-test.inc (catan_test): Add more tests.
45526 (catanh_test): Likewise.
45527 * sysdeps/i386/fpu/libm-test-ulps: Update.
45528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45529
45530 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
45531
45532 * benchtests/Makefile: Mention files in which fast and slow
45533 paths of math functions are implemented.
45534
45535 2013-04-23 Roland McGrath <roland@hack.frob.com>
45536
45537 * sysdeps/posix/timespec_get.c: New file.
45538
45539 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45540
45541 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
45542 POWER.
45543 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
45544 for POWER.
45545 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
45546 powerpc/power5/fpu folders.
45547 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
45548 * benchtests/Makefile: Add modf testcase.
45549 * benchtests/bench-modf.c: New file: Benchmark test for mo
45550
45551 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
45552
45553 [BZ #14888]
45554 * time/Makefile (tests): Add tst-strptime-whitespace.
45555 * time/strptime_l.c (get_number): Use ISSPACE.
45556 (__strptime_internal): Likewise.
45557 * time/tst-strptime-whitespace.c: New test case.
45558
45559 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
45560
45561 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
45562 member.
45563 (_nss_files_init): Set it here.
45564
45565 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
45566
45567 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
45568 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
45569 unsigned.
45570
45571 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
45572
45573 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
45574
45575 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45576
45577 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
45578 size just once.
45579
45580 2013-04-21 David S. Miller <davem@davemloft.net>
45581
45582 * po/ru.po: Update Russion translation from translation project.
45583
45584 2013-04-17 Adam Conrad <adconrad@0c3.net>
45585
45586 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
45587 and setfsgid.
45588
45589 2013-04-17 Carlos O'Donell <carlos@redhat.com>
45590
45591 * configure.in: Remove i386 configure warning. Remove i386 case.
45592 * configure: Regenerate.
45593 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
45594 Add example to error message.
45595 * sysdeps/i386/configure: Regenerate.
45596
45597 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
45598
45599 * benchtests/Makefile (bench): Add cos, tan, slowcos and
45600 slowtan.
45601 * benchtests/cos-inputs: New file.
45602 * benchtests/slowcos-inputs: New file.
45603 * benchtests/slowcos.c: New file.
45604 * benchtests/slowtan-inputs: New file.
45605 * benchtests/slowtan.c: New file.
45606 * benchtests/tan-inputs: New file.
45607
45608 2013-04-16 Roland McGrath <roland@hack.frob.com>
45609
45610 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
45611 considered kosher.
45612
45613 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
45614
45615 * benchtests/Makefile: Include cppflags-iterator.mk to add
45616 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
45617
45618 * Makefile.in (bench-clean): New target.
45619 * benchtests/Makefile (bench-clean): Likewise.
45620
45621 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
45622
45623 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
45624
45625 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
45626
45627 * stdio-common/tstdiomisc.c: Fix coding-style violation.
45628
45629 2013-04-15 Andreas Schwab <schwab@suse.de>
45630
45631 * nscd/grpcache.c (cache_addgr): Properly check for short write.
45632 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45633 * nscd/pwdcache.c (cache_addpw): Likewise.
45634 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
45635 more than recsize.
45636
45637 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
45638
45639 * benchtests/Makefile (bench): Write all output to
45640 bench-out.tmp together.
45641
45642 2013-04-15 Andreas Schwab <schwab@suse.de>
45643
45644 * nscd/nscd.c (main): Don't fork again after closing files.
45645
45646 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
45647
45648 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
45649
45650 * benchtests/Rules (bench-deps): Collect dependencies into a
45651 single variable. Add Makefile to dependencies.
45652 ($(objpfx)bench-%.c): Depend on bench-deps.
45653
45654 2013-04-12 Roland McGrath <roland@hack.frob.com>
45655 Xavier Roche <roche+kml2@exalead.com>
45656
45657 [BZ #15361]
45658 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
45659 just that it's a file descriptor.
45660 * manual/llio.texi (Synchronizing AIO Operations): Update description
45661 for EBADF error from aio_fsync.
45662
45663 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
45664
45665 * Rules (bench): Move target definition...
45666 * benchtests/Makefile: ... here.
45667
45668 2013-04-11 Carlos O'Donell <carlos@redhat.com>
45669
45670 * math/libm-test.inc (cos_test): Fix PI/2 test.
45671 (sincos_test): Likewise.
45672 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45673 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
45674
45675 2013-04-11 Andreas Schwab <schwab@suse.de>
45676
45677 [BZ #13988]
45678 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
45679 accept exponent character only when digits were seen.
45680 * stdio-common/Makefile (tests): Add bug26.
45681 * stdio-common/bug26.c: New file.
45682
45683 [BZ #14293]
45684 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
45685 non-freeable.
45686
45687 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
45688
45689 * Makeconfig (rtld-prefix): Define built linker prefix.
45690 * Rules (run-bench): Use it.
45691 * math/Makefile (run-regen-ulps): Likewise.
45692
45693 * Rules (bench): Remove eval.
45694
45695 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45696 Roland McGrath <roland@hack.frob.com>
45697 Ondrej Bilka <neleai@seznam.cz>
45698
45699 [BZ #15346]
45700 * time/getdate.c: Include ctype.h and alloca.h.
45701 (__getdate_r): Trim leading and trailing spaces of input.
45702 * time/tst-getdate.c (tests): Add tests with leading and
45703 trailing spaces.
45704
45705 2013-04-08 Roland McGrath <roland@hack.frob.com>
45706
45707 [BZ #14280]
45708 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
45709 when computing value.
45710
45711 2013-04-06 Carlos O'Donell <carlos@redhat.com>
45712
45713 * math/README.libm-test (How can I generate "libm-test-ulps"?):
45714 Use testrun.sh to run libm tests.
45715
45716 [BZ #15309]
45717 * elf/dl-open.c (dl_open_worker): memset all of seen array.
45718
45719 2013-04-06 Marko Myllynen <myllynen@redhat.com>
45720
45721 [BZ #15264]
45722 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
45723
45724 2013-04-06 Carlos O'Donell <carlos@redhat.com>
45725
45726 * Makefile.in (regen-ulps): New target.
45727 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
45728 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
45729 [ifneq (no,$(PERL)] (regen-ulps): New target.
45730 [ifeq (no,$(PERL)] (regen-ulps): New target.
45731 * math/libm-test.inc (ulps_file_name): Define.
45732 (output_dir): New variable.
45733 (options): Add "output-dir" option.
45734 (parse_opt): Handle 'o' case.
45735 (main): If output_dir is non-NULL use it as a prefix
45736 otherwise use "".
45737 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
45738
45739 2013-04-06 Carlos O'Donell <carlos@redhat.com>
45740
45741 [BZ #10060, #10062]
45742 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
45743 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
45744 fail configure if __sync_val_compare_and_swap is not inlined.
45745 * sysdeps/i386/configure: Regenerate.
45746 * configure.in: Build for i686 when configured for i386.
45747 * configure: Regenerate.
45748 * README: Remove i386 reference.
45749
45750 2013-04-06 Carlos O'Donell <carlos@redhat.com>
45751
45752 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
45753 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45754
45755 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
45756
45757 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
45758 (lmsnanval): New variables.
45759 (F): Add conversion tests.
45760 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
45761 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
45762
45763 * stdio-common/tstdiomisc.c (F): Properly collect individual
45764 tests' results.
45765
45766 [BZ #14686, #15336]
45767 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
45768 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
45769 Instead, use input NaN values or generate a qNaN by arithmetic
45770 operation. Also fix bugs to comply with the standard.
45771 * math/libm-test.inc (remainder_test): Add more tests.
45772
45773 [BZ #15335, #15342]
45774 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
45775 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
45776 input NaN values or generate a qNaN by arithmetic operation.
45777
45778 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
45779 unreachable code.
45780
45781 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
45782 definitions.
45783
45784 2013-04-03 Joseph Myers <joseph@codesourcery.com>
45785
45786 [BZ #14478]
45787 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
45788 underflowed result.
45789 * math/s_cexpf.c (__cexpf): Likewise.
45790 * math/s_cexpl.c (__cexpl): Likewise.
45791 * math/libm-test.inc (cexp_test): Add more tests.
45792
45793 2013-04-03 Andreas Schwab <schwab@suse.de>
45794
45795 [BZ #15330]
45796 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
45797 order arrays from heap if bigger than alloca cutoff.
45798
45799 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
45800
45801 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
45802 (SNAN_TESTS_double): Refer to GCC PR56831.
45803 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
45804 GCC PR56828.
45805
45806 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
45807
45808 * Rules (bench): Move bench.out after the run is complete.
45809
45810 * Rules (bench): Echo currently running benchmark.
45811
45812 * benchtests/Makefile (bench): Add atan and slowatan.
45813 * benchtests/atan-inputs: New file.
45814 * benchtests/slowatan-inputs: New file.
45815 * benchtests/slowatan.c: New file.
45816
45817 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
45818 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
45819 its value.
45820
45821 [BZ #15305]
45822 * sysdeps/unix/sysv/linux/kernel-features.h
45823 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
45824 __ASSUME_XFS_RESTRICTED_CHOWN.
45825 * sysdeps/unix/sysv/linux/pathconf.c
45826 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45827 Save and restore errno.
45828
45829 2013-04-02 Joseph Myers <joseph@codesourcery.com>
45830
45831 [BZ #15327]
45832 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
45833 arguments using __kernel_casinh.
45834 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
45835 arguments using __kernel_casinhf.
45836 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
45837 arguments using __kernel_casinhl.
45838 * math/libm-test.inc (cacosh_test): Add more tests.
45839 * sysdeps/i386/fpu/libm-test-ulps: Update.
45840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45841
45842 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
45843
45844 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
45845 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
45846
45847 * bench/Makefile (bench): Add sin and slowsin.
45848 * benchtests/sin-inputs: New file.
45849 * benchtests/slowsin-inputs: New file.
45850 * benchtests/slowsin.c: New file.
45851
45852 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
45853 (bench): Add slowexp and slowpow.
45854 (exp-ITER): Increase iterations.
45855 (pow-ITER): Likewise.
45856 * benchtests/exp-inputs: Change input.
45857 * benchtests/pow-inputs: Likewise.
45858 * benchtests/slowexp-inputs: New file.
45859 * benchtests/slowexp.c: New file.
45860 * benchtests/slowpow-inputs: New file.
45861 * benchtests/slowpow.c: New file.
45862
45863 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45864
45865 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
45866 instructions.
45867 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45868 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
45869 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45870 * benchtests/Makefile: Add rint benchtest.
45871 * benchtests/rint-inputs: Input for rint benchtest.
45872
45873 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
45874
45875 * Versions.def (libm): Add GLIBC_2.18.
45876 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
45877 hidden libm prototypes.
45878 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
45879 * math/Makefile (libm-calls): Add s_issignaling.
45880 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
45881 __issignalingf, __issignalingl. Adjust all libm.abilist files.
45882 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
45883 declaration.
45884 * math/math.h [__USE_GNU] (issignaling): New macro.
45885 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
45886 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
45887 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
45888 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
45889 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
45890 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
45891 * manual/arith.texi (issignaling): New section.
45892 * manual/libm-err-tab.pl (@all_functions): Update comment.
45893 * math/gen-libm-test.pl (parse_args): Apply special handling for
45894 issignaling.
45895 * math/libm-test.inc (print_float, issignaling_test): New
45896 functions.
45897 (check_float_internal): Add issignaling checks.
45898 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
45899 default definition.
45900 * sysdeps/powerpc/math-tests.h: New file.
45901 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
45902 tests.
45903 * math/test-snan.c (TEST_FUNC): Likewise.
45904
45905 2013-03-30 David S. Miller <davem@davemloft.net>
45906
45907 * po/de.po: Update from translation team.
45908
45909 2013-03-30 Joseph Myers <joseph@codesourcery.com>
45910
45911 [BZ #10357]
45912 * math/k_casinh.c (__kernel_casinh): Handle arguments with
45913 imaginary part less than 1.0 and real part less than 0.5
45914 specially.
45915 * math/k_casinhf.c (__kernel_casinhf): Likewise.
45916 * math/k_casinhl.c (__kernel_casinhl): Likewise.
45917 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
45918 (cacos_test): Add more tests.
45919 (casin_test): Likewise.
45920 (casinh_test): Likewise.
45921 * sysdeps/i386/fpu/libm-test-ulps: Update.
45922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45923
45924 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
45925
45926 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
45927 ONE with its value.
45928
45929 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
45930 (__pow_mp): Replace ONE and MONE with their values.
45931 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45932 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
45933 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45934 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
45935 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45936 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45937
45938 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
45939
45940 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
45941 (__pow_mp): Replace ZERO and MZERO with their values.
45942 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45943 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45944 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45945 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45946 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45947 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
45948 (__sqr): Likewise.
45949
45950 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
45951
45952 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
45953
45954 2013-03-28 Roland McGrath <roland@hack.frob.com>
45955
45956 * include/stdlib.h [!SHARED] (__call_tls_dtors):
45957 Declare with __attribute__ ((weak)).
45958 * stdlib/exit.c (__libc_atexit) [!SHARED]:
45959 Call __call_tls_dtors only if it's not NULL.
45960
45961 2013-03-28 Roland McGrath <roland@hack.frob.com>
45962
45963 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
45964 didn't do it already, then set _dl_phdr and _dl_phnum based on the
45965 magic __ehdr_start linker symbol if it's defined.
45966 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
45967 them up here if it was already done.
45968
45969 * elf/dl-support.c (_dl_phdr): Make pointer to const.
45970 (_dl_aux_init): Use const in cast when setting it.
45971 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
45972 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
45973 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
45974
45975 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
45976 Declare them here.
45977 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
45978 * csu/libc-tls.c: Nor here.
45979 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
45980
45981 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
45982 (__libc_message): Never call vsyslog.
45983
45984 2013-03-28 Alan Modra <amodra@gmail.com>
45985
45986 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
45987 Define as empty.
45988 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
45989 Likewise.
45990
45991 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45992
45993 [BZ #15214]
45994 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
45995 underflow.
45996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45997
45998 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45999
46000 [BZ #15304]
46001 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46002 Don't add gid passed as argument.
46003
46004 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
46005
46006 2013-03-27 Joseph Myers <joseph@codesourcery.com>
46007
46008 [BZ #15307]
46009 * math/k_casinh.c (__kernel_casinh): Handle arguments with
46010 imaginary part between 1.0 and 1.5 and real part less than 0.5
46011 specially.
46012 * math/k_casinhf.c (__kernel_casinhf): Likewise.
46013 * math/k_casinhl.c (__kernel_casinhl): Likewise.
46014 * math/libm-test.inc (cacos_test): Add more tests.
46015 (casin_test): Likewise.
46016 (casinh_test): Likewise.
46017 * sysdeps/i386/fpu/libm-test-ulps: Update.
46018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46019
46020 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46021
46022 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
46023 constants.
46024 (norm): Likewise.
46025 (denorm): Likewise.
46026 (__dbl_mp): Likewise.
46027 (add_magnitudes): Likewise.
46028 (sub_magnitudes): Likewise.
46029 (__add): Likewise.
46030 (__sub): Likewise.
46031 (__mul): Likewise.
46032 (__sqr): Likewise.
46033 (__inv): Likewise.
46034 (__dvd): Likewise.
46035
46036 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
46037 commented code.
46038 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
46039 (__dubcos): Likewise.
46040 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
46041 (__ieee754_acos): Likewise.
46042 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46043 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
46044 (__exp1): Likewise.
46045 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46046 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46047 (log1): Likewise.
46048 (my_log2): Likewise.
46049 (checkint): Likewise.
46050 * sysdeps/ieee754/dbl-64/e_remainder.c
46051 (__ieee754_remainder): Likewise.
46052 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46053 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
46054 (bsloww): Likewise.
46055 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46056
46057 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46058 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
46059 MANTISSA_STORE_T to store computations on mantissa. Use
46060 macros for rounding and division.
46061 (denorm): Likewise.
46062 (__dbl_mp): Likewise.
46063 (add_magnitudes): Likewise.
46064 (sub_magnitudes): Likewise.
46065 (__mul): Likewise.
46066 (__sqr): Likewise.
46067 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
46068 powers of two in terms of TWOPOW macro.
46069 (mp_no): Make type of mantissa as MANTISSA_T.
46070 [!RADIXI]: Define RADIXI.
46071 [!TWO52]: Define TWO52.
46072 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46073
46074 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46075
46076 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
46077 llroundl symbol when building for PPC32.
46078
46079 2013-03-24 Mark H Weaver <mhw@netris.org>
46080
46081 * manual/arith.texi (Normalization Functions): Fix prototypes for
46082 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
46083
46084 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46085
46086 [BZ #13889]
46087 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
46088 high value to check if expl overflow.
46089 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
46090 to check for underflow and overflow.
46091 * math/libm-test.inc: Add exp test.
46092
46093 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
46094
46095 [BZ #11120]
46096 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
46097 with NOT_IN_libc.
46098
46099 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46100
46101 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
46102 symbol.
46103
46104 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
46105
46106 * math/gen-libm-test.pl (parse_args, special_functions): Properly
46107 wrap blocks consisting of several statements.
46108
46109 * sysdeps/generic/math-tests.h: New file.
46110 * sysdeps/i386/fpu/math-tests.h: Likewise.
46111 * math/test-snan.c: Include it.
46112 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
46113
46114 2013-03-21 Joseph Myers <joseph@codesourcery.com>
46115
46116 [BZ #15285]
46117 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
46118 (__ieee754_j0l): Do not improve calculations using cos of twice
46119 input for inputs above LDBL_MAX / 2.0L.
46120 (__ieee754_y0l): Likewise.
46121 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
46122 (__ieee754_j1l): Do not improve calculations using cos of twice
46123 input for inputs above LDBL_MAX / 2.0L.
46124 (__ieee754_y1l): Likewise.
46125 * math/libm-test.inc (j0_test): Add another test.
46126 (j1_test): Likewise.
46127 (y0_test): Likewise.
46128 (y1_test): Likewise.
46129 * sysdeps/i386/fpu/libm-test-ulps: Update.
46130
46131 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46132
46133 * Rules ($(objpfx)bench-%.c): Include code from a C source
46134 file.
46135
46136 2013-03-21 Joseph Myers <joseph@codesourcery.com>
46137
46138 [BZ #15287]
46139 * math/k_casinh.c (__kernel_casinh): Handle arguments with
46140 imaginary part 1.0 and real part less than 0.5 specially.
46141 * math/k_casinhf.c (__kernel_casinhf): Likewise.
46142 * math/k_casinhl.c (__kernel_casinhl): Likewise.
46143 * math/libm-test.inc (cacos_test): Add more tests.
46144 (casin_test): Likewise.
46145 (casinh_test): Likewise.
46146 * sysdeps/i386/fpu/libm-test-ulps: Update.
46147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46148
46149 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46150
46151 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
46152 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
46153
46154 2013-03-20 Joseph Myers <joseph@codesourcery.com>
46155
46156 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
46157 * config.make.in (config-cflags-sse4): Remove variable.
46158 (config-cflags-avx): Likewise.
46159 (config-cflags-sse2avx): Likewise.
46160 (config-cflags-novzeroupper): Likewise.
46161 (config-asflags-i686): Likewise.
46162 (have-mfma4): Likewise.
46163 (have-as-vis3): Likewise.
46164 (MIG): Likewise.
46165 * configure.in (MIG): Do not AC_SUBST.
46166 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
46167 (libc_cv_cc_sse4): Do not AC_SUBST.
46168 (libc_cv_cc_avx): Likewise.
46169 (libc_cv_cc_sse2avx): Likewise.
46170 (libc_cv_cc_novzeroupper): Likewise.
46171 (libc_cv_cc_fma4): Likewise.
46172 (libc_cv_as_i686): Likewise.
46173 (libc_cv_sparc_as_vis3): Likewise.
46174 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
46175 LIBC_CONFIG_VAR.
46176 (config-asflags-i686): Likewise.
46177 (config-cflags-avx): Likewise.
46178 (config-cflags-sse2avx): Likewise.
46179 (have-mfma4): Likewise.
46180 (config-cflags-novzeroupper): Likewise.
46181 * sysdeps/mach/configure.in (MIG): Likewise.
46182 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
46183 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
46184 LIBC_CONFIG_VAR.
46185 (config-cflags-avx): Likewise.
46186 (config-cflags-sse2avx): Likewise.
46187 (have-mfma4): Likewise.
46188 (config-cflags-novzeroupper): Likewise.
46189 * configure: Regenerated.
46190 * sysdeps/i386/configure: Likewise.
46191 * sysdeps/mach/configure: Likewise.
46192 * sysdeps/sparc/configure: Likewise.
46193 * sysdeps/x86_64/configure: Likewise.
46194
46195 2013-03-20 Roland McGrath <roland@hack.frob.com>
46196
46197 [BZ #14812]
46198 * locale/programs/localedef.c (options): Put N_ translation marker
46199 on argument names, not just descriptions.
46200
46201 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
46202
46203 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
46204
46205 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
46206
46207 [BZ #14176]
46208 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
46209
46210 2013-03-19 Roland McGrath <roland@hack.frob.com>
46211
46212 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
46213 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
46214 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
46215 [!BEFORE_ABORT] (before_abort): New function.
46216 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
46217 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
46218 (writev_for_fatal): New function.
46219 (WRITEV_FOR_FATAL): New macro; call that.
46220 (backtrace_and_maps): New function.
46221 (BEFORE_ABORT): New macro; call that.
46222 (struct str_list): Type removed.
46223 (__libc_message, __libc_fatal): Functions removed.
46224 Include <sysdeps/posix/libc_fatal.c> instead.
46225
46226 2013-03-19 Joseph Myers <joseph@codesourcery.com>
46227
46228 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
46229 constants.
46230 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
46231 double constants.
46232
46233 2013-03-19 Andreas Schwab <schwab@suse.de>
46234
46235 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
46236 * sysdeps/gnu/configure: Regenerate.
46237
46238 * configure.in: Substitute libc_cv_rtlddir.
46239 * configure: Regenerate.
46240 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
46241 * Makeconfig (rtlddir, inst_rtlddir): New variables.
46242 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
46243 * elf/Makefile (install-others, CFLAGS-interp.c)
46244 (ldso_install, common-ldd-rewrite): Likewise.
46245 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
46246 $(inst_slibdir)/$(rtld-installed-name).
46247 * scripts/rellns-sh: Add -p option.
46248 * Makerules (make-shlib-link): Use rellns-sh to get relative name
46249 for source.
46250
46251 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
46252
46253 * manual/nptl.texi: Renamed to ...
46254 * manual/threads.texi: ... this.
46255 * manual/Makefile (chapters): Update.
46256
46257 2013-03-18 Roland McGrath <roland@hack.frob.com>
46258
46259 [BZ #14812]
46260 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
46261 on argument names, not just descriptions.
46262 * malloc/memusagestat.c (options): Likewise.
46263 * nss/getent.c (options): Likewise.
46264
46265 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
46266
46267 [BZ #14812]
46268 * iconv/iconv_prog.c (options): Put N_ translation marker
46269 on argument names, not just descriptions.
46270 * iconv/iconvconfig.c (options): Likewise.
46271
46272 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
46273
46274 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
46275 implementation which is faster on all x86_64 architectures.
46276 Tested on AMD, Intel Nehalem, SNB, IVB.
46277 * sysdeps/x86_64/strnlen.S: Likewise.
46278
46279 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46280 Remove all multiarch strlen and strnlen versions.
46281 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46282 Remove strlen and strnlen related parts.
46283
46284 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
46285 Inline strlen part.
46286 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
46287
46288 * sysdeps/x86_64/multiarch/strlen.S: Remove.
46289 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
46290 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
46291 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
46292 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46293 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
46294
46295 2013-03-17 Carlos O'Donell <carlos@redhat.com>
46296
46297 * manual/memory.texi (Malloc Tunable Parameters):
46298 Sort parameters alphabetically. Add comments for missing entries.
46299
46300 2013-03-17 David S. Miller <davem@davemloft.net>
46301
46302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46303
46304 2013-03-16 Joseph Myers <joseph@codesourcery.com>
46305
46306 [BZ #15283]
46307 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
46308 for arguments at most half maximum finite value.
46309 * math/libm-test.inc (j0_test): Add more tests.
46310 (j1_test): Likewise.
46311 (y0_test): Likewise.
46312 (y1_test): Likewise.
46313 * sysdeps/i386/fpu/libm-test-ulps: Update.
46314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46315
46316 [BZ #14155]
46317 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
46318 1 / x and functions P and Q for arguments above 0x1p256L.
46319 (__ieee754_y0l): Likewise.
46320 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
46321 (__ieee754_y1l): Likewise.
46322 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
46323 (j1_test): Likewise.
46324 (y0_test): Likewise.
46325 (y1_test): Likewise.
46326
46327 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
46328
46329 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
46330 variable.
46331
46332 2013-03-15 Roland McGrath <roland@hack.frob.com>
46333
46334 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
46335 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
46336 zero since it's initialized to EXEC_PAGESIZE.
46337
46338 * sysdeps/unix/sysv/linux/ldsodefs.h
46339 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
46340 * sysdeps/generic/ldsodefs.h: ... here.
46341
46342 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
46343
46344 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
46345
46346 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
46347 math/test-snan.c.
46348 * math/test-snan.c: Renamed from
46349 sysdeps/powerpc/fpu/test-powerpc-snan.c.
46350 * math/Makefile (tests): Add test-snan.
46351 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
46352 test-powerpc-snan.
46353
46354 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
46355 SUFFIX. Initialize qNaN_var with __builtin_nan family of
46356 functions.
46357 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
46358 __builtin_nan family of functions.
46359 * math/libm-test.inc (initialize): Initialize qnan_value with
46360 __builtin_nan family of functions.
46361 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
46362 Remove variables.
46363 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
46364 Remove functions.
46365 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
46366 storage class. Initialize qNaN_var and sNaN_var with
46367 __builtin_nan and __builtin_nans families of functions,
46368 respectively.
46369
46370 * math/libm-test.inc (acosh_test): Also test with qNaN input.
46371 (sqrt_test): Remove duplicate test with qNaN input.
46372 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
46373 (round_test, signbit_test, significand_test): Note missing +/-Inf
46374 as well as qNaN tests.
46375
46376 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
46377 qNaN_var. Fix a few strings, too.
46378 * math/libm-test.inc (nan_value): Rename to qnan_value.
46379 * math/gen-libm-test.pl (%beautify): Adjust to that.
46380 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
46381 * math/test-misc.c (main): Likewise.
46382 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
46383 to __qnan_bytes, and __qnan_union, respectively.
46384 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
46385 Likewise.
46386 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
46387 and lqnanval, respectively.
46388 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
46389 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
46390 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
46391 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
46392
46393 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
46394 * math/test-misc.c (main) [__x86_64__]: Enable test for long
46395 doubles.
46396
46397 * math/test-misc.c (main): Fix copy'n'pastos.
46398 * misc/tst-efgcvt.c (special): Likewise.
46399
46400 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
46401 Remove declarations.
46402
46403 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46404
46405 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
46406 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
46407 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
46408 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
46409
46410 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46411
46412 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
46413 macro to return vdso values correctly in IFUNC implementations.
46414 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46415 Optimization by using IFUNC.
46416
46417 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46418 Richard Henderson <rth@redhat.com>
46419 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46420
46421 * Makefile.in (bench): New target.
46422 * NEWS: Mention the benchmark framework.
46423 * Rules (bench): Likewise.
46424 (binaries-bench): Generate binaries for functions to
46425 benchmark.
46426 * benchtests/Makefile: New makefile for benchmark tests.
46427 * benchtests/bench-skeleton.c: New skeleton file for benchmark
46428 programs.
46429 * benchtests/exp-inputs: New input file for EXP function.
46430 * benchtests/pow-inputs: New input file for POW function.
46431 * scripts/bench.pl: New script to generate source files for
46432 benchmark programs.
46433
46434 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46435
46436 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46437 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
46438 computations on mantissa. Use macros for rounding and
46439 division.
46440 (denorm): Likewise.
46441 (__dbl_mp): Likewise.
46442 (add_magnitudes): Likewise.
46443 (sub_magnitudes): Likewise.
46444 (__mul): Likewise.
46445 (__sqr): Likewise.
46446 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
46447 powers of two in terms of TWOPOW macro.
46448 (mp_no): Make type of mantissa as MANTISSA_T.
46449 [!RADIXI]: Define RADIXI.
46450 [!TWO52]: Define TWO52.
46451 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46452
46453 * manual/nptl.texi (cindex): Modify threads to pthreads.
46454
46455 2013-03-15 Joseph Myers <joseph@codesourcery.com>
46456
46457 * sysdeps/x86_64/preconfigure: Regenerated.
46458
46459 2013-03-14 Joseph Myers <joseph@codesourcery.com>
46460
46461 [BZ #14155]
46462 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
46463 0x1p28 and above.
46464 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
46465 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
46466 0x1p28 and above.
46467 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
46468 * math/libm-test.inc (j0_test): Do not allow one spurious
46469 underflow exception.
46470 (y1_test): Likewise.
46471
46472 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
46473
46474 * manual/Makefile (chapters): Add nptl.
46475 * manual/debug.texi (Debugging Support): Add link to Threads
46476 chapter.
46477 * manual/nptl.texi: New file.
46478
46479 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
46480
46481 2013-03-14 Petr Baudis <pasky@ucw.cz>
46482
46483 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
46484 for non-NULL pointer before the memory validity test. Pointed
46485 out by Holger Brunck <holger.brunck@keymile.com>.
46486
46487 2013-03-13 Andreas Schwab <schwab@suse.de>
46488
46489 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
46490 instead of .os.
46491
46492 2013-03-13 Joseph Myers <joseph@codesourcery.com>
46493
46494 * timezone/zic.c: Update from tzcode 2013b.
46495
46496 2013-03-12 Carlos O'Donell <carlos@redhat.com>
46497
46498 * manual/install.texi (Configuring and compiling):
46499 Mention i686 and i586.
46500 * INSTALL: Regenerate.
46501
46502 2013-03-12 Roland McGrath <roland@hack.frob.com>
46503
46504 * sysdeps/init_array/elf-init.c: New file.
46505 * csu/elf-init.c
46506 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
46507 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
46508
46509 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
46510 __gmon_start__ as global, but as static with a .preinit_array pointer.
46511 * sysdeps/init_array/gmon-start.c: New file. Use that.
46512 * sysdeps/init_array/crti.S: New file, empty except for comments.
46513 * sysdeps/init_array/crtn.S: Likewise.
46514
46515 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
46516
46517 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
46518 definining bcopy.
46519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46520 Remove Prefer_SSE_for_memop.
46521 * sysdeps/x86_64/multiarch/init-arch.h: Remove
46522 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
46523 HAS_PREFER_SSE_FOR_MEMOP.
46524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
46525 memset-x86-64.
46526 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46527 Remove bzero, memset ifunc support.
46528 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
46529 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
46530 * sysdeps/x86_64/multiarch/memset.S: Likewise.
46531 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46532
46533 2013-03-11 Andreas Schwab <schwab@suse.de>
46534
46535 [BZ #15234]
46536 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
46537 by SHLIB_COMPAT.
46538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
46539 (GLIBC_2.16): Remove pthread_atfork.
46540
46541 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
46542
46543 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
46544 (ptestcases.h): Likewise.
46545
46546 2013-03-08 Roland McGrath <roland@hack.frob.com>
46547
46548 * Makeconfig ($(common-objpfx)config.status): Depend on
46549 sysdeps/*/preconfigure{,.in} too.
46550
46551 2013-03-08 Joseph Myers <joseph@codesourcery.com>
46552
46553 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
46554 (__free_hook): Use void * instead of __malloc_ptr_t.
46555 (__malloc_hook): Likewise.
46556 (__realloc_hook): Likewise.
46557 (__memalign_hook): Likewise.
46558 (__after_morecore_hook): Likewise.
46559 * malloc/arena.c (save_malloc_hook): Likewise.
46560 (save_free_hook): Likewise.
46561 * malloc/hooks.c (malloc_hook_ini): Likewise.
46562 (realloc_hook_ini): Likewise.
46563 (memalign_hook_ini): Likewise.
46564 * malloc/malloc.c (malloc_hook_ini): Likewise.
46565 (realloc_hook_ini): Likewise.
46566 (memalign_hook_ini): Likewise.
46567 (__free_hook): Likewise.
46568 (__malloc_hook): Likewise.
46569 (__realloc_hook): Likewise.
46570 (__memalign_hook): Likewise.
46571 (__libc_malloc): Likewise.
46572 (__libc_free): Likewise.
46573 (__libc_realloc): Likewise.
46574 (__libc_memalign): Likewise.
46575 (__libc_valloc): Likewise.
46576 (__libc_pvalloc): Likewise.
46577 (__libc_calloc): Likewise.
46578 (__posix_memalign): Likewise.
46579 * malloc/morecore.c (__sbrk): Likewise.
46580 (__default_morecore): Likewise.
46581
46582 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
46583
46584 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
46585 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
46586 __malloc_ptrdiff_t.
46587
46588 * malloc/malloc.h (__malloc_size_t): Remove macro.
46589 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
46590 __malloc_size_t.
46591 (old_memalign_hook): Likewise.
46592 (old_realloc_hook): Likewise.
46593 (struct hdr): Likewise.
46594 (flood): Likewise.
46595 (mallochook): Likewise.
46596 (memalignhook): Likewise.
46597 (reallochook): Likewise.
46598 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
46599 (tr_old_realloc_hook): Likewise.
46600 (tr_old_memalign_hook): Likewise.
46601 (tr_mallochook): Likewise.
46602 (tr_reallochook): Likewise.
46603 (tr_memalignhook): Likewise.
46604
46605 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46606
46607 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
46608 default_ldbl_pack and using as default implementation.
46609 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
46610 implementation.
46611 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
46612 redundant definition.
46613 (ldbl_insert_mantissa): Likewise.
46614 (ldbl_canonicalize): Likewise.
46615 (ldbl_nearbyint): Likewise.
46616 (ldbl_pack): Rename to ldbl_pack_ppc.
46617 (ldbl_unpack): Rename to ldbl_unpack_ppc.
46618 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
46619 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
46620
46621 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
46622
46623 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
46624 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
46625 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
46626 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
46627 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
46628 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
46629 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
46630 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
46631
46632 2013-03-07 Andreas Jaeger <aj@suse.de>
46633
46634 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46635 bits/mman-linux.h.
46636
46637 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46638
46639 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
46640 Include mpa.h and declare __MPEXP.
46641 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
46642 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46643 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46644 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
46645 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46646 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46647 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
46648
46649 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
46650 (__slowpow): Use long double EXPL and LOGL functions to
46651 compute POW.
46652 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46653 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46654 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
46655 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46656 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46657 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
46658
46659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
46660 intermediate variable to calculate exponent.
46661 (__sqr): Likewise.
46662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46663 Likewise.
46664 (__sqr): Likewise.
46665
46666 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
46667 [!NO__SQR]: Define __sqr.
46668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
46669 and NO__SQR. Remove all code except __mul and __sqr. Include
46670 sysdeps/ieee754/dbl-64/mpa.c.
46671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46672
46673 [BZ #12723]
46674 * posix/Makefile (tests): Add tst-pathconf.
46675 * posix/tst-pathconf.c: New test case.
46676 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
46677 _PC_PIPE_BUF.
46678 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
46679
46680 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
46681
46682 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
46683
46684 2013-03-06 Andreas Jaeger <aj@suse.de>
46685
46686 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
46687 definition via __MAP_ANONYMOUS.
46688
46689 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
46690 it's not part of Linux headers.
46691
46692 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
46693 (MAP_HUGE_MASK): Define.
46694
46695 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46696 Define.
46697 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46698 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46699 Define.
46700 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46701 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46702 Define.
46703 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46704 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
46705 Define.
46706 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46707
46708 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
46709 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
46710 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
46711 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
46712 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
46713 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
46714
46715 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46716 Handle f2fs.
46717
46718 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46719 Handle f2fs and efivarfs.
46720
46721 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
46722 f2fs.
46723
46724 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
46725 (EFIVARFS_MAGIC): Add.
46726 (F2FS_LINK_MAX): Add.
46727
46728 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46729
46730 * stdio-common/vfprintf.c: Replace __builtin_expect with
46731 __glibc_unlikely.
46732
46733 2013-03-06 Joseph Myers <joseph@codesourcery.com>
46734
46735 [BZ #13550]
46736 * sysdeps/generic/bp-sym.h: Remove file.
46737 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
46738 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
46739 <bp-sym.h> and <bp-asm.h>.
46740 (__longjmp): Don't use BP_SYM.
46741 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
46742 and <bp-asm.h>.
46743 (memcpy): Don't use BP_SYM.
46744 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
46745 <bp-sym.h> and <bp-asm.h>.
46746 (memcpy): Don't use BP_SYM.
46747 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
46748 <bp-asm.h>.
46749 (memcpy): Don't use BP_SYM.
46750 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
46751 <bp-asm.h>.
46752 (memset): Don't use BP_SYM.
46753 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46754 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46755 (__bzero): Don't use BP_SYM.
46756 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46757 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46758 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
46759 <bp-sym.h> and <bp-asm.h>.
46760 (memcmp): Don't use BP_SYM. Remove comment about bounded
46761 pointers.
46762 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
46763 <bp-sym.h> and <bp-asm.h>.
46764 (memcpy): Don't use BP_SYM.
46765 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
46766 <bp-sym.h> and <bp-asm.h>.
46767 (memset): Don't use BP_SYM.
46768 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46769 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46770 (__bzero): Don't use BP_SYM.
46771 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46772 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46773 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
46774 <bp-sym.h> and <bp-asm.h>.
46775 (strncmp): Don't use BP_SYM. Remove comment about bounded
46776 pointers.
46777 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
46778 <bp-sym.h> and <bp-asm.h>.
46779 (memcpy): Don't use BP_SYM.
46780 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
46781 <bp-sym.h> and <bp-asm.h>.
46782 (memset): Don't use BP_SYM.
46783 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46784 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46785 (__bzero): Don't use BP_SYM.
46786 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46787 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46788 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
46789 <bp-sym.h> and <bp-asm.h>.
46790 (__memchr): Don't use BP_SYM.
46791 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
46792 <bp-sym.h> and <bp-asm.h>.
46793 (memcmp): Don't use BP_SYM. Remove comment about bounded
46794 pointers.
46795 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
46796 <bp-sym.h> and <bp-asm.h>.
46797 (memcpy): Don't use BP_SYM.
46798 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
46799 <bp-sym.h> and <bp-asm.h>.
46800 (__mempcpy): Don't use BP_SYM.
46801 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
46802 <bp-sym.h> and <bp-asm.h>.
46803 (__memrchr): Don't use BP_SYM.
46804 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
46805 <bp-sym.h> and <bp-asm.h>.
46806 (memset): Don't use BP_SYM.
46807 (__bzero): Likewise.
46808 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
46809 <bp-sym.h> and <bp-asm.h>.
46810 (__rawmemchr): Don't use BP_SYM.
46811 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
46812 <bp-sym.h> and <bp-asm.h>.
46813 (__STRCMP): Don't use BP_SYM.
46814 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
46815 <bp-sym.h> and <bp-asm.h>.
46816 (strchr): Don't use BP_SYM.
46817 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
46818 <bp-sym.h> and <bp-asm.h>.
46819 (__strchrnul): Don't use BP_SYM.
46820 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
46821 <bp-sym.h> and <bp-asm.h>.
46822 (strlen): Don't use BP_SYM.
46823 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
46824 <bp-sym.h> and <bp-asm.h>.
46825 (strncmp): Don't use BP_SYM. Remove comment about bounded
46826 pointers.
46827 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
46828 <bp-sym.h> and <bp-asm.h>.
46829 (__strnlen): Don't use BP_SYM.
46830 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
46831 <bp-sym.h> and <bp-asm.h>.
46832 (__GI__setjmp): Don't use BP_SYM.
46833 (_setjmp): Likewise.
46834 (__sigsetjmp): Likewise.
46835 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
46836 (L(start_addresses)): Don't use BP_SYM.
46837 (_start): Likewise.
46838 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
46839 <bp-asm.h>.
46840 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
46841 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
46842 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46843 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46844 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
46845 <bp-asm.h>.
46846 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
46847 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
46848 about bounded pointers.
46849 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46850 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46851 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
46852 <bp-asm.h>.
46853 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
46854 about bounded pointers. Remove GKM FIXME comments.
46855 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46856 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
46857 <bp-asm.h>.
46858 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
46859 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
46860 Remove GKM FIXME comments.
46861 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46862 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46863 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
46864 <bp-asm.h>.
46865 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
46866 about bounded pointers. Remove GKM FIXME comment.
46867 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
46868 and <bp-asm.h>.
46869 (strncmp): Don't use BP_SYM. Remove comment about bounded
46870 pointers.
46871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
46872 <bp-sym.h> and <bp-asm.h>.
46873 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
46875 <bp-sym.h> and <bp-asm.h>.
46876 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
46877 comment.
46878
46879 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46880
46881 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
46882 call free(NULL).
46883
46884 2013-03-05 David S. Miller <davem@davemloft.net>
46885
46886 * po/es.po: Update from translation team.
46887
46888 2013-03-05 Andreas Jaeger <aj@suse.de>
46889
46890 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
46891 <bits/mman-linux.h>.
46892 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46893 is fine.
46894 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
46895 <bits/mman-linux.h> to end of file.
46896 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46897 is fine.
46898 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
46899 <bits/mman-linux.h> to end of file.
46900 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46901 is fine.
46902 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
46903 <bits/mman-linux.h> to end of file.
46904
46905 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
46906 (MCL_CURRENT, MCL_FUTURE): Define here.
46907
46908 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46909
46910 [BZ #15232]
46911 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
46912 attribute_hidden.
46913 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46914
46915 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46916
46917 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
46918 fourth parameter needed for rt_sigprocmask syscall.
46919 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46920 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46921 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
46922 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46923 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46924 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
46925
46926 2013-03-04 Joseph Myers <joseph@codesourcery.com>
46927
46928 [BZ #13550]
46929 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
46930 comment about bounded pointers.
46931 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
46932 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
46933
46934 2013-03-04 Andreas Jaeger <aj@suse.de>
46935
46936 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
46937 common definitions.
46938
46939 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
46940 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
46941 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
46942 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46943 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46944 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46945
46946 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46947
46948 [BZ #15055]
46949 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
46950 __ieee754_sqrl instead of __sqrl.
46951
46952 2013-03-01 Joseph Myers <joseph@codesourcery.com>
46953
46954 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
46955 * sysdeps/powerpc/fpu_control.h: ... here.
46956 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
46957 * sysdeps/powerpc/bits/fenvinline.h: ... here.
46958 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
46959 * sysdeps/powerpc/bits/mathinline.h: ... here.
46960
46961 2013-03-01 Roland McGrath <roland@hack.frob.com>
46962
46963 * elf/dl-hwcaps.c (_dl_important_hwcaps):
46964 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
46965 to just [NEED_DL_SYSINFO_DSO].
46966 * elf/dl-support.c: Likewise.
46967 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
46968 * elf/rtld.c (dl_main): Likewise.
46969 * elf/setup-vdso.h (setup_vdso): Likewise.
46970 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
46971 * sysdeps/unix/sysv/linux/dl-sysdep.c
46972 (_dl_discover_osversion): Likewise.
46973
46974 2013-03-01 Carlos O'Donell <carlos@redhat.com>
46975
46976 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
46977 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46978
46979 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
46980
46981 * NEWS: Mention libm performance improvements and non-x86 PI
46982 futex support.
46983
46984 * csu/libc-start.c (__pthread_initialize_minimal): Change
46985 function arguments.
46986 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46987
46988 2013-02-28 Joseph Myers <joseph@codesourcery.com>
46989
46990 [BZ #13550]
46991 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
46992 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
46993 <bp-sym.h> and <bp-asm.h>.
46994 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46995 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
46996 and <bp-asm.h>.
46997 (memcpy): Don't use BP_SYM.
46998 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
46999 <bp-asm.h>.
47000 (__mpn_add_n): Don't use BP_SYM.
47001 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
47002 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
47003 and <bp-asm.h>.
47004 (__mpn_addmul_1): Don't use BP_SYM.
47005 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47006 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
47007 <bp-sym.h>.
47008 (_setjmp): Don't use BP_SYM.
47009 (__novmx_setjmp): Likewise.
47010 (__GI__setjmp): Likewise.
47011 (__vmx_setjmp): Likewise.
47012 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
47013 <bp-sym.h>.
47014 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
47015 (__bzero): Don't use BP_SYM.
47016 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47017 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47018 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
47019 <bp-sym.h> and <bp-asm.h>.
47020 (memcpy): Don't use BP_SYM.
47021 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
47022 <bp-sym.h> and <bp-asm.h>.
47023 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47024 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
47025 <bp-sym.h> and <bp-asm.h>.
47026 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47027 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
47028 <bp-asm.h>.
47029 (__mpn_lshift): Don't use BP_SYM.
47030 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47031 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
47032 <bp-asm.h>.
47033 (memset): Don't use BP_SYM.
47034 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47035 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47036 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
47037 <bp-asm.h>.
47038 (__mpn_mul_1): Don't use BP_SYM.
47039 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47040 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
47041 <bp-sym.h> and <bp-asm.h>.
47042 (memcmp): Don't use BP_SYM.
47043 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
47044 <bp-sym.h> and <bp-asm.h>.
47045 (memcpy): Don't use BP_SYM.
47046 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
47047 <bp-sym.h> and <bp-asm.h>.
47048 (memset): Don't use BP_SYM.
47049 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
47050 <bp-sym.h> and <bp-asm.h>.
47051 (strncmp): Don't use BP_SYM.
47052 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
47053 <bp-sym.h> and <bp-asm.h>.
47054 (memcpy): Don't use BP_SYM.
47055 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
47056 <bp-sym.h> and <bp-asm.h>.
47057 (memset): Don't use BP_SYM.
47058 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
47059 <bp-sym.h> and <bp-asm.h>.
47060 (__memchr): Don't use BP_SYM.
47061 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
47062 <bp-sym.h> and <bp-asm.h>.
47063 (memcmp): Don't use BP_SYM.
47064 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
47065 <bp-sym.h> and <bp-asm.h>.
47066 (memcpy): Don't use BP_SYM.
47067 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
47068 <bp-sym.h> and <bp-asm.h>.
47069 (__mempcpy): Don't use BP_SYM.
47070 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
47071 <bp-sym.h> and <bp-asm.h>.
47072 (__memrchr): Don't use BP_SYM.
47073 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
47074 <bp-sym.h> and <bp-asm.h>.
47075 (memset): Don't use BP_SYM.
47076 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
47077 <bp-sym.h> and <bp-asm.h>.
47078 (__rawmemchr): Don't use BP_SYM.
47079 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
47080 <bp-sym.h> and <bp-asm.h>.
47081 (__STRCMP): Don't use BP_SYM.
47082 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
47083 <bp-sym.h> and <bp-asm.h>.
47084 (strchr): Don't use BP_SYM.
47085 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
47086 <bp-sym.h> and <bp-asm.h>.
47087 (__strchrnul): Don't use BP_SYM.
47088 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
47089 <bp-sym.h> and <bp-asm.h>.
47090 (strlen): Don't use BP_SYM.
47091 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
47092 <bp-sym.h> and <bp-asm.h>.
47093 (strncmp): Don't use BP_SYM.
47094 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
47095 <bp-sym.h> and <bp-asm.h>.
47096 (__strnlen): Don't use BP_SYM.
47097 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
47098 <bp-asm.h>.
47099 (__mpn_rshift): Don't use BP_SYM.
47100 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47101 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
47102 <bp-sym.h> and <bp-asm.h>.
47103 (__sigsetjmp): Don't use BP_SYM.
47104 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
47105 (L(start_addresses)): Don't use BP_SYM.
47106 (_start): Likewise.
47107 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
47108 <bp-asm.h>.
47109 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
47110 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47111 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47112 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
47113 <bp-asm.h>.
47114 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
47115 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47116 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47117 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
47118 <bp-asm.h>.
47119 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
47120 comments.
47121 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47122 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
47123 <bp-asm.h>.
47124 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
47125 FIXME comments.
47126 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47127 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47128 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
47129 <bp-asm.h>.
47130 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
47131 comment.
47132 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
47133 and <bp-asm.h>.
47134 (strncmp): Don't use BP_SYM,
47135 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
47136 <bp-asm.h>.
47137 (__mpn_sub_n): Don't use BP_SYM.
47138 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47139 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
47140 and <bp-asm.h>.
47141 (__mpn_submul_1): Don't use BP_SYM.
47142 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
47144 <bp-sym.h> and <bp-asm.h>.
47145 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
47147 <bp-sym.h> and <bp-asm.h>.
47148 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
47149 comment.
47150
47151 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47152
47153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
47154 Use ZK to minimize writes to Z.
47155 (sub_magnitudes): Simplify code a bit.
47156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
47157 Use ZK to minimize writes to Z.
47158 (sub_magnitudes): Simplify code a bit.
47159
47160 2013-02-27 Roland McGrath <roland@hack.frob.com>
47161
47162 * csu/gmon-start.c: Add special exception to license text.
47163
47164 2013-02-27 Richard Henderson <rth@redhat.com>
47165
47166 * scripts/config.guess: Update from config.git.
47167 * scripts/config.sub: Likewise.
47168
47169 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
47170
47171 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
47172
47173 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
47174
47175 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
47176
47177 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
47178
47179 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
47180
47181 2013-02-26 Roland McGrath <roland@hack.frob.com>
47182
47183 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
47184 [$(build-shared = yes].
47185
47186 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47187
47188 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
47189 (__mul): Reduce iterations for calculating mantissa.
47190
47191 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
47192 MPTWO.
47193 (__mpranred): Likewise.
47194
47195 [BZ #15160]
47196 * malloc/memusagestat.c (main): Draw graphs for heap and stack
47197 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
47198
47199 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
47200
47201 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
47202 Define __attribute__.
47203
47204 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47205
47206 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
47207 unused.
47208 * posix/regex_internal.h (__attribute): Remove.
47209 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
47210 (re_string_context_at): Likewise.
47211 (bitset_not): Use __attribute__ and mark function as possibly
47212 unused.
47213 (bitset_merge): Likewise.
47214 (bitset_mask): Likewise.
47215 (re_string_char_size_at): Likewise.
47216 (re_string_wchar_at): Likewise.
47217 (re_string_elem_size_at): Likewise.
47218
47219 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47220
47221 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
47222 code.
47223 (cc32): Likewise.
47224
47225 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
47226 (__acr): Likewise.
47227 (__cpy): Likewise.
47228 (norm): Likewise.
47229 (denorm): Likewise.
47230 (__dbl_mp): Likewise.
47231 (add_magnitudes): Likewise.
47232 (sub_magnitudes): Likewise.
47233 (__mul): Likewise.
47234 (__inv): Likewise.
47235
47236 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
47237 style.
47238
47239 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
47240 style.
47241
47242 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
47243 code.
47244
47245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
47246 up changes with default code.
47247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
47248 Likewise.
47249
47250 2013-02-24 Allan McRae <allan@archlinux.org>
47251
47252 * manual/socket.texi (The Internet Namespace): Order menu items
47253 to match that in the file.
47254
47255 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
47256 node listing of the info page menu.
47257
47258 2013-02-21 Joseph Myers <joseph@codesourcery.com>
47259
47260 [BZ #13550]
47261 * sysdeps/i386/bp-asm.h: Remove file.
47262 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47263 (PARMS): Do not use macros from bp-asm.h.
47264 (S1): Likewise.
47265 (S2): Likewise.
47266 (SIZE): Likewise.
47267 (__mpn_add_n): Do not use BP_SYM
47268 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
47269 "bp-asm.h".
47270 (PARMS): Do not use macros from bp-asm.h.
47271 (S1): Likewise.
47272 (SIZE): Likewise.
47273 (__mpn_addmul_1): Do not use BP_SYM
47274 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
47275 "bp-asm.h".
47276 (PARMS): Do not use macros from bp-asm.h.
47277 (SIGMSK): Likewise.
47278 (_setjmp): Likewise. Do not use BP_SYM.
47279 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
47280 "bp-asm.h".
47281 (PARMS): Do not use macros from bp-asm.h.
47282 (SIGMSK): Likewise.
47283 (setjmp): Likewise. Do not use BP_SYM.
47284 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
47285 "bp-asm.h".
47286 (PARMS): Do not use macros from bp-asm.h.
47287 (__frexp): Do not use BP_SYM.
47288 (frexp): Likewise.
47289 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
47290 "bp-asm.h".
47291 (PARMS): Do not use macros from bp-asm.h.
47292 (__frexpf): Do not use BP_SYM.
47293 (frexpf): Likewise.
47294 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
47295 "bp-asm.h".
47296 (PARMS): Do not use macros from bp-asm.h.
47297 (__frexpl): Do not use BP_SYM.
47298 (frexpl): Likewise.
47299 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
47300 "bp-asm.h".
47301 (PARMS): Do not use macros from bp-asm.h.
47302 (__remquo): Do not use BP_SYM.
47303 (remquo): Likewise.
47304 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
47305 "bp-asm.h".
47306 (PARMS): Do not use macros from bp-asm.h.
47307 (__remquof): Do not use BP_SYM.
47308 (remquof): Likewise.
47309 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
47310 "bp-asm.h".
47311 (PARMS): Do not use macros from bp-asm.h.
47312 (__remquol): Do not use BP_SYM.
47313 (remquol): Likewise.
47314 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
47315 "bp-asm.h".
47316 (PARMS): Do not use macros from bp-asm.h.
47317 (DEST): Likewise.
47318 (SRC): Likewise.
47319 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
47320 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
47321 "bp-asm.h".
47322 (PARMS): Do not use macros from bp-asm.h.
47323 (strlen): Do not use BP_SYM.
47324 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
47325 "bp-asm.h".
47326 (PARMS): Do not use macros from bp-asm.h.
47327 (S1): Likewise.
47328 (S2): Likewise.
47329 (SIZE): Likewise.
47330 (__mpn_add_n): Do not use BP_SYM.
47331 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
47332 "bp-asm.h".
47333 (PARMS): Do not use macros from bp-asm.h.
47334 (S1): Likewise.
47335 (SIZE): Likewise.
47336 (__mpn_addmul_1): Do not use BP_SYM.
47337 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
47338 weak_alias.
47339 (bzero): Likewise.
47340 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
47341 "bp-asm.h".
47342 (PARMS): Do not use macros from bp-asm.h.
47343 (S): Likewise.
47344 (SIZE): Likewise.
47345 (__mpn_lshift): Do not use BP_SYM.
47346 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
47347 "bp-asm.h".
47348 (PARMS): Do not use macros from bp-asm.h.
47349 (DEST): Likewise.
47350 (SRC): Likewise.
47351 (LEN): Likewise.
47352 (memcpy): Likewise. Do not use BP_SYM.
47353 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
47354 libc_hidden_def and weak_alias.
47355 (mempcpy): Do not use BP_SYM in weak_alias.
47356 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
47357 "bp-asm.h".
47358 (PARMS): Do not use macros from bp-asm.h.
47359 (DEST): Likewise.
47360 (LEN): Likewise.
47361 [!BZERO_P] (CHR): Likewise.
47362 (memset): Likewise. Do not use BP_SYM.
47363 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
47364 "bp-asm.h".
47365 (PARMS): Do not use macros from bp-asm.h.
47366 (S1): Likewise.
47367 (SIZE): Likewise.
47368 (__mpn_mul_1): Do not use BP_SYM.
47369 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
47370 "bp-asm.h".
47371 (PARMS): Do not use macros from bp-asm.h.
47372 (S): Likewise.
47373 (SIZE): Likewise.
47374 (__mpn_rshift): Do not use BP_SYM.
47375 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
47376 "bp-asm.h".
47377 (PARMS): Do not use macros from bp-asm.h.
47378 (STR): Likewise.
47379 (CHR): Likewise.
47380 (strchr): Likewise. Do not use BP_SYM.
47381 (index): Do not use BP_SYM in weak_alias.
47382 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
47383 "bp-asm.h".
47384 (PARMS): Do not use macros from bp-asm.h.
47385 (DEST): Likewise.
47386 (SRC): Likewise.
47387 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
47388 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
47389 "bp-asm.h".
47390 (PARMS): Do not use macros from bp-asm.h.
47391 (strlen): Do not use BP_SYM.
47392 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
47393 "bp-asm.h".
47394 (PARMS): Do not use macros from bp-asm.h.
47395 (S1): Likewise.
47396 (S2): Likewise.
47397 (SIZE): Likewise.
47398 (__mpn_sub_n): Do not use BP_SYM.
47399 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
47400 "bp-asm.h".
47401 (PARMS): Do not use macros from bp-asm.h.
47402 (S1): Likewise.
47403 (SIZE): Likewise.
47404 (__mpn_submul_1): Do not use BP_SYM.
47405 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
47406 "bp-asm.h".
47407 (PARMS): Do not use macros from bp-asm.h.
47408 (S1): Likewise.
47409 (S2): Likewise.
47410 (SIZE): Likewise.
47411 (__mpn_add_n): Do not use BP_SYM.
47412 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
47413 weak_alias.
47414 (bzero): Likewise.
47415 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
47416 "bp-asm.h".
47417 (PARMS): Do not use macros from bp-asm.h.
47418 (BLK2): Likewise.
47419 (LEN): Likewise.
47420 (memcmp): Do not use BP_SYM.
47421 (bcmp): Do not use BP_SYM in weak_alias.
47422 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
47423 "bp-asm.h".
47424 (PARMS): Do not use macros from bp-asm.h.
47425 (DEST): Likewise.
47426 (SRC): Likewise.
47427 (LEN): Likewise.
47428 (memcpy): Likewise. Do not use BP_SYM.
47429 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
47430 "bp-asm.h".
47431 (PARMS): Do not use macros from bp-asm.h.
47432 (DEST): Likewise.
47433 (SRC): Likewise.
47434 (LEN): Likewise.
47435 (memmove): Likewise. Do not use BP_SYM.
47436 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
47437 "bp-asm.h".
47438 (PARMS): Do not use macros from bp-asm.h.
47439 (DEST): Likewise.
47440 (SRC): Likewise.
47441 (LEN): Likewise.
47442 (__mempcpy): Likewise. Do not use BP_SYM.
47443 (mempcpy): Do not use BP_SYM in weak_alias.
47444 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
47445 "bp-asm.h".
47446 (PARMS): Do not use macros from bp-asm.h.
47447 (DEST): Likewise.
47448 (LEN): Likewise.
47449 [!BZERO_P] (CHR): Likewise.
47450 (memset): Likewise. Do not use BP_SYM.
47451 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
47452 "bp-asm.h".
47453 (PARMS): Do not use macros from bp-asm.h.
47454 (STR2): Likewise.
47455 (strcmp): Do not use BP_SYM.
47456 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
47457 "bp-asm.h".
47458 (PARMS): Do not use macros from bp-asm.h.
47459 (STR): Likewise.
47460 (DELIM): Likewise.
47461 [USE_AS_STRTOK_R] (SAVE): Likewise.
47462 (FUNCTION): Likewise. Do not use BP_SYM.
47463 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
47464 aliases.
47465 (strtok_r): Likewise.
47466 (__GI___strtok_r): Likewise.
47467 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47468 (PARMS): Do not use macros from bp-asm.h.
47469 (S): Likewise.
47470 (SIZE): Likewise.
47471 (__mpn_lshift): Do not use BP_SYM.
47472 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47473 (PARMS): Do not use macros from bp-asm.h.
47474 (STR): Likewise.
47475 (CHR): Likewise.
47476 (__memchr): Do not use BP_SYM.
47477 (memchr): Do not use BP_SYM in weak_alias.
47478 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47479 (PARMS): Do not use macros from bp-asm.h.
47480 (BLK2): Likewise.
47481 (LEN): Likewise.
47482 (memcmp): Do not use BP_SYM.
47483 (bcmp): Do not use BP_SYM in weak_alias.
47484 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
47485 (PARMS): Do not use macros from bp-asm.h.
47486 (S1): Likewise.
47487 (SIZE): Likewise.
47488 (__mpn_mul_1): Do not use BP_SYM.
47489 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
47490 "bp-asm.h".
47491 (PARMS): Do not use macros from bp-asm.h.
47492 (STR): Likewise.
47493 (CHR): Likewise.
47494 (__rawmemchr): Do not use BP_SYM.
47495 (rawmemchr): Do not use BP_SYM in weak_alias.
47496 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47497 (PARMS): Do not use macros from bp-asm.h.
47498 (S): Likewise.
47499 (SIZE): Likewise.
47500 (__mpn_rshift): Do not use BP_SYM.
47501 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47502 (PARMS): Do not use macros from bp-asm.h.
47503 (SIGMSK): Likewise.
47504 (__sigsetjmp): Likewise. Do not use BP_SYM.
47505 * sysdeps/i386/start.S: Do not include "bp-sym.h".
47506 (_start): Do not use BP_SYM.
47507 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
47508 (PARMS): Do not use macros from bp-asm.h.
47509 (DEST): Likewise.
47510 (SRC): Likewise.
47511 (__stpcpy): Likewise. Do not use BP_SYM.
47512 (stpcpy): Do not use BP_SYM in weak_alias.
47513 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
47514 "bp-asm.h".
47515 (PARMS): Do not use macros from bp-asm.h.
47516 (DEST): Likewise.
47517 (SRC): Likewise.
47518 (LEN): Likewise.
47519 (__stpncpy): Likewise. Do not use BP_SYM.
47520 (stpncpy): Do not use BP_SYM in weak_alias.
47521 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47522 (PARMS): Do not use macros from bp-asm.h.
47523 (STR): Likewise.
47524 (CHR): Likewise.
47525 (strchr): Likewise. Do not use BP_SYM.
47526 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
47527 "bp-asm.h".
47528 (PARMS): Do not use macros from bp-asm.h.
47529 (STR): Likewise.
47530 (CHR): Likewise.
47531 (__strchrnul): Likewise. Do not use BP_SYM.
47532 (strchrnul): Do not use BP_SYM in weak_alias.
47533 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
47534 "bp-asm.h".
47535 (PARMS): Do not use macros from bp-asm.h.
47536 (STOP): Likewise.
47537 (strcspn): Do not use BP_SYM.
47538 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
47539 "bp-asm.h".
47540 (PARMS): Do not use macros from bp-asm.h.
47541 (STR): Likewise.
47542 (STOP): Likewise.
47543 (strpbrk): Likewise. Do not use BP_SYM.
47544 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
47545 "bp-asm.h".
47546 (PARMS): Do not use macros from bp-asm.h.
47547 (STR): Likewise.
47548 (CHR): Likewise.
47549 (strrchr): Likewise. Do not use BP_SYM.
47550 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
47551 (PARMS): Do not use macros from bp-asm.h.
47552 (SKIP): Likewise.
47553 (strspn): Do not use BP_SYM.
47554 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
47555 (PARMS): Do not use macros from bp-asm.h.
47556 (STR): Likewise.
47557 (DELIM): Likewise.
47558 (SAVE): Likewise.
47559 (FUNCTION): Likewise. Do not use BP_SYM.
47560 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
47561 aliases.
47562 (strtok_r): Likewise.
47563 (__GI___strtok_r): Likewise.
47564 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47565 (PARMS): Do not use macros from bp-asm.h.
47566 (S1): Likewise.
47567 (S2): Likewise.
47568 (SIZE): Likewise.
47569 (__mpn_sub_n): Do not use BP_SYM.
47570 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
47571 "bp-asm.h".
47572 (PARMS): Do not use macros from bp-asm.h.
47573 (S1): Likewise.
47574 (SIZE): Likewise.
47575 (__mpn_submul_1): Do not use BP_SYM.
47576 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
47577 <bp-sym.h>.
47578 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
47579 and <bp-asm.h>.
47580 (PARMS): Do not use macros from bp-asm.h.
47581 (FLAGS): Likewise.
47582 (PTID): Likewise.
47583 (TLS): Likewise.
47584 (CTID): Likewise.
47585 (__clone): Do not use BP_SYM.
47586 (clone): Do not use BP_SYM in weak_alias.
47587 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
47588 and <bp-asm.h>.
47589 (PARMS): Do not use macros from bp-asm.h.
47590 (LEN): Likewise.
47591 (__mmap64): Do not use BP_SYM.
47592 (mmap64): Do not use BP_SYM in weak_alias.
47593 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47594 <bp-sym.h> and <bp-asm.h>.
47595 (PARMS): Do not use macros from bp-asm.h.
47596 (__posix_fadvise64_l64): Do not use BP_SYM.
47597 * sysdeps/unix/sysv/linux/i386/semtimedop.S
47598 (PARMS): Do not use macros from bp-asm.h.
47599 (NSOPS): Likewise.
47600 (semtimedop): Do not use BP_SYM.
47601 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
47602 and <bp-asm.h>.
47603
47604 2013-02-21 Allan McRae <allan@archlinux.org>
47605
47606 * manual/message.texi (Charset conversion in gettext):
47607 Move @end statement to beginning of line.
47608
47609 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47610
47611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
47612 static.
47613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47614 Likewise.
47615
47616 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
47617 (denorm): Likewise.
47618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
47619 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
47620
47621 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47622
47623 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
47624 tail-call to the resolved function if pltexit isn't needed.
47625
47626 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47627
47628 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
47629 or Y being zero as being unlikely.
47630 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47631 Likewise.
47632
47633 2013-02-20 Carlos O'Donell <carlos@redhat.com>
47634
47635 * manual/nss.texi (System Databases and Name Service Switch):
47636 Remove frobnicate @pxref.
47637
47638 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
47639
47640 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47641 __attribute__ ((unused)) to __attribute__ ((__unused__)).
47642
47643 2013-02-20 Petr Machata <pmachata@redhat.com>
47644
47645 * elf/elf.h (R_ARM_TARGET1): New macro.
47646 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
47647 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
47648 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
47649 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
47650 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
47651 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
47652 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
47653 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
47654 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
47655 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
47656 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
47657 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
47658 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
47659 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
47660 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
47661 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
47662 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
47663 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
47664 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
47665 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
47666 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
47667 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
47668 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
47669 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
47670 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
47671 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
47672 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
47673 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
47674 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
47675 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
47676 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
47677 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
47678 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
47679 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
47680 (R_ARM_THM_GOT_BREL12): Likewise.
47681 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
47682 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
47683 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
47684 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
47685 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
47686 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
47687 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
47688 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
47689 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
47690
47691 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
47692
47693 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47694 __attribute_used__ to __attribute__ ((unused)).
47695
47696 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
47697
47698 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
47699 powerpc mpa.c.
47700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
47701 comment formatting.
47702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
47703
47704 2013-02-19 Joseph Myers <joseph@codesourcery.com>
47705
47706 [BZ #13550]
47707 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
47708 Remove macro.
47709 (ENTER): Remove both macro definitions.
47710 (LEAVE): Likewise.
47711 (CHECK_BOUNDS_LOW): Likewise.
47712 (CHECK_BOUNDS_HIGH): Likewise.
47713 (CHECK_BOUNDS_BOTH): Likewise.
47714 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
47715 (RETURN_BOUNDED_POINTER): Likewise.
47716 (RETURN_NULL_BOUNDED_POINTER): Likewise.
47717 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
47718 (POP_ERRNO_LOCATION_RETURN): Likewise.
47719 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
47720 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47721 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
47722 macros.
47723 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47724 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
47725 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
47726 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
47727 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
47728 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
47729 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
47730 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
47731 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
47732 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
47733 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
47734 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
47735 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47736 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
47737 removed macros.
47738 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47739 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
47740 macros.
47741 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47742 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
47743 * sysdeps/i386/i586/memset.S (memset): Likewise.
47744 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
47745 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47746 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
47747 macros.
47748 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47749 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
47750 Change uses of L(2) to L(out).
47751 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
47752 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
47753 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
47754 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47755 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
47756 removed macros.
47757 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47758 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
47759 macros.
47760 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47761 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
47762 (RETURN): Do not use macro LEAVE.
47763 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
47764 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
47765 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
47766 * sysdeps/i386/i686/memset.S (memset): Likewise.
47767 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
47768 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
47769 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47770 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
47771 Likewise.
47772 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47773 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
47774 L(1_2) and L(1_3) into L(1).
47775 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47776 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
47777 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47778 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
47779 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47780 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
47781 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
47782 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47783 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
47784 macros.
47785 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
47786 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47787 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
47788 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
47789 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
47790 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47791 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
47792 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
47793 * sysdeps/i386/strcspn.S (strcspn): Likewise.
47794 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
47795 * sysdeps/i386/strrchr.S (strrchr): Likewise.
47796 * sysdeps/i386/strspn.S (strspn): Likewise.
47797 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
47798 conditional code.
47799 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47800 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
47801 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47802 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
47803 L(1_3) into L(1_1).
47804 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
47805 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47806 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
47807 macros.
47808 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47809
47810 2013-02-19 Jakub Jelinek <jakub@redhat.com>
47811
47812 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
47813 macro.
47814
47815 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
47816
47817 * math/atest-exp.c (exp_mpn): Remove ROUND.
47818 * math/atest-exp2.c (exp_mpn): Likewise.
47819 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
47820
47821 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
47822 * stdlib/tst-tls-atexit-lib.c: Likewise.
47823 * stdlib/tst-tls-atexit.c: Likewise.
47824
47825 2013-02-18 Mike Frysinger <vapier@gentoo.org>
47826
47827 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
47828 and __attribute_alloc_size__.
47829
47830 2013-02-18 Mike Frysinger <vapier@gentoo.org>
47831
47832 * include/programs/xmalloc.h: Change __attribute_alloc_size to
47833 __attribute_alloc_size__.
47834 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
47835 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
47836
47837 2013-02-18 Mike Frysinger <vapier@gentoo.org>
47838
47839 * include/programs/xmalloc.h: New file.
47840 * catgets/gencat.c: Include it.
47841 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
47842 * elf/pldd.c: Likewise.
47843 * iconv/iconv_charmap.c: Likewise.
47844 * iconv/iconvconfig.c: Likewise.
47845 * iconv/strtab.c: Likewise.
47846 * locale/programs/locale.c: Likewise.
47847 * locale/programs/localedef.h: Likewise.
47848 * locale/programs/simple-hash.c: Likewise.
47849 * nscd/nscd.h: Likewise.
47850 * nss/makedb.c: Likewise.
47851 * sysdeps/generic/ldconfig.h: Likewise.
47852
47853 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
47854
47855 * Versions.def: Add GLIBC_2.18.
47856 * include/link.h (struct link_map): New member l_tls_dtor_count.
47857 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
47858 (__call_tls_dtors): Likewise.
47859 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
47860 __cxa_thread_atexit_impl.
47861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47862 Likewise.
47863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47864 Likewise.
47865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47866 Likewise.
47867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47868 Likewise.
47869 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
47871 Likewise.
47872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
47873 Likewise.
47874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47876 Likewise.
47877 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
47878 (tests): Add test case tst-tls-atexit.
47879 (modules-names): Add shared library for tst-tls-atexit.
47880 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
47881 (GLIBC_PRIVATE): Add __call_tls_dtors.
47882 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
47883 for libstdc++.
47884 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
47885 * stdlib/tst-tls-atexit.c: New test case.
47886 * stdlib/tst-tls-atexit-lib.c: New test case.
47887
47888 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
47889
47890 * elf/Versions (ld): Add _dl_find_dso_for_object.
47891 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
47892 * elf/dl-open.c (_dl_find_dso_for_object): New function.
47893 (dl_open_worker): Use _dl_find_dso_for_object.
47894 * elf/dl-sym.c (do_sym): Likewise.
47895 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
47896
47897 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47898
47899 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
47900 Syntactic changes only.
47901 (_dl_runtime_profile): Do a tail-call to the resolved function.
47902
47903 2013-02-17 Joseph Myers <joseph@codesourcery.com>
47904
47905 [BZ #13550]
47906 * sysdeps/x86_64/bp-asm.h: Remove file.
47907 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
47908 <bp-sym.h> and <bp-asm.h>.
47909 (__clone): Do not use BP_SYM.
47910 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
47911 <bp-sym.h> and <bp-asm.h>.
47912 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47913 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
47914 "bp-asm.h".
47915 (_setjmp): Do not use BP_SYM.
47916 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
47917 "bp-asm.h".
47918 (setjmp): Do not use BP_SYM.
47919 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
47920 libc_hidden_def.
47921 (mempcpy): Do not use BP_SYM in weak_alias.
47922 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
47923 "bp-asm.h".
47924 (strchr): Do not use BP_SYM.
47925 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
47926 "bp-asm.h".
47927 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
47928 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
47929 (_start): Do not use BP_SYM.
47930 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
47931 "bp-asm.h".
47932 (strcat): Do not use BP_SYM.
47933 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
47934 "bp-asm.h".
47935 (STRCMP): Do not use BP_SYM.
47936 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
47937 "bp-asm.h".
47938 (STRCPY): Do not use BP_SYM.
47939 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
47940 "bp-asm.h".
47941 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
47942 "bp-asm.h".
47943 (FUNCTION): Do not use BP_SYM.
47944 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
47945 weak_alias.
47946 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
47947
47948 2013-02-17 Andreas Jaeger <aj@suse.de>
47949
47950 * time/Versions: Sort entries.
47951 * string/Versions: Likewise.
47952 * resolv/Versions: Likewise.
47953 * posix/Versions: Likewise.
47954 * iconv/Versions: Likewise.
47955 * elf/Versions: Likewise.
47956 * wcsmbs/Versions: Likewise.
47957
47958 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
47959
47960 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
47961 loop termination condition.
47962
47963 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
47964 variable to calculate EZ.
47965 (__sqr): Likewise.
47966
47967 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
47968 the lower precision input.
47969
47970 2013-02-15 Joseph Myers <joseph@codesourcery.com>
47971
47972 [BZ #13550]
47973 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
47974 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
47975 (run-via-rtld-prefix): Do not handle %-bp tests.
47976 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
47977 (all-object-suffixes): Remove .ob.
47978 (bppfx): Remove variable.
47979 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
47980 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
47981 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
47982 [$(build-bounded) = yes] (libtype.ob): Likewise.
47983 * Makerules (elide-routines.ob): Remove variable.
47984 (do-tests-clean): Do not handle *-bp.out.
47985 (common-mostlyclean): Do not handle *-bp and *-bp.out.
47986 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
47987 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
47988 (tests): Do not include $(tests-bp.out).
47989 (xtests): Do not include $(xtests-bp.out).
47990 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
47991 [$(build-bounded) = yes] ($(addprefix
47992 $(objpfx),$(binaries-bounded))): Remove rule.
47993 ($(objpfx)%-bp.out): Remove rule.
47994 * config.make.in (build-bounded): Remove variable.
47995 * crypt/Makefile [$(build-bounded) = yes]
47996 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
47997 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
47998 append to variable.
47999 [$(build-bounded) = yes] (install-lib): Likewise.
48000 [$(build-bounded) = yes] (generated): Likewise.
48001 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
48002 Remove rule.
48003 * intl/Makefile [$(build-bounded) = yes]
48004 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
48005 * math/Makefile [$(build-bounded) = yes]
48006 ($(tests:%=$(objpfx)%-bp): Likewise.
48007 * misc/Makefile [$(build-bounded) = yes]
48008 ($(objpfx)tst-tsearch-bp): Likewise.
48009 * nptl/Makeconfig (bounded-thread-library): Remove variable.
48010 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
48011 Remove dependency.
48012 * string/Makefile (o-objects.ob): Remove variable.
48013 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
48014 (CFLAGS-.ob): Remove variable.
48015 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
48016 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
48017 both definitions of variable.
48018 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
48019 (ASFLAGS-.ob): Remove variable.
48020
48021 2013-02-14 Joseph Myers <joseph@codesourcery.com>
48022
48023 [BZ #13550]
48024 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
48025 Remove __BOUNDED_POINTERS__ from condition.
48026 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
48027 * string/bits/string2.h [!__NO_STRING_INLINES &&
48028 !__BOUNDED_POINTERS__]: Likewise.
48029 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
48030 Likewise.
48031 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
48032 Remove conditional code.
48033 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
48034 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
48035 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
48036 condition.
48037
48038 [BZ #13550]
48039 * csu/libc-start.c: Do not include <bp-sym.h>.
48040 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
48041 * elf/dl-open.c: Do not include <bp-sym.h>.
48042 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
48043 * math/fegetenv.c: Do not include <bp-sym.h>.
48044 (fegetenv): Do not use BP_SYM in versioned symbols.
48045 * nptl/sysdeps/pthread/bits/libc-lockP.h
48046 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
48047 <bp-sym.h>.
48048 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48049 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
48050 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48051 (__pthread_mutex_destroy): Likewise.
48052 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48053 (__pthread_mutex_lock): Likewise.
48054 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48055 (__pthread_mutex_trylock): Likewise.
48056 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48057 (__pthread_mutex_unlock): Likewise.
48058 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48059 (__pthread_mutexattr_init): Likewise.
48060 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48061 (__pthread_mutexattr_destroy): Likewise.
48062 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48063 (__pthread_mutexattr_settype): Likewise.
48064 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48065 (__pthread_rwlock_init): Likewise.
48066 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48067 (__pthread_rwlock_destroy): Likewise.
48068 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48069 (__pthread_rwlock_rdlock): Likewise.
48070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48071 (__pthread_rwlock_tryrdlock): Likewise.
48072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48073 (__pthread_rwlock_wrlock): Likewise.
48074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48075 (__pthread_rwlock_trywrlock): Likewise.
48076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48077 (__pthread_rwlock_unlock): Likewise.
48078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48079 (__pthread_key_create): Likewise.
48080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48081 (__pthread_setspecific): Likewise.
48082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48083 (__pthread_getspecific): Likewise.
48084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
48085 Likewise.
48086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48087 (_pthread_cleanup_push_defer): Likewise.
48088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48089 (_pthread_cleanup_pop_restore): Likewise.
48090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48091 (pthread_setcancelstate): Likewise.
48092 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
48093 <bp-sym.h>.
48094 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
48095 (memchr): Do not use BP_SYM in weak_alias.
48096 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
48097 (fegetenv): Do not use BP_SYM in versioned symbols.
48098 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
48099 (fesetenv): Do not use BP_SYM in versioned symbols.
48100 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48101 (feupdateenv): Do not use BP_SYM in versioned symbols.
48102 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48103 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48104 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
48105 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
48106 (open64): Do not use BP_SYM in weak_alias.
48107 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
48108 (fegetenv): Do not use BP_SYM in versioned symbols.
48109 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
48110 (fesetenv): Do not use BP_SYM in versioned symbols.
48111 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48112 (feupdateenv): Do not use BP_SYM in versioned symbols.
48113 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
48114 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
48115 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
48116 (feraiseexcept): Do not use BP_SYM in versioned symbols.
48117 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48118 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48119 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
48120 <bp-sym.h>.
48121 (__libc_start_main): Do not use BP_SYM.
48122
48123 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
48124
48125 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
48126 redundant return line.
48127 (norm): Likewise.
48128 (denorm): Likewise.
48129 (dbl_mp): Likewise.
48130 (sub_magnitudes): Likewise.
48131 (__add): Likewise.
48132 (__sub): Likewise.
48133 (__mul): Likewise.
48134 (__inv): Likewise.
48135 (__dvd): Likewise.
48136 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
48137 (norm): Likewise.
48138 (denorm): Likewise.
48139 (dbl_mp): Likewise.
48140 (sub_magnitudes): Likewise.
48141 (__add): Likewise.
48142 (__sub): Likewise.
48143 (__mul): Likewise.
48144 (__inv): Likewise.
48145 (__dvd): Likewise.
48146
48147 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
48148 instead of __mul.
48149 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48150 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
48151 (cc32): Likewise.
48152
48153 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
48154 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
48155 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
48156 of __mul for squares.
48157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
48158 function
48159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
48160 Likewise.
48161 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
48162 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48163
48164 2013-02-13 Joseph Myers <joseph@codesourcery.com>
48165
48166 [BZ #13550]
48167 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
48168 code.
48169 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
48170 prototype or function definition. Rename ubp_* variables and
48171 parameters. Remove argv definitions conditional on
48172 [__BOUNDED_POINTERS__].
48173 * debug/backtrace.c (__backtrace): Do not use __unbounded.
48174 * elf/dl-runtime.c (_dl_fixup): Likewise.
48175 * include/set-hooks.h (RUN_HOOK): Likewise.
48176 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
48177 definition.
48178 * string/strcpy.c (strcpy): Do not use __unbounded.
48179 * sysdeps/generic/frame.h (struct layout): Likewise.
48180 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
48181 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
48182 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
48183 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
48184 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
48185 (__backtrace): Likewise.
48186 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
48187 use __ptrvalue.
48188 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
48189 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48190 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
48191 Likewise.
48192 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
48193 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
48194 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48195 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48196 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
48197 Do not use __unbounded.
48198 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
48199 Rename __unboundedrlimits parameter to rlimits in prototype.
48200 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
48201 Do not use __unbounded.
48202 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
48203 not use __ptrvalue.
48204 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48205 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
48206 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48207 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
48208 __ptrvalue or __unbounded.
48209 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
48210 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
48211 use __unbounded.
48212 (__new_msgctl): Do not use __ptrvalue.
48213 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
48214 __unbounded.
48215 (__libc_msgrcv): Do not use __ptrvalue.
48216 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
48217 startup_info): Do not use __unbounded.
48218 (__libc_start_main): Likewise. Rename ubp_* variables and
48219 parameters. Remove argv definitions conditional on
48220 [__BOUNDED_POINTERS__].
48221 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
48222 __ptrvalue.
48223 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
48224 use __unbounded.
48225 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
48226 or __ptrvalue.
48227 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
48228 use __unbounded.
48229 (__new_shmctl): Do not use __ptrvalue.
48230 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
48231 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
48232 Likewise.
48233 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
48234 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
48235 (__libc_sigaction): Likewise.
48236 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
48237 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
48238 Likewise.
48239 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48240
48241 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
48242
48243 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
48244
48245 * string/mempcpy.c: Implement by calling memcpy.
48246
48247 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
48248
48249 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
48250
48251 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
48252 evaluation.
48253
48254 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
48255 values in the mantissa.
48256
48257 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
48258 minimize writes to Z.
48259 (sub_magnitudes): Simplify code a bit.
48260
48261 2013-02-12 Roland McGrath <roland@hack.frob.com>
48262
48263 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
48264 from the message. The linker prefixes all warnings with that already.
48265
48266 2013-02-12 Andreas Schwab <schwab@suse.de>
48267
48268 [BZ #15078]
48269 * posix/regexec.c (extend_buffers): Add parameter min_len.
48270 (check_matching): Pass minimum needed length.
48271 (clean_state_log_if_needed): Likewise.
48272 (get_subexp): Likewise.
48273 * posix/Makefile (tests): Add bug-regex34.
48274 (bug-regex34-ENV): Define.
48275 * posix/bug-regex34.c: New file.
48276
48277 [BZ #11561]
48278 * posix/regcomp.c (parse_bracket_exp): When looking up collating
48279 elements compare against the byte sequence of it, not its name.
48280 * posix/Makefile (tests): Add bug-regex35.
48281 (bug-regex35-ENV): Define.
48282 * posix/bug-regex35.c: New file.
48283
48284 2013-02-11 Tom de Vries <tom@codesourcery.com>
48285
48286 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
48287 comment.
48288 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
48289 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
48290 (CHECK_EOL): Add undef.
48291
48292 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
48293
48294 * bits/stdlib-bsearch.h: New file.
48295 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
48296 * stdlib/stdlib.h: Likewise.
48297
48298 2013-02-11 Roland McGrath <roland@hack.frob.com>
48299
48300 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
48301 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
48302 declaration.
48303 * manual/search.texi (Array Search Function): Add missing const in
48304 lfind prototype.
48305 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
48306 declaration to use rlim_t.
48307 (Basic Scheduling Functions): Remove erroneous const from
48308 sched_getparam prototype. Remove erroneous * from
48309 sched_get_priority_max and sched_get_priority_min prototypes.
48310 (Resource Usage): Fix summary @comment on vtimes to refer to
48311 sys/vtimes.h rather than vtimes.h.
48312 Add missing *s in vtimes prototype.
48313 (Limits on Resources): Fix ulimit prototype to return long int.
48314 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
48315 prototypes to use long int rather than double.
48316 (BSD Random): Fix initstate and setstate to use char *, not void *.
48317 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
48318 prototype to make second argument 'struct aiocb64 *const[]'.
48319 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
48320 (Status of AIO Operations): Remove erroneous const in aio_return and
48321 aio_return64 prototypes.
48322 (Synchronizing I/O): Fix sync prototype to return void.
48323 * manual/startup.texi (Suboptions): Remove an erroneous const in
48324 getsubopt prototype.
48325 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
48326 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
48327 use size_t rather than int.
48328 (Scanning All Users): Likewise for getpwent_r.
48329 (Setting Groups): Add missing const to setgroups prototype.
48330 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
48331 * manual/socket.texi (Host Names): Fix gethostbyaddr and
48332 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
48333 'const void *' rather than 'const char *'.
48334 (Host Address Functions): Likewise for inet_ntop.
48335 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
48336 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
48337 ssize_t for return value.
48338 (Sending Data): Likewise for send, sendto, sendmsg.
48339 (Socket Option Functions): Add a missing const in setsockopt prototype.
48340 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
48341 use wchar_t for the argument.
48342 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
48343 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
48344 take no arguments.
48345 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
48346 double/float/long double for second argument.
48347 Fix return types of significand, significandf, significandl.
48348 * manual/filesys.texi (Setting Permissions): Use mode_t for second
48349 argument in fchmod prototype.
48350 (File Owner): Use uid_t and gid_t in fchown prototype.
48351 (File Times): Add const to utimes, futimes, and lutimes prototypes.
48352 (Making Special Files): Use mode_t and dev_t in mknod prototype.
48353 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
48354 use 'const struct dirent **' as argument types to CMP function pointer
48355 argument.
48356 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
48357 (File Times): Fix summary magic @comment for struct utimbuf and utime
48358 to refer to utime.h, not time.h.
48359 * manual/string.texi (Argz Functions): Add missing const in
48360 argz_extract and argz_next prototypes.
48361 (Finding Tokens in a String): Likewise for basename.
48362 (String/Array Comparison): Fix typo in wcscasecmp prototype.
48363 (Copying and Concatenation): Fix typo in wmemmove prototype.
48364 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
48365 (Signal Stack): Remove erroneous const in sigstack prototype.
48366 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
48367 prototype.
48368 (Simple Calendar Time): Likewise for stime.
48369 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
48370 prototype.
48371 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
48372 say sys/sysctl.h instead.
48373 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
48374 and vsyslog prototypes.
48375
48376 2013-02-11 Tom de Vries <tom@codesourcery.com>
48377
48378 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
48379 Remove.
48380
48381 2013-02-11 Roland McGrath <roland@hack.frob.com>
48382
48383 * misc/sys/mman.h: Fix typo in mremap comment.
48384
48385 2013-02-08 Roland McGrath <roland@hack.frob.com>
48386
48387 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
48388 the '\0' terminator.
48389
48390 2013-02-08 Joseph Myers <joseph@codesourcery.com>
48391
48392 [BZ #13550]
48393 * debug/segfault.c: Don't include <bp-checks.h>.
48394 * sysdeps/generic/bp-checks.h: Remove file.
48395 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
48396 (__GETDENTS): Don't use CHECK_N.
48397 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
48398 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
48399 (__getgroups): Don't use CHECK_N.
48400 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
48401 (setgroups): Don't use CHECK_N.
48402 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
48403 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
48404 (__libc_msgrcv): Don't use CHECK_N.
48405 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
48406 (__libc_msgsnd): Don't use CHECK_N.
48407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
48408 <bp-checks.h>.
48409 (__libc_pread): Don't use CHECK_N.
48410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
48411 include <bp-checks.h>.
48412 (__libc_pread64): Don't use CHECK_N.
48413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
48414 include <bp-checks.h>.
48415 (__libc_pwrite): Don't use CHECK_N.
48416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
48417 include <bp-checks.h>.
48418 (__libc_pwrite64): Don't use CHECK_N.
48419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
48420 <bp-checks.h>.
48421 (__libc_pread): Don't use CHECK_N.
48422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
48423 include <bp-checks.h>.
48424 (__libc_pread64): Don't use CHECK_N.
48425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
48426 include <bp-checks.h>.
48427 (__libc_pwrite): Don't use CHECK_N.
48428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
48429 include <bp-checks.h>.
48430 (__libc_pwrite64): Don't use CHECK_N.
48431 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
48432 (do_pread): Don't use CHECK_N.
48433 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
48434 (do_pread64): Don't use CHECK_N.
48435 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
48436 (do_pwrite): Don't use CHECK_N.
48437 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
48438 (do_pwrite64): Don't use CHECK_N.
48439 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
48440 (__libc_readv): Don't use CHECK_N.
48441 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
48442 (semop): Don't use CHECK_N.
48443 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
48444 <bp-checks.h>.
48445 (semtimedop): Don't use CHECK_N.
48446 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
48447 (__libc_pread): Don't use CHECK_N.
48448 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
48449 <bp-checks.h>.
48450 (__libc_pread64): Don't use CHECK_N.
48451 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
48452 <bp-checks.h>.
48453 (__libc_pwrite): Don't use CHECK_N.
48454 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
48455 <bp-checks.h>.
48456 (__libc_pwrite64): Don't use CHECK_N.
48457 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
48458 <bp-checks.h>.
48459 (__libc_msgrcv): Don't use CHECK_N.
48460 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
48461 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
48462 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
48463 (__libc_writev): Don't use CHECK_N.
48464
48465 2013-02-08 Roland McGrath <roland@hack.frob.com>
48466
48467 * string/strcpy.c: Removed unused variable.
48468
48469 * Makeconfig (+sysdep-includes): Define with := rather than =.
48470 Use an existing include/ subdir of each sysdeps dir before it.
48471
48472 2013-02-08 Carlos O'Donell <carlos@redhat.com>
48473
48474 * nscd/connection.c (register_traced_file): Comment function.
48475 [HAVE_INOTIFY] (union __inev): Define.
48476 [HAVE_INOTIFY] (inotify_check_files): New function.
48477 [HAVE_INOTIFY] (clear_db_cache): Likewise.
48478 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
48479 clear_db_cache.
48480 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
48481
48482 2013-02-08 Carlos O'Donell <carlos@redhat.com>
48483
48484 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
48485 loaded if not already and that a failure is permanent.
48486
48487 2013-02-08 Carlos O'Donell <carlos@redhat.com>
48488
48489 [BZ #15006]
48490 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
48491 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
48492
48493 2013-02-08 Joseph Myers <joseph@codesourcery.com>
48494
48495 [BZ #13550]
48496 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
48497 (CHECK_1_NULL_OK): Likewise.
48498 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
48499 (__fxstat): Do not use CHECK_1.
48500 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
48501 <bp-checks.h>.
48502 (___fxstat64): Do not use CHECK_1.
48503 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48504 <bp-checks.h>.
48505 (__fxstatat): Do not use CHECK_1.
48506 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48507 <bp-checks.h>.
48508 (__fxstatat64): Do not use CHECK_1.
48509 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
48510 <bp-checks.h>.
48511 (__fxstat): Do not use CHECK_1.
48512 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48513 <bp-checks.h>.
48514 (__fxstatat): Do not use CHECK_1.
48515 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48516 <bp-checks.h>.
48517 (__getresgid): Do not use CHECK_1.
48518 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48519 <bp-checks.h>.
48520 (__getresuid): Do not use CHECK_1.
48521 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
48522 <bp-checks.h>.
48523 (__lxstat): Do not use CHECK_1.
48524 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48525 <bp-checks.h>.
48526 (__old_msgctl): Do not use CHECK_1.
48527 (__new_msgctl): Likewise.
48528 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
48529 <bp-checks.h>.
48530 (__new_setrlimit): Do not use CHECK_1.
48531 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48532 <bp-checks.h>.
48533 (__old_shmctl): Do not use CHECK_1.
48534 (__new_shmctl): Likewise.
48535 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
48536 <bp-checks.h>.
48537 (__xstat): Do not use CHECK_1.
48538 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
48539 (__lxstat): Do not use CHECK_1.
48540 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
48541 <bp-checks.h>.
48542 (___lxstat64): Do not use CHECK_1.
48543 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
48544 (__old_msgctl): Do not use CHECK_1.
48545 (__new_msgctl): Likewise.
48546 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
48547 <bp-checks.h>.
48548 (__gettimeofday): Do not use CHECK_1.
48549 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
48550 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
48551 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
48552 <bp-checks.h>.
48553 (__gettimeofday): Do not use CHECK_1.
48554 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
48555 (__old_shmctl): Do not use CHECK_1_NULL_OK.
48556 (__new_shmctl): Do not use CHECK_1.
48557 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
48558 <bp-checks.h>.
48559 (do_sigtimedwait): Do not use CHECK_1.
48560 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
48561 <bp-checks.h>.
48562 (do_sigwaitinfo): Do not use CHECK_1.
48563 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
48564 <bp-checks.h>.
48565 (msgctl): Do not use CHECK_1.
48566 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
48567 <bp-checks.h>.
48568 (shmctl): Do not use CHECK_1.
48569 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
48570 (ustat): Do not use CHECK_1.
48571 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
48572 <bp-checks.h>.
48573 (__fxstat): Do not use CHECK_1.
48574 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48575 <bp-checks.h>.
48576 (__fxstatat): Do not use CHECK_1.
48577 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
48578 <bp-checks.h>.
48579 (__lxstat): Do not use CHECK_1.
48580 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
48581 <bp-checks.h>.
48582 (__xstat): Do not use CHECK_1.
48583 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
48584 (__xstat): Do not use CHECK_1.
48585 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
48586 (___xstat64): Do not use CHECK_1.
48587
48588 [BZ #13550]
48589 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
48590 definitions.
48591 (CHECK_BOUNDS_HIGH): Likewise.
48592 * string/strcpy.c: Do not include <bp-checks.h>.
48593 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
48594
48595 2013-02-07 Roland McGrath <roland@hack.frob.com>
48596
48597 * nscd/nscd-client.h (__nscd_drop_map_ref):
48598 Add __attribute__ ((unused)).
48599 * nis/nss-nisplus.h (niserr2nss): Likewise.
48600
48601 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
48602 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
48603
48604 * csu/libc-tls.c (init_static_tls, init_slotinfo):
48605 Remove inline keyword.
48606 * include/rounding-mode.h (round_away): Likewise.
48607 * libio/wfileops.c (adjust_wide_data): Likewise.
48608 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
48609 (__m128i_strloadu_tolower): Likewise.
48610 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
48611 (__m128i_strloadu_tolower): Likewise.
48612 * time/mktime.c (ydhms_diff): Likewise.
48613 * locale/elem-hash.h (elem_hash): Likewise.
48614 * locale/setlocale.c (setdata): Likewise.
48615 * posix/regex_internal.h (re_string_char_size_at): Likewise.
48616 (re_string_wchar_at): Likewise.
48617 (bitset_not, bitset_merge, bitset_mask): Likewise.
48618 [!(__GNUC__ > 3)] (inline): Remove macro.
48619 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
48620 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
48621 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
48622 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
48623 * string/memcmp.c (memcmp_bytes): Likewise.
48624 * locale/programs/locarchive.c (compute_hashval): Likewise.
48625 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
48626 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
48627 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
48628 * nss/getent.c (print_rpc, print_protocols): Likewise.
48629 (print_passwd, print_group, print_aliases): Likewise.
48630 * nis/nss-nisplus.h (niserr2nss): Likewise.
48631 * nscd/connections.c (restart_p): Likewise.
48632 Change return type to bool.
48633
48634 2013-02-05 Roland McGrath <roland@hack.frob.com>
48635
48636 * Makeconfig (all-Depend-files): Add existing
48637 $(sorted-subdirs:=/Depend) files.
48638 (all-subdirs): Remove nss.
48639 * sysdeps/unix/inet/Subdirs: Add it here instead.
48640 * hesiod/Depend: New file.
48641
48642 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
48643 instead of calling alloca.
48644
48645 * io/lseek.c (__lseek): Rename to __libc_lseek.
48646 Define __lseek as an alias.
48647
48648 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
48649
48650 2013-02-04 Carlos O'Donell <carlos@redhat.com>
48651
48652 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
48653 else clause and remove check for non-standard endianness.
48654
48655 2013-02-04 David S. Miller <davem@davemloft.net>
48656
48657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48658
48659 2013-02-04 Joseph Myers <joseph@codesourcery.com>
48660
48661 [BZ #13550]
48662 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
48663 (__ubp_memchr): Remove prototype.
48664 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
48665 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48666 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
48667 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48668 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
48669 Remove alias.
48670 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
48671 (__ubp_memchr): Likewise.
48672 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
48673 (__ubp_memchr): Likewise.
48674 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
48675 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
48676 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
48677 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
48678 CHECK_STRING.
48679 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48680 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
48681 (__getcwd): Do not use CHECK_STRING.
48682 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48683 <bp-checks.h>.
48684 (__real_chown): Do not use CHECK_STRING.
48685 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
48686 <bp-checks.h>.
48687 (fchownat): Do not use CHECK_STRING.
48688 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
48689 CHECK_STRING.
48690 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48691 <bp-checks.h>.
48692 (__lchown): Do not use CHECK_STRING.
48693 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48694 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48695 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48696 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
48697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48698 include <bp-checks.h>.
48699 (truncate64): Do not use CHECK_STRING.
48700 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48701 <bp-checks.h>.
48702 (__real_chown): Do not use CHECK_STRING.
48703 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48704 <bp-checks.h>.
48705 (__lchown): Do not use CHECK_STRING.
48706 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48707 <bp-checks.h>.
48708 (__chown): Do not use CHECK_STRING.
48709 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
48710 <bp-checks.h>.
48711 (truncate64): Do not use CHECK_STRING.
48712 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
48713 Likewise.
48714 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
48715 (__xmknod): Do not use CHECK_STRING.
48716 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48717 <bp-checks.h>.
48718 (__xmknodat): Do not use CHECK_STRING.
48719 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48720 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
48721
48722 2013-02-04 Andreas Schwab <schwab@suse.de>
48723
48724 [BZ #14142]
48725 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
48726 * include/netdb.h: Likewise for h_errno.
48727 * elf/tst-stackguard1.c: Include <tls.h>.
48728
48729 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
48730
48731 * elf/link.h (struct link_map): Extend the l_addr comment.
48732 * include/link.h (struct link_map): Likewise.
48733
48734 2013-02-01 Joseph Myers <joseph@codesourcery.com>
48735
48736 [BZ #13550]
48737 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
48738 (BOUNDED_1): Remove macro.
48739 * debug/backtrace.c: Don't include <bp-checks.h>.
48740 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
48741 (__backtrace): Likewise.
48742 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
48743 <bp-checks.h>.
48744 (__backtrace): Don't use BOUNDED_1.
48745 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
48746 <bp-checks.h>.
48747 (__backtrace): Don't use BOUNDED_1.
48748 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
48749 (__backtrace): Don't use BOUNDED_1.
48750 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
48751 (shmat): Don't use BOUNDED_N.
48752
48753 2013-01-31 Joseph Myers <joseph@codesourcery.com>
48754
48755 [BZ #13550]
48756 * sysdeps/generic/bp-start.h: Remove file.
48757 * csu/libc-start.c: Don't include <bp-start.h>.
48758 (LIBC_START_MAIN): Set up __environ directly instead of using
48759 INIT_ARGV_and_ENVIRON.
48760 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
48761 <bp-start.h>.
48762
48763 [BZ #13550]
48764 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
48765 definitions.
48766 (CHECK_FCNTL): Likewise.
48767 (CHECK_N_PAGES): Likewise.
48768
48769 [BZ #13550]
48770 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
48771 definitions.
48772 (CHECK_SIGSET_NULL_OK): Likewise.
48773 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
48774 <bp-checks.h>.
48775 (sigpending): Don't use CHECK_SIGSET.
48776 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
48777 <bp-checks.h>.
48778 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48779 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
48780 <bp-checks.h>.
48781 (do_sigsuspend): Don't use CHECK_SIGSET.
48782 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
48783 use CHECK_SIGSET.
48784 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
48785 (do_sigwait): Don't use CHECK_SIGSET.
48786 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
48787 use CHECK_SIGSET.
48788 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
48789 include <bp-checks.h>.
48790 (sigpending): Don't use CHECK_SIGSET.
48791 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
48792 include <bp-checks.h>.
48793 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48794 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
48795 <bp-checks.h>.
48796 (sigpending): Don't use CHECK_SIGSET.
48797 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
48798 <bp-checks.h>.
48799 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48800
48801 [BZ #13550]
48802 * sysdeps/generic/bp-semctl.h: Remove file.
48803 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
48804 <bp-checks.h> and <bp-semctl.h>.
48805 (__old_semctl): Don't use CHECK_SEMCTL.
48806 (__new_semctl): Likewise.
48807 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
48808 and <bp-semctl.h>.
48809 (__old_semctl): Don't use CHECK_SEMCTL.
48810 (__new_semctl): Likewise.
48811 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
48812 <bp-checks.h> and <bp-semctl.h>.
48813 (__old_semctl): Don't use CHECK_SEMCTL.
48814 (__new_semctl): Likewise.
48815 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
48816 <bp-checks.h> and <bp-semctl.h>.
48817 (semctl): Don't use CHECK_SEMCTL.
48818
48819 [BZ #13550]
48820 * Makerules (elide-bp-thunks): Remove variable.
48821 (elide-routines.oS): Don't use $(elide-bp-thunks).
48822 (elide-routines.os): Likewise.
48823 (elide-routines.o): Likewise.
48824 (elide-routines.op): Likewise.
48825 (elide-routines.og): Likewise.
48826 (objects): Don't use $(bp-thunks).
48827 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
48828 include.
48829 (common-generated): Do not add s-proto-bp.d.
48830 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
48831 (int): Likewise.
48832 (typ): Likewise.
48833 Do not generate makefile rules for bounded-pointer thunks.
48834 * sysdeps/generic/bp-thunks.h: Remove file.
48835 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
48836 * sysdeps/unix/s-proto-bp.S: Likewise.
48837
48838 [BZ #15062]
48839 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
48840 parts of result separately when argument is not close to line from
48841 -i to i and one part of argument is small.
48842 * math/k_casinhf.c (__kernel_casinhf): Likewise.
48843 * math/k_casinhl.c (__kernel_casinhl): Likewise.
48844 * math/libm-test.inc (cacos_test): Add more tests.
48845 (casin_test): Likewise.
48846 (casinh_test): Likewise.
48847 * sysdeps/i386/fpu/libm-test-ulps: Update.
48848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48849
48850 2013-01-31 David S. Miller <davem@davemloft.net>
48851
48852 * po/de.po: Update from translation team.
48853
48854 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
48855
48856 * time/tzfile.c: Include stdint.h for SIZE_MAX.
48857
48858 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
48859
48860 * configure.in (_AC_PROG_CC_C89): New definition.
48861 * configure: Regenerate.
48862
48863 * configure.in (AC_PROG_CPP): New definition.
48864 * configure: Regenerate.
48865
48866 2013-01-23 Joseph Myers <joseph@codesourcery.com>
48867
48868 * debug/tst-backtrace.h: New file.
48869 * debug/tst-backtrace2.c: Include tst-backtrace.h.
48870 (ret): Remove variable.
48871 (x): Likewise.
48872 (FAIL): Remove macro.
48873 (NO_INLINE): Likewise.
48874 (fn1): Use match function instead of strstr.
48875 * debug/tst-backtrace3.c: Include tst-backtrace.h.
48876 (ret): Remove variable.
48877 (x): Likewise.
48878 (FAIL): Remove macro.
48879 (NO_INLINE): Likewise.
48880 (fn): Use match function instead of strstr.
48881 * debug/tst-backtrace4.c: Include tst-backtrace.h.
48882 (ret): Remove variable.
48883 (x): Likewise.
48884 (FAIL): Remove macro.
48885 (NO_INLINE): Likewise.
48886 (handle_signal): Use match function instead of strstr.
48887 * debug/tst-backtrace5.c: Include tst-backtrace.h.
48888 (ret): Remove variable.
48889 (x): Likewise.
48890 (FAIL): Remove macro.
48891 (NO_INLINE): Likewise.
48892 (handle_signal): Use match function instead of strstr.
48893
48894 2013-01-23 Roland McGrath <roland@hack.frob.com>
48895
48896 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
48897
48898 2013-01-23 David S. Miller <davem@davemloft.net>
48899
48900 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
48901 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
48902 argument of CAS if possible.
48903 * sysdeps/sparc/sparc64/bits/atomic.h
48904 (__arch_compare_and_exchange_val_32_acq): Likewise.
48905 (__arch_compare_and_exchange_val_64_acq): Likewise.
48906
48907 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
48908
48909 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
48910 * sysdeps/posix/ulimit.c: ... this.
48911 Include <limits.h>.
48912 * sysdeps/unix/bsd/ulimit.c: Remove file.
48913
48914 2013-01-23 Adam Conrad <adconrad@0c3.net>
48915
48916 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
48917 (LDFLAGS-tst-array5): Likewise.
48918
48919 2013-01-23 Joseph Myers <joseph@codesourcery.com>
48920
48921 [BZ #15036]
48922 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
48923 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
48924 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
48925 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
48926
48927 2013-01-21 David S. Miller <davem@davemloft.net>
48928
48929 * sysdeps/sparc/backtrace.c: New file.
48930 * sysdeps/sparc/sparc32/backtrace.h: New file.
48931 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
48932 * sysdeps/sparc/sparc64/backtrace.h: New file.
48933 * sysdeps/sparc/sparc64/backtrace.c: Delete.
48934 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
48935 -funwind-tables.
48936
48937 2013-01-21 Andreas Schwab <schwab@suse.de>
48938
48939 [BZ #15020]
48940 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
48941 closed its stdout.
48942
48943 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
48944
48945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
48946 "mpa2.h".
48947 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48948
48949 2013-01-18 Joseph Myers <joseph@codesourcery.com>
48950 Mark Mitchell <mark@codesourcery.com>
48951 Tom de Vries <tom@codesourcery.com>
48952 Paul Pluzhnikov <ppluzhnikov@google.com>
48953
48954 * debug/tst-backtrace2.c: New file.
48955 * debug/tst-backtrace3.c: Likewise.
48956 * debug/tst-backtrace4.c: Likewise.
48957 * debug/tst-backtrace5.c: Likewise.
48958 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
48959 (CFLAGS-tst-backtrace3.c): Likewise.
48960 (CFLAGS-tst-backtrace4.c): Likewise.
48961 (CFLAGS-tst-backtrace5.c): Likewise.
48962 (LDFLAGS-tst-backtrace2): Likewise.
48963 (LDFLAGS-tst-backtrace3): Likewise.
48964 (LDFLAGS-tst-backtrace4): Likewise.
48965 (LDFLAGS-tst-backtrace5): Likewise.
48966 (tests): Add new tests tst-backtrace2, tst-backtrace3,
48967 tst-backtrace4 and tst-backtrace5.
48968
48969 2013-01-18 Anton Blanchard <anton@samba.org>
48970 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48971
48972 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
48973 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
48974 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
48975 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
48976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48977 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
48978 "+r" and remove output regs list as redundant. Add explicit inline
48979 asm to specify register of return val to work around compiler codegen
48980 bug. Remove (int) cast on return value. Add return type parameter to
48981 use in macro so that this macro does not truncate return value for
48982 64-bit values.
48983 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
48984 pass to INTERNAL_VSYSCALL_NCS.
48985 (INLINE_VSYSCALL): Add 'long int' as return type to
48986 INTERNAL_VSYSCALL_NCS macro invocation.
48987 (INTERNAL_VSYSCALL): Add 'long int' as return type to
48988 INTERNAL_VSYSCALL_NCS macro invocation.
48989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48990
48991 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
48992
48993 [BZ #14496]
48994 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
48995 Fix application of SIMD FP exception mask.
48996
48997 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
48998 mp_no from a power of two.
48999 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
49000 __mpexp_twomm1. Use __pow_mp.
49001
49002 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
49003 multiplication.
49004
49005 2013-01-17 David S. Miller <davem@davemloft.net>
49006
49007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49008
49009 2013-01-17 Joseph Myers <joseph@codesourcery.com>
49010
49011 [BZ #15023]
49012 * include/complex.h: Condition contents on [!_COMPLEX_H].
49013 (__kernel_casinhf): New prototype.
49014 (__kernel_casinh): Likewise.
49015 (__kernel_casinhl): Likewise.
49016 * math/Makefile (libm_calls): Add k_casinh.
49017 * math/k_casinh.c: New file.
49018 * math/k_casinhf.c: Likewise.
49019 * math/k_casinhl.c: Likewise.
49020 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
49021 finite nonzero arguments.
49022 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
49023 finite nonzero arguments.
49024 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
49025 finite nonzero arguments.
49026 * math/s_casinh.c: Do not include <float.h>.
49027 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
49028 * math/s_casinhf.c: Do not include <float.h>.
49029 (__casinhf): Move code for finite nonzero arguments to
49030 k_casinhf.c.
49031 * math/s_casinhl.c: Do not include <float.h>.
49032 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
49033 redefine.
49034 (__casinhl): Move code for finite nonzero arguments to
49035 k_casinhl.c.
49036 * math/libm-test.inc (cacos_test): Add more tests.
49037 * sysdeps/i386/fpu/libm-test-ulps: Update.
49038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49039
49040 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
49041
49042 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
49043 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
49044 [!HAVE_MREMAP]: Remove [defined linux] case.
49045 * malloc/arena.c: Do not include <malloc-sysdep.h>.
49046
49047 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
49048
49049 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
49050
49051 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
49052
49053 * elf/elf.h (R_386_SIZE32): New relocation.
49054 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
49055 R_386_SIZE32.
49056 (elf_machine_rela): Likewise.
49057 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49058 R_X86_64_SIZE64 and R_X86_64_SIZE32.
49059
49060 2013-01-17 Joseph Myers <joseph@codesourcery.com>
49061
49062 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
49063 (FP_FAST_FMA): Do not define.
49064 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
49065 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
49066 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
49067 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
49068 !_SOFT_FLOAT]: Likewise.
49069 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
49070 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
49071 value.
49072 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
49073 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
49074 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
49075 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
49076 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
49077 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
49078 file.
49079
49080 2013-01-16 Andreas Schwab <schwab@suse.de>
49081
49082 [BZ #14327]
49083 * include/stdlib.h (__mktemp): Add declaration.
49084 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
49085 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
49086
49087 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
49088
49089 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
49090 definitions.
49091 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49092 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
49093 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
49094 definitions here.
49095 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
49096 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
49097 definitions.
49098 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
49099 and ONE.
49100 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
49101 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
49102 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
49103 definitions.
49104 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
49105 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
49106 definitions.
49107 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49108
49109 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
49110
49111 2013-01-15 David S. Miller <davem@davemloft.net>
49112
49113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49114 trunc{,f} to libm-sysdep_routes.
49115 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
49117 file.
49118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
49119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
49120 file.
49121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
49122 file.
49123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
49124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
49125 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
49126 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
49127 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
49128 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
49129 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
49130 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
49131
49132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49133 nearbyint{,f} to libm-sysdep_routes.
49134 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
49136 New file.
49137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
49138 file.
49139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
49140 New file.
49141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
49142 file.
49143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
49144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
49145 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
49146 file.
49147 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
49148 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
49149 file.
49150 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
49151 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
49152 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
49153
49154 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49155 libc_feholdexcept and libc_fesetenv.
49156
49157 2013-01-15 Mike Frysinger <vapier@gentoo.org>
49158
49159 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
49160
49161 2013-01-14 David S. Miller <davem@davemloft.net>
49162
49163 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
49164 (SPARC_ASM_VIS2_IFUNC): Likewise.
49165 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
49166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
49167 use of 'siam' instruction.
49168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
49169 Likewise.
49170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
49171 Likewise.
49172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
49173 Likewise.
49174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
49175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
49176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
49177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
49178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
49179 file.
49180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
49181 file.
49182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
49183 file.
49184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
49185 file.
49186 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
49187 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
49188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
49189 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
49190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
49191 new VIS2 routines.
49192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49195 Likewise.
49196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49197 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49199 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
49201 routines to libm-sysdep_routines.
49202 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49203
49204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49205 fdim/fdimf to libm-sysdep_routines.
49206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
49207 file.
49208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
49209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
49210 file.
49211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
49212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
49213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
49214 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
49215 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
49216 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
49217 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
49218
49219 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
49220
49221 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
49222 to optimize copies.
49223
49224 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
49225 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49226 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49227
49228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
49229 local variable MPTWO.
49230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49231 Likewise.
49232
49233 2013-01-13 Mike Frysinger <vapier@gentoo.org>
49234
49235 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
49236 GLOB_NOESCAPE.
49237
49238 2013-01-13 Mike Frysinger <vapier@gentoo.org>
49239
49240 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
49241
49242 2013-01-13 Mike Frysinger <vapier@gentoo.org>
49243
49244 * manual/pattern.texi (glob_t): Document gl_flags.
49245 (glob64_t): Likewise.
49246
49247 2013-01-11 David S. Miller <davem@davemloft.net>
49248
49249 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
49250 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
49251 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
49252 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
49253 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
49254 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
49255 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
49256 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
49257 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
49258 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
49259 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
49260 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
49261 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
49262
49263 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49264 sparc V9 rather than using V8 code.
49265 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49266 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49267
49268 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49269 Move to...
49270 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
49271 Here.
49272
49273 2013-01-11 Roland McGrath <roland@hack.frob.com>
49274
49275 [BZ #14941]
49276 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
49277 not in the main loop.
49278 * configure: Regenerated.
49279
49280 2013-01-11 Joseph Myers <joseph@codesourcery.com>
49281
49282 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
49283 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
49284 to just #else.
49285 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
49286 [!__GLIBC_HAVE_LONG_LONG] case.
49287 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
49288 condition to just #else.
49289 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
49290 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
49291 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
49292 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
49293 unconditional.
49294 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
49295 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49296 #elif condition to just #else.
49297 * sysdeps/unix/sysv/linux/sys/sysmacros.h
49298 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
49299 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49300 #elif condition to just #else.
49301
49302 2013-01-11 Steve Ellcey <sellcey@mips.com>
49303
49304 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
49305 (EF_MIPS_ARCH_64): Fix value.
49306 (EF_MIPS_ARCH_32R2): New.
49307 (EF_MIPS_ARCH_64R2): New.
49308
49309 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
49310
49311 * Makeconfig (+link-pie-before-libc): New.
49312 (+link-pie-after-libc): Likewise.
49313 (+link-pie-tests): Likewise.
49314 (+link-pie): Rewritten.
49315 (link-before-libc): Remove $(config-LDFLAGS).
49316 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
49317 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
49318 (config-LDFLAGS): Renamed to ...
49319 (rtld-LDFLAGS): This.
49320 (rtld-tests-LDFLAGS): New macro.
49321 (link-libc-rpath-link): Likewise.
49322 (link-libc-tests-rpath-link): Likewise.
49323 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
49324 (link-libc): Prepand $(link-libc-rpath-link).
49325 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
49326 (test-program-prefix): New macro.
49327 (test-via-rtld-prefix): Likewise.
49328 (test-program-cmd): Likewise.
49329 (host-test-program-cmd): Likewise.
49330 * Makefile ($(common-objpfx)testrun.sh): Replace
49331 $(run-program-prefix) with $(test-program-prefix).
49332 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
49333 $(rtld-LDFLAGS).
49334 ($(common-objpfx)shlib.lds): Likewise.
49335 (build-module-helper): Likewise.
49336 ($(common-objpfx)format.lds): Likewise.
49337 * Rules (binaries-pie-tests): New.
49338 (binaries-pie-notests): Likewise.
49339 (binaries-pie): Rewritten.
49340 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
49341 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
49342 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
49343 (make-test-out): Replace $(host-built-program-cmd) with
49344 $(host-test-program-cmd).
49345 * config.make.in (build-hardcoded-path-in-tests): New variable.
49346 * configure.in (--enable-hardcoded-path-in-tests): New configure
49347 option.
49348 (hardcoded_path_in_tests): New AC_SUBST.
49349 * configure: Regenerated.
49350 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
49351 $(built-program-cmd) with $(test-program-cmd).
49352 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
49353 (test_program_cmd): This.
49354 * elf/Makefile ($(objpfx)order.out): Run test with
49355 $(test-program-prefix).
49356 ($(objpfx)order2.out): Likewise.
49357 ($(objpfx)tst-initorder.out): Likewise.
49358 ($(objpfx)tst-initorder2.out): Likewise.
49359 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
49360 $(test-program-cmd).
49361 ($(objpfx)tst-array1-static.out): Likewise.
49362 ($(objpfx)tst-array2.out): Likewise.
49363 ($(objpfx)tst-array3.out): Likewise.
49364 ($(objpfx)tst-array4.out): Likewise.
49365 ($(objpfx)tst-array5.out): Likewise.
49366 ($(objpfx)tst-array5-static.out): Likewise.
49367 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
49368 $(test-program-cmd).
49369 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
49370 $(run-program-prefix) with $(test-program-prefix).
49371 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
49372 (test_program_prefix): This.
49373 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
49374 $(run-program-prefix) with $(test-program-prefix).
49375 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
49376 (test_program_prefix): This.
49377 * iconvdata/tst-tables.sh: Likewise.
49378 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
49379 $(run-program-prefix) with $(test-program-prefix).
49380 ($(objpfx)tst-translit.out): Likewise.
49381 ($(objpfx)tst-gettext2.out): Likewise.
49382 ($(objpfx)tst-gettext4.out): Likewise.
49383 ($(objpfx)tst-gettext6.out): Likewise.
49384 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
49385 (test_program_prefix): This.
49386 * intl/tst-gettext2.sh: Likewise.
49387 * intl/tst-gettext4.sh Likewise.
49388 * intl/tst-gettext6.sh: Likewise.
49389 * intl/tst-translit.sh: Likewise.
49390 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
49391 with $(test-program-cmd).
49392 * libio/Makefile ($(objpfx)test-freopen.out): Replace
49393 $(run-program-prefix) with $(test-program-prefix).
49394 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
49395 (test_program_prefix): This.
49396 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
49397 $(run-program-prefix) with $(test-program-prefix).
49398 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
49399 (test_program_prefix): This.
49400 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
49401 * posix/Makefile ($(objpfx)globtest.out): Replace
49402 $(run-via-rtld-prefix) and $(test-wrapper) with
49403 $(test-program-prefix) and $(test-via-rtld-prefix).
49404 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
49405 $(test-program-prefix).
49406 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
49407 $(host-test-program-cmd).
49408 (tst-spawn-ARGS): Likewise.
49409 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
49410 $(test-program-prefix).
49411 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
49412 (test_via_rtld_prefix): This.
49413 (test_wrapper): Renamed to ...
49414 (test_program_prefix): This.
49415 (run_program_prefix): Replaced by test_program_prefix.
49416 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
49417 (test_program_prefix): This.
49418 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
49419 with $(host-test-program-cmd).
49420 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
49421 $(run-program-prefix) with $(test-program-prefix).
49422 ($(objpfx)tst-printf.out): Likewise.
49423 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
49424 $(test-program-cmd).
49425 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
49426 (test_program_prefix): This.
49427 * stdio-common/tst-unbputc.sh: Likewise.
49428 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
49429 $(run-program-prefix) with $(test-program-prefix).
49430 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
49431 (test_program_prefix): This.
49432 * string/Makefile ($(objpfx)tst-svc.out): Replace
49433 $(built-program-cmd) with $(test-program-cmd).
49434
49435 2013-01-11 Andreas Jaeger <aj@suse.de>
49436
49437 [BZ #15003]
49438 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
49439 value. Sync with Linux 3.7.
49440
49441 2013-01-10 David S. Miller <davem@davemloft.net>
49442
49443 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
49444 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49445 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49446
49447 2013-01-10 Roland McGrath <roland@hack.frob.com>
49448
49449 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
49450 never set.
49451 * configure: Regenerated.
49452
49453 2013-01-10 David S. Miller <davem@davemloft.net>
49454
49455 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49456 sparc V9 rather than using V8 code.
49457 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49458 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49459
49460 2013-01-10 Roland McGrath <roland@hack.frob.com>
49461
49462 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
49463 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
49464 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
49465 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
49466 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
49467 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
49468 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
49469 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
49470 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
49471 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
49472 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
49473 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
49474 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
49475 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
49476 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
49477 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
49478 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
49479 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
49480 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
49481 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
49482 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
49483 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
49484 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
49485 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
49486 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
49487 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
49488 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
49489
49490 2013-01-10 David S. Miller <davem@davemloft.net>
49491
49492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49493
49494 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
49495
49496 * posix/Makefile (tests-static): New variable.
49497 (tests): Add $(tests-static).
49498 (tst-exec-static-ARGS): New variable.
49499 (tst-spawn-static-ARGS): Likewise.
49500 * posix/tst-exec-static.c: New file.
49501 * posix/tst-spawn-static.c: Likewise.
49502 * posix/tst-exec.c: Support run directly.
49503 * posix/tst-spawn.c: Likewise.
49504
49505 2013-01-10 Joseph Myers <joseph@codesourcery.com>
49506
49507 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
49508 long.
49509 * math/bits/mathcalls.h (llrint): Likewise.
49510 (llround): Likewise.
49511 * stdlib/stdlib.h (struct drand48_data): Likewise.
49512 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
49513 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
49514 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
49515 Likewise.
49516 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
49517 Likewise.
49518 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
49519 (elf_greg_t): Likewise.
49520 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
49521 (__jmp_buf): Likewise.
49522 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
49523 definitions.
49524 (llrint): Likewise, for all definitions.
49525 (llrintl): Likewise.
49526
49527 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
49528 Remove [__GNUC__] condition.
49529 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
49530 condition to just [__USE_ISOC99].
49531 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
49532
49533 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
49534
49535 [BZ #14200]
49536 * sysdeps/unix/sysv/linux/x86/bits/environments.h
49537 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
49538 defined.
49539 (_POSIX_V6_ILP32_OFF32): Likewise.
49540 (_XBS5_ILP32_OFF32): Likewise.
49541 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
49542 (__ILP32_OFFBIG_LDFLAGS): Likewise.
49543
49544 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49545
49546 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
49547
49548 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
49549 doubles __mpexp_twomm1. Adjust usage.
49550 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
49551 Remove.
49552
49553 2013-01-10 Andreas Schwab <schwab@suse.de>
49554
49555 [BZ #14964]
49556 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
49557 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
49558
49559 2013-01-09 David S. Miller <davem@davemloft.net>
49560
49561 [BZ #15003]
49562 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
49563 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
49564 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
49565 (TCP_FASTOPEN): Define.
49566 (tcp_repair_opt): New structure.
49567 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
49568 enum values.
49569 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
49570 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
49571 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
49572 (tcp_cookie_transactions): New structure.
49573
49574 2013-01-09 Anton Blanchard <anton@samba.org>
49575
49576 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
49577 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
49578 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
49579 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
49580
49581 2013-01-09 Joseph Myers <joseph@codesourcery.com>
49582
49583 * include/features.h (__USE_ANSI): Remove.
49584
49585 2013-01-09 Roland McGrath <roland@hack.frob.com>
49586
49587 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
49588
49589 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
49590
49591 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
49592
49593 * sysdeps/s390/fpu/libm-test-ulps: Update.
49594
49595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49596
49597 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
49598 (__acr): Likewise.
49599 (__cpy): Likewise.
49600 (norm): Likewise.
49601 (denorm): Likewise.
49602 (__mp_dbl): Likewise.
49603 (__dbl_mp): Likewise.
49604 (add_magnitudes): Likewise.
49605 (sub_magnitudes): Likewise.
49606 (__add): Likewise.
49607 (__sub): Likewise.
49608 (__mul): Likewise.
49609 (__inv): Likewise.
49610 (__dvd): Likewise.
49611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
49612 (__acr): Likewise.
49613 (__cpy): Likewise.
49614 (norm): Likewise.
49615 (denorm): Likewise.
49616 (__mp_dbl): Likewise.
49617 (__dbl_mp): Likewise.
49618 (add_magnitudes): Likewise.
49619 (sub_magnitudes): Likewise.
49620 (__add): Likewise.
49621 (__sub): Likewise.
49622 (__mul): Likewise.
49623 (__inv): Likewise.
49624 (__dvd): Likewise.
49625 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
49626 (__acr): Likewise.
49627 (__cpy): Likewise.
49628 (norm): Likewise.
49629 (denorm): Likewise.
49630 (__mp_dbl): Likewise.
49631 (__dbl_mp): Likewise.
49632 (add_magnitudes): Likewise.
49633 (sub_magnitudes): Likewise.
49634 (__add): Likewise.
49635 (__sub): Likewise.
49636 (__mul): Likewise.
49637 (__inv): Likewise.
49638 (__dvd): Likewise.
49639
49640 2013-01-08 Joseph Myers <joseph@codesourcery.com>
49641
49642 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
49643 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
49644 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
49645 2 && __USE_EXTERN_INLINES]: Likewise.
49646
49647 2013-01-08 Andreas Jaeger <aj@suse.de>
49648
49649 [BZ# 14985]
49650 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
49651 Remove.
49652 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49653 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49654
49655 2013-01-07 Anton Blanchard <anton@samba.org>
49656
49657 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
49658 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49659 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
49660 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49661 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49662 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49663 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
49664 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49665 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49666 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49667 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49668 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49669 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49670 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49671 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49672 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49673 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49674 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49675 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49676 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49677 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49678 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
49679 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49680 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49681 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
49682 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49683 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49684 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49685 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
49686 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49687 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49689 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49690 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49691 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49692 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49693 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49694 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
49695 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
49696 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49697 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
49698 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49699 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49700
49701 2013-01-07 Joseph Myers <joseph@codesourcery.com>
49702
49703 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
49704 (__MALLOC_PMT): Likewise.
49705 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
49706 [__GNUC__], only on [_LIBC].
49707 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49708 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
49709 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49710 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
49711 forward declaration.
49712 (realloc_hook_ini): Likewise.
49713 (memalign_hook_ini): Likewise.
49714 (__libc_memalign): Do not use __MALLOC_PMT in variable
49715 declaration.
49716 (__libc_valloc): Likewise.
49717 (__libc_pvalloc): Likewise.
49718 (__libc_calloc): Likewise.
49719 (__posix_memalign): Likewise.
49720
49721 [BZ #14996]
49722 * math/s_casinh.c: Include <float.h>.
49723 (__casinh): Do not do computation with squaring and square root
49724 for large arguments.
49725 * math/s_casinhf.c: Include <float.h>.
49726 (__casinhf): Do not do computation with squaring and square root
49727 for large arguments.
49728 * math/s_casinhl.c: Include <float.h>.
49729 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
49730 (__casinhl): Do not do computation with squaring and square root
49731 for large arguments.
49732 * math/libm-test.inc (casin_test): Add more tests.
49733 (casinh_test): Likewise.
49734 * sysdeps/i386/fpu/libm-test-ulps: Update.
49735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49736
49737 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
49738
49739 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
49740 (__x86_64_raw_data_cache_size): Likewise.
49741 (__x86_64_data_cache_size_half): Likewise.
49742 (__x86_64_raw_data_cache_size_half): Likewise.
49743 (__x86_64_shared_cache_size): Likewise.
49744 (__x86_64_raw_shared_cache_size): Likewise.
49745 (__x86_64_shared_cache_size_half): Likewise.
49746 (__x86_64_raw_shared_cache_size_half): Likewise.
49747 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
49748 to ...
49749 (__x86_data_cache_size): This.
49750 (__x86_64_raw_data_cache_size): Renamed to ...
49751 (__x86_raw_data_cache_size): This.
49752 (__x86_64_data_cache_size_half): Renamed to ...
49753 (__x86_data_cache_size_half): This.
49754 (__x86_64_raw_data_cache_size_half): Renamed to ...
49755 (__x86_raw_data_cache_size_half): This.
49756 (__x86_64_shared_cache_size): Renamed to ...
49757 (__x86_shared_cache_size): This.
49758 (__x86_64_raw_shared_cache_size): Renamed to ...
49759 (__x86_raw_shared_cache_size): This.
49760 (__x86_64_shared_cache_size_half): Renamed to ...
49761 (__x86_shared_cache_size_half): This.
49762 (__x86_64_raw_shared_cache_size_half): Renamed to ...
49763 (__x86_raw_shared_cache_size_half): This.
49764 * sysdeps/x86_64/memcpy.S: Updated.
49765 * sysdeps/x86_64/memset.S: Likewise.
49766 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49767 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49768 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49769
49770 2013-01-04 David S. Miller <davem@davemloft.net>
49771
49772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49773
49774 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
49775
49776 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
49777 1 to avoid redefinition warning.
49778 (__USE_GNU): Don't define.
49779 (init_signaling_nan): Protoize.
49780
49781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49782
49783 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49784
49785 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
49786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
49787 (__cpymn): Likewise.
49788 (norm): Remove commented code.
49789 (denorm): Likewise.
49790 (__mp_dbl): Likewise.
49791 (__inv): Likewise.
49792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
49793 (__cpymn): Likewise.
49794 (norm): Remove commented code.
49795 (denorm): Likewise.
49796 (__mp_dbl): Likewise.
49797 (__inv): Likewise.
49798
49799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
49800 mp_no value for 1.0 and 2.0.
49801 (norm): Use RADIXI instead of radixi.d.
49802 (denorm): Likewise.
49803 (__mul): Use 0.0 instead of zero.d.
49804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
49805 mp_no value for 1.0 and 2.0.
49806 (norm): Use RADIXI instead of radixi.d.
49807 (denorm): Likewise.
49808 (__mul): Use 0.0 instead of zero.d.
49809
49810 2013-01-04 Joseph Myers <joseph@codesourcery.com>
49811
49812 [BZ #14994]
49813 * math/s_casinh.c (__casinh): Reduce finite argument to first
49814 quadrant then set signs of results at the end.
49815 * math/s_casinhf.c (__casinhf): Likewise.
49816 * math/s_casinhl.c (__casinhl): Likewise.
49817 * math/libm-test.inc (casin_test): Add more tests.
49818 (casinh_test): Likewise.
49819 * sysdeps/i386/fpu/libm-test-ulps: Update.
49820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49821
49822 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49823
49824 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
49825
49826 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
49827
49828 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
49829 declarations.
49830 (denorm): Likewise.
49831 (__mp_dbl): Likewise.
49832 (__inv): Likewise.
49833
49834 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
49835 and adjust the header comment.
49836
49837 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
49838 variable name from declaration.
49839
49840 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
49841
49842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49843 Initialize COMMON_CPUID_INDEX_7 element.
49844 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
49845 (CPUID_RTM): Likewise.
49846 (HAS_RTM): Likewise.
49847 (COMMON_CPUID_INDEX_7): New enum.
49848
49849 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
49850
49851 [BZ #14981]
49852 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
49853 size is zero, record memory as freed.
49854
49855 2013-01-03 Andreas Jaeger <aj@suse.de>
49856
49857 * po/ia.po: Add new Interlingua translation.
49858
49859 2012-01-03 Allan McRae <allan@archlinux.org>
49860
49861 * locale/programs/localedef.c: Fix description of '--posix' flag.
49862
49863 2013-01-02 Joseph Myers <joseph@codesourcery.com>
49864
49865 * NEWS: Update dates in second copyright notice.
49866 * README: Update copyright dates in example.
49867 * manual/libc.texinfo: Update copyright dates.
49868 * scripts/test-installation.pl: Update copyright date in --version
49869 output.
49870
49871 * hurd/ctty-input.c: Fix copyright notice formatting.
49872 * hurd/ctty-output.c: Likewise.
49873 * hurd/dtable.c: Likewise.
49874 * hurd/hurd-raise.c: Likewise.
49875 * hurd/hurdprio.c: Likewise.
49876 * hurd/msgportdemux.c: Likewise.
49877 * misc/sys/file.h: Likewise.
49878 * misc/sys/ioctl.h: Likewise.
49879 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49880 * sysdeps/mach/hurd/chdir.c: Likewise.
49881 * sysdeps/mach/hurd/fchdir.c: Likewise.
49882 * sysdeps/mach/hurd/rename.c: Likewise.
49883 * sysdeps/mach/hurd/rmdir.c: Likewise.
49884 * sysdeps/mach/hurd/seekdir.c: Likewise.
49885 * sysdeps/mach/hurd/setsid.c: Likewise.
49886 * sysdeps/posix/wait3.c: Likewise.
49887
49888 * All files with FSF copyright notices: Update copyright dates
49889 using scripts/update-copyrights.
49890 * intl/plural.c: Regenerated.
49891 * locale/programs/charmap-kw.h: Likewise.
49892 * locale/programs/locfile-kw.h: Likewise.
49893
49894 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
49895
49896 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
49897 four values.
49898
49899 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
49900 calculation loop and add branch prediction.
49901
49902 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
49903 check access beyond bounds of m1np.
49904
49905 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49906 MPTWO.
49907 (__inv): Remove local variable MPTWO to use the global
49908 constant.
49909 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
49910 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49911 variable MPTWO.
49912 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
49913 MP3HALFS static const.
49914
49915 2013-01-01 David S. Miller <davem@davemloft.net>
49916
49917 * po/ca.po: Update from translation team.
49918
49919 2013-01-01 Joseph Myers <joseph@codesourcery.com>
49920
49921 * scripts/update-copyrights: New file.
49922 * Makeconfig: Reformat copyright notice.
49923 * ctype/ctype.h: Likewise.
49924 * debug/swprintf_chk.c: Likewise.
49925 * elf/dl-cache.c: Likewise.
49926 * elf/dl-debug.c: Likewise.
49927 * elf/dl-object.c: Likewise.
49928 * grp/initgroups.c: Likewise.
49929 * hurd/Makefile: Likewise.
49930 * hurd/hurd/signal.h: Likewise.
49931 * hurd/hurdfault.c: Likewise.
49932 * hurd/hurdioctl.c: Likewise.
49933 * hurd/hurdlookup.c: Likewise.
49934 * hurd/intr-msg.c: Likewise.
49935 * iconv/gconv_open.c: Likewise.
49936 * libio/swprintf.c: Likewise.
49937 * locale/lc-ctype.c: Likewise.
49938 * locale/nl_langinfo.c: Likewise.
49939 * mach/Machrules: Likewise.
49940 * mach/Makefile: Likewise.
49941 * malloc/obstack.h: Likewise.
49942 * manual/Makefile: Likewise.
49943 * manual/tsort.awk: Likewise.
49944 * misc/bits/stab.def: Likewise.
49945 * nis/nis_print_group_entry.c: Likewise.
49946 * nis/nis_table.c: Likewise.
49947 * nis/nss_compat/compat-pwd.c: Likewise.
49948 * nis/nss_compat/compat-spwd.c: Likewise.
49949 * po/Makefile: Likewise.
49950 * posix/fnmatch.c: Likewise.
49951 * posix/regex.h: Likewise.
49952 * resolv/Makefile: Likewise.
49953 * resolv/nss_dns/dns-network.c: Likewise.
49954 * resolv/res_hconf.c: Likewise.
49955 * scripts/gen-sorted.awk: Likewise.
49956 * soft-fp/soft-fp.h: Likewise.
49957 * stdio-common/printf.h: Likewise.
49958 * stdlib/monetary.h: Likewise.
49959 * stdlib/random.c: Likewise.
49960 * stdlib/random_r.c: Likewise.
49961 * sysdeps/generic/Makefile: Likewise.
49962 * sysdeps/gnu/Makefile: Likewise.
49963 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49964 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49965 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49966 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49967 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49968 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49969 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49970 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49971 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49973 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49974 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49975 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49976 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49977 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
49978 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49979 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49980 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49981 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49982 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49983 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49984 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49985 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49986 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49987 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
49988 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49989 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49990 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
49991 * sysdeps/mach/hurd/errnos.awk: Likewise.
49992 * sysdeps/mach/hurd/fork.c: Likewise.
49993 * sysdeps/mach/hurd/getcwd.c: Likewise.
49994 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
49995 * sysdeps/mach/hurd/mmap.c: Likewise.
49996 * sysdeps/mach/hurd/utimes.c: Likewise.
49997 * sysdeps/mach/hurd/xmknod.c: Likewise.
49998 * sysdeps/posix/profil.c: Likewise.
49999 * sysdeps/posix/readdir_r.c: Likewise.
50000 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50001 * sysdeps/powerpc/bits/setjmp.h: Likewise.
50002 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
50003 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
50004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50005 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50006 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50007 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50008 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50009 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50010 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50011 * sysdeps/pthread/lio_listio.c: Likewise.
50012 * sysdeps/sparc/dl-procinfo.h: Likewise.
50013 * sysdeps/unix/i386/sysdep.S: Likewise.
50014 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
50015 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
50016 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
50017 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
50018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50019 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
50020 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
50021 * sysdeps/unix/sysv/linux/speed.c: Likewise.
50022 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
50023 * sysdeps/wordsize-32/divdi3.c: Likewise.
50024 * time/sys/time.h: Likewise.
50025 * wcsmbs/Makefile: Likewise.
50026
50027 2013-01-01 David S. Miller <davem@davemloft.net>
50028
50029 * po/fr.po: Update from translation team.
50030
50031 * catgets/gencat.c: Update copyright year.
50032 * csu/version.c: Likewise.
50033 * debug/catchsegv.sh: Likewise.
50034 * debug/pcprofiledump.c: Likewise.
50035 * debug/xtrace.sh: Likewise.
50036 * elf/ldconfig.c: Likewise.
50037 * elf/ldd.bash.in: Likewise.
50038 * elf/pldd.c: Likewise.
50039 * elf/sotruss.ksh: Likewise.
50040 * elf/sprof.c: Likewise.
50041 * iconv/iconv_prog.c: Likewise.
50042 * iconv/iconvconfig.c: Likewise.
50043 * locale/programs/locale.c: Likewise.
50044 * locale/programs/localedef.c: Likewise.
50045 * login/programs/pt_chown.c: Likewise.
50046 * malloc/memusage.sh: Likewise.
50047 * malloc/memusagestat.c: Likewise.
50048 * malloc/mtrace.pl: Likewise.
50049 * nscd/nscd.c: Likewise.
50050 * nss/getent.c: Likewise.
50051 * nss/makedb.c: Likewise.
50052 * posix/getconf.c: Likewise.
50053
50054 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50055
50056 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
50057 numbers.
50058
50059 2012-12-30 Mike Frysinger <vapier@gentoo.org>
50060
50061 * math/bits/mathcalls.h (modf): Use __nonnull.
50062
50063 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
50064
50065 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
50066 (split): Use macro CN instead of the bare value.
50067 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
50068 could be used.
50069 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
50070 instead of the bare value.
50071 (power1): Likewise.
50072
50073 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50074
50075 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
50076 __ATAN_TWOM.
50077 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50078
50079 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
50080 their values.
50081 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50082 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50083 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
50084 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50085
50086 2012-12-28 Andreas Jaeger <aj@suse.de>
50087
50088 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
50089 values are from Linux 3.7.
50090
50091 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
50092 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
50093
50094 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50095
50096 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
50097 TRUE case.
50098
50099 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
50100 (norm): Likewise.
50101 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
50102 variables with preprocessor constants.
50103 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50104 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50105 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50106
50107 2012-12-27 Bruno Haible <bruno@clisp.org>
50108
50109 [BZ #14317]
50110 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
50111 only if needed.
50112
50113 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
50114
50115 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
50116 and use variable directly.
50117 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
50118
50119 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50120 MPONE.
50121 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
50122 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50123 variable MPONE.
50124 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50125 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50126 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
50127 include directive. Remove local variable MPONE.
50128 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
50129 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
50130 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50131
50132 2012-12-25 David S. Miller <davem@davemloft.net>
50133
50134 * version.h (RELEASE): Set to "development".
50135 (VERSION): Set to "2.17.90".
50136 * NEWS: Add 2.18 section.
50137
50138 2012-12-21 David S. Miller <davem@davemloft.net>
50139
50140 * po/hr.po: Update from translation team.
50141
50142 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50143
50144 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
50145
50146 2012-12-19 Steve Ellcey <sellcey@mips.com>
50147
50148 * NEWS: Mention new memcpy for MIPS.
50149
50150 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50151
50152 * manual/contrib.texi (Contributors): Spelling correction.
50153
50154 2012-12-15 David S. Miller <davem@davemloft.net>
50155
50156 * po/ru.po: Update from translation team.
50157
50158 2012-12-13 David S. Miller <davem@davemloft.net>
50159
50160 * NEWS: Mention IFUNC testsuite enhancements.
50161
50162 * po/pl.po: Update from translation team.
50163 * po/bg.po: Likewise.
50164
50165 * manual/contrib.texi (Contributors): Update entries for Hongjiu
50166 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
50167
50168 2012-12-11 David S. Miller <davem@davemloft.net>
50169
50170 * po/sv.po: Update from translation team.
50171
50172 * po/vi.po: Update from translation team.
50173
50174 * po/cs.po: Update from translation team.
50175
50176 * po/de.po: Update from translation team.
50177 * po/eo.po: Likewise.
50178 * po/nl.po: Likewise.
50179
50180 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50181
50182 [BZ #14246]
50183 * manual/argp.texi (Argp Helper Functions): Move node to follow
50184 Argp Parsing State.
50185
50186 [BZ #14872]
50187 * manual/conf.texi (Limits on File System Capacity): Mention if
50188 terminating null is included in the max size.
50189
50190 2012-12-10 Andreas Jaeger <aj@suse.de>
50191
50192 * po/cs.po: Update from translation team.
50193
50194 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
50195
50196 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
50197 void pointer and cast to uintptr_t.
50198 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
50199 path.
50200 * sysdeps/s390/s390-64/memcpy.S: Likewise.
50201 * sysdeps/s390/s390-64/memset.S: Likewise.
50202
50203 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
50204
50205 [BZ #14833]
50206 * menual/message.texi (Message Translation): Fix typos.
50207 (Helper programs for gettext): Likewise.
50208
50209 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
50210
50211 [BZ #14898]
50212 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
50213 Change to -1.
50214
50215 2012-12-07 David S. Miller <davem@davemloft.net>
50216
50217 * po/libc.pot: Update.
50218
50219 2012-12-07 Richard Henderson <rth@redhat.com>
50220
50221 [BZ #10114]
50222 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
50223 normal/normal case to before the switch.
50224 (_FP_DIV): Likewise.
50225
50226 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
50227 Mike Frysinger <vapier@gentoo.org>
50228
50229 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
50230 check for __NR_fadvise64_64.
50231
50232 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
50233
50234 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
50235 0, not just to plain "0" as a statement.
50236 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
50237 with cw.
50238
50239 2012-12-06 Joseph Myers <joseph@codesourcery.com>
50240
50241 * NEWS: Use sourceware.org in Bugzilla URL.
50242
50243 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
50244
50245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
50246 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50247
50248 * stdio-common/tst-put-error.c (do_test): Add newline to the
50249 padded test to ensure flush.
50250
50251 2012-12-05 Jeff Law <law@redhat.com>
50252
50253 * sunrpc/etc.rpc (fedfs_admin): Add entry.
50254
50255 2012-12-05 Joseph Myers <joseph@codesourcery.com>
50256
50257 * README: Don't refer to ports add-on as distributed separately.
50258 Mention AArch64 in list of systems supported in the ports add-on.
50259
50260 * LICENSES: Add more non-FSF copyright and license notices.
50261
50262 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
50263 ((unused)).
50264
50265 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
50266
50267 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
50268 10000 as width of padded output.
50269
50270 2012-12-04 Joseph Myers <joseph@codesourcery.com>
50271
50272 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
50273
50274 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
50275 variable LX with __attribute__ ((unused)).
50276 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50277 Likewise.
50278 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50279 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50280 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
50281 with __attribute__ ((unused)).
50282
50283 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
50284
50285 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
50286
50287 2012-12-04 Joseph Myers <joseph@codesourcery.com>
50288
50289 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
50290 (CFLAGS-nldbl-acos.c): New variable.
50291 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
50292 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
50293 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
50294 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
50295 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
50296 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
50297 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
50298 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
50299 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
50300 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
50301 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
50302 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
50303 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
50304 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
50305 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
50306 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
50307 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
50308 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
50309 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
50310 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
50311 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
50312 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
50313 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
50314 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
50315 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
50316 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
50317 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
50318 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
50319 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
50320 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
50321 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
50322 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
50323 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
50324 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
50325 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
50326 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
50327 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
50328 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
50329 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
50330 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
50331 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
50332 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
50333 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
50334 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
50335 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
50336 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
50337 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
50338 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
50339 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
50340 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
50341 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
50342 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
50343 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
50344 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
50345 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
50346 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
50347 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
50348 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
50349 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
50350 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
50351 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
50352 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
50353 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
50354 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
50355 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
50356 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
50357 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
50358 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
50359 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
50360 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
50361 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
50362 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
50363 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
50364 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
50365 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
50366 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
50367 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
50368 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
50369 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
50370 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
50371 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
50372 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
50373 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
50374 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
50375 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
50376 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
50377 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
50378 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
50379 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
50380 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
50381 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
50382 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
50383 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
50384 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
50385 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
50386 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
50387 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
50388
50389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50390 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50391
50392 [BZ #14914]
50393 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
50394 whole low double instead of just low 47 bits when splitting values
50395 into two parts.
50396
50397 2012-12-03 Allan McRae <allan@archlinux.org>
50398
50399 * manual/stdio.texi (Predefined Printf Handlers): Remove
50400 @hsep and @vsep usage.
50401
50402 2012-12-03 Mike Frysinger <vapier@gentoo.org>
50403
50404 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
50405 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
50406
50407 2012-12-03 Jeff Law <law@redhat.com>
50408
50409 * time/sys/time.h (settimeofday): Do not mark TV argument
50410 as __nonnull.
50411
50412 2012-12-01 Mike Frysinger <vapier@gentoo.org>
50413
50414 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
50415 when currently writing and seek to current position when not.
50416 * libio/Makefile (tests): Remove bug-fclose1.
50417 * libio/bug-fclose1.c: Delete.
50418
50419 2012-12-01 Joseph Myers <joseph@codesourcery.com>
50420
50421 * manual/arith.texi (feenableexcept): Fix typo.
50422 (fedisableexcept): Likewise.
50423
50424 2012-11-30 Roland McGrath <roland@hack.frob.com>
50425
50426 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
50427 second, differently-typed declaration, rather than a cast.
50428
50429 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50430
50431 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
50432 * include/rpc/svc.h: ... here.
50433
50434 2012-11-30 Aurelien Jarno <aurel32@debian.org>
50435
50436 [BZ #13013]
50437 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
50438 depending n and resplen2 to catch cases where answer
50439 equals answerp2.
50440
50441 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
50442
50443 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
50444 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
50445
50446 2012-11-29 Mike Frysinger <vapier@gentoo.org>
50447
50448 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
50449
50450 2012-11-29 Roland McGrath <roland@hack.frob.com>
50451
50452 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
50453
50454 2012-11-28 Jeff Law <law@redhat.com>
50455
50456 [BZ #13761]
50457 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
50458 dataset_temporary. Track alloca usage into alloca_used.
50459 If dataset is large allocate and release it via malloc/free.
50460
50461 2012-06-04 Florian Weimer <fweimer@redhat.com>
50462
50463 [BZ #14197]
50464 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
50465
50466 2012-11-28 David S. Miller <davem@davemloft.net>
50467
50468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50469
50470 2012-11-28 Joseph Myers <joseph@codesourcery.com>
50471
50472 [BZ #14803]
50473 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
50474 of pi/2 rounded to nearest to 64 bits.
50475 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
50476 nearest to 64 bits.
50477 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
50478 bits.
50479
50480 2012-11-28 Jeff Law <law@redhat.com>
50481 Martin Osvald <mosvald@redhat.com>
50482
50483 [BZ #14889]
50484 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
50485 * sunrpc/svc.c: Include time.h.
50486 (__svc_accept_failed): New function.
50487 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
50488 any reason other than EINTR, call __svc_accept_failed.
50489 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
50490 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
50491
50492 2012-11-28 Andreas Schwab <schwab@suse.de>
50493
50494 * scripts/abilist.awk: Also handle indirect functions in .opd
50495 section.
50496
50497 2012-11-28 Joseph Myers <joseph@codesourcery.com>
50498
50499 [BZ #13881]
50500 * sysdeps/x86/fpu/powl_helper.c: New file.
50501 * sysdeps/x86/fpu/Makefile: Likewise.
50502 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
50503 (p3): New object.
50504 (__ieee754_powl): Use __powl_helper for finite arguments except
50505 integer exponents below 8.
50506 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
50507 (p3): New object.
50508 (__ieee754_powl): Use __powl_helper for finite arguments except
50509 integer exponents below 8.
50510 * math/libm-test.inc (pow_test): Add more tests and enable some
50511 previously disabled tests.
50512 * sysdeps/i386/fpu/libm-test-ulps: Update.
50513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50514
50515 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50516 Carlos O'Donell <carlos_odonell@mentor.com>
50517
50518 * nss/makedb.c (is_prime): Assert that input is odd and greater
50519 than 4. Note that fact in a comment too.
50520 (next_prime): Add 4 to input.
50521
50522 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
50523
50524 [BZ #11741]
50525 * libio/Makefile (tests): Add test case tst-fwrite-error.
50526 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
50527 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
50528 * libio/tst-fwrite-error.c: New test case.
50529
50530 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
50531
50532 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
50533 before casting to void *.
50534 * include/libc-internal.h (__pointer_type): New macro.
50535 (__integer_if_pointer_type_sub): Likewise.
50536 (__integer_if_pointer_type): Likewise.
50537 (cast_to_integer): Likewise.
50538 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
50539 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
50540 before casting to atomic64_t.
50541 (atomic_exchange_acq): Likewise.
50542 (__arch_exchange_and_add_body): Likewise.
50543 (__arch_add_body): Likewise.
50544 (atomic_add_negative): Likewise.
50545 (atomic_add_zero): Likewise.
50546
50547 2012-11-26 Joseph Myers <joseph@codesourcery.com>
50548
50549 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
50550 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
50551 (add_fdes): Likewise.
50552 (linear_search_fdes): Likewise.
50553 (binary_search_unencoded_fdes): Likewise.
50554
50555 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
50556
50557 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
50558
50559 2012-11-24 Adam Conrad <adconrad@0c3.net>
50560
50561 * configure.in: Autodetect C++ header directories.
50562 * configure: Regenerated.
50563
50564 2012-11-23 Mike Frysinger <vapier@gentoo.org>
50565
50566 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
50567
50568 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
50569
50570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50571
50572 2012-11-22 Joseph Myers <joseph@codesourcery.com>
50573
50574 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
50575 LDBL_MANT_DIG == 106]: Disable some tests.
50576 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50577 Likewise.
50578 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50579 Likewise.
50580
50581 [BZ #14871]
50582 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
50583 input for small inputs. Return +/- pi/2 for large inputs.
50584 * math/libm-test.inc (atan_test): Add more tests.
50585
50586 * sysdeps/generic/unwind-dw2-fde-glibc.c
50587 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
50588 __attribute__ ((unused)).
50589
50590 [BZ #14645]
50591 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
50592 x * y if x and y are nonzero and z is zero.
50593
50594 [BZ #14811]
50595 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
50596 nonzero exponents with absolute value below 0x1p-117 to +/-
50597 0x1p-117.
50598
50599 [BZ #14869]
50600 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
50601 up arguments below 2**-450, not just those below 2**-500.
50602 * math/libm-test.inc (hypot_test): Add another test.
50603
50604 [BZ #14868]
50605 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
50606 Return a+b for ratio over 2**120, not 2**60.
50607 * math/libm-test.inc (hypot_test): Add another test.
50608
50609 * math/libm-test.inc (clog_test): Use
50610 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
50611 (clog10_test): Likewise.
50612
50613 [BZ #6778]
50614 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
50615
50616 2012-11-22 Andreas Schwab <schwab@suse.de>
50617
50618 * sysdeps/i386/fpu/libm-test-ulps: Update.
50619
50620 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
50621
50622 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
50623 printf output with newline.
50624
50625 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
50626
50627 [BZ #14865]
50628 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
50629 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
50630 -z nodlopen, -z initfirst and -z execstack support.
50631 * configure: Regenerated.
50632
50633 * elf/elf.h (DF_1_NODIRECT): New macro.
50634 (DF_1_IGNMULDEF): Likewise.
50635 (DF_1_NOKSYMS): Likewise.
50636 (DF_1_NOHDR): Likewise.
50637 (DF_1_EDITED): Likewise.
50638 (DF_1_NORELOC): Likewise.
50639 (DF_1_SYMINTPOSE): Likewise.
50640 (DF_1_GLOBAUDIT): Likewise.
50641 (DF_1_SINGLETON): Likewise.
50642 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
50643 DT_1_SUPPORTED_MASK bits.
50644 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
50645
50646 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
50647
50648 * sysdeps/unix/make-syscalls.sh: Document prefixes.
50649
50650 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
50651
50652 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
50653 macro.
50654
50655 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
50656 (sendmmsg): Move declarations...
50657 * socket/sys/socket.h: ... here.
50658 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
50659 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
50660 include it from...
50661 * socket/recvmmsg.c: ... this new file.
50662 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
50663 (sendmmsg): Rename to __sendmmsg, create weak alias and make
50664 definition of __sendmmsg hidden.
50665 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
50666 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
50667 Move ENOSYS stub into and include it from...
50668 * socket/sendmmsg.c: ... this new file.
50669 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
50670 (sysdep_routines): Move recvmmsg and sendmmsg...
50671 * socket/Makefile (routines): ... here.
50672 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
50673 (GLIBC_PRIVATE): Add __sendmmsg.
50674 * include/sys/socket.h (__sendmmsg): Add declarations.
50675 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
50676 sendmmsg.
50677
50678 2012-11-20 Joseph Myers <joseph@codesourcery.com>
50679
50680 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
50681 variable I1 with __attribute__ ((unused)).
50682 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50683
50684 2012-11-19 Joseph Myers <joseph@codesourcery.com>
50685
50686 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
50687 DUMMY variables with __attribute__ ((unused)).
50688
50689 * bits/byteswap.h: Include <bits/types.h>.
50690 (__bswap_64): Use __uint64_t instead of unsigned long long int.
50691
50692 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
50693
50694 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
50695 string_t. Do not manually set errno.
50696 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
50697 length with __strnlen. Make sure to both set errno and return it on
50698 failure.
50699
50700 2012-11-19 David S. Miller <davem@davemloft.net>
50701
50702 With help from Joseph Myers.
50703 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
50704 very large arguments properly.
50705 * math/libm-test.inc (atan_test): New tests.
50706 (atan2_test): New tests.
50707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50709
50710 2012-11-19 Joseph Myers <joseph@codesourcery.com>
50711
50712 [BZ #14856]
50713 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
50714 Define to 3.
50715
50716 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
50717 [POSIX] (EADDRNOTAVAIL): Likewise.
50718 [POSIX] (EAFNOSUPPORT): Likewise.
50719 [POSIX] (EALREADY): Likewise.
50720 [POSIX] (ECONNABORTED): Likewise.
50721 [POSIX] (ECONNREFUSED): Likewise.
50722 [POSIX] (ECONNRESET): Likewise.
50723 [POSIX] (EDESTADDRREQ): Likewise.
50724 [POSIX] (EDQUOT): Likewise.
50725 [POSIX] (EHOSTUNREACH): Likewise.
50726 [POSIX] (EIDRM): Likewise.
50727 [POSIX] (EISCONN): Likewise.
50728 [POSIX] (ELOOP): Likewise.
50729 [POSIX] (EMULTIHOP): Likewise.
50730 [POSIX] (ENETDOWN): Likewise.
50731 [POSIX] (ENETUNREACH): Likewise.
50732 [POSIX] (ENOBUFS): Likewise.
50733 [POSIX] (ENODATA): Likewise.
50734 [POSIX] (ENOLINK): Likewise.
50735 [POSIX] (ENOMSG): Likewise.
50736 [POSIX] (ENOPROTOOPT): Likewise.
50737 [POSIX] (ENOSR): Likewise.
50738 [POSIX] (ENOSTR): Likewise.
50739 [POSIX] (ENOTCONN): Likewise.
50740 [POSIX] (ENOTSOCK): Likewise.
50741 [POSIX] (EOPNOTSUPP): Likewise.
50742 [POSIX] (EOVERFLOW): Likewise.
50743 [POSIX] (EPROTO): Likewise.
50744 [POSIX] (EPROTONOSUPPORT): Likewise.
50745 [POSIX] (EPROTOTYPE): Likewise.
50746 [POSIX] (ESTALE): Likewise.
50747 [POSIX] (ETIME): Likewise.
50748 [POSIX] (ETXTBSY): Likewise.
50749 [POSIX] (EWOULDBLOCK): Likewise.
50750 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
50751 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
50752 [POSIX] (SEEK_CUR): Likewise.
50753 [POSIX] (SEEK_END): Likewise.
50754 [POSIX || UNIX98] (mode_t): Do not require.
50755 [POSIX] (off_t): Likewise.
50756 [POSIX] (pid_t): Likewise.
50757 [POSIX] (sys/stat.h): Do not allow header.
50758 [POSIX] (unistd.h): Likewise.
50759 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
50760 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
50761 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
50762 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
50763 require.
50764 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
50765 sigevent): Specify elements.
50766 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
50767 entry.
50768 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
50769 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
50770
50771 * conform/data/cpio.h-data [POSIX]: Disable whole file.
50772 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
50773 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
50774 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
50775 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
50776 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
50777 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
50778 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
50779 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
50780 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
50781 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
50782 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
50783 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
50784 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
50785 Likewise.
50786 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
50787 Likewise.
50788 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
50789 Likewise.
50790 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
50791 Likewise.
50792 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
50793 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
50794 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
50795 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
50796 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
50797 Specify lower bound on value.
50798 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
50799 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
50800 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
50801 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
50802 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
50803 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
50804 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
50805 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
50806 value.
50807 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
50808 as optional.
50809 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
50810 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
50811 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
50812 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
50813 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
50814 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
50815 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
50816 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
50817 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
50818 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
50819 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
50820 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
50821 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
50822 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
50823 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
50824 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
50825 entry.
50826 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
50827 optional.
50828 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
50829 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
50830 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
50831 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
50832 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
50833 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
50834 Likewise.
50835 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
50836 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
50837 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
50838 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
50839 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
50840 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
50841 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
50842 as optional.
50843 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
50844 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
50845 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
50846 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
50847 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
50848 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
50849 specify as optional.
50850 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
50851 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
50852 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
50853 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
50854 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
50855 [XPG3] (NL_LANGMAX): Likewise.
50856 [POSIX || XPG3] (NL_MSGMAX): Likewise.
50857 [POSIX || XPG3] (NL_NMAX): Likewise.
50858 [POSIX || XPG3] (NL_SETMAX): Likewise.
50859 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
50860 [XPG3] (NZERO): Likewise.
50861 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
50862 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
50863 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
50864 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
50865 (REG_ERANGE): Expect.
50866 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
50867 optional-constant.
50868 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
50869 Use (void) in prototype.
50870 [POSIX] (*_t): Allow.
50871 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
50872 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
50873 (WRDE_BADVAL): Expect.
50874
50875 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
50876 expect.
50877 [XPG3 || XPG4] (O_RSYNC): Likewise.
50878 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
50879 Likewise.
50880 [XPG3 || XPG4] (pthread_sigmask): Likewise.
50881 [XPG3 || XPG4] (sigqueue): Likewise.
50882 [XPG3 || XPG4] (sigtimedwait): Likewise.
50883 [XPG3 || XPG4] (sigwaitinfo): Likewise.
50884 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
50885 [XPG3 || XPG4] (vsnprintf): Likewise.
50886 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
50887 Likewise.
50888 [XPG3 || XPG4] (blksize_t): Likewise.
50889 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
50890 Likewise.
50891 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
50892 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50893 [XPG3 || XPG4] (struct itimerspec): Likewise.
50894 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
50895 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
50896 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
50897 [XPG3 || XPG4] (clockid_t): Likewise.
50898 [XPG3 || XPG4] (timer_t): Likewise.
50899 [XPG3 || XPG4] (clock_getres): Likewise.
50900 [XPG3 || XPG4] (clock_gettime): Likewise.
50901 [XPG3 || XPG4] (clock_settime): Likewise.
50902 [XPG3 || XPG4] (nanosleep): Likewise.
50903 [XPG3 || XPG4] (timer_create): Likewise.
50904 [XPG3 || XPG4] (timer_delete): Likewise.
50905 [XPG3 || XPG4] (timer_gettime): Likewise.
50906 [XPG3 || XPG4] (timer_getoverrun): Likewise.
50907 [XPG3 || XPG4] (timer_settime): Likewise.
50908 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
50909 [XPG3 || XPG4] (getlogin_r): Likewise.
50910 [XPG3 || XPG4] (pread): Likewise.
50911 [XPG3 || XPG4] (pthread_atfork): Likewise.
50912 [XPG3 || XPG4] (pwrite): Likewise.
50913
50914 [BZ #14835]
50915 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
50916 <bits/siginfo.h>.
50917
50918 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
50919
50920 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
50921 finalizing MALLSTREAM.
50922
50923 * sysdeps/mach/hurd/syncfs.c: New file.
50924
50925 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
50926
50927 [BZ #14719]
50928 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
50929 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
50930 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
50931 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
50932 (_nss_dns_gethostbyname4_r): Likewise.
50933 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
50934 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
50935
50936 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
50937
50938 [BZ #13763]
50939 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
50940
50941 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
50942
50943 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
50944 * elf/cache.c (print_entry): Print ",AArch64" for
50945 FLAG_AARCH64_LIB64
50946
50947 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
50948 * elf/cache.c (print_entry): Print ",hard-float" for
50949 FLAG_ARM_LIBHF.
50950
50951 2012-11-18 David S. Miller <davem@davemloft.net>
50952
50953 With help from Joseph Myers.
50954 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
50955 cutoff to 2**-13.
50956 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
50957 cutoff to 2**-25.
50958 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
50959 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
50960 small.
50961 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
50962 * math/libm-test.inc (y0_test): New tests.
50963 (y1_test): New tests.
50964 * sysdeps/i386/fpu/libm-test-ulps: Update.
50965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50967
50968 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
50969
50970 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
50971 64-bit targets.
50972 * configure: Regenerated.
50973
50974 2012-11-17 David S. Miller <davem@davemloft.net>
50975
50976 [BZ #14811]
50977 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
50978 nonzero exponents with absolute value below 0x1p-128 to +/-
50979 0x1p-128.
50980
50981 2012-11-17 Joseph Myers <joseph@codesourcery.com>
50982
50983 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
50984
50985 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
50986
50987 * posix/getconf-speclist.c: New file.
50988 * posix/posix-envs.def: Likewise.
50989 * posix/confstr.c (START_ENV_GROUP): New macro.
50990 (END_ENV_GROUP): Likewise.
50991 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50992 (KNOWN_PRESENT_ENV_STRING): Likewise.
50993 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50994 (UNKNOWN_ENVIRONMENT): Likewise.
50995 (confstr): Include posix-envs.def instead of handling
50996 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
50997 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
50998 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
50999 (END_ENV_GROUP): Likewise.
51000 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51001 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51002 (UNKNOWN_ENVIRONMENT): Likewise.
51003 (__sysconf): Include posix-envs.def instead of handling associated
51004 cases directly here.
51005 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
51006 preprocessing getconf-speclist.c rather than running getconf or
51007 generating empty file.
51008
51009 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
51010
51011 * scripts/check-local-headers.sh: Ignore 'mach' headers.
51012
51013 2012-11-16 Andrej Lajovic <natrij@gmail.com>
51014
51015 [BZ #14672]
51016 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
51017
51018 2012-11-16 David S. Miller <davem@davemloft.net>
51019
51020 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
51021 smaller than LDBL_EPSILON/2.0L, just return xm1.
51022
51023 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
51024
51025 * elf/tst-array1.c (init): Set constructor priority to 1000.
51026 (fini): Set destructor priority to 1000.
51027 * elf/tst-array2dep.c: Likewise.
51028
51029 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
51030
51031 [BZ #11741]
51032 * libio/fileops.c (_IO_new_file_write): Correctly return error.
51033 (_IO_new_file_xsputn): Also return EOF if none of the input
51034 data was written when overflow failed.
51035 * libio/iopadn.c (_IO_padn): Likewise.
51036 * libio/iowpadn.c (_IO_wpadn): Likewise.
51037 * stdio-common/tst-put-error.c: Add copyright notice.
51038 (do_test): Add case for printing padded string.
51039 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
51040 _IO_padn returned error.
51041 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
51042 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
51043 return EOF.
51044
51045 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
51046
51047 * libio/libioP.h: Add comment note that the references to C++
51048 bits are now obsolete.
51049
51050 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51051
51052 * math/libm-test.inc (check_complex): Use asprintf.
51053
51054 2012-11-14 Joseph Myers <joseph@codesourcery.com>
51055
51056 * debug/pcprofiledump.c (print_version): Update copyright year.
51057 * malloc/memusagestat.c (print_version): Likewise.
51058
51059 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
51060
51061 [BZ #14831]
51062 * elf/Makefile (tests): Add tst-audit8.
51063 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
51064 ($(objpfx)tst-audit8.out): New target.
51065 (tst-audit8-ENV): New variable.
51066 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
51067 audit if l_reloc_result is NULL.
51068 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
51069 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
51070 * elf/tst-audit8.c: New file.
51071
51072 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51073
51074 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
51075 * misc/Makefile (CFLAGS-select.c): Define.
51076 * posix/Makefile (CFLAGS-pause.c): Define.
51077
51078 2012-11-13 David S. Miller <davem@davemloft.net>
51079
51080 * crypt/Makefile: Move test targets after toplevel Rules
51081 inclusion. Grab any necessary sysdep routines when linking.
51082 * crypt/md5.c (md5_process_block): Remove define, we will always
51083 name it __md5_process_block.
51084 (md5_finish_ctx): Update md5_process_block call.
51085 (md5_stream): Likewise.
51086 (md5_process_bytes): Likewise.
51087 (md5_process_block): Rename to __md5_process_block and move to ...
51088 * crypt/md5-block.c: ... here.
51089 * crypt/sha256.c (sha256_process_block): Move to ...
51090 * crypt/sha256-block.c: ... here.
51091 * crypt/sha512.c (sha512_process_block): Move to ...
51092 * crypt/sha512-block.c: ... here.
51093 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
51094 path.
51095 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
51096 * sysdeps/sparc/sparc64/multiarch/Makefile
51097 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
51098 crypt subdir.
51099 (localedef-aux): Add md5 crypto assembler when in locale subdir.
51100 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
51101 multiarch changes.
51102 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
51103 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
51104 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
51105 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
51106 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
51107 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
51108 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
51109 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
51110 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
51111 file.
51112 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
51113 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
51114 file.
51115 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
51116
51117 2012-11-13 Joseph Myers <joseph@codesourcery.com>
51118
51119 * timezone/tzselect.ksh: Update from tzcode git revision
51120 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
51121 * timezone/zdump.c: Likewise.
51122 * timezone/zic.c: Likewise.
51123 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
51124 in TZVERSION setting, not $(PKGVERSION).
51125 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
51126 REPORT_BUGS_TO settings.
51127
51128 [BZ #14838]
51129 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
51130 macro.
51131
51132 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51133
51134 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
51135 detection to immediately after _FP_ROUND().
51136 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
51137 bits are 0.
51138
51139 2012-11-11 David S. Miller <davem@davemloft.net>
51140
51141 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
51142 inttypes.h
51143 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
51144 __close rather than their public counterparts.
51145
51146 2012-11-10 Joseph Myers <joseph@codesourcery.com>
51147
51148 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
51149 file.
51150 [UNIX98] (sem_timedwait): Do not expect.
51151 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
51152 [XPG4 || UNIX98] (sockatmark): Do not expect.
51153 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
51154 (clock_getcpuclockid): Do not expect.
51155 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
51156 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
51157 Do not expect.
51158 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
51159 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
51160 [UNIX98] (vwscanf): Likewise.
51161 [UNIX98] (vswscanf): Likewise.
51162
51163 2012-11-09 Joseph Myers <joseph@codesourcery.com>
51164
51165 * timezone/version.h: Remove file.
51166 * timezone/README: Do not refer to version.h.
51167 * timezone/Makefile ($(objpfx)zic.o): New dependency on
51168 $(objpfx)version.h.
51169 ($(objpfx)zdump.o): Likewise.
51170 ($(objpfx)version.h): New target.
51171
51172 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
51173 2012i.
51174 * timezone/README: Don't mention modification to tzselect.ksh.
51175 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
51176 work on unmodified tzselect.ksh. Substitute version numbers in
51177 tzselect.ksh.
51178
51179 * Makefile (format-me): Remove.
51180 (INSTALL): Adjust indentation. Use commands directly instead of
51181 using $(format-me).
51182
51183 * aclocal.m4 (ACX_PKGVERSION): New macro.
51184 (ACX_BUGURL): Likewise.
51185 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
51186 (PKGVERSION): New AC_DEFINE_UNQUOTED.
51187 (REPORT_BUGS_TO): Likewise.
51188 * configure: Regenerated.
51189 * config.h.in (PKGVERSION): New macro.
51190 (REPORT_BUGS_TO): Likewise.
51191 * config.make.in (PKGVERSION): New variable.
51192 (PKGVERSION_TEXI): Likewise.
51193 (REPORT_BUGS_TO): Likewise.
51194 (REPORT_BUGS_TEXI): Likewise.
51195 * Makefile (format-me): Use -I$(common-objpfx)manual.
51196 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
51197 ($(common-objpfx)manual/%): New target.
51198 (manual/%): Remove target.
51199 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
51200 (print_version): Use PKGVERSION.
51201 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
51202 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
51203 and REPORT_BUGS_TO.
51204 ($(objpfx)xtrace): Likewise.
51205 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
51206 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
51207 (print_version): Use PKGVERSION.
51208 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
51209 (do_version): Use PKGVERSION.
51210 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
51211 REPORT_BUGS_TO.
51212 (common-ldd-rewrite): Likewise.
51213 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
51214 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
51215 (print_version): Use PKGVERSION.
51216 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
51217 * elf/pldd.c (argp_program_bug_address): Remove variable.
51218 (more_help): New function.
51219 (argp): Use more_help.
51220 (print_version): Use PKGVERSION.
51221 * elf/sln.c (main): Use PKGVERSION.
51222 (usage): Use REPORT_BUGS_TO.
51223 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
51224 (top level): Use PKGVERSION.
51225 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
51226 (print_version): Use PKGVERSION.
51227 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
51228 (print_version): Use PKGVERSION.
51229 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
51230 (print_version): Use PKGVERSION.
51231 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
51232 (print_version): Use PKGVERSION.
51233 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
51234 (print_version): Use PKGVERSION.
51235 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
51236 (print_version): Use PKGVERSION.
51237 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
51238 and BUGURL.
51239 ($(objpfx)memusage): Likewise.
51240 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
51241 (do_version): Use PKGVERSION.
51242 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
51243 (print_version): Use PKGVERSION.
51244 * malloc/mtrace.pl ($PACKAGE): Remove variable.
51245 ($PKGVERSION): New variable.
51246 ($REPORT_BUGS_TO): Likewise.
51247 (usage): Use $REPORT_BUGS_TO.
51248 (top level): Use $PKGVERSION.
51249 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
51250 ($(objpfx)pkgvers.texi): New rule.
51251 ($(objpfx)stamp-pkgvers): Likewise.
51252 * manual/install.texi: Include pkgvers.texi.
51253 (--with-pkgversion): Document new configure option.
51254 (--with-bugurl): Likewise.
51255 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
51256 than necessarily for this particular distribution. Use
51257 REPORT_BUGS_TO for where to report bugs.
51258 * INSTALL: Regenerated.
51259 * manual/libc.texinfo: Include pkgvers.texi.
51260 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
51261 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
51262 (print_version): Use PKGVERSION.
51263 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
51264 (print_version): Use PKGVERSION.
51265 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
51266 (print_version): Use PKGVERSION.
51267 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
51268 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
51269 macro.
51270 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
51271 (print_version): Use PKGVERSION.
51272 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
51273 (print_version): Use PKGVERSION.
51274 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
51275 and PKGVERSION.
51276
51277 * timezone/checktab.awk: Update from tzcode 2012i.
51278 * timezone/ialloc.c: Likewise.
51279 * timezone/private.h: Likewise.
51280 * timezone/scheck.c: Likewise.
51281 * timezone/tzfile.h: Likewise.
51282 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
51283 (TZVERSION): Hardcode tzcode version number.
51284 * timezone/zdump.c: Update from tzcode 2012i.
51285 * timezone/zic.c: Likewise.
51286 * timezone/version.h: New file.
51287 * timezone/README: Describe version.h. Update upstream location.
51288
51289 [BZ #14824]
51290 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
51291 (mktemp): Enable declaration.
51292 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
51293 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
51294 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
51295 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
51296 Likewise.
51297 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
51298 Likewise.
51299 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
51300 Likewise.
51301 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
51302 Likewise.
51303 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
51304 Likewise.
51305 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
51306 Likewise.
51307
51308 [BZ #14821]
51309 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
51310 offset in buffer as u_int32_t not u_long. Consistently use memcpy
51311 for copies of such integer values.
51312 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51313 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51314
51315 2012-11-09 Andreas Jaeger <aj@suse.de>
51316
51317 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
51318 definitions and declarations that are provided by
51319 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51320
51321 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51322
51323 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
51324 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
51325 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
51326 definition.
51327
51328 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51329
51330 * elf/elf.h: Update comment before AArch64 relocations.
51331
51332 2012-11-07 David S. Miller <davem@davemloft.net>
51333
51334 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
51335 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51336 (__start_context): Declare.
51337 (__makecontext_ret): Delete.
51338 (__makecontext): Hook up __start_context instead of
51339 __makecontext_ret.
51340 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
51341 (sysdep_routines): Add __start_context when in stdlib.
51342
51343 2012-11-07 Joseph Myers <joseph@codesourcery.com>
51344
51345 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
51346 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
51347 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
51348 hardcoded "nm".
51349 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
51350 (READELF): New variable. Use it instead of hardcoded "readelf".
51351
51352 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
51353
51354 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
51355 * sysdeps/x86/Makefile: Here.
51356 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
51357 * sysdeps/x86/tst-xmmymm.sh: This.
51358
51359 2012-11-07 Joseph Myers <joseph@codesourcery.com>
51360
51361 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
51362 expectations.
51363 [UNIX98] (pthread_barrier_t): Do not expect.
51364 [UNIX98] (pthread_barrierattr_t): Likewise.
51365 [UNIX98] (pthread_spinlock_t): Likewise.
51366 [UNIX98] (pthread_barrier_destroy): Likewise.
51367 [UNIX98] (pthread_barrier_init): Likewise.
51368 [UNIX98] (pthread_barrier_wait): Likewise.
51369 [UNIX98] (pthread_barrierattr_destroy): Likewise.
51370 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
51371 [UNIX98] (pthread_barrierattr_init): Likewise.
51372 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
51373 [UNIX98] (pthread_getcpuclockid): Likewise.
51374 [UNIX98] (pthread_mutex_timedlock): Likewise.
51375 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
51376 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
51377 [UNIX98] (pthread_sigmask): Likewise.
51378 [UNIX98] (pthread_spin_destroy): Likewise.
51379 [UNIX98] (pthread_spin_init): Likewise.
51380 [UNIX98] (pthread_spin_lock): Likewise.
51381 [UNIX98] (pthread_spin_trylock): Likewise.
51382 [UNIX98] (pthread_spin_unlock): Likewise.
51383 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
51384 Do not expect.
51385 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
51386 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
51387 [XPG3 || XPG4] (pthread_cond_t): Likewise.
51388 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
51389 [XPG3 || XPG4] (pthread_key_t): Likewise.
51390 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
51391 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
51392 [XPG3 || XPG4] (pthread_once_t): Likewise.
51393 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
51394 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
51395 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
51396 [XPG3 || XPG4] (pthread_t): Likewise.
51397
51398 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
51399 not expect.
51400 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
51401
51402 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
51403 Change function return type to int.
51404
51405 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
51406 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
51407 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
51408 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
51409 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
51410 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
51411 [!POSIX] (posix_madvise): Likewise.
51412 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
51413 && !UNIX98].
51414 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
51415 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
51416 (mode_t): Likewise.
51417 (posix_mem_offset): Likewise.
51418 (posix_typed_mem_get_info): Likewise.
51419 (posix_typed_mem_open): Likewise.
51420
51421 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
51422 Change condition to [XOPEN2K8].
51423
51424 * conform/conformtest.pl: Preprocess allow-header data with -x c
51425 instead of from stdin.
51426 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
51427 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
51428 [C99-based standards] (cerfc): Likewise.
51429 [C99-based standards] (cexp2): Likewise.
51430 [C99-based standards] (cexpm1): Likewise.
51431 [C99-based standards] (clog10): Likewise.
51432 [C99-based standards] (clog1p): Likewise.
51433 [C99-based standards] (clog2): Likewise.
51434 [C99-based standards] (clgamma): Likewise.
51435 [C99-based standards] (ctgamma): Likewise.
51436 [C99-based standards] (cerff): Likewise.
51437 [C99-based standards] (cerfcf): Likewise.
51438 [C99-based standards] (cexp2f): Likewise.
51439 [C99-based standards] (cexpm1f): Likewise.
51440 [C99-based standards] (clog10f): Likewise.
51441 [C99-based standards] (clog1pf): Likewise.
51442 [C99-based standards] (clog2f): Likewise.
51443 [C99-based standards] (clgammaf): Likewise.
51444 [C99-based standards] (ctgammaf): Likewise.
51445 [C99-based standards] (cerfl): Likewise.
51446 [C99-based standards] (cerfcl): Likewise.
51447 [C99-based standards] (cexp2l): Likewise.
51448 [C99-based standards] (cexpm1l): Likewise.
51449 [C99-based standards] (clog10l): Likewise.
51450 [C99-based standards] (clog1pl): Likewise.
51451 [C99-based standards] (clog2l): Likewise.
51452 [C99-based standards] (clgammal): Likewise.
51453 [C99-based standards] (ctgammal): Likewise.
51454 * conform/data/inttypes.h-data [C99-based standards]: Include
51455 stdint.h-data. Remove all expectations for stdint.h contents.
51456 [C99-based standards] (PRI*): Do not allow.
51457 [C99-based standards] (SCN*): Likewise.
51458 [C99-based standards] (*_t): Likewise.
51459 [C99-based-standards] (PRId8): Expect macro.
51460 [C99-based-standards] (PRIi8): Likewise.
51461 [C99-based-standards] (PRIo8): Likewise.
51462 [C99-based-standards] (PRIu8): Likewise.
51463 [C99-based-standards] (PRIx8): Likewise.
51464 [C99-based-standards] (PRIX8): Likewise.
51465 [C99-based-standards] (SCNd8): Likewise.
51466 [C99-based-standards] (SCNi8): Likewise.
51467 [C99-based-standards] (SCNo8): Likewise.
51468 [C99-based-standards] (SCNu8): Likewise.
51469 [C99-based-standards] (SCNx8): Likewise.
51470 [C99-based-standards] (PRIdLEAST8): Likewise.
51471 [C99-based-standards] (PRIiLEAST8): Likewise.
51472 [C99-based-standards] (PRIoLEAST8): Likewise.
51473 [C99-based-standards] (PRIuLEAST8): Likewise.
51474 [C99-based-standards] (PRIxLEAST8): Likewise.
51475 [C99-based-standards] (PRIXLEAST8): Likewise.
51476 [C99-based-standards] (SCNdLEAST8): Likewise.
51477 [C99-based-standards] (SCNiLEAST8): Likewise.
51478 [C99-based-standards] (SCNoLEAST8): Likewise.
51479 [C99-based-standards] (SCNuLEAST8): Likewise.
51480 [C99-based-standards] (SCNxLEAST8): Likewise.
51481 [C99-based-standards] (PRIdFAST8): Likewise.
51482 [C99-based-standards] (PRIiFAST8): Likewise.
51483 [C99-based-standards] (PRIoFAST8): Likewise.
51484 [C99-based-standards] (PRIuFAST8): Likewise.
51485 [C99-based-standards] (PRIxFAST8): Likewise.
51486 [C99-based-standards] (PRIXFAST8): Likewise.
51487 [C99-based-standards] (SCNdFAST8): Likewise.
51488 [C99-based-standards] (SCNiFAST8): Likewise.
51489 [C99-based-standards] (SCNoFAST8): Likewise.
51490 [C99-based-standards] (SCNuFAST8): Likewise.
51491 [C99-based-standards] (SCNxFAST8): Likewise.
51492 [C99-based-standards] (PRId16): Likewise.
51493 [C99-based-standards] (PRIi16): Likewise.
51494 [C99-based-standards] (PRIo16): Likewise.
51495 [C99-based-standards] (PRIu16): Likewise.
51496 [C99-based-standards] (PRIx16): Likewise.
51497 [C99-based-standards] (PRIX16): Likewise.
51498 [C99-based-standards] (SCNd16): Likewise.
51499 [C99-based-standards] (SCNi16): Likewise.
51500 [C99-based-standards] (SCNo16): Likewise.
51501 [C99-based-standards] (SCNu16): Likewise.
51502 [C99-based-standards] (SCNx16): Likewise.
51503 [C99-based-standards] (PRIdLEAST16): Likewise.
51504 [C99-based-standards] (PRIiLEAST16): Likewise.
51505 [C99-based-standards] (PRIoLEAST16): Likewise.
51506 [C99-based-standards] (PRIuLEAST16): Likewise.
51507 [C99-based-standards] (PRIxLEAST16): Likewise.
51508 [C99-based-standards] (PRIXLEAST16): Likewise.
51509 [C99-based-standards] (SCNdLEAST16): Likewise.
51510 [C99-based-standards] (SCNiLEAST16): Likewise.
51511 [C99-based-standards] (SCNoLEAST16): Likewise.
51512 [C99-based-standards] (SCNuLEAST16): Likewise.
51513 [C99-based-standards] (SCNxLEAST16): Likewise.
51514 [C99-based-standards] (PRIdFAST16): Likewise.
51515 [C99-based-standards] (PRIiFAST16): Likewise.
51516 [C99-based-standards] (PRIoFAST16): Likewise.
51517 [C99-based-standards] (PRIuFAST16): Likewise.
51518 [C99-based-standards] (PRIxFAST16): Likewise.
51519 [C99-based-standards] (PRIXFAST16): Likewise.
51520 [C99-based-standards] (SCNdFAST16): Likewise.
51521 [C99-based-standards] (SCNiFAST16): Likewise.
51522 [C99-based-standards] (SCNoFAST16): Likewise.
51523 [C99-based-standards] (SCNuFAST16): Likewise.
51524 [C99-based-standards] (SCNxFAST16): Likewise.
51525 [C99-based-standards] (PRId32): Likewise.
51526 [C99-based-standards] (PRIi32): Likewise.
51527 [C99-based-standards] (PRIo32): Likewise.
51528 [C99-based-standards] (PRIu32): Likewise.
51529 [C99-based-standards] (PRIx32): Likewise.
51530 [C99-based-standards] (PRIX32): Likewise.
51531 [C99-based-standards] (SCNd32): Likewise.
51532 [C99-based-standards] (SCNi32): Likewise.
51533 [C99-based-standards] (SCNo32): Likewise.
51534 [C99-based-standards] (SCNu32): Likewise.
51535 [C99-based-standards] (SCNx32): Likewise.
51536 [C99-based-standards] (PRIdLEAST32): Likewise.
51537 [C99-based-standards] (PRIiLEAST32): Likewise.
51538 [C99-based-standards] (PRIoLEAST32): Likewise.
51539 [C99-based-standards] (PRIuLEAST32): Likewise.
51540 [C99-based-standards] (PRIxLEAST32): Likewise.
51541 [C99-based-standards] (PRIXLEAST32): Likewise.
51542 [C99-based-standards] (SCNdLEAST32): Likewise.
51543 [C99-based-standards] (SCNiLEAST32): Likewise.
51544 [C99-based-standards] (SCNoLEAST32): Likewise.
51545 [C99-based-standards] (SCNuLEAST32): Likewise.
51546 [C99-based-standards] (SCNxLEAST32): Likewise.
51547 [C99-based-standards] (PRIdFAST32): Likewise.
51548 [C99-based-standards] (PRIiFAST32): Likewise.
51549 [C99-based-standards] (PRIoFAST32): Likewise.
51550 [C99-based-standards] (PRIuFAST32): Likewise.
51551 [C99-based-standards] (PRIxFAST32): Likewise.
51552 [C99-based-standards] (PRIXFAST32): Likewise.
51553 [C99-based-standards] (SCNdFAST32): Likewise.
51554 [C99-based-standards] (SCNiFAST32): Likewise.
51555 [C99-based-standards] (SCNoFAST32): Likewise.
51556 [C99-based-standards] (SCNuFAST32): Likewise.
51557 [C99-based-standards] (SCNxFAST32): Likewise.
51558 [C99-based-standards] (PRId64): Likewise.
51559 [C99-based-standards] (PRIi64): Likewise.
51560 [C99-based-standards] (PRIo64): Likewise.
51561 [C99-based-standards] (PRIu64): Likewise.
51562 [C99-based-standards] (PRIx64): Likewise.
51563 [C99-based-standards] (PRIX64): Likewise.
51564 [C99-based-standards] (SCNd64): Likewise.
51565 [C99-based-standards] (SCNi64): Likewise.
51566 [C99-based-standards] (SCNo64): Likewise.
51567 [C99-based-standards] (SCNu64): Likewise.
51568 [C99-based-standards] (SCNx64): Likewise.
51569 [C99-based-standards] (PRIdLEAST64): Likewise.
51570 [C99-based-standards] (PRIiLEAST64): Likewise.
51571 [C99-based-standards] (PRIoLEAST64): Likewise.
51572 [C99-based-standards] (PRIuLEAST64): Likewise.
51573 [C99-based-standards] (PRIxLEAST64): Likewise.
51574 [C99-based-standards] (PRIXLEAST64): Likewise.
51575 [C99-based-standards] (SCNdLEAST64): Likewise.
51576 [C99-based-standards] (SCNiLEAST64): Likewise.
51577 [C99-based-standards] (SCNoLEAST64): Likewise.
51578 [C99-based-standards] (SCNuLEAST64): Likewise.
51579 [C99-based-standards] (SCNxLEAST64): Likewise.
51580 [C99-based-standards] (PRIdFAST64): Likewise.
51581 [C99-based-standards] (PRIiFAST64): Likewise.
51582 [C99-based-standards] (PRIoFAST64): Likewise.
51583 [C99-based-standards] (PRIuFAST64): Likewise.
51584 [C99-based-standards] (PRIxFAST64): Likewise.
51585 [C99-based-standards] (PRIXFAST64): Likewise.
51586 [C99-based-standards] (SCNdFAST64): Likewise.
51587 [C99-based-standards] (SCNiFAST64): Likewise.
51588 [C99-based-standards] (SCNoFAST64): Likewise.
51589 [C99-based-standards] (SCNuFAST64): Likewise.
51590 [C99-based-standards] (SCNxFAST64): Likewise.
51591 [C99-based-standards] (PRIdMAX): Likewise.
51592 [C99-based-standards] (PRIiMAX): Likewise.
51593 [C99-based-standards] (PRIoMAX): Likewise.
51594 [C99-based-standards] (PRIuMAX): Likewise.
51595 [C99-based-standards] (PRIxMAX): Likewise.
51596 [C99-based-standards] (PRIXMAX): Likewise.
51597 [C99-based-standards] (SCNdMAX): Likewise.
51598 [C99-based-standards] (SCNiMAX): Likewise.
51599 [C99-based-standards] (SCNoMAX): Likewise.
51600 [C99-based-standards] (SCNuMAX): Likewise.
51601 [C99-based-standards] (SCNxMAX): Likewise.
51602 [C99-based-standards] (PRIdPTR): Likewise.
51603 [C99-based-standards] (PRIiPTR): Likewise.
51604 [C99-based-standards] (PRIoPTR): Likewise.
51605 [C99-based-standards] (PRIuPTR): Likewise.
51606 [C99-based-standards] (PRIxPTR): Likewise.
51607 [C99-based-standards] (PRIXPTR): Likewise.
51608 [C99-based-standards] (SCNdPTR): Likewise.
51609 [C99-based-standards] (SCNiPTR): Likewise.
51610 [C99-based-standards] (SCNoPTR): Likewise.
51611 [C99-based-standards] (SCNuPTR): Likewise.
51612 [C99-based-standards] (SCNxPTR): Likewise.
51613 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
51614 allow.
51615 * conform/data/stdint.h-data: Update comments to clarify
51616 requirements.
51617 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
51618 type.
51619 [C99-based standards] (INT8_MAX): Likewise.
51620 [C99-based standards] (INT16_MIN): Likewise.
51621 [C99-based standards] (INT16_MAX): Likewise.
51622 [C99-based standards] (INT32_MIN): Likewise.
51623 [C99-based standards] (INT32_MAX): Likewise.
51624 [C99-based standards] (INT64_MIN): Likewise.
51625 [C99-based standards] (INT64_MAX): Likewise.
51626 [C99-based standards] (UINT8_MAX): Likewise.
51627 [C99-based standards] (UINT16_MAX): Likewise.
51628 [C99-based standards] (UINT32_MAX): Likewise.
51629 [C99-based standards] (UINT64_MAX): Likewise.
51630 [C99-based standards] (INT_LEAST8_MIN): Likewise.
51631 [C99-based standards] (INT_LEAST8_MAX): Likewise.
51632 [C99-based standards] (INT_LEAST16_MIN): Likewise.
51633 [C99-based standards] (INT_LEAST16_MAX): Likewise.
51634 [C99-based standards] (INT_LEAST32_MIN): Likewise.
51635 [C99-based standards] (INT_LEAST32_MAX): Likewise.
51636 [C99-based standards] (INT_LEAST64_MIN): Likewise.
51637 [C99-based standards] (INT_LEAST64_MAX): Likewise.
51638 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
51639 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
51640 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
51641 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
51642 [C99-based standards] (INT_FAST8_MIN): Likewise.
51643 [C99-based standards] (INT_FAST8_MAX): Likewise.
51644 [C99-based standards] (INT_FAST16_MIN): Likewise.
51645 [C99-based standards] (INT_FAST16_MAX): Likewise.
51646 [C99-based standards] (INT_FAST32_MIN): Likewise.
51647 [C99-based standards] (INT_FAST32_MAX): Likewise.
51648 [C99-based standards] (INT_FAST64_MIN): Likewise.
51649 [C99-based standards] (INT_FAST64_MAX): Likewise.
51650 [C99-based standards] (UINT_FAST8_MAX): Likewise.
51651 [C99-based standards] (UINT_FAST16_MAX): Likewise.
51652 [C99-based standards] (UINT_FAST32_MAX): Likewise.
51653 [C99-based standards] (UINT_FAST64_MAX): Likewise.
51654 [C99-based standards] (INTPTR_MIN): Likewise.
51655 [C99-based standards] (INTPTR_MAX): Likewise.
51656 [C99-based standards] (UINTPTR_MAX): Likewise.
51657 [C99-based standards] (INTMAX_MIN): Likewise.
51658 [C99-based standards] (INTMAX_MAX): Likewise.
51659 [C99-based standards] (UINTMAX_MAX): Likewise.
51660 [C99-based standards] (PTRDIFF_MIN): Likewise.
51661 [C99-based standards] (PTRDIFF_MAX): Likewise.
51662 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
51663 [C99-based standards] (SIZE_MAX): Likewise.
51664 [C99-based standards] (WCHAR_MAX): Likewise.
51665 [C99-based standards] (WINT_MAX): Likewise.
51666 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
51667 constraint on value.
51668 [C99-based standards] (WCHAR_MIN): Likewise.
51669 [C99-based standards] (WINT_MIN): Likewise.
51670 [C99-based standards] (*_t): Allow.
51671 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
51672 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
51673 Include math.h-data and complex.h-data. Remove all expectations
51674 of math.h and complex.h contents.
51675 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
51676 at end of line.
51677 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
51678 (struct tm): Expect tag.
51679 [C99-based-standards] (wcstof): Expect function.
51680 [C99-based-standards] (wcstold): Likewise.
51681 [C99-based-standards] (wcstoll): Likewise.
51682 [C99-based-standards] (wcstoull): Likewise.
51683 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
51684 macro-int-constant. Specify type.
51685 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
51686 constraint on value.
51687 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51688 Specify type.
51689 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
51690 Specify value.
51691 [ISO C standards]: Do not allow headers.
51692 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
51693 wcs[abcdefghijklmnopqrstuvwxyz]*.
51694 [ISO C standards] (*_t): Do not allow.
51695 * conform/data/wctype.h-data [C99-based standards] (iswblank):
51696 Expect function.
51697 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
51698 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51699 Specify type.
51700 [ISO C standards]: Do not allow headers.
51701 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
51702 is[abcdefghijklmnopqrstuvwxyz]*.
51703 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
51704 to[abcdefghijklmnopqrstuvwxyz]*.
51705 [ISO C standards] (*_t): Do not allow.
51706 * conform/data/stdalign.h-data: New file.
51707 * conform/data/stdbool.h-data: Likewise.
51708 * conform/data/stdnoreturn.h-data: Likewise.
51709
51710 2012-11-07 Roland McGrath <roland@hack.frob.com>
51711
51712 [BZ #14815]
51713 * manual/filesys.texi (Directory Entries): Typo fix.
51714 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
51715
51716 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51717
51718 * elf/elf.h (EM_AARCH64): New macro.
51719 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
51720 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
51721 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
51722 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
51723 (R_AARCH64_TLSDESC): Likewise.
51724 (NT_ARM_TLS): Likewise.
51725 (NT_ARM_HW_BREAK): Likewise.
51726 (NT_ARM_HW_WATCH): Likewise.
51727
51728 2012-11-07 Joseph Myers <joseph@codesourcery.com>
51729
51730 [BZ #14811]
51731 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
51732 (__ieee754_powl): Saturate nonzero exponents with absolute value
51733 below 0x1p-79 to +/- 0x1p-79.
51734 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
51735 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
51736 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
51737 nonzero exponents with absolute value below 0x1p-32 to +/-
51738 0x1p-32.
51739 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
51740 (__ieee754_powl): Saturate nonzero exponents with absolute value
51741 below 0x1p-79 to +/- 0x1p-79.
51742 * math/libm-test.inc (pow_test): Add more tests.
51743
51744 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51745
51746 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
51747 _dl_s390_cap_flags with kernel. Increase string length.
51748 (_dl_s390_platforms): Add z196 and zEC12.
51749
51750 2012-11-07 Joseph Myers <joseph@codesourcery.com>
51751
51752 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
51753 Change XOPEN21K to XOPEN2K.
51754
51755 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
51756
51757 * string/memmove.c: Use memcpy when possible.
51758
51759 2012-11-06 Andreas Jaeger <aj@suse.de>
51760
51761 * po/eo.po: Update from translation team.
51762
51763 2012-11-06 Joseph Myers <joseph@codesourcery.com>
51764
51765 [BZ #14793]
51766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
51767 exponent and small x and y exponents, scale x or y up. Increase
51768 by 2 the exponent used in scaling up.
51769 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51770 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51771 * math/libm-test.inc (fma_test): Add more tests.
51772 (fma_test_towardzero): Likewise.
51773 (fma_test_downward): Likewise.
51774 (fma_test_upward): Likewise.
51775
51776 2012-11-05 Joseph Myers <joseph@codesourcery.com>
51777
51778 [BZ #14805]
51779 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
51780 fenv_t *.
51781
51782 [BZ #14801]
51783 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
51784 namespace for names of struct fields.
51785 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
51786 fenv_t fields.
51787 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
51788 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
51789
51790 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
51791
51792 [BZ #3665]
51793 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
51794
51795 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
51796
51797 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
51798 PTR_DEMANGLE.
51799
51800 [BZ #5246]
51801 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
51802 PTR_DEMANGLE.
51803
51804 2012-11-04 Joseph Myers <joseph@codesourcery.com>
51805
51806 [BZ #14797]
51807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
51808 definitely overflow as x * y not x * y + z.
51809 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51810 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51811 * math/libm-test.inc (fma_test): Add more tests.
51812 (fma_test_towardzero): Likewise.
51813 (fma_test_downward): Likewise.
51814 (fma_test_upward): Likewise.
51815
51816 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
51817
51818 [BZ #157]
51819
51820 * include/stub-tag.h: Remove file.
51821 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
51822 '#include' of it.
51823 * manual/maint.texi (Porting): Don't reference it.
51824 * Makerules ($(objpfx)stubs): Likewise.
51825 * dirent/closedir.c: Don't include <stub-tag.h>.
51826 * dirent/dirfd.c: Likewise.
51827 * dirent/fdopendir.c: Likewise.
51828 * dirent/getdents.c: Likewise.
51829 * dirent/getdents64.c: Likewise.
51830 * dirent/opendir.c: Likewise.
51831 * dirent/readdir.c: Likewise.
51832 * dirent/readdir64.c: Likewise.
51833 * dirent/readdir64_r.c: Likewise.
51834 * dirent/readdir_r.c: Likewise.
51835 * dirent/rewinddir.c: Likewise.
51836 * dirent/seekdir.c: Likewise.
51837 * dirent/telldir.c: Likewise.
51838 * gmon/profil.c: Likewise.
51839 * grp/setgroups.c: Likewise.
51840 * inet/if_index.c: Likewise.
51841 * io/access.c: Likewise.
51842 * io/chdir.c: Likewise.
51843 * io/chmod.c: Likewise.
51844 * io/chown.c: Likewise.
51845 * io/close.c: Likewise.
51846 * io/dup.c: Likewise.
51847 * io/dup2.c: Likewise.
51848 * io/dup3.c: Likewise.
51849 * io/euidaccess.c: Likewise.
51850 * io/faccessat.c: Likewise.
51851 * io/fchdir.c: Likewise.
51852 * io/fchmod.c: Likewise.
51853 * io/fchmodat.c: Likewise.
51854 * io/fchown.c: Likewise.
51855 * io/fchownat.c: Likewise.
51856 * io/fcntl.c: Likewise.
51857 * io/flock.c: Likewise.
51858 * io/fstatfs.c: Likewise.
51859 * io/fstatfs64.c: Likewise.
51860 * io/fstatvfs.c: Likewise.
51861 * io/fstatvfs64.c: Likewise.
51862 * io/futimens.c: Likewise.
51863 * io/fxstat.c: Likewise.
51864 * io/fxstat64.c: Likewise.
51865 * io/fxstatat.c: Likewise.
51866 * io/fxstatat64.c: Likewise.
51867 * io/getcwd.c: Likewise.
51868 * io/isatty.c: Likewise.
51869 * io/lchmod.c: Likewise.
51870 * io/lchown.c: Likewise.
51871 * io/link.c: Likewise.
51872 * io/linkat.c: Likewise.
51873 * io/lseek.c: Likewise.
51874 * io/lseek64.c: Likewise.
51875 * io/lxstat64.c: Likewise.
51876 * io/mkdir.c: Likewise.
51877 * io/mkdirat.c: Likewise.
51878 * io/mkfifo.c: Likewise.
51879 * io/mkfifoat.c: Likewise.
51880 * io/open.c: Likewise.
51881 * io/open64.c: Likewise.
51882 * io/openat.c: Likewise.
51883 * io/openat64.c: Likewise.
51884 * io/pipe.c: Likewise.
51885 * io/pipe2.c: Likewise.
51886 * io/poll.c: Likewise.
51887 * io/posix_fadvise.c: Likewise.
51888 * io/posix_fadvise64.c: Likewise.
51889 * io/posix_fallocate.c: Likewise.
51890 * io/posix_fallocate64.c: Likewise.
51891 * io/read.c: Likewise.
51892 * io/readlink.c: Likewise.
51893 * io/readlinkat.c: Likewise.
51894 * io/rmdir.c: Likewise.
51895 * io/sendfile.c: Likewise.
51896 * io/sendfile64.c: Likewise.
51897 * io/statfs.c: Likewise.
51898 * io/statfs64.c: Likewise.
51899 * io/statvfs.c: Likewise.
51900 * io/statvfs64.c: Likewise.
51901 * io/symlink.c: Likewise.
51902 * io/symlinkat.c: Likewise.
51903 * io/ttyname.c: Likewise.
51904 * io/ttyname_r.c: Likewise.
51905 * io/umask.c: Likewise.
51906 * io/unlink.c: Likewise.
51907 * io/unlinkat.c: Likewise.
51908 * io/utime.c: Likewise.
51909 * io/utimensat.c: Likewise.
51910 * io/write.c: Likewise.
51911 * io/xmknod.c: Likewise.
51912 * io/xmknodat.c: Likewise.
51913 * io/xstat.c: Likewise.
51914 * io/xstat64.c: Likewise.
51915 * login/getpt.c: Likewise.
51916 * login/grantpt.c: Likewise.
51917 * login/unlockpt.c: Likewise.
51918 * math/e_acoshl.c: Likewise.
51919 * math/e_acosl.c: Likewise.
51920 * math/e_asinl.c: Likewise.
51921 * math/e_atan2l.c: Likewise.
51922 * math/e_atanhl.c: Likewise.
51923 * math/e_coshl.c: Likewise.
51924 * math/e_expl.c: Likewise.
51925 * math/e_fmodl.c: Likewise.
51926 * math/e_gammal_r.c: Likewise.
51927 * math/e_hypotl.c: Likewise.
51928 * math/e_j0l.c: Likewise.
51929 * math/e_j1l.c: Likewise.
51930 * math/e_jnl.c: Likewise.
51931 * math/e_lgammal_r.c: Likewise.
51932 * math/e_log10l.c: Likewise.
51933 * math/e_log2l.c: Likewise.
51934 * math/e_logl.c: Likewise.
51935 * math/e_powl.c: Likewise.
51936 * math/e_rem_pio2l.c: Likewise.
51937 * math/e_sinhl.c: Likewise.
51938 * math/e_sqrtl.c: Likewise.
51939 * math/fclrexcpt.c: Likewise.
51940 * math/fedisblxcpt.c: Likewise.
51941 * math/feenablxcpt.c: Likewise.
51942 * math/fegetenv.c: Likewise.
51943 * math/fegetexcept.c: Likewise.
51944 * math/fegetround.c: Likewise.
51945 * math/feholdexcpt.c: Likewise.
51946 * math/fesetenv.c: Likewise.
51947 * math/fesetround.c: Likewise.
51948 * math/feupdateenv.c: Likewise.
51949 * math/fgetexcptflg.c: Likewise.
51950 * math/fraiseexcpt.c: Likewise.
51951 * math/fsetexcptflg.c: Likewise.
51952 * math/ftestexcept.c: Likewise.
51953 * math/k_cosl.c: Likewise.
51954 * math/k_rem_pio2l.c: Likewise.
51955 * math/k_sinl.c: Likewise.
51956 * math/k_tanl.c: Likewise.
51957 * math/s_asinhl.c: Likewise.
51958 * math/s_atanl.c: Likewise.
51959 * math/s_cbrtl.c: Likewise.
51960 * math/s_erfl.c: Likewise.
51961 * math/s_expm1l.c: Likewise.
51962 * math/s_log1pl.c: Likewise.
51963 * math/s_tanhl.c: Likewise.
51964 * misc/acct.c: Likewise.
51965 * misc/brk.c: Likewise.
51966 * misc/chflags.c: Likewise.
51967 * misc/chroot.c: Likewise.
51968 * misc/fchflags.c: Likewise.
51969 * misc/fgetxattr.c: Likewise.
51970 * misc/flistxattr.c: Likewise.
51971 * misc/fremovexattr.c: Likewise.
51972 * misc/fsetxattr.c: Likewise.
51973 * misc/fsync.c: Likewise.
51974 * misc/ftruncate.c: Likewise.
51975 * misc/futimes.c: Likewise.
51976 * misc/futimesat.c: Likewise.
51977 * misc/getdomain.c: Likewise.
51978 * misc/getdtsz.c: Likewise.
51979 * misc/gethostid.c: Likewise.
51980 * misc/gethostname.c: Likewise.
51981 * misc/getloadavg.c: Likewise.
51982 * misc/getpagesize.c: Likewise.
51983 * misc/getsysstats.c: Likewise.
51984 * misc/getxattr.c: Likewise.
51985 * misc/gtty.c: Likewise.
51986 * misc/ioctl.c: Likewise.
51987 * misc/lgetxattr.c: Likewise.
51988 * misc/listxattr.c: Likewise.
51989 * misc/llistxattr.c: Likewise.
51990 * misc/lremovexattr.c: Likewise.
51991 * misc/lsetxattr.c: Likewise.
51992 * misc/lutimes.c: Likewise.
51993 * misc/madvise.c: Likewise.
51994 * misc/mincore.c: Likewise.
51995 * misc/mlock.c: Likewise.
51996 * misc/mlockall.c: Likewise.
51997 * misc/mmap.c: Likewise.
51998 * misc/mprotect.c: Likewise.
51999 * misc/msync.c: Likewise.
52000 * misc/munlock.c: Likewise.
52001 * misc/munlockall.c: Likewise.
52002 * misc/munmap.c: Likewise.
52003 * misc/preadv.c: Likewise.
52004 * misc/preadv64.c: Likewise.
52005 * misc/ptrace.c: Likewise.
52006 * misc/pwritev.c: Likewise.
52007 * misc/pwritev64.c: Likewise.
52008 * misc/readv.c: Likewise.
52009 * misc/reboot.c: Likewise.
52010 * misc/remap_file_pages.c: Likewise.
52011 * misc/removexattr.c: Likewise.
52012 * misc/revoke.c: Likewise.
52013 * misc/select.c: Likewise.
52014 * misc/setdomain.c: Likewise.
52015 * misc/setegid.c: Likewise.
52016 * misc/seteuid.c: Likewise.
52017 * misc/sethostid.c: Likewise.
52018 * misc/sethostname.c: Likewise.
52019 * misc/setregid.c: Likewise.
52020 * misc/setreuid.c: Likewise.
52021 * misc/setxattr.c: Likewise.
52022 * misc/sstk.c: Likewise.
52023 * misc/stty.c: Likewise.
52024 * misc/swapoff.c: Likewise.
52025 * misc/swapon.c: Likewise.
52026 * misc/sync.c: Likewise.
52027 * misc/syncfs.c: Likewise.
52028 * misc/syscall.c: Likewise.
52029 * misc/truncate.c: Likewise.
52030 * misc/ualarm.c: Likewise.
52031 * misc/usleep.c: Likewise.
52032 * misc/ustat.c: Likewise.
52033 * misc/utimes.c: Likewise.
52034 * misc/vhangup.c: Likewise.
52035 * misc/writev.c: Likewise.
52036 * posix/_exit.c: Likewise.
52037 * posix/alarm.c: Likewise.
52038 * posix/execve.c: Likewise.
52039 * posix/fexecve.c: Likewise.
52040 * posix/fork.c: Likewise.
52041 * posix/fpathconf.c: Likewise.
52042 * posix/getaddrinfo.c: Likewise.
52043 * posix/getegid.c: Likewise.
52044 * posix/geteuid.c: Likewise.
52045 * posix/getgid.c: Likewise.
52046 * posix/getgroups.c: Likewise.
52047 * posix/getlogin.c: Likewise.
52048 * posix/getlogin_r.c: Likewise.
52049 * posix/getpgid.c: Likewise.
52050 * posix/getpid.c: Likewise.
52051 * posix/getppid.c: Likewise.
52052 * posix/getresgid.c: Likewise.
52053 * posix/getresuid.c: Likewise.
52054 * posix/getsid.c: Likewise.
52055 * posix/getuid.c: Likewise.
52056 * posix/glob64.c: Likewise.
52057 * posix/nanosleep.c: Likewise.
52058 * posix/pathconf.c: Likewise.
52059 * posix/pause.c: Likewise.
52060 * posix/posix_madvise.c: Likewise.
52061 * posix/pread.c: Likewise.
52062 * posix/pread64.c: Likewise.
52063 * posix/pwrite.c: Likewise.
52064 * posix/pwrite64.c: Likewise.
52065 * posix/sched_getaffinity.c: Likewise.
52066 * posix/sched_getp.c: Likewise.
52067 * posix/sched_gets.c: Likewise.
52068 * posix/sched_primax.c: Likewise.
52069 * posix/sched_primin.c: Likewise.
52070 * posix/sched_rr_gi.c: Likewise.
52071 * posix/sched_setaffinity.c: Likewise.
52072 * posix/sched_setp.c: Likewise.
52073 * posix/sched_sets.c: Likewise.
52074 * posix/sched_yield.c: Likewise.
52075 * posix/setgid.c: Likewise.
52076 * posix/setlogin.c: Likewise.
52077 * posix/setpgid.c: Likewise.
52078 * posix/setresgid.c: Likewise.
52079 * posix/setresuid.c: Likewise.
52080 * posix/setsid.c: Likewise.
52081 * posix/setuid.c: Likewise.
52082 * posix/sleep.c: Likewise.
52083 * posix/spawni.c: Likewise.
52084 * posix/sysconf.c: Likewise.
52085 * posix/times.c: Likewise.
52086 * posix/wait.c: Likewise.
52087 * posix/wait3.c: Likewise.
52088 * posix/wait4.c: Likewise.
52089 * posix/waitpid.c: Likewise.
52090 * resolv/gai_sigqueue.c: Likewise.
52091 * resource/getpriority.c: Likewise.
52092 * resource/getrlimit.c: Likewise.
52093 * resource/getrusage.c: Likewise.
52094 * resource/nice.c: Likewise.
52095 * resource/setpriority.c: Likewise.
52096 * resource/setrlimit.c: Likewise.
52097 * resource/ulimit.c: Likewise.
52098 * rt/aio_cancel.c: Likewise.
52099 * rt/aio_fsync.c: Likewise.
52100 * rt/aio_read.c: Likewise.
52101 * rt/aio_sigqueue.c: Likewise.
52102 * rt/aio_suspend.c: Likewise.
52103 * rt/aio_write.c: Likewise.
52104 * rt/clock_getres.c: Likewise.
52105 * rt/clock_gettime.c: Likewise.
52106 * rt/clock_nanosleep.c: Likewise.
52107 * rt/clock_settime.c: Likewise.
52108 * rt/lio_listio.c: Likewise.
52109 * rt/mq_close.c: Likewise.
52110 * rt/mq_getattr.c: Likewise.
52111 * rt/mq_notify.c: Likewise.
52112 * rt/mq_open.c: Likewise.
52113 * rt/mq_receive.c: Likewise.
52114 * rt/mq_send.c: Likewise.
52115 * rt/mq_setattr.c: Likewise.
52116 * rt/mq_timedreceive.c: Likewise.
52117 * rt/mq_timedsend.c: Likewise.
52118 * rt/mq_unlink.c: Likewise.
52119 * rt/shm_open.c: Likewise.
52120 * rt/shm_unlink.c: Likewise.
52121 * rt/timer_create.c: Likewise.
52122 * rt/timer_delete.c: Likewise.
52123 * rt/timer_getoverr.c: Likewise.
52124 * rt/timer_gettime.c: Likewise.
52125 * rt/timer_settime.c: Likewise.
52126 * setjmp/__longjmp.c: Likewise.
52127 * setjmp/setjmp.c: Likewise.
52128 * signal/kill.c: Likewise.
52129 * signal/killpg.c: Likewise.
52130 * signal/raise.c: Likewise.
52131 * signal/sigaction.c: Likewise.
52132 * signal/sigaltstack.c: Likewise.
52133 * signal/sigblock.c: Likewise.
52134 * signal/sigignore.c: Likewise.
52135 * signal/sigintr.c: Likewise.
52136 * signal/signal.c: Likewise.
52137 * signal/sigpause.c: Likewise.
52138 * signal/sigpending.c: Likewise.
52139 * signal/sigqueue.c: Likewise.
52140 * signal/sigreturn.c: Likewise.
52141 * signal/sigset.c: Likewise.
52142 * signal/sigsetmask.c: Likewise.
52143 * signal/sigstack.c: Likewise.
52144 * signal/sigsuspend.c: Likewise.
52145 * signal/sigtimedwait.c: Likewise.
52146 * signal/sigvec.c: Likewise.
52147 * signal/sigwait.c: Likewise.
52148 * signal/sigwaitinfo.c: Likewise.
52149 * signal/sysv_signal.c: Likewise.
52150 * socket/accept.c: Likewise.
52151 * socket/accept4.c: Likewise.
52152 * socket/bind.c: Likewise.
52153 * socket/connect.c: Likewise.
52154 * socket/getpeername.c: Likewise.
52155 * socket/getsockname.c: Likewise.
52156 * socket/getsockopt.c: Likewise.
52157 * socket/isfdtype.c: Likewise.
52158 * socket/listen.c: Likewise.
52159 * socket/recv.c: Likewise.
52160 * socket/recvfrom.c: Likewise.
52161 * socket/recvmsg.c: Likewise.
52162 * socket/send.c: Likewise.
52163 * socket/sendmsg.c: Likewise.
52164 * socket/sendto.c: Likewise.
52165 * socket/setsockopt.c: Likewise.
52166 * socket/shutdown.c: Likewise.
52167 * socket/sockatmark.c: Likewise.
52168 * socket/socket.c: Likewise.
52169 * socket/socketpair.c: Likewise.
52170 * stdio-common/ctermid.c: Likewise.
52171 * stdio-common/cuserid.c: Likewise.
52172 * stdio-common/remove.c: Likewise.
52173 * stdio-common/rename.c: Likewise.
52174 * stdio-common/renameat.c: Likewise.
52175 * stdio-common/tempname.c: Likewise.
52176 * stdlib/getcontext.c: Likewise.
52177 * stdlib/makecontext.c: Likewise.
52178 * stdlib/setcontext.c: Likewise.
52179 * stdlib/swapcontext.c: Likewise.
52180 * stdlib/system.c: Likewise.
52181 * streams/fattach.c: Likewise.
52182 * streams/fdetach.c: Likewise.
52183 * streams/getmsg.c: Likewise.
52184 * streams/getpmsg.c: Likewise.
52185 * streams/putmsg.c: Likewise.
52186 * streams/putpmsg.c: Likewise.
52187 * sysdeps/unix/bsd/getpt.c: Likewise.
52188 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
52189 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
52190 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52192 Likewise.
52193 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
52194 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52195 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
52196 * sysvipc/msgctl.c: Likewise.
52197 * sysvipc/msgget.c: Likewise.
52198 * sysvipc/msgrcv.c: Likewise.
52199 * sysvipc/msgsnd.c: Likewise.
52200 * sysvipc/semctl.c: Likewise.
52201 * sysvipc/semget.c: Likewise.
52202 * sysvipc/semop.c: Likewise.
52203 * sysvipc/semtimedop.c: Likewise.
52204 * sysvipc/shmat.c: Likewise.
52205 * sysvipc/shmctl.c: Likewise.
52206 * sysvipc/shmdt.c: Likewise.
52207 * sysvipc/shmget.c: Likewise.
52208 * termios/tcdrain.c: Likewise.
52209 * termios/tcflow.c: Likewise.
52210 * termios/tcflush.c: Likewise.
52211 * termios/tcgetattr.c: Likewise.
52212 * termios/tcgetpgrp.c: Likewise.
52213 * termios/tcsendbrk.c: Likewise.
52214 * termios/tcsetattr.c: Likewise.
52215 * termios/tcsetpgrp.c: Likewise.
52216 * time/adjtime.c: Likewise.
52217 * time/clock.c: Likewise.
52218 * time/getitimer.c: Likewise.
52219 * time/gettimeofday.c: Likewise.
52220 * time/setitimer.c: Likewise.
52221 * time/settimeofday.c: Likewise.
52222 * time/stime.c: Likewise.
52223 * time/time.c: Likewise.
52224
52225 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
52226
52227 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
52228 /usr/old/bin.
52229
52230 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
52231 instead of spaces.
52232 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
52233
52234 2012-11-03 Joseph Myers <joseph@codesourcery.com>
52235
52236 [BZ #14796]
52237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
52238 FE_TONEAREST before applying Dekker multiplication and Knuth
52239 addition. Clear inexact exceptions and check for exact zero
52240 results afterwards.
52241 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52242 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52243 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52244 * math/libm-test.inc (fma_test): Add more tests.
52245 (fma_test_towardzero): Likewise.
52246 (fma_test_downward): Likewise.
52247 (fma_test_upward): Likewise.
52248 * sysdeps/generic/math_private.h (default_libc_fesetround): New
52249 function.
52250 (libc_fesetround): New macro.
52251 (libc_fesetroundf): Likewise.
52252 (libc_fesetroundl): Likewise.
52253 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
52254 function.
52255 (libc_fesetround_387): Likewise.
52256 (libc_fesetroundf): New macro.
52257 (libc_fesetround): Likewise.
52258 (libc_fesetroundl): Likewise.
52259 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
52260 function.
52261 (libc_fesetroundf): New macro.
52262 (libc_fesetround): Likewise.
52263 (libc_fesetroundl): Likewise.
52264 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
52265 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
52266 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
52267 libm_hidden_ver.
52268 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
52269 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
52270 libm_hidden_def.
52271 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
52272 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
52273 libm_hidden_ver.
52274 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
52275 libm_hidden_def.
52276
52277 [BZ #3439]
52278 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
52279 integer constant usable in #if and use that to give value to enum
52280 constant.
52281 (FE_DIVBYZERO): Likewise.
52282 (FE_UNDERFLOW): Likewise.
52283 (FE_OVERFLOW): Likewise.
52284 (FE_INVALID): Likewise.
52285 (FE_INVALID_SNAN): Likewise.
52286 (FE_INVALID_ISI): Likewise.
52287 (FE_INVALID_IDI): Likewise.
52288 (FE_INVALID_ZDZ): Likewise.
52289 (FE_INVALID_IMZ): Likewise.
52290 (FE_INVALID_COMPARE): Likewise.
52291 (FE_INVALID_SOFTWARE): Likewise.
52292 (FE_INVALID_SQRT): Likewise.
52293 (FE_INVALID_INTEGER_CONVERSION): Likewise.
52294 (FE_TONEAREST): Likewise.
52295 (FE_TOWARDZERO): Likewise.
52296 (FE_UPWARD): Likewise.
52297 (FE_DOWNWARD): Likewise.
52298 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
52299 (FE_DIVBYZERO): Likewise.
52300 (FE_OVERFLOW): Likewise.
52301 (FE_UNDERFLOW): Likewise.
52302 (FE_INEXACT): Likewise.
52303 (FE_TONEAREST): Likewise.
52304 (FE_DOWNWARD): Likewise.
52305 (FE_UPWARD): Likewise.
52306 (FE_TOWARDZERO): Likewise.
52307 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
52308 (FE_UNDERFLOW): Likewise.
52309 (FE_OVERFLOW): Likewise.
52310 (FE_DIVBYZERO): Likewise.
52311 (FE_INVALID): Likewise.
52312 (FE_TONEAREST): Likewise.
52313 (FE_TOWARDZERO): Likewise.
52314 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
52315 (FE_OVERFLOW): Likewise.
52316 (FE_UNDERFLOW): Likewise.
52317 (FE_DIVBYZERO): Likewise.
52318 (FE_INEXACT): Likewise.
52319 (FE_TONEAREST): Likewise.
52320 (FE_TOWARDZERO): Likewise.
52321 (FE_UPWARD): Likewise.
52322 (FE_DOWNWARD): Likewise.
52323 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
52324 (FE_DIVBYZERO): Likewise.
52325 (FE_OVERFLOW): Likewise.
52326 (FE_UNDERFLOW): Likewise.
52327 (FE_INEXACT): Likewise.
52328 (FE_TONEAREST): Likewise.
52329 (FE_DOWNWARD): Likewise.
52330 (FE_UPWARD): Likewise.
52331 (FE_TOWARDZERO): Likewise.
52332
52333 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
52334
52335 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
52336
52337 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
52338
52339 * scripts/cross-test-ssh.sh (command): Use newlines to separate
52340 commands. Quote $PWD.
52341 (blacklist_exports): Don't use remove_newlines. Replace "declare
52342 -x" by "export".
52343 (remove_newlines): Remove.
52344
52345 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
52346
52347 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
52348 * stdlib/stdlib.h (atof): Moved to ...
52349 * include/bits/stdlib-float.h: Here. New file.
52350 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
52351 * stdlib/bits/stdlib-float.h: New file.
52352 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
52353 -mno-sse -mno-mmx.
52354 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
52355 <xmmintrin.h>.
52356
52357 2012-11-02 Joseph Myers <joseph@codesourcery.com>
52358
52359 * conform/conformtest.pl (@headers): Add fenv.h.
52360 * conform/data/fenv.h-data: New file.
52361 * include/fenv.h [_ISOMAC]: Disable all contents of file except
52362 include of <math/fenv.h>.
52363
52364 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
52365 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
52366 && !UNIX98]. Enables tests for XOPEN2K8.
52367 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
52368 POSIX2008]: Likewise.
52369
52370 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
52371 (struct rusage): Do not expect type or its members.
52372
52373 [BZ #3439]
52374 * math/math.h (FP_NAN): Define macro to integer constant usable in
52375 #if and use that to give value to enum constant.
52376 (FP_INFINITE): Likewise.
52377 (FP_ZERO): Likewise.
52378 (FP_SUBNORMAL): Likewise.
52379 (FP_NORMAL): Likewise.
52380
52381 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
52382
52383 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
52384 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
52385 arguments.
52386
52387 2012-11-02 Roland McGrath <roland@hack.frob.com>
52388
52389 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
52390 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
52391 autoconf-time if not.
52392 * configure.in: Remove AC_PREREQ.
52393
52394 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52395
52396 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
52397 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
52398 of the internal implementation.
52399
52400 2012-11-02 Joseph Myers <joseph@codesourcery.com>
52401
52402 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
52403 except include of <misc/sys/syslog.h>.
52404
52405 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
52406
52407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
52408 function returns with a NULL context exit with zero.
52409
52410 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52411
52412 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
52413
52414 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
52415
52416 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
52417 (run_program_cmd): This.
52418 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
52419 (tst_langinfo): New variable. Use it.
52420
52421 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
52422
52423 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
52424 floating point opcodes.
52425
52426 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
52427
52428 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
52429 variable.
52430
52431 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
52432
52433 * sysdeps/mach/hurd/powerpc: Remove directory.
52434 * sysdeps/mach/powerpc: Likewise.
52435
52436 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
52437
52438 * scripts/check-local-headers.sh: Ignore c++ headers.
52439
52440 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
52441
52442 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
52443 __libc_cleanup_region_start argument.
52444
52445 2012-11-01 Joseph Myers <joseph@codesourcery.com>
52446
52447 [BZ #14784]
52448 [BZ #14785]
52449 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
52450 x * y using scaling, not as x * y + z.
52451 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52452 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52453 * math/libm-test.inc (fma_test): Add more tests.
52454 (fma_test_towardzero): Likewise.
52455 (fma_test_downward): Likewise.
52456 (fma_test_upward): Likewise.
52457
52458 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
52459
52460 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
52461
52462 2012-10-31 Joseph Myers <joseph@codesourcery.com>
52463
52464 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
52465 New variable.
52466
52467 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
52468
52469 * rt/tst-shm.c (worker): Correct checking for mmap failure.
52470
52471 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
52472
52473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52474 Fix sort order.
52475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52476 Likewise.
52477
52478 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52479
52480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52481 Fix the order of the list for glibc 2.17.
52482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52483 Likewise.
52484
52485 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
52486
52487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52488
52489 2012-10-31 Joseph Myers <joseph@codesourcery.com>
52490
52491 [BZ #14610]
52492 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
52493 for low part of x being zero before using __atanl (y).
52494 * math/libm-test.inc (atan2_test): Add another test.
52495
52496 * manual/install.texi (Configuring and compiling): Document
52497 general use of test-wrapper and test-wrapper-env.
52498 * INSTALL: Regenerated.
52499
52500 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
52501 (__fma): Do not extract and scale down low bits on after-rounding
52502 systems when result rounded to normal precision would have normal
52503 exponent.
52504 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
52505 (__fmal): Do not extract and scale down low bits on after-rounding
52506 systems when result rounded to normal precision would have normal
52507 exponent.
52508 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
52509 (__fmal): Do not extract and scale down low bits on after-rounding
52510 systems when result rounded to normal precision would have normal
52511 exponent.
52512 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
52513 macro.
52514 (fma_test): Add more tests.
52515 (fma_test_towardzero): Likewise.
52516 (fma_test_downward): Likewise.
52517 (fma_test_upward): Likewise.
52518
52519 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
52520
52521 * sysdeps/i386/tininess.h: Renamed to ...
52522 * sysdeps/x86/tininess.h: This.
52523 * sysdeps/x86_64/tininess.h: Removed.
52524
52525 2012-10-30 Joseph Myers <joseph@codesourcery.com>
52526
52527 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
52528 input. Use $(build-program-cmd).
52529 ($(objpfx)tst-array1-static.out): Likewise.
52530 ($(objpfx)tst-array2.out): Likewise.
52531 ($(objpfx)tst-array3.out): Likewise.
52532 ($(objpfx)tst-array4.out): Likewise.
52533 ($(objpfx)tst-array5.out): Likewise.
52534 ($(objpfx)tst-array5-static.out): Likewise.
52535
52536 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
52537
52538 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
52539 if defined.
52540
52541 * nss/nsswitch.h (nss_interface_function): Provide new
52542 macro for use with NSS functions.
52543 * grp/initgroups.c: Use new macro.
52544 * nss/getXXbyYY.c: Likewise.
52545 * nss/getXXbyYY_r.c: Likewise.
52546 * nss/getXXent.c: Likewise.
52547 * nss/getXXent_r.c: Likewise.
52548 * sysdeps/posix/getaddrinfo.c: Likewise.
52549
52550 2012-10-30 Andreas Jaeger <aj@suse.de>
52551
52552 * po/ru.po: Update Russion translation from translation project.
52553
52554 2012-10-30 Joseph Myers <joseph@codesourcery.com>
52555
52556 [BZ #14152]
52557 [BZ #14783]
52558 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
52559 result and shift together with sticky bit instead of replicating
52560 round-to-nearest rounding.
52561 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52562 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52563 * math/libm-test.inc (fma_test): Add more tests. Do not permit
52564 missing underflow exceptions.
52565 (fma_test_towardzero): Add more tests.
52566 (fma_test_downward): Likewise.
52567 (fma_test_upward): Likewise.
52568
52569 [BZ #14047]
52570 * sysdeps/generic/tininess.h: New file.
52571 * sysdeps/i386/tininess.h: Likewise.
52572 * sysdeps/sh/tininess.h: Likewise.
52573 * sysdeps/x86_64/tininess.h: Likewise.
52574 * stdlib/tst-strtod-underflow.c: Likewise.
52575 * stdlib/tst-tininess.c: Likewise.
52576 * stdlib/strtod_l.c: Include <tininess.h>.
52577 (round_and_return): Do not set errno for exact underflow cases.
52578 Force an underflow exception when setting errno for underflow.
52579 Determine underflow based on rounding to normal precision if
52580 TININESS_AFTER_ROUNDING.
52581 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
52582 ERANGE for exact underflow cases.
52583 * stdlib/Makefile (tests): Add tst-tininess and
52584 tst-strtod-underflow.
52585 ($(objpfx)tst-tininess): Use $(link-libm).
52586 ($(objpfx)tst-strtod-underflow): Likewise.
52587
52588 2012-10-30 Andreas Jaeger <aj@suse.de>
52589
52590 [BZ#14767]
52591 * elf/Makefile (tests): Remove conditional for have-initfini-array
52592 since this is now always required and the variable does not exist
52593 anymore.
52594 (tests-static): Likewise.
52595 (modules-names): Likewise.
52596
52597 * po/eo.po: Add Esperanto translation from translation project.
52598
52599 * elf/tst-array1.c (fini_array): Make writeable so that it can be
52600 merged with constructor/destructor.
52601 (init_array): Likewise.
52602 * elf/tst-array2dep.c (fini_array): Likewise.
52603 (init_array): Likewise.
52604
52605 2012-10-29 Mike Frysinger <vapier@gentoo.org>
52606
52607 * manual/message.texi: Delete @cartouche tags.
52608
52609 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
52610
52611 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
52612 EOPNOTSUPP.
52613 * sysdeps/mach/hurd/fsync.c: Likewise.
52614
52615 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
52616 [_POSIX_REALTIME_SIGNALS]: Change condition to
52617 [_POSIX_REALTIME_SIGNALS > 0].
52618
52619 2012-10-27 Andreas Jaeger <aj@suse.de>
52620
52621 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
52622 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
52623 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
52624 [__WORDSIZE != 64]: Likewise.
52625
52626 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
52627
52628 * iconvdata/tst-table.sh: Remove ${SHELL}.
52629 * iconvdata/tst-tables.sh: Likewise.
52630
52631 2012-10-25 David S. Miller <davem@davemloft.net>
52632
52633 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52634 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
52635 of strtoull.
52636
52637 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
52638 ifunc-impl-list.c
52639 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52640 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
52641 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
52642 file.
52643
52644 2012-10-25 Roland McGrath <roland@hack.frob.com>
52645
52646 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52647 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
52648 __getdirentries.
52649
52650 2012-10-25 Joseph Myers <joseph@codesourcery.com>
52651 Jim Blandy <jimb@codesourcery.com>
52652
52653 * scripts/cross-test-ssh.sh: New file.
52654 * manual/install.texi (Configuring and compiling): Document use of
52655 cross-test-ssh.sh.
52656 * INSTALL: Regenerated.
52657
52658 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
52659
52660 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
52661 EOPNOTSUPP.
52662
52663 2012-10-25 Joseph Myers <joseph@codesourcery.com>
52664
52665 * Makeconfig (run-program-prefix): Fix comment.
52666
52667 2012-10-24 Joseph Myers <joseph@codesourcery.com>
52668 Jim Blandy <jimb@codesourcery.com>
52669
52670 * Makeconfig (test-wrapper): New variable,
52671 (test-wrapper-env): Likewise.
52672 [$(cross-compiling) = yes && $(test-wrapper) != ""]
52673 (run-built-tests): Define to yes.
52674 (run-program-prefix): Use $(test-wrapper).
52675 (built-program-cmd): Likewise.
52676 * Rules (make-test-out): Use $(test-wrapper-env) and
52677 $(host-built-program-cmd).
52678 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
52679 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
52680 tst-pathopt.sh.
52681 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
52682 $(test-wrapper-env) to tst-rtld-load-self.sh.
52683 ($(objpfx)order2.out): Use $(test-wrapper).
52684 ($(objpfx)tst-initorder.out): Likewise.
52685 ($(objpfx)tst-initorder2.out): Likewise.
52686 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
52687 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
52688 (test_wrapper_env): New variable. Use it to run ld.so.
52689 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
52690 Use it to run ld.so.
52691 (test_wrapper_env): Likewise.
52692 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
52693 $(test-wrapper) to run-iconv-test.sh.
52694 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
52695 (ICONV): Use $test_wrapper.
52696 * posix/Makefile ($(objpfx)globtest.out): Pass
52697 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
52698 globtest.sh, not $(run-program-prefix).
52699 * posix/globtest.sh (run_via_rtld_prefix): New variable.
52700 (test_wrapper): Likewise.
52701 (test_wrapper_env): Likewise. Use it to run globtest with HOME
52702 set together with run_via_rtld_prefix.
52703 (run_program_prefix): Define in terms of test_wrapper and
52704 run_via_rtld_prefix.
52705
52706 2012-10-24 Roland McGrath <roland@hack.frob.com>
52707
52708 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
52709 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
52710 Targets removed.
52711
52712 [BZ #14743]
52713 * include/time.h: Remove librt_hidden_proto (clock_gettime).
52714 Declare __clock_getres, __clock_gettime, __clock_settime,
52715 __clock_nanosleep, and __clock_getcpuclockid.
52716 * rt/clock_gettime.c: Define __clock_gettime as an alias.
52717 Remove librt_hidden_def (clock_gettime).
52718 * sysdeps/unix/clock_gettime.c: Likewise.
52719 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
52720 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
52721 * rt/clock_getres.c: Define __clock_getres as an alias.
52722 * sysdeps/posix/clock_getres.c: Likewise.
52723 * rt/clock_settime.c: Define __clock_settime as an alias.
52724 * sysdeps/unix/clock_settime.c: Likewise.
52725 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
52726 * sysdeps/unix/clock_nanosleep.c: Likewise.
52727 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
52728 * rt/clock-compat.c: New file.
52729 * rt/Makefile (librt-routines): Add clock-compat and move
52730 $(clock-routines) to ...
52731 (routines): ... here, new variable.
52732 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
52733 Don't add get_clockfreq here.
52734 * rt/Versions (libc: GLIBC_2.17): New version set.
52735 Add clock_* symbols here.
52736 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
52737 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
52738 (GLIBC_2.17): Add clock_* symbols.
52739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52741 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52743 Likewise.
52744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52745 Likewise.
52746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52750 * NEWS: Mention the move.
52751
52752 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52753 Use __open, __read, __close rather than their public counterparts.
52754 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52755 (__get_clockfreq_via_cpuinfo): Likewise.
52756 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
52757 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
52758
52759 * config.h.in (HAVE_IFUNC): New #undef.
52760 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
52761 was successful.
52762 * configure: Regenerated.
52763
52764 2012-10-24 Mike Frysinger <vapier@gentoo.org>
52765
52766 * configure.in: Move READELF check to start of file.
52767 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
52768 libc_cv_asm_gnu_indirect_function in the process.
52769 * configure: Regenerated.
52770
52771 2012-10-24 Mike Frysinger <vapier@gentoo.org>
52772
52773 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
52774 send the output to /dev/null.
52775 (libc_cv_cc_with_libunwind): Likewise.
52776 (libc_cv_as_noexecstack): Likewise.
52777 * configure: Regenerate.
52778
52779 2012-10-24 Joseph Myers <joseph@codesourcery.com>
52780
52781 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
52782
52783 * posix/globtest.sh (TMPDIR): Do not set.
52784 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
52785 (testout): Likewise.
52786
52787 2012-10-24 Andreas Jaeger <aj@suse.de>
52788
52789 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
52790 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
52791 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
52792 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
52793 posix_fadvise64, posix_fallocate64.
52794
52795 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
52796 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
52797 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
52798 Likewise.
52799 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
52800 Likewise.
52801 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
52802
52803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
52804 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
52805 <bits/fcntl-linux.h>.
52806 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
52807
52808 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
52809 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
52810 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
52811 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
52812 [__WORDSIZE != 64]: Likewise.
52813
52814 2012-10-23 Joseph Myers <joseph@codesourcery.com>
52815
52816 * Makeconfig (run-built-tests): New variable.
52817 * Rules [$(cross-compiling) = yes]: Change condition to
52818 [$(run-built-tests) = no].
52819 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
52820 to [$(run-built-tests) = yes].
52821 * elf/Makefile [$(cross-compiling) = no]: Likewise.
52822 * grp/Makefile [$(cross-compiling) = no]: Likewise.
52823 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
52824 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
52825 * intl/Makefile [$(cross-compiling) = no]: Likewise.
52826 * io/Makefile [$(cross-compiling) = no]: Likewise.
52827 * libio/Makefile [$(cross-compiling) = no]: Likewise.
52828 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
52829 * misc/Makefile [$(cross-compiling) = no]: Likewise.
52830 * posix/Makefile [$(cross-compiling) = no]: Likewise.
52831 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
52832 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
52833 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
52834 * string/Makefile [$(cross-compiling) = no]: Likewise.
52835
52836 * posix/Makefile ($(objpfx)globtest.out): Pass
52837 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
52838 $(rtld-installed-name).
52839 * posix/globtest.sh (elf_objpfx): Remove variable.
52840 (rtld_installed_name): Likewise.
52841 (library_path): Likewise.
52842 (run_program_prefix): New variable. Use for running globtest
52843 binary.
52844
52845 2012-10-23 Jim Blandy <jimb@codesourcery.com>
52846 Joseph Myers <joseph@codesourcery.com>
52847
52848 * Makeconfig (host-built-program-cmd): New variable.
52849 * elf/Makefile (tst-stackguard1-ARGS): Use
52850 $(host-built-program-cmd).
52851 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
52852 (tst-spawn-ARGS): Likewise.
52853 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
52854
52855 2012-10-23 Joseph Myers <joseph@codesourcery.com>
52856 Jim Blandy <jimb@codesourcery.com>
52857
52858 * Makeconfig (run-via-rtld-prefix): New variable.
52859 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
52860 (built-program-cmd): Likewise.
52861
52862 2012-10-22 Andreas Jaeger <aj@suse.de>
52863
52864 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
52865 __O_RSYNC if it exists, otherwise to O_SYNC.
52866
52867 2012-10-22 Jim Blandy <jimb@codesourcery.com>
52868 Joseph Myers <joseph@codesourcery.com>
52869
52870 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
52871 /dev/null.
52872 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
52873 from /dev/null
52874 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
52875 /dev/null.
52876
52877 2012-10-22 Andreas Jaeger <aj@suse.de>
52878
52879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
52880 Define always.
52881 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
52882
52883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52884 bits/fcntl-linux.h.
52885
52886 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
52887 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
52888
52889 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
52890 to __O_LARGEFILE.
52891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
52892 to __O_LARGEFILE.
52893
52894 2012-10-21 Jim Blandy <jimb@codesourcery.com>
52895 Joseph Myers <joseph@codesourcery.com>
52896
52897 * config.make.in (NM): New variable.
52898
52899 2012-10-21 Andreas Jaeger <aj@suse.de>
52900
52901 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
52902 definitions and declarations that are provided by
52903 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52904
52905 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
52906
52907 [BZ #14683]
52908 * elf/Makefile (tests-static): Add tst-leaks1-static.
52909 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
52910 ($(objpfx)tst-leaks1-static): New rule.
52911 ($(objpfx)tst-leaks1-static-mem): Likewise.
52912 (tst-leaks1-static-ENV): New macro.
52913 * elf/dl-open.c (dl_open_worker): Check the main application
52914 only if SHARED is defined.
52915 * elf/tst-leaks1-static.c: New file.
52916
52917 2012-10-20 Andreas Jaeger <aj@suse.de>
52918
52919 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
52920 generic values for Linux.
52921 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
52922 and declarations that are provided by <bits/fcntl-linux.h> and
52923 include <bits/fcntl-linux.h>.
52924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52925 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52926
52927 2012-10-20 Roland McGrath <roland@hack.frob.com>
52928
52929 * io/fcntl.h: Move include of <bits/types.h> to the top and
52930 include it unconditionally.
52931
52932 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
52933
52934 * wcsmbs/Makefile (tests-ifunc): New variable.
52935 (tests): Add $(tests-ifunc).
52936 * wcsmbs/test-wcschr-ifunc.c: New file.
52937 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
52938 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
52939 * wcsmbs/test-wcslen-ifunc.c: Likewise.
52940 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
52941 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
52942
52943 * string/Makefile (tests-ifunc): New variable.
52944 (tests): Add $(tests-ifunc).
52945 * string/test-memccpy.c (TEST_NAME): New macro.
52946 * string/test-memchr.c (TEST_NAME): Likewise.
52947 * string/test-memcmp.c (TEST_NAME): Likewise.
52948 * string/test-memcpy.c (TEST_NAME): Likewise.
52949 * string/test-memmem.c (TEST_NAME): Likewise.
52950 * string/test-memmove.c (TEST_NAME): Likewise.
52951 * string/test-memset.c (TEST_NAME): Likewise.
52952 * string/test-rawmemchr.c (TEST_NAME): Likewise.
52953 * string/test-stpcpy.c (TEST_NAME): Likewise.
52954 * string/test-stpncpy.c (TEST_NAME): Likewise.
52955 * string/test-strcasecmp.c (TEST_NAME): Likewise.
52956 * string/test-strcasestr.c (TEST_NAME): Likewise.
52957 * string/test-strcat.c (TEST_NAME): Likewise.
52958 * string/test-strchr.c (TEST_NAME): Likewise.
52959 * string/test-strcmp.c(TEST_NAME): Likewise.
52960 * string/test-strcpy.c (TEST_NAME): Likewise.
52961 * string/test-strcspn.c (TEST_NAME): Likewise.
52962 * string/test-strlen.c (TEST_NAME): Likewise.
52963 * string/test-strncasecmp.c (TEST_NAME): Likewise.
52964 * string/test-strncmp.c (TEST_NAME): Likewise.
52965 * string/test-strncpy.c (TEST_NAME): Likewise.
52966 * string/test-strnlen.c (TEST_NAME): Likewise.
52967 * string/test-strpbrk.c (TEST_NAME): Likewise.
52968 * string/test-strrchr.c (TEST_NAME): Likewise.
52969 * string/test-strspn.c (TEST_NAME): Likewise.
52970 * string/test-strstr.c (TEST_NAME): Likewise.
52971 * string/test-bcopy-ifunc.c: New file.
52972 * string/test-bzero-ifunc.c: Likewise.
52973 * string/test-memccpy-ifunc.c: Likewise.
52974 * string/test-memchr-ifunc.c: Likewise.
52975 * string/test-memcmp-ifunc.c: Likewise.
52976 * string/test-memcpy-ifunc.c: Likewise.
52977 * string/test-memmem-ifunc.c: Likewise.
52978 * string/test-memmove-ifunc.c: Likewise.
52979 * string/test-mempcpy-ifunc.c: Likewise.
52980 * string/test-memset-ifunc.c: Likewise.
52981 * string/test-rawmemchr-ifunc.c: Likewise.
52982 * string/test-stpcpy-ifunc.c: Likewise.
52983 * string/test-stpncpy-ifunc.c: Likewise.
52984 * string/test-strcasecmp-ifunc.c: Likewise.
52985 * string/test-strcasestr-ifunc.c: Likewise.
52986 * string/test-strcat-ifunc.c: Likewise.
52987 * string/test-strchr-ifunc.c: Likewise.
52988 * string/test-strchrnul-ifunc.c: Likewise.
52989 * string/test-strcmp-ifunc.c: Likewise.
52990 * string/test-strcpy-ifunc.c: Likewise.
52991 * string/test-strcspn-ifunc.c: Likewise.
52992 * string/test-strlen-ifunc.c: Likewise.
52993 * string/test-strncasecmp-ifunc.c: Likewise.
52994 * string/test-strncat-ifunc.c: Likewise.
52995 * string/test-strncmp-ifunc.c: Likewise.
52996 * string/test-strncpy-ifunc.c: Likewise.
52997 * string/test-strnlen-ifunc.c: Likewise.
52998 * string/test-strpbrk-ifunc.c: Likewise.
52999 * string/test-strrchr-ifunc.c: Likewise.
53000 * string/test-strspn-ifunc.c: Likewise.
53001 * string/test-strstr-ifunc.c: Likewise.
53002
53003 * debug/Makefile (tests-ifunc): New variable.
53004 (tests): Add $(tests-ifunc).
53005 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
53006 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
53007 * debug/test-stpcpy_chk-ifunc.c: New file.
53008 * debug/test-strcpy_chk-ifunc.c: Likewise.
53009
53010 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
53011
53012 [BZ #13601]
53013 * elf/dl-load.c (open_verify): Retry read if the entire ELF
53014 header is not read in.
53015
53016 2012-10-19 Joseph Myers <joseph@codesourcery.com>
53017
53018 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
53019 script to $(SHELL) as $<. Pass $(common-objpfx) to script
53020 directly. Pass built executable to script as
53021 $(built-program-cmd).
53022 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
53023 $testprogram without using LD_LIBRARY_PATH and $ldso.
53024
53025 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
53026 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
53027 $(rtld-installed-name).
53028 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
53029 (rtld_installed_name): Likewise.
53030 (library_path): Likewise.
53031 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
53032 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
53033 $(run-program-prefix) to tst-tables.sh.
53034 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
53035 it to run tst-table-from and tst-table-to.
53036 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
53037 Pass it to tst-table.sh.
53038 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
53039 $(run-program-prefix) to tst-gettext.sh.
53040 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
53041 tst-translit.sh.
53042 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
53043 tst-gettext2.sh.
53044 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
53045 to run tst-gettext.
53046 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
53047 to run tst-gettext2.
53048 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
53049 to run tst-translit.
53050 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
53051 $(run-program-prefix) to tst-mtrace.sh.
53052 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
53053 to run tst-mtrace.
53054 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
53055 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
53056 $(rtld-installed-name).
53057 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
53058 (rtld_installed_name): Likewise.
53059 (run_program_prefix): New variable. Use it to run wordexp-test.
53060
53061 * Makeconfig (ARCH): Remove all definitions.
53062 (machine): Likewise.
53063 [ARCH]: Remove conditional code.
53064 [!objdir]: Give error.
53065 [!objdir] (objpfx): Remove.
53066 [!objdir] (common-objpfx): Likewise.
53067 [!objdir] (common-objdir): Likewise.
53068 * configure.in (config_makefile): Remove. Hardcode Makefile in
53069 AC_CONFIG_FILES call.
53070 * configure: Regenerated.
53071
53072 [BZ #13888]
53073 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
53074 or TMPDIR.
53075 (testout): Likewise.
53076
53077 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
53078 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
53079 $(rtld-installed-name).
53080 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
53081 (rtld_installed_name): Likwise.
53082 (runit): Remove function.
53083 (run_getconf): New variable, Use it for running getconf binary.
53084
53085 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
53086
53087 [BZ #14716]
53088 * string/test-memmem.c (check_result): New function.
53089 (do_one_test): Use it.
53090 (check1): New function.
53091 (test_main): Use it.
53092
53093 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
53094
53095 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
53096
53097 2012-10-18 Joseph Myers <joseph@codesourcery.com>
53098
53099 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
53100 (_G_LSEEK64): Likewise.
53101 (_G_MMAP64): Likewise.
53102 (_G_FSTAT64): Likewise.
53103 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
53104 (_G_LSEEK64): Likewise.
53105 (_G_MMAP64): Likewise.
53106 (_G_FSTAT64): Likewise.
53107 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
53108 unconditional. Call __mmap64 directly.
53109 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
53110 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
53111 __lseek64 directly.
53112 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
53113 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
53114 __mmap64 directly.
53115 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
53116 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
53117 __lseek64 directly.
53118 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
53119 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
53120 __lseek64 directly.
53121 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
53122 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
53123 __lseek64 directly.
53124 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
53125 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
53126 __fxstat64 directly.
53127 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
53128 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
53129 unconditional.
53130 (freopen64) [!_G_OPEN64]: Remove conditional code.
53131 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
53132 unconditional.
53133 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
53134 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
53135 unconditional.
53136 (ftello64) [!_G_LSEEK64]: Remove conditional code.
53137 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
53138 unconditional.
53139 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53140 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
53141 unconditional.
53142 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
53143 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
53144 unconditional.
53145 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53146 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
53147 unconditional.
53148 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53149 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
53150 unconditional.
53151 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53152
53153 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
53154
53155 [BZ #12140]
53156 * manual/memory.texi (Malloc Tunable Parameters): Add note
53157 about free list pointers overwriting some perturb bytes.
53158 Wording suggested by Roland McGrath.
53159
53160 2012-10-17 Joseph Myers <joseph@codesourcery.com>
53161
53162 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
53163 (lgamma_test): Likewise.
53164 (tgamma_test): Likewise.
53165
53166 2012-10-16 Florian Weimer <fweimer@redhat.com>
53167
53168 [BZ #14700]
53169 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
53170 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
53171
53172 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
53173
53174 * NEWS: Mention BZ #14716.
53175 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
53176 when removing AVAILABLE1_USES_J macro.
53177
53178 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
53179
53180 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
53181 (__bswap_64): __uint64_t for unsigned 64-bit int.
53182
53183 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
53184
53185 * include/string.h (memmem): Declare libc hidden alias.
53186 * string/memmem.c (memmem): Define libc hidden alias.
53187 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
53188 __read, __close instead of open, read, close.
53189
53190 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
53191
53192 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
53193 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
53194 global and hidden.
53195 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
53196 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
53197 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
53198 Likewise.
53199 (__rawmemchr_sse2): Likewise.
53200 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
53201 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
53202 (__strchr_sse2): Likewise.
53203 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
53204 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
53205 (__strcasecmp_sse2): Likewise.
53206 (__strncasecmp_sse2): Likewise.
53207 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
53208 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
53209 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
53210 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
53211 (__strrchr_sse2): Likewise.
53212 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
53213 ifunc-impl-list.c.
53214 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
53215 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
53216 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
53217 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53218 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
53219 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
53220 * sysdeps/x86_64/multiarch/memset.S: Likewise.
53221 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53222 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
53223 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
53224 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
53225 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
53226 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
53227 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
53228 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
53229 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53230 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
53231 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
53232 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
53233 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
53234 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
53235 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
53236 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
53237 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53238 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
53239 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53240 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
53241 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53242 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
53243 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
53244
53245 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
53246 global and hidden.
53247 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
53248 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
53249 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
53250 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
53251 Likewise.
53252 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
53253 Likewise.
53254 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
53255 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
53256 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
53257 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
53258 ifunc-impl-list.c.
53259 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53260 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53261 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53262 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53263 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53264 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53265 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53266 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53267 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53268 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53269 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53270 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53271 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53272 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
53273 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
53274 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53275 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
53276 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
53277 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53278 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53279 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53280 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53281 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53282 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53283 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53284 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
53285 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
53286 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
53287 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
53288 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53289 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
53290 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53291 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53292 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
53293 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53294 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53295 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53296 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53297 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53298 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53299 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
53300
53301 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
53302 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
53303 * include/ifunc-impl-list.h: New file.
53304 * misc/ifunc-impl-list.c: Likewise.
53305 * misc/Makefile (routines): Add ifunc-impl-list.
53306 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
53307 * string/test-string.h: Include <ifunc-impl-list.h>.
53308 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
53309 TEST_NAME]: New variables.
53310 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
53311 are defined.
53312 (test_init): Call __libc_ifunc_impl_list to initialize
53313 func_list if TEST_IFUNC and TEST_NAME are defined.
53314
53315 * string/Makefile (strop-tests): Add bcopy and bzero.
53316 * string/test-bcopy.c: New file.
53317 * string/test-bzero.c: Likewise.
53318 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
53319 defined.
53320 * string/test-memset.c: Support bzero test if TEST_BZERO is
53321 defined.
53322 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
53323 __libc_memmove.
53324 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
53325 __libc_memset.
53326 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
53327 of memset.
53328
53329 2012-10-10 Joseph Myers <joseph@codesourcery.com>
53330
53331 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
53332 * configure: Regenerated.
53333
53334 * Makeconfig (+link-static-before-libc): Don't include
53335 $(link-static-libc).
53336
53337 * libio/libio.h (_IO_pos_t): Remove.
53338
53339 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
53340
53341 * NEWS: Add note about FIPS mode. Wording suggested by Roland
53342 McGrath.
53343
53344 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
53345
53346 * crypt/crypt-entry.c: Include fips-private.h.
53347 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
53348 * crypt/md5c-test.c (main): Tolerate disabled MD5.
53349 * sysdeps/unix/sysv/linux/fips-private.h: New file.
53350 * sysdeps/generic/fips-private.h: New file, dummy fallback.
53351
53352 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
53353
53354 * crypt/crypt-private.h: Include stdbool.h.
53355 (_ufc_setup_salt_r): Return bool.
53356 * crypt/crypt-entry.c: Include errno.h.
53357 (__crypt_r): Return NULL with EINVAL for bad salt.
53358 * crypt/crypt_util.c (bad_for_salt): New.
53359 (_ufc_setup_salt_r): Check that salt is long enough and within
53360 the specified alphabet.
53361 * crypt/badsalttest.c: New file.
53362 * crypt/Makefile (tests): Add it.
53363 ($(objpfx)badsalttest): New.
53364
53365 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
53366
53367 * NEWS: Add entry for BZ #14602.
53368
53369 2012-10-09 Joseph Myers <joseph@codesourcery.com>
53370
53371 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
53372 type-generic.
53373 * math/libm-test.inc: Update comment listing what functions and
53374 macros are tested.
53375 (isgreater_test): New function.
53376 (isgreaterequal_test): Likewise.
53377 (isless_test): Likewise.
53378 (islessequal_test): Likewise.
53379 (islessgreater_test): Likewise.
53380 (isunordered_test): Likewise.
53381 (main): Call the new functions.
53382
53383 2012-10-09 Roland McGrath <roland@hack.frob.com>
53384
53385 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
53386 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
53387 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
53388 * sysdeps/i386/configure: Regenerated.
53389 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
53390 * sysdeps/mach/configure: Regenerated.
53391 * sysdeps/mach/hurd/configure: Regenerated.
53392 * sysdeps/powerpc/configure: Regenerated.
53393 * sysdeps/powerpc/powerpc32/configure: Regenerated.
53394 * sysdeps/powerpc/powerpc64/configure: Regenerated.
53395 * sysdeps/s390/s390-32/configure: Regenerated.
53396 * sysdeps/s390/s390-64/configure: Regenerated.
53397 * sysdeps/sh/configure: Regenerated.
53398 * sysdeps/sparc/configure: Regenerated.
53399 * sysdeps/unix/sysv/linux/configure: Regenerated.
53400 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
53401 * sysdeps/x86_64/configure: Regenerated.
53402
53403 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
53404 defined. Don't check if MAP is NULL.
53405
53406 2012-10-09 Joseph Myers <joseph@codesourcery.com>
53407
53408 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
53409 (_G_stat64): Likewise.
53410 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
53411 (_G_stat64): Likewise.
53412 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
53413 instead of struct _G_stat64.
53414 * libio/fileops.c (mmap_remap_check): Likewise.
53415 (decide_maybe_mmap): Likewise.
53416 (_IO_new_file_seekoff): Likewise.
53417 (_IO_file_stat): Likewise.
53418 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
53419 _G_off64_t.
53420 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
53421 instead of struct _G_stat64.
53422 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53423
53424 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
53425
53426 [BZ #14602]
53427 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53428 Replace with ...
53429 (CHECK_EOL): New macro.
53430 (two_way_short_needle): Check beginning of haystack for EOL. Use
53431 CHECK_EOL.
53432 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53433 Replace with CHECK_EOL.
53434 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53435 Replace with CHECK_EOL.
53436
53437 2012-10-08 Joseph Myers <joseph@codesourcery.com>
53438
53439 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
53440 type-generic.
53441 * math/libm-test.inc: Update comment listing what functions and
53442 macros are tested.
53443 (finite_test): New function.
53444 (isinf_test): Likewise.
53445 (isnan_test): Likewise.
53446 (fpclassify_test): Test subnormal input.
53447 (isfinite_test): Likewise.
53448 (isnormal_test): Likewise.
53449 (main): Call the new functions.
53450
53451 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
53452
53453 [BZ #14660]
53454 * Makerules (%.dynsym): Force C locale when running
53455 $(OBJDUMP) --dynamic-syms.
53456
53457 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
53458
53459 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
53460 <stdint.h>.
53461
53462 2012-10-06 David S. Miller <davem@davemloft.net>
53463
53464 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
53465 upper 32-bits of the length value in %o2 since we use branch-on-register
53466 tests which consider the entire 64-bit register.
53467
53468 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
53469
53470 * string/test-strstr.c (check2): Add a test for page boundary.
53471
53472 2012-10-05 David S. Miller <davem@davemloft.net>
53473
53474 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
53475 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
53476 file.
53477 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53478 sysdep_routines.
53479 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53480 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
53481 and bzero when HWCAP_SPARC_CRYPTO is present.
53482
53483 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
53484
53485 [BZ #14602]
53486 * string/test-strstr.c (check2): New function.
53487 (test_main): Call check2.
53488
53489 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
53490 and bug-strchr1.
53491 * string/bug-strcasestr1.c (do_test): Moved to ...
53492 * string/test-strcasestr.c (check1): Here. New function.
53493 (do_one_test): Break out result checking code into ...
53494 (check_result): This. New function.
53495 (do_one_test): Call check_result.
53496 (test_main): Call check1.
53497 * string/bug-strchr1.c (do_test): Moved to ...
53498 * string/test-strchr.c (check1): Here. New function.
53499 (do_one_test): Break out result checking code into ...
53500 (check_result): This. New function.
53501 (do_one_test): Call check_result.
53502 (test_main): Call check1.
53503 * string/bug-strstr1.c (main): Moved to ...
53504 * string/test-strstr.c (check1): Here. New function.
53505 (do_one_test): Break out result checking code into ...
53506 (check_result): This. New function.
53507 (do_one_test): Call check_result.
53508 (test_main): Call check1.
53509 * string/bug-strcasestr1.c: Removed.
53510 * string/bug-strchr1.c: Likewise.
53511 * string/bug-strstr1.c: Likewise.
53512
53513 * elf/Makefile (dl-routines): Add hwcaps.
53514 * elf/dl-support.c (_dl_important_hwcaps): Removed.
53515 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
53516 (_dl_important_hwcaps): Moved to ...
53517 * elf/dl-hwcaps.c: Here. New file.
53518 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
53519
53520 [BZ #14557]
53521 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
53522 if IS_IN_rtld isn't defined.
53523
53524 * elf/dl-support.c (_dl_sysinfo_map): New.
53525 Include "get-dynamic-info.h" and "setup-vdso.h".
53526 (_dl_non_dynamic_init): Call setup_vdso.
53527 * elf/dynamic-link.h: Don't include <assert.h>.
53528 (elf_get_dynamic_info): Moved to ...
53529 * elf/get-dynamic-info.h: Here. New file.
53530 * elf/dynamic-link.h: Include "get-dynamic-info.h".
53531 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
53532 * elf/setup-vdso.h: Here. New file.
53533 * elf/rtld.c: Include "setup-vdso.h".
53534 (dl_main): Call setup_vdso.
53535
53536 2012-10-05 Joseph Myers <joseph@codesourcery.com>
53537
53538 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
53539 creal in comment listing functions tested. List finite, isinf,
53540 isnan, isless, islessequal, isgreater, isgreaterequal,
53541 islessgreater, isunordered, lgamma_r and pow10 as functions and
53542 macros not tested. Mention which functions not tested are aliases
53543 for other functions. Fix typo. Note that signs of NaNs are not
53544 tested.
53545
53546 * scripts/config.guess: Update from config.git.
53547 * scripts/config.sub: Likewise.
53548
53549 2012-10-04 Roland McGrath <roland@hack.frob.com>
53550
53551 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
53552 * misc/madvise.c (madvise): Renamed to __madvise.
53553 Make madvise a weak alias.
53554 * include/sys/mman.h: Declare __madvise.
53555 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
53556 * sysdeps/unix/syscalls.list
53557 (madvise): Make __madvise the strong name, and madvise a weak alias.
53558 * sysdeps/unix/sysv/linux/syscalls.list
53559 (madvise, mmap): Remove redundant entries.
53560 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
53561 * malloc/malloc.c (mtrim): Likewise.
53562 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
53563
53564 2012-10-03 Roland McGrath <roland@hack.frob.com>
53565
53566 * sysdeps/mach/hurd/dl-cache.c: File removed.
53567 * config.h.in (USE_LDCONFIG): New #undef.
53568 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
53569 * configure: Regenerated.
53570 * elf/Makefile (dl-routines): Add dl-cache only under
53571 [$(use-ldconfig) = yes].
53572 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
53573 cache on [USE_LDCONFIG].
53574 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
53575 [USE_LDCONFIG].
53576 * elf/rtld.c (dl_main): Likewise.
53577
53578 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
53579
53580 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
53581 _SC_LEVEL4_CACHE_LINESIZE.
53582
53583 2012-10-03 Roland McGrath <roland@hack.frob.com>
53584
53585 * sysdeps/unix/bsd/confstr.h: File removed.
53586
53587 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
53588
53589 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
53590 sys/sdt-config.h.
53591
53592 2012-10-02 Roland McGrath <roland@hack.frob.com>
53593
53594 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
53595 Make 'mapoff' field ElfW(Off) rather than off_t.
53596
53597 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
53598
53599 * nscd/Makefile: Remove nscd-cflags and all its users.
53600 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
53601 (CFLAGS-nonlib): Add compiler flags for nscd modules.
53602
53603 [BZ #10631]
53604 * malloc.c (malloc_printerr): Clarify error message.
53605
53606 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
53607
53608 [BZ #14648]
53609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53610 Set bit_FMA_Usable if FMA is supported.
53611 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
53612 macro.
53613 (bit_FMA4_Usable): Updated.
53614 (index_FMA_Usable): New macro.
53615 (CPUID_FMA): Likewise.
53616 (HAS_FMA): Defined with bit_FMA_Usable.
53617
53618 2012-10-01 Roland McGrath <roland@hack.frob.com>
53619
53620 * bits/types.h (__swblk_t): Type removed.
53621 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
53622 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
53623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53624 (__SWBLK_T_TYPE): Likewise.
53625 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53626 (__SWBLK_T_TYPE): Likewise.
53627 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53628 (__SWBLK_T_TYPE): Likewise.
53629 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53630 (__SWBLK_T_TYPE): Likewise.
53631
53632 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
53633 Honza Horak <hhorak@redhat.com>
53634
53635 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
53636 (xdr_mapname): Use YPMAXMAP as maxsize.
53637 (xdr_peername): Use YPMAXPEER as maxsize.
53638 (xdr_keydat): Use YPAXRECORD as maxsize.
53639 (xdr_valdat): Use YPMAXRECORD as maxsize.
53640
53641 2012-10-01 Roland McGrath <roland@hack.frob.com>
53642
53643 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
53644
53645 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
53646 * csu/init-first.c: ... here.
53647 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
53648 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
53649 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
53650 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
53651 * sysdeps/i386/init-first.c: File removed.
53652 * sysdeps/sh/init-first.c: File removed.
53653
53654 2012-10-01 Joseph Myers <joseph@codesourcery.com>
53655
53656 [BZ #14645]
53657 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
53658 if x * y might underflow to zero and z is zero.
53659 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53660 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53661 * math/libm-test.inc (min_subnorm_value): New variable.
53662 (fma_test): Add more tests.
53663 (fma_test_towardzero): Likewise.
53664 (fma_test_downward): Likewise.
53665 (fma_test_upward): Likewise.
53666 (initialize): Set min_subnorm_value.
53667
53668 2012-09-29 Joseph Myers <joseph@codesourcery.com>
53669
53670 [BZ #14638]
53671 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
53672 0 + 0.
53673 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
53674 mode for addition resulting in exact zero.
53675 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
53676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
53677 exact 0 + 0.
53678 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53679 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53680 * math/libm-test.inc (fma_test): Add more tests.
53681 (fma_test_towardzero): New function.
53682 (fma_test_downward): Likewise.
53683 (fma_test_upward): Likewise.
53684 (main): Call the new functions.
53685
53686 2012-09-28 David S. Miller <davem@davemloft.net>
53687
53688 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
53689
53690 2012-09-28 Roland McGrath <roland@hack.frob.com>
53691
53692 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
53693 instead of SIGALRM.
53694
53695 * sysdeps/gnu/_G_config.h: Moved to ...
53696 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
53697 * sysdeps/mach/hurd/_G_config.h: Moved to ...
53698 * sysdeps/generic/_G_config.h: ... here.
53699
53700 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
53701
53702 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
53703
53704 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
53705 Conditionalize target on [libnss_test1.so-version].
53706
53707 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
53708
53709 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
53710 (elfobjdir): Move out of conditionals.
53711
53712 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
53713 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
53714 (__nss_lookup_function): Conditionalize label remove_from_tree on
53715 [!DO_STATIC_NSS || SHARED], matching its only use.
53716
53717 2012-09-28 David S. Miller <davem@davemloft.net>
53718
53719 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
53720 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
53721 file.
53722 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53723 sysdep_routines.
53724 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53725 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
53726 when HWCAP_SPARC_CRYPTO is present.
53727
53728 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
53729
53730 * io/tst-mknodat.c: Create a FIFO instead of a socket.
53731
53732 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
53733
53734 [BZ #6530]
53735 * stdio-common/vfprintf.c (process_string_arg): Revert
53736 2000-07-22 change.
53737
53738 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
53739
53740 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
53741 for testcase.
53742 * stdio-common/tst-sprintf.c: Include <locale.h>
53743 (main): Test sprintf's handling of incomplete multibyte
53744 characters.
53745
53746 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
53747
53748 * elf/dl-runtime.c (VERSYMIDX): Removed.
53749 * elf/dl-version.c (VERSYMIDX): Likewise.
53750 * elf/do-rel.h (VERSYMIDX): Likewise.
53751 (VALIDX): Likewise.
53752 * elf/dynamic-link.h (VERSYMIDX): Likewise.
53753 * elf/rtld.c (VALIDX): Likewise.
53754 (ADDRIDX): Likewise.
53755 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
53756 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
53757 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
53758 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53759 (VALIDX): Likewise.
53760 (ADDRIDX): Likewise.
53761
53762 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
53763
53764 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
53765
53766 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
53767
53768 [BZ #11438]
53769 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
53770 to global scope.
53771 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
53772 addresses are in the same scope as 192.0.2/24.
53773 * posix/gai.conf: Document new scope table defaults.
53774
53775 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53776
53777 [BZ #5298]
53778 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
53779 for ftell. Compute offsets from write pointers instead.
53780 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53781
53782 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53783
53784 [BZ #14543]
53785 * libio/Makefile (tests): New test case tst-fseek.
53786 * libio/tst-fseek.c: New test case to verify that fseek/ftell
53787 combination works in wide mode.
53788 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
53789 state when the external buffer state changes.
53790
53791 2012-09-27 David S. Miller <davem@davemloft.net>
53792
53793 [BZ #14376]
53794 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
53795 pass reloc->r_addend in as the 'high' argument to
53796 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53797
53798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53799
53800 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
53801
53802 * rt/tst-aio2.c: Include <pthread.h>.
53803 * rt/tst-aio3.c: Likewise.
53804
53805 2012-09-27 Steve Ellcey <sellcey@mips.com>
53806
53807 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
53808
53809 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
53810
53811 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
53812 contents on [SHARED].
53813
53814 2012-09-26 Marek Polacek <polacek@redhat.com>
53815
53816 [BZ #14530]
53817 [BZ #13741]
53818 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
53819 for C++ and GCC <4.3 as well as for non GCC compilers.
53820
53821 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
53822
53823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53824
53825 2012-09-25 Roland McGrath <roland@hack.frob.com>
53826
53827 * Makefile.in (all, install): Declare with .PHONY.
53828 Reported by Michael Hope <michael.hope@linaro.org>.
53829
53830 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53831
53832 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
53833 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
53834 system header.
53835 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
53836 Likewise.
53837 (sydep_routines): Add the new and the internal functions.
53838 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
53839 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
53840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
53841 (GLIBC_2.17): Add the new function.
53842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53843 (GLIBC_2.17): Likewise.
53844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
53845 (GLIBC_2.17): Likewise.
53846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
53847 (GLIBC_2.17): Likewise.
53848 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
53849
53850 2012-09-25 Alan Modra <amodra@gmail.com>
53851
53852 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
53853 Add release barrier before setting once_control to say
53854 initialisation is done. Add hints on lwarx. Use macro in
53855 place of isync.
53856 (clear_once_control): Add release barrier.
53857
53858 2012-09-25 Joseph Myers <joseph@codesourcery.com>
53859
53860 [BZ #13629]
53861 * math/s_clog.c (__clog): Handle more values close to |z| = 1
53862 specially.
53863 * math/s_clog10.c (__clog10): Likewise.
53864 * math/s_clog10f.c (__clog10f): Likewise.
53865 * math/s_clog10l.c (__clog10l): Likewise.
53866 * math/s_clogf.c (__clogf): Likewise.
53867 * math/s_clogl.c (__clogl): Likewise.
53868 * math/Makefile (libm-calls): Add x2y2m1.
53869 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
53870 (__x2y2m1): Likewise.
53871 (__x2y2m1l): Likewise.
53872 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
53873 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
53874 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
53875 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53876 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
53877 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
53878 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
53879 * sysdeps/i386/fpu/libm-test-ulps: Update.
53880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53881
53882 [BZ #14621]
53883 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
53884 int as type of variable DEPTH.
53885 (glob): Use size_t instead of int as type of variables NEWCOUNT
53886 and OLD_PATHC.
53887
53888 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53889
53890 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53891 Add s_sincosf-sse2.
53892 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
53893 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
53894 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
53895 macros for using routine as __sincosf_ia32.
53896 Use macro for function declaration and weak_alias.
53897 * sysdeps/i386/fpu/libm-test-ulps: Update.
53898
53899 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
53900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53901
53902 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
53903 subnormal argument.
53904 * math/s_cexpf.c (__cexpf): Likewise.
53905 * math/s_csinf.c (__csinf): Likewise.
53906 * math/s_csinhf.c (__csinhf): Likewise.
53907 * math/s_ctanf.c (__ctanf): Likewise.
53908 * math/s_ctanhf.c (__ctanhf): Likewise.
53909 * math/s_ccosh.c (__ccoshf): Likewise.
53910 * math/s_cexp.c (__cexpl): Likewise.
53911 * math/s_csin.c (__csin): Likewise.
53912 * math/s_csinh.c (__csinh): Likewise.
53913 * math/s_ctan.c (__ctan): Likewise.
53914 * math/s_ctanh.c (ctanh): Likewise.
53915 * math/s_ccoshl.c (__ccoshl): Likewise.
53916 * math/s_cexpl.c (__cexpl): Likewise.
53917 * math/s_csinl.c (__csinl): Likewise.
53918 * math/s_csinhl.c (__csinhl): Likewise.
53919 * math/s_ctanl.c (__ctanl): Likewise.
53920 * math/s_ctanhl.c (__ctanhl): Likewise.
53921
53922 2012-09-25 Joseph Myers <joseph@codesourcery.com>
53923
53924 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
53925 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
53926 (_IO_off_t): Define to __off_t, not _G_off_t.
53927 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
53928 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
53929 (_IO_wint_t): Define to wint_t, not _G_wint_t.
53930 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
53931 type of __dummy and __dummy2 fields.
53932 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
53933 (_G_ssize_t): Likewise.
53934 (_G_off_t): Likewise.
53935 (_G_pid_t): Likewise.
53936 (_G_uid_t): Likewise.
53937 (_G_wchar_t): Likewise.
53938 (_G_wint_t): Likewise.
53939 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
53940 (_G_ssize_t): Likewise.
53941 (_G_off_t): Likewise.
53942 (_G_pid_t): Likewise.
53943 (_G_uid_t): Likewise.
53944 (_G_wchar_t): Likewise.
53945 (_G_wint_t): Likewise.
53946 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
53947 (_G_ssize_t): Likewise.
53948 (_G_off_t): Likewise.
53949 (_G_pid_t): Likewise.
53950 (_G_uid_t): Likewise.
53951 (_G_wchar_t): Likewise.
53952 (_G_wint_t): Likewise.
53953
53954 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53955
53956 * malloc/arena.c: Include malloc-sysdep.h.
53957 (shrink_heap): Use check_may_shrink_heap to decide if madvise
53958 is sufficient to shrink the heap or an unmap is needed.
53959 * sysdeps/generic/malloc-sysdep.h: New file. Define
53960 new function check_may_shrink_heap.
53961 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
53962 new function check_may_shrink_heap.
53963
53964 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53965
53966 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
53967 comments.
53968
53969 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
53970
53971 * catgets/test-gencat.sh: Add "set -e".
53972 * elf/tst-pathopt.sh: Likewise.
53973 * grp/tst_fgetgrent.sh: Likewise.
53974 * iconvdata/run-iconv-test.sh: Likewise.
53975 * intl/tst-gettext.sh: Likewise.
53976 * intl/tst-gettext2.sh: Likewise.
53977 * intl/tst-gettext4.sh: Likewise.
53978 * intl/tst-gettext6.sh: Likewise.
53979 * intl/tst-translit.sh: Likewise.
53980 * io/ftwtest-sh: Likewise.
53981 * libio/test-freopen.sh: Likewise.
53982 * malloc/tst-mtrace.sh: Likewise.
53983 * posix/globtest.sh: Likewise.
53984 * posix/tst-getconf.sh: Likewise.
53985 * posix/wordexp-tst.sh: Likewise.
53986 * stdio-common/tst-printf.sh: Likewise.
53987 * stdio-common/tst-unbputc.sh: Likewise.
53988 * stdlib/tst-fmtmsg.sh: Likewise.
53989 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53990 * catgets/Makefile: Do not specify -e option when running
53991 testsuite shell scripts.
53992 * elf/Makefile: Likewise.
53993 * grp/Makefile: Likewise.
53994 * iconvdata/Makefile: Likewise.
53995 * intl/Makefile: Likewise.
53996 * io/Makefile: Likewise.
53997 * libio/Makefile: Likewise.
53998 * malloc/Makefile: Likewise.
53999 * posix/Makefile: Likewise.
54000 * stdio-common/Makefile: Likewise.
54001 * stdlib/Makefile: Likewise.
54002 * sysdeps/x86_64/Makefile: Likewise.
54003
54004 * io/ftwtest-sh: Add copyright header.
54005 * posix/globtest.sh: Likewise.
54006 * posix/tst-getconf.sh: Likewise.
54007 * posix/wordexp-tst.sh: Likewise.
54008 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54009
54010 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
54011
54012 [BZ #13679]
54013 * Makeconfig (+link): Defined as $(+link-static) if
54014 $(build-shared) isn't yes.
54015 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
54016 isn't yes.
54017 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
54018
54019 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
54020
54021 [BZ #14562]
54022 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
54023 new chunk size with MALLOC_ALIGN_MASK.
54024
54025 2012-09-24 Joseph Myers <joseph@codesourcery.com>
54026
54027 [BZ #5044]
54028 * stdio-common/printf_fphex.c: Include <stdbool.h> and
54029 <rounding-mode.h>.
54030 (__printf_fphex): Determine rounding using get_rounding_mode and
54031 round_away.
54032 * stdio-common/tst-printf-round.c (struct hex_test): New
54033 structure.
54034 (hex_tests): New variable.
54035 (test_hex_in_one_mode): New function.
54036 (do_test): Also run tests for hex float output.
54037
54038 2012-09-21 Joseph Myers <joseph@codesourcery.com>
54039
54040 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54041 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54042 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
54043 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54044 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54045 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
54046 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54047 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54048
54049 2012-09-20 Joseph Myers <joseph@codesourcery.com>
54050
54051 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
54052 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
54053 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
54054 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
54055
54056 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
54057
54058 [BZ #14579]
54059 * elf/rtld.c (dl_main): Limit the check for self loading to normal
54060 mode only.
54061 * elf/tst-rtld-load-self.sh: New test.
54062 * elf/Makefile: Run it.
54063
54064 2012-09-18 Joseph Myers <joseph@codesourcery.com>
54065
54066 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
54067 (tst-writev-ENV): Remove.
54068 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
54069
54070 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
54071
54072 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
54073
54074 2012-09-17 Joseph Myers <joseph@codesourcery.com>
54075
54076 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
54077 unconditional.
54078 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
54079 Likewise.
54080 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
54081 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
54082 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
54083 Likewise.
54084
54085 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
54086
54087 [BZ #14587]
54088 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
54089 * config.make.in (have-cpp-asm-debuginfo): Removed.
54090 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
54091 * configure: Regenerated.
54092
54093 2012-09-14 Joseph Myers <joseph@codesourcery.com>
54094
54095 [BZ #5044]
54096 * stdio-common/printf_fp.c: Include <stdbool.h> and
54097 <rounding-mode.h>.
54098 (___printf_fp): Determine rounding using get_rounding_mode and
54099 round_away.
54100 * stdio-common/tst-printf-round.c: New file.
54101 * stdio-common/Makefile (tests): Add tst-printf-round.
54102 (link-libm): New variable.
54103 ($(objpfx)tst-printf-round): Depend in $(link-libm).
54104
54105 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
54106
54107 [BZ #14576]
54108 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
54109 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
54110 Likewise.
54111 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
54112 Likewise.
54113
54114 2012-09-13 Joseph Myers <joseph@codesourcery.com>
54115
54116 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
54117 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54118 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54119 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54120
54121 2012-09-12 Joseph Myers <joseph@codesourcery.com>
54122
54123 [BZ #14518]
54124 * include/rounding-mode.h: New file.
54125 * sysdeps/generic/get-rounding-mode.h: Likewise.
54126 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
54127 * stdlib/strtod_l.c: Include <rounding-mode.h>.
54128 (MAX_VALUE): New macro.
54129 (MIN_VALUE): Likewise.
54130 (overflow_value): New function.
54131 (underflow_value): Likewise.
54132 (round_and_return): Use overflow_value and underflow_value to
54133 determine return values in overflow and underflow cases. Use
54134 round_away to determine rounding depending on rounding mode.
54135 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
54136 determine return values in overflow and underflow cases.
54137 * stdlib/tst-strtod-round.c: Include <fenv.h>.
54138 (struct test_results): New structure.
54139 (struct test): Use struct test_results to store expected results
54140 for all rounding modes.
54141 (TEST): Include expected results for all rounding modes.
54142 (test_in_one_mode): New function.
54143 (do_test): Use test_in_one_mode to compute and check results.
54144 Check results for all rounding modes.
54145 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
54146 $(link-libm).
54147
54148 2012-12-09 Allan McRae <allan@archlinux.org>
54149
54150 * sysdeps/i386/fpu/libm-test-ulps: Update
54151
54152 2012-09-11 Joseph Myers <joseph@codesourcery.com>
54153
54154 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
54155 (_G_int32_t): Likewise.
54156 (_G_uint16_t): Likewise.
54157 (_G_uint32_t): Likewise.
54158 (_G_HAVE_BOOL): Likewise.
54159 (_G_HAVE_ATEXIT): Likewise.
54160 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54161 (_G_HAVE_IO_FILE_OPEN): Likewise.
54162 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
54163 (_G_int32_t): Likewise.
54164 (_G_uint16_t): Likewise.
54165 (_G_uint32_t): Likewise.
54166 (_G_HAVE_BOOL): Likewise.
54167 (_G_HAVE_ATEXIT): Likewise.
54168 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54169 (_G_HAVE_IO_FILE_OPEN): Likewise.
54170 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
54171 (_G_int32_t): Likewise.
54172 (_G_uint16_t): Likewise.
54173 (_G_uint32_t): Likewise.
54174 (_G_HAVE_BOOL): Likewise.
54175 (_G_HAVE_ATEXIT): Likewise.
54176 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54177 (_G_HAVE_IO_FILE_OPEN): Likewise.
54178
54179 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
54180
54181 * csu/libc-tls.c: Update copyright years.
54182
54183 2012-09-10 Joseph Myers <joseph@codesourcery.com>
54184
54185 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
54186 [!_G_USING_THUNKS]: Remove conditional code.
54187 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
54188 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
54189
54190 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
54191 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
54192 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54193 (_G_VTABLE_LABEL_PREFIX): Likewise.
54194 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54195 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54196 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54197 (_G_VTABLE_LABEL_PREFIX): Likewise.
54198 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54199 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54200 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54201 (_G_VTABLE_LABEL_PREFIX): Likewise.
54202 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54203
54204 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
54205
54206 * libio/Makefile: Include ../Makeconfig before tests.
54207 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
54208 only if $(build-shared) is yes.
54209
54210 * iconv/gconv_db.c: Update copyright years.
54211
54212 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54213
54214 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
54215 unwind info if defined PIC. Fix special cases description.
54216 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
54217
54218 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
54219 DP_HI_MASK entry.
54220 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
54221
54222 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
54223
54224 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
54225
54226 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
54227 is NULL.
54228
54229 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
54230 (LDLIBS-tst-chk4): This.
54231 (LDFLAGS-tst-chk5): Renamed to ...
54232 (LDLIBS-tst-chk5): This.
54233 (LDFLAGS-tst-chk6): Renamed to ...
54234 (LDLIBS-tst-chk6): This.
54235 (LDFLAGS-tst-lfschk4): Renamed to ...
54236 (LDLIBS-tst-lfschk4): This.
54237 (LDFLAGS-tst-lfschk5): Renamed to ...
54238 (LDLIBS-tst-lfschk5): This.
54239 (LDFLAGS-tst-lfschk6): Renamed to ...
54240 (LDLIBS-tst-lfschk6): This.
54241
54242 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
54243 on $(common-objpfx)soversions.mk.
54244
54245 2012-09-07 Joseph Myers <joseph@codesourcery.com>
54246
54247 [BZ #10014]
54248 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
54249 example host name.
54250
54251 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
54252
54253 * malloc/arena.c (arena_get_retry): New function that gets
54254 another arena for the caller to try its request on.
54255 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
54256 current arena cannot fulfill the request.
54257 (__libc_memalign): Likewise.
54258 (__libc_memalign): Likewise.
54259 (__libc_pvalloc): Likewise.
54260 (__libc_calloc): Likewise.
54261
54262 2012-09-05 John Tobey <john.tobey@gmail.com>
54263
54264 [BZ #13542]
54265 * manual/arith.texi (Operations on Complex): Fix description
54266 of carg branch cut.
54267
54268 2012-09-06 Joseph Myers <joseph@codesourcery.com>
54269
54270 [BZ #10014]
54271 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
54272 host name.
54273
54274 [BZ #10038]
54275 * manual/memory.texi (Memory): Make order of menu items match
54276 order of sections.
54277
54278 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
54279
54280 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
54281 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
54282 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
54283
54284 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
54285
54286 * csu/libc-tls.c (static_dtv): Renamed to ...
54287 (_dl_static_dtv): This. Make it global.
54288 (_dl_initial_dtv): Removed.
54289 (__libc_setup_tls): Updated.
54290 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
54291 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
54292 DL_INITIAL_DTV.
54293
54294 2012-09-06 Petr Machata <pmachata@redhat.com>
54295
54296 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
54297 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
54298 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
54299 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
54300
54301 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
54302
54303 [BZ #14545]
54304 * csu/libc-tls.c (_dl_initial_dtv): New variable.
54305 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
54306 freeing dtv[-1].
54307
54308 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
54309
54310 [BZ #14544]
54311 * Makeconfig (link-static-before-libc): Replace $(+prector)
54312 with $(+prectorT).
54313 (link-static-after-libc): Replace $(+postctor) with
54314 $(+postctorT).
54315 (link-bounded): Replace $(+prector)/$(+postctor) with
54316 $(+prectorT)/$(+postctorT).
54317 (+prectorT): New macro.
54318 (+postctorT): Likewise.
54319
54320 2012-09-06 Joseph Myers <joseph@codesourcery.com>
54321
54322 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
54323 (round_str): Handle values above the maximum for IBM long double
54324 as inexact.
54325 * stdlib/tst-strtod-round.c (tests): Regenerated.
54326
54327 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54328
54329 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
54330 assembler flag.
54331 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
54332 zarch_nohighgprs around the zarch optimized routines.
54333 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
54334 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
54335 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
54336 for zarch.
54337
54338 2012-09-05 David S. Miller <davem@davemloft.net>
54339
54340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54341
54342 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
54343 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
54344 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
54345 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54346 entries.
54347
54348 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
54349
54350 * malloc/arena.c: Fold copyright years.
54351 * malloc/mcheck.c, malloc/memusage.c: Likewise.
54352
54353 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
54354
54355 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
54356
54357 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
54358
54359 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
54360
54361 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
54362
54363 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
54364 change internal state upon failure.
54365
54366 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
54367
54368 * malloc/mcheck.c (mcheck_check_all): Fix typo.
54369 * malloc/memusage.c (mmap): Likewise.
54370 (mmap64, mremap): Likewise. Adjust name in comment.
54371
54372 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
54373
54374 * libio/fileops.c: Fix typos in comments.
54375 * libio/oldfileops.c: Likewise.
54376 * libio/wfileops.c: Likewise.
54377
54378 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
54379
54380 [BZ #1349]
54381 * malloc/Makefile (tests): Add tst-malloc-usable test case.
54382 (tst-malloc-usable-ENV): Set environment for test case.
54383 * malloc/hooks.c (malloc_check_get_size): New function to get
54384 requested size.
54385 * malloc/malloc.c (musable): Use malloc_check_get_size.
54386 * malloc/tst-malloc-usable.c: New test case.
54387
54388 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
54389
54390 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
54391
54392 2012-09-05 Allan McRae <allan@archlinux.org>
54393
54394 [BZ #13966]
54395 * configure.in (CXX_SYSINCLUDES): Use compiler output to
54396 determine header location.
54397 * configure: Regenerated.
54398
54399 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
54400
54401 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
54402 float format.
54403 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
54404 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
54405 format.
54406 (test): Regenerate.
54407
54408 2012-09-04 David S. Miller <davem@davemloft.net>
54409
54410 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
54411 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
54412 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
54413
54414 2012-09-04 Florian Weimer <fweimer@redhat.com>
54415
54416 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
54417 failures.
54418
54419 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
54420
54421 2012-09-04 Joseph Myers <joseph@codesourcery.com>
54422
54423 [BZ #9914]
54424 * libio/iogetdelim.c: Include <limits.h>.
54425 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
54426 + len + 1 would overflow.
54427
54428 2012-09-03 Andreas Jaeger <aj@suse.de>
54429
54430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54431 * sysdeps/i386/fpu/libm-test-ulps: Update.
54432
54433 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54434
54435 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54436 Add s_sinf-sse2, s_conf-sse2.
54437
54438 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
54439 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
54440 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
54441 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
54442
54443 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
54444 for using routine as __sinf_ia32.
54445 Use macro for function declaration and weak_alias.
54446 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
54447 for using routine as __cosf_ia32.
54448 Use macro for function declaration and weak_alias.
54449
54450 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
54451 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
54452
54453 * sysdeps/x86_64/fpu/s_sinf.S: New file.
54454 * sysdeps/x86_64/fpu/s_cosf.S: New file.
54455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54456
54457 * math/libm-test.inc (cos_test): Add more test cases.
54458 (sin_test): Likewise.
54459 (sincos_test): Likewise.
54460
54461 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54462
54463 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
54464 (IFUNC_RESOLVE): Make pointers to the specialized implementations
54465 hidden.
54466 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54467
54468 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
54469
54470 [BZ #14538]
54471 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
54472 first element of the GOT.
54473 (elf_machine_load_address): Return the difference between
54474 the runtime address of _DYNAMIC and elf_machine_dynamic ().
54475
54476 2012-09-01 Allan McRae <allan@archlinux.org>
54477
54478 [BZ #13412]
54479 * configure.in (AWK): Require gawk version 3.0 or later.
54480 * configure: Regenerated.
54481
54482 2012-09-01 Joseph Myers <joseph@codesourcery.com>
54483
54484 * sysdeps/unix/sysv/linux/kernel-features.h
54485 (__ASSUME_POSIX_CPU_TIMERS): Remove.
54486 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54487 [__NR_clock_getres]: Make code unconditional.
54488 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
54489 (clock_getcpuclockid): Remove code left unreachable by removal of
54490 conditionals.
54491 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
54492 code unconditional.
54493 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54494 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54495 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
54496 Make code unconditional.
54497 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54498 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54499 * sysdeps/unix/sysv/linux/clock_settime.c
54500 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
54501 conditional code.
54502 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
54503 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54504
54505 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
54506
54507 [BZ #14476]
54508 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
54509 scripts/test-installation.pl.
54510
54511 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
54512 and $ld_so_version if it is set.
54513
54514 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
54515
54516 [BZ #14516]
54517 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
54518 failure if reading from procfs failed.
54519 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
54520
54521 2012-08-27 Joseph Myers <joseph@codesourcery.com>
54522
54523 * sysdeps/unix/sysv/linux/kernel-features.h
54524 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
54525 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54526 Remove conditional code.
54527 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54528 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
54529 Remove conditional code.
54530 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54531 * sysdeps/unix/sysv/linux/i386/fxstat.c
54532 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54533 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54534 * sysdeps/unix/sysv/linux/i386/fxstatat.c
54535 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54536 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54537 * sysdeps/unix/sysv/linux/i386/lxstat.c
54538 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54539 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54540 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
54541 Remove conditional code.
54542 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54543 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54544 Remove conditional code.
54545 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54546 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
54547 <kernel-features.h>.
54548 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
54549 Remove.
54550 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
54551 Remove conditional code.
54552 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54553 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
54554 Remove conditional.
54555
54556 2012-08-27 Mike Frysinger <vapier@gentoo.org>
54557
54558 [BZ #5400]
54559 * NEWS: Add fixed bug number.
54560
54561 2012-08-27 Joseph Myers <joseph@codesourcery.com>
54562
54563 [BZ #14519]
54564 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
54565 underflowing exponent in case of negative sign.
54566 * stdlib/tst-strtod-round-data: Add more tests.
54567 * stdlib/tst-strtod-round.c (tests): Regenerated.
54568
54569 [BZ #3479]
54570 * stdlib/strtod_l.c (NDIG): Remove.
54571 (HEXNDIG): Likewise.
54572 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
54573 smallest representable value.
54574 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
54575 lie within an exact representation of 1/2 ulp of the result.
54576 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
54577 unconditionally.
54578 (TENS_P9_IDX): Define unconditionally.
54579 (TENS_P9_SIZE): Likewise.
54580 (TENS_P10_IDX): Likewise.
54581 (TENS_P10_SIZE): Likewise.
54582 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
54583 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
54584 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
54585 entries for 10^2^13 and 10^2^14.
54586 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
54587 (TENS_P13_IDX): Define.
54588 (TENS_P13_SIZE): Likewise.
54589 (TENS_P14_IDX): Likewise.
54590 (TENS_P14_SIZE): Likewise.
54591 (_fpioconst_pow10): Change array size to
54592 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
54593 unconditional.
54594 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
54595 1024]: Add entries for 10^2^13 and 10^2^14.
54596 [LAST_POW10 > _LAST_POW10]: Remove #error.
54597 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
54598 (_fpioconst_pow10): Change array size to
54599 FPIOCONST_POW10_ARRAY_SIZE.
54600 * stdlib/gen-fpioconst.c: New file.
54601 * stdlib/gen-tst-strtod-round.c: Likewise.
54602 * stdlib/tst-strtod-round-data: Likewise.
54603 * stdlib/tst-strtod-round.c: Likewise.
54604 * stdlib/Makefile (tests): Add tst-strtod-round.
54605
54606 [BZ #14459]
54607 * stdlib/strtod_l.c: Include <stdint.h>.
54608 (NDEBUG): Do not define.
54609 (round_and_return): Change EXPONENT parameter to type intmax_t.
54610 Rearrange calculations to avoid internal overflow possibilities.
54611 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
54612 Rearrange calculations to avoid internal overflow possibilities.
54613 Assert that number fits inside MPNSIZE limbs.
54614 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
54615 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
54616 calculations and add assertions to avoid internal overflow
54617 possibilities. Add casts to avoid signed/unsigned operations.
54618 * stdlib/tst-strtod-overflow.c: New file.
54619 * stdlib/Makefile (tests): Add tst-strtod-overflow.
54620
54621 2012-08-25 Marek Polacek <polacek@redhat.com>
54622
54623 * time/time.h: Fix some typos in comments.
54624
54625 2012-08-23 Roland McGrath <roland@hack.frob.com>
54626
54627 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
54628 * posix/tst-rfc3484-2.c: Likewise.
54629 * posix/tst-rfc3484-3.c: Likewise.
54630
54631 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
54632
54633 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
54634 (EF_ARM_ABI_FLOAT_HARD): Likewise.
54635
54636 2012-08-23 Joseph Myers <joseph@codesourcery.com>
54637
54638 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
54639 #include of fxstatat64.c.
54640
54641 2012-08-22 Roland McGrath <roland@hack.frob.com>
54642
54643 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
54644 * shadow/getspent_r.c: Likewise.
54645 * shadow/getspnam.c: Likewise.
54646 * shadow/getspnam_r.c: Likewise.
54647 * gshadow/getsgent.c: Likewise.
54648 * gshadow/getsgent_r.c: Likewise.
54649 * gshadow/getsgnam.c: Likewise.
54650 * gshadow/getsgnam_r.c: Likewise.
54651 * inet/getnetbyad.c: Likewise.
54652 * inet/getnetbyad_r.c: Likewise.
54653 * inet/getnetbynm.c: Likewise.
54654 * inet/getnetbynm_r.c: Likewise.
54655 * inet/getnetent.c: Likewise.
54656 * inet/getnetent_r.c: Likewise.
54657 * inet/getproto.c: Likewise.
54658 * inet/getproto_r.c: Likewise.
54659 * inet/getprtent.c: Likewise.
54660 * inet/getprtent_r.c: Likewise.
54661 * inet/getprtname.c: Likewise.
54662 * inet/getprtname_r.c: Likewise.
54663 * inet/getrpcbyname.c: Likewise.
54664 * inet/getrpcbyname_r.c: Likewise.
54665 * inet/getrpcbynumber.c: Likewise.
54666 * inet/getrpcbynumber_r.c: Likewise.
54667 * inet/getrpcent.c: Likewise.
54668 * inet/getrpcent_r.c: Likewise.
54669 * inet/getaliasent.c: Likewise.
54670 * inet/getaliasent_r.c: Likewise.
54671 * inet/getaliasname.c: Likewise.
54672 * inet/getaliasname_r.c: Likewise.
54673 * nscd/getgrgid_r.c: Likewise.
54674 * nscd/getgrnam_r.c: Likewise.
54675 * nscd/gethstbyad_r.c: Likewise.
54676 * nscd/gethstbynm3_r.c: Likewise.
54677 * nscd/getpwnam_r.c: Likewise.
54678 * nscd/getpwuid_r.c: Likewise.
54679 * nscd/getsrvbynm_r.c: Likewise.
54680 * nscd/getsrvbypt_r.c: Likewise.
54681 * nscd/gai.c: Likewise.
54682
54683 * configure.in (build_nscd): New substituted variable, set
54684 by --disable-build-nscd and defaults to $use_nscd.
54685 * configure: Regenerated.
54686 * config.make.in (build-nscd): New substituted variable.
54687 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
54688 Change conditional to require [$(build-nscd) = yes] as well.
54689 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
54690
54691 [BZ# 13696]
54692 * configure.in (use_nscd): New substituted variable, set by
54693 --disable-nscd. If enabled, define USE_NSCD.
54694 * configure: Regenerated.
54695 * config.h.in: Add USE_NSCD.
54696 * config.make.in (use-nscd): New substituted variable.
54697 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
54698 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
54699 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
54700 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
54701 (CFLAGS-getgrnam_r.c): Likewise.
54702 (CFLAGS-initgroups.c): Likewise.
54703 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
54704 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
54705 Variables removed.
54706 * inet/getnetgrent_r.c
54707 (nscd_setnetgrent): New function, broken out of ...
54708 (setnetgrent): ... here. Call it.
54709 (innetgr): Conditionalize nscd bits on [USE_NSCD].
54710 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
54711 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
54712 * nscd/Makefile (routines, aux): Move definitions after include of
54713 Makeconfig. Conditionalize on [$(use-nscd) != no].
54714 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
54715 Conditionalize on [USE_NSCD].
54716 (is_nscd, nscd_init_cb): Likewise.
54717 (nss_load_library): Conditionalize init callback on [USE_NSCD].
54718 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
54719 * nss/nss_db/db-init.c: Likewise.
54720 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
54721 [USE_NSCD].
54722 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
54723 (make_request): Use it.
54724 (cache_valid_p): New function.
54725 (__check_pf): Use it.
54726 * NEWS: Add item for --disable-nscd.
54727
54728 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
54729
54730 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
54731 to support sed >= 4.2.1-20-ga9bf076.
54732 * configure: Regenerated.
54733
54734 2012-08-22 Roland McGrath <roland@hack.frob.com>
54735
54736 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
54737 Conditionalize whole body on [IREL].
54738
54739 2012-08-22 Jeff Law <law@redhat.com>
54740
54741 [BZ #14505]
54742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
54743 if the family is PF_UNSPEC.
54744
54745 2012-08-22 Mike Frysinger <vapier@gentoo.org>
54746
54747 * Makerules (lib-version): Rename from V.
54748 (install-lib-nosubdir): Change V to lib-version.
54749
54750 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
54751
54752 [BZ #14252]
54753 * powerpc32/power6/wcschr.c: New file.
54754 * powerpc32/power6/wcscpy.c: New file.
54755 * powerpc32/power6/wcsrchr.c: New file.
54756 * powerpc64/power6/wcschr.c: New file.
54757 * powerpc64/power6/wcscpy.c: New file.
54758 * powerpc64/power6/wcsrchr.c: New file.
54759
54760 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
54761
54762 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
54763 (two_way_short_needle): Use it.
54764 * string/strstr.c (AVAILABLE1_USES_J): Define.
54765 * string/strcasestr.c: Likewise.
54766
54767 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
54768 array references.
54769 * string/strcasestr.c (TOLOWER): Make side-effect safe.
54770
54771 [BZ #11607]
54772 * NEWS: Add an entry.
54773 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
54774 define their defaults.
54775 (two_way_short_needle): Detect end-of-string on-the-fly.
54776 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
54777 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
54778 * string/bug-strcasestr1.c: New test.
54779 * string/Makefile: Run it.
54780
54781 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
54782
54783 [BZ #11607]
54784 * string/str-two-way.h (two_way_short_needle): Optimize matching of
54785 the first character.
54786
54787 2012-08-21 Roland McGrath <roland@hack.frob.com>
54788
54789 * csu/elf-init.c (__libc_csu_irel): Function removed.
54790 * csu/libc-start.c (apply_irel): New function.
54791 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
54792
54793 2012-08-21 Joseph Myers <joseph@codesourcery.com>
54794
54795 * sysdeps/unix/sysv/linux/kernel-features.h
54796 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
54797 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54798 <kernel-features.h>.
54799 [__NR_fadvise64_64]: Make code unconditional.
54800 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
54801 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54802 !__NR_fadvise64_64)]: Likewise.
54803 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54804 !__NR_fadvise64_64))]: Likewise.
54805 [__NR_fadvise64]: Make code unconditional.
54806 [!__NR_fadvise64]: Remove conditional code.
54807 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
54808 <kernel-features.h>.
54809 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54810 unconditional.
54811 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54812 conditional code.
54813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
54814 not include <kernel-features.h>.
54815 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54816 unconditional.
54817 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54818 conditional code.
54819 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
54820 include <kernel-features.h>.
54821 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54822 unconditional.
54823 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54824 conditional code.
54825
54826 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
54827
54828 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
54829 slight instruction rearrangements per scrollpipe analysis.
54830 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54831
54832 2012-08-20 Roland McGrath <roland@hack.frob.com>
54833
54834 * manual/syslog.texi (syslog; vsyslog, closelog):
54835 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
54836 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
54837
54838 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
54839 DSOCAPS to match condition on defining it.
54840
54841 2012-08-20 Joseph Myers <joseph@codesourcery.com>
54842
54843 * sysdeps/unix/sysv/linux/kernel-features.h
54844 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
54845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
54846 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54847 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
54849 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54850 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
54852 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54853 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54854
54855 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
54856 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
54857
54858 * sysdeps/unix/sysv/linux/kernel-features.h
54859 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
54860 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
54861 unconditional.
54862 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54863 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
54864 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54865 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54866 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
54867 Make code unconditional.
54868 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54869 (__mmap64) [!__NR_mmap2]: Likewise.
54870 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
54871 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54872 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54873 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
54874 [__NR_mmap2]: Make code unconditional.
54875 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54876 (__mmap64) [!__NR_mmap2]: Likewise.
54877
54878 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54879
54880 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
54881
54882 2012-08-18 Andreas Jaeger <aj@suse.de>
54883
54884 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
54885
54886 2012-08-18 Mike Frysinger <vapier@gentoo.org>
54887
54888 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
54889 * include/unistd.h (__have_sock_cloexec): Likewise.
54890 (__have_pipe2): Likewise.
54891 (__have_dup3): Likewise.
54892
54893 2012-08-18 Mike Frysinger <vapier@gentoo.org>
54894
54895 [BZ #9685]
54896 * include/unistd.h (__have_pipe2): Change define into an extern int.
54897 (__have_dup3): Likewise.
54898 * socket/have_sock_cloexec.c: Include fcntl.h.
54899 (__have_pipe2): New variable.
54900 (__have_dup3): Likewise.
54901
54902 2012-08-17 Mike Frysinger <vapier@gentoo.org>
54903
54904 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
54905
54906 2012-08-17 Marek Polacek <polacek@redhat.com>
54907
54908 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
54909 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
54910
54911 2012-08-17 Roland McGrath <roland@hack.frob.com>
54912
54913 * configure.in: Add AC_SUBST for sysheaders.
54914 * configure: Regenerated.
54915 * config.make.in (sysheaders): New substituted variable.
54916
54917 * sysdeps/unix/mkfifo.c: Moved ...
54918 * sysdeps/posix/mkfifo.c: ... here.
54919 * sysdeps/unix/mkfifoat.c: Moved ...
54920 * sysdeps/posix/mkfifoat.c: ... here.
54921
54922 * sysdeps/unix/utime.c: Moved ...
54923 * sysdeps/posix/utime.c: ... here.
54924
54925 * sysdeps/unix/time.c: Moved ...
54926 * sysdeps/posix/time.c: ... here.
54927 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
54928 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
54929
54930 * sysdeps/unix/nice.c: Moved ...
54931 * sysdeps/posix/nice.c: ... here.
54932
54933 * sysdeps/unix/alarm.c: Moved ...
54934 * sysdeps/posix/alarm.c: ... here.
54935
54936 * intl/Makefile ($(codeset_mo)): Depend on the input file.
54937
54938 2012-08-17 Jeff Law <law@redhat.com>
54939
54940 * intl/Makefile (codeset_mo): New variable.
54941 ($(codeset_mo)): New target.
54942 (tst-codeset.out): Depend on that. Remove explicit rule.
54943 (tst-gettext3.out, tst-gettext5.out): Likewise.
54944 (LOCPATH-ENV, tst-codeset-ENV): New variables.
54945 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
54946 * intl/tst-codeset.sh: Remove.
54947 * intl/tst-gettext3.sh: Likewise.
54948 * intl/tst-gettext5.sh: Likewise.
54949
54950 2012-08-17 Roland McGrath <roland@hack.frob.com>
54951
54952 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
54953 * sysdeps/unix/syscalls.list: ... here.
54954
54955 * sysdeps/posix/getaddrinfo.c
54956 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
54957 (gaiconf_init, gaiconf_reload): Use them.
54958 [!_STATBUF_ST_NSEC]
54959 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
54960 Define using time_t rather than struct timespec.
54961
54962 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
54963 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
54964 Macros removed.
54965 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
54966 [!NO_THREADS].
54967 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
54968 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
54969 Likewise.
54970
54971 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
54972 __libc_cleanup_push argument.
54973
54974 * bits/param.h: New file.
54975 * misc/sys/param.h: New file.
54976 * include/sys/param.h: New file.
54977 * misc/Makefile (headers): Add bits/param.h.
54978 * sysdeps/generic/sys/param.h: File removed.
54979 * sysdeps/unix/sysv/linux/bits/param.h: New file.
54980 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
54981 * sysdeps/mach/hurd/bits/param.h: New file.
54982 * sysdeps/mach/hurd/sys/param.h: File removed.
54983
54984 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
54985 last change.
54986
54987 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
54988 [_IO_MTSAFE_IO].
54989 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
54990 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
54991 New macros.
54992
54993 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
54994 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
54995 rather than -D_IO_MTSAFE_IO conditionally.
54996 * stdio-common/Makefile (CPPFLAGS): Likewise.
54997 * wcsmbs/Makefile (CPPFLAGS): Likewise.
54998 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
54999 Use $(libio-mtsafe).
55000 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
55001 of -D_IO_MTSAFE_IO.
55002 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
55003 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
55004 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
55005 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
55006 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
55007 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
55008 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
55009 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
55010 (CFLAGS-fread_u_chk.c): Likewise.
55011 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
55012 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
55013 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
55014 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
55015 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
55016 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
55017 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
55018 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
55019 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
55020
55021 * libio/Makefile: Test [$(libc-reentrant) = yes]
55022 instead of [$(filter %REENTRANT, $(defines)) nonempty].
55023
55024 * Makeconfig
55025 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
55026 * sysdeps/pthread/configure: File removed.
55027 * sysdeps/pthread/Makeconfig: New file.
55028 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
55029 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
55030
55031 2012-08-16 Gary Benson <gbenson@redhat.com>
55032
55033 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
55034 unmapping the first object in a namespace.
55035
55036 2012-08-16 Roland McGrath <roland@hack.frob.com>
55037
55038 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
55039 (__internal_setnetgrent): ... this. Add internal_function to
55040 definition. Add libc_hidden_def.
55041 (setnetgrent): Update caller.
55042 (internal_endnetgrent): Renamed to ...
55043 (__internal_endnetgrent): ... this. Add internal_function to
55044 definition. Add libc_hidden_def.
55045 (endnetgrent): Update caller.
55046 (internal_getnetgrent_r): Renamed to ...
55047 (__internal_getnetgrent_r): ... this. Add internal_function to
55048 definition. Add libc_hidden_def.
55049 (__getnetgrent_r): Update caller.
55050 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
55051
55052 2012-08-16 Joseph Myers <joseph@codesourcery.com>
55053
55054 * stdlib/longlong.h: Update from GCC.
55055
55056 2012-08-16 Roland McGrath <roland@hack.frob.com>
55057
55058 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
55059 on _QL, which is set by umul_ppmm but never used.
55060 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
55061 variables, which are set by GMP macros but never used.
55062 * stdio-common/_itowa.c (_itowa): Likewise.
55063 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
55064 * stdlib/mod_1.c (mpn_mod_1): Likewise.
55065
55066 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
55067
55068 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
55069 struct La_sh_regs is not constant.
55070 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
55071 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
55072 and struct La_sparc64_regs are not constant.
55073
55074 2012-08-16 Joseph Myers <joseph@codesourcery.com>
55075
55076 * sysdeps/unix/sysv/linux/kernel-features.h
55077 (__ASSUME_POSIX_TIMERS): Remove.
55078 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55079 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55080 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
55081 Make code unconditional.
55082 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55083 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
55084 Make code unconditional.
55085 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55086 * sysdeps/unix/sysv/linux/clock_nanosleep.c
55087 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
55088 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55089 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
55090 Make code unconditional.
55091 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55092 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
55093 (__libc_missing_posix_timers): Remove.
55094
55095 2012-08-15 Roland McGrath <roland@hack.frob.com>
55096
55097 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
55098 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
55099
55100 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
55101
55102 * elf/dl-sym.c: Include <stdlib.h>.
55103
55104 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
55105 constants, which avoids warnings in 32-bit builds.
55106
55107 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
55108 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
55109
55110 * misc/lseek.c: File moved to ...
55111 * io/lseek.c: ... here.
55112
55113 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
55114
55115 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
55116 shifting LEN more than 31 bits at once.
55117
55118 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55119
55120 [BZ #14195]
55121 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
55122 segmentation fault for a case of two empty input strings.
55123 * string/test-strncasecmp.c (check1): Renamed to...
55124 (bz12205): ...this.
55125 (bz14195): Add new testcase for two empty input strings and N > 0.
55126 (test_main): Call new testcase, adapt for renamed function.
55127
55128 2012-08-15 Andreas Jaeger <aj@suse.de>
55129
55130 [BZ #14090]
55131 * crypt/md5test2.c: New test, based on test supplied by Serge
55132 Belyshev <belyshev@depni.sinp.msu.ru>.
55133 * crypt/Makefile (xtests): Add md5test-giant..
55134 * crypt/Makefile ($(objpfx)md5test-giant): Add.
55135
55136 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
55137
55138 [BZ #14090]
55139 * crypt/md5.c (md5_process_block): Don't assume the buffer
55140 length is less than 2**32.
55141 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
55142 length is less than 2**64.
55143
55144 2012-08-15 Roland McGrath <roland@hack.frob.com>
55145
55146 * string/str-two-way.h: Include <sys/param.h>.
55147 (MAX): Macro removed.
55148
55149 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
55150 Move #define and #undef of memmove to just before and after
55151 including <string.h>.
55152
55153 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
55154 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
55155 and after including <string.h>. Move declarations of
55156 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
55157 to before #include "string/memmove.c".
55158
55159 * include/dirent.h: Declare __getdirentries.
55160
55161 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
55162 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
55163
55164 2012-08-14 Mike Frysinger <vapier@gentoo.org>
55165
55166 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
55167 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
55168 * sysdeps/i386/configure: Regenerated.
55169 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
55170 STABS_CURRENT_FILE, and STABS_FUN.
55171 (END): Remove call to STABS_FUN_END.
55172 (STABS_CURRENT_FILE1): Delete.
55173 (STABS_CURRENT_FILE): Likewise.
55174 (STABS_FUN): Likewise.
55175 (STABS_FUN_END): Likewise.
55176 (STABS_FUN2): Likewise.
55177 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
55178 * sysdeps/x86_64/configure: Regenerated.
55179
55180 2012-08-14 Roland McGrath <roland@hack.frob.com>
55181
55182 * elf/dl-open.c: Include <atomic.h>.
55183 * elf/dl-lookup.c: Likewise.
55184
55185 2012-08-14 Joseph Myers <joseph@codesourcery.com>
55186
55187 * sysdeps/unix/sysv/linux/kernel-features.h
55188 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
55189 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
55190 unconditionally.
55191 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
55192 unconditionally.
55193 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
55194 condition on __ASSUME_CLONE_THREAD_FLAGS.
55195
55196 2012-08-14 Andreas Jaeger <aj@suse.de>
55197
55198 * sysdeps/i386/fpu/libm-test-ulps: Update.
55199
55200 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
55201
55202 * include/atomic.h (atomic_exchange_and_add): Split into ...
55203 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
55204 New atomic macros.
55205
55206 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
55207
55208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55209
55210 2012-08-13 Jeff Law <law@redhat.com>
55211
55212 * manual/stdio.texi (snprintf): Clarify handling of the trailing
55213 null byte in the output string.
55214
55215 2012-08-10 Joseph Myers <joseph@codesourcery.com>
55216
55217 * sysdeps/unix/sysv/linux/kernel-features.h
55218 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
55219 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
55220 (__ASSUME_ARG_MAX_STACK_BASED): Define.
55221 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
55222 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
55223 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
55224 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
55225
55226 2012-08-09 Jeff Law <law@redhat.com>
55227
55228 [BZ #13939]
55229 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
55230 When avoid_arena is set, don't retry in the that arena. Pick the
55231 next one, whatever it might be.
55232 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
55233 (arena_lock): Pass in new parameter to arena_get2.
55234 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
55235 arena_get2.
55236 (__libc_malloc): Unify retrying after main arena failure with
55237 __libc_memalign version.
55238 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
55239
55240 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
55241
55242 [BZ #14166]
55243 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
55244 to __redirect_strstr.
55245 (__strstr_sse42): Use typeof __redirect_strstr.
55246 (__strstr_ia32): Likewise.
55247 (__libc_strstr): New prototype.
55248 (strstr): Renamed to ...
55249 (__libc_strstr): This.
55250 (strstr): New strong alias of __libc_strstr.
55251 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55252 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
55253 __redirect_time.
55254 Include <time.h>.
55255 (__libc_time): New prototype.
55256 (time_ifunc): Replace time with __libc_time.
55257 (time): New strong alias and hidden definition of __libc_time.
55258 (__GI_time): Remove strong alias.
55259 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
55260 Include <stddef.h>.
55261 (memmove): Redefined to __redirect_memmove.
55262 (__memmove_sse2): Use typeof __redirect_memmove.
55263 (__memmove_ssse3): Likewise.
55264 (__memmove_ssse3_back): Likewise.
55265 (__libc_memmove): New prototype.
55266 (memmove): Renamed to ...
55267 (__libc_memmove): This.
55268 (memmove): New strong alias of __libc_memmove.
55269
55270 2012-08-08 Mark Salter <msalter@redhat.com>
55271
55272 * elf/elf.h
55273 (R_MN10300_TLS_GD): Define.
55274 (R_MN10300_TLS_LD): Likewise.
55275 (R_MN10300_TLS_LDO): Likewise.
55276 (R_MN10300_TLS_GOTIE): Likewise.
55277 (R_MN10300_TLS_IE): Likewise.
55278 (R_MN10300_TLS_LE): Likewise.
55279 (R_MN10300_TLS_DTPMOD): Likewise.
55280 (R_MN10300_TLS_DTPOFF): Likewise.
55281 (R_MN10300_TLS_TPOFF): Likewise.
55282 (R_MN10300_SYM_DIFF): Likewise.
55283 (R_MN10300_ALIGN): Likewise.
55284 (R_MN10300_NUM): Update.
55285
55286 2012-08-08 Joseph Myers <joseph@codesourcery.com>
55287
55288 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
55289 Remove.
55290
55291 2012-08-08 Roland McGrath <roland@hack.frob.com>
55292
55293 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
55294
55295 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
55296 sysdeps/unix -> sysdeps/posix move.
55297 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55298
55299 2012-08-07 Allan McRae <allan@archlinux.org>
55300
55301 [BZ #14303]
55302 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
55303 (SUNOS_CPP): Likewise.
55304 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
55305 not found.
55306 (open_input): Call CPP using execvp.
55307
55308 2012-08-07 Joseph Myers <joseph@codesourcery.com>
55309
55310 * sysdeps/unix/sysv/linux/kernel-features.h
55311 (__ASSUME_PROT_GROWSUPDOWN): Remove.
55312 (__ASSUME_NO_CLONE_DETACHED): Likewise.
55313 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55314 (__ASSUME_WAITID_SYSCALL): Likewise.
55315 * sysdeps/unix/sysv/linux/dl-execstack.c
55316 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
55317 code unconditional.
55318 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
55319 conditional code.
55320 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
55321 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
55322 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
55323 code.
55324 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
55325 unconditional.
55326 [__ASSUME_WAITID_SYSCALL]: Likewise.
55327 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
55328
55329 2012-08-07 Roland McGrath <roland@hack.frob.com>
55330
55331 * sysdeps/unix/closedir.c: Renamed to ...
55332 * sysdeps/posix/closedir.c: ... here.
55333 * sysdeps/unix/dirfd.c: Renamed to ...
55334 * sysdeps/posix/dirfd.c: ... here.
55335 * sysdeps/unix/dirstream.h: Renamed to ...
55336 * sysdeps/posix/dirstream.h: ... here.
55337 * sysdeps/unix/fdopendir.c: Renamed to ...
55338 * sysdeps/posix/fdopendir.c: ... here.
55339 * sysdeps/unix/opendir.c: Renamed to ...
55340 * sysdeps/posix/opendir.c: ... here.
55341 * sysdeps/unix/readdir.c: Renamed to ...
55342 * sysdeps/posix/readdir.c: ... here.
55343 * sysdeps/unix/readdir_r.c: Renamed to ...
55344 * sysdeps/posix/readdir_r.c: ... here.
55345 * sysdeps/unix/rewinddir.c: Renamed to ...
55346 * sysdeps/posix/rewinddir.c: ... here.
55347 * sysdeps/unix/seekdir.c: Renamed to ...
55348 * sysdeps/posix/seekdir.c: ... here.
55349 * sysdeps/unix/telldir.c: Renamed to ...
55350 * sysdeps/posix/telldir.c: ... here.
55351 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
55352 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
55353 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
55354 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
55355
55356 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
55357 * bits/fcntl.h: ... here.
55358
55359 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
55360 not 0.
55361 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
55362 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
55363 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
55364 (struct flock): Move l_start, l_len to the beginning.
55365 Use __pid_t for l_pid.
55366 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
55367 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
55368 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
55369 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
55370 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
55371 [__USE_LARGEFILE64] (struct flock64): New type.
55372 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
55373
55374 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
55375 * bits/dirent.h: ... here.
55376
55377 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
55378 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
55379
55380 2012-08-07 Joseph Myers <joseph@codesourcery.com>
55381
55382 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55383 Change from 2.6.0 to 2.6.16.
55384 * sysdeps/unix/sysv/linux/configure: Regenerated.
55385 * sysdeps/unix/sysv/linux/kernel-features.h
55386 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
55387 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
55388 version.
55389 (__ASSUME_UTIMES): Likewise.
55390 (__ASSUME_CLONE_STOPPED): Remove.
55391 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
55392 architectures, not kernel version.
55393 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
55394 (__ASSUME_NO_CLONE_DETACHED): Likewise.
55395 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55396 (__ASSUME_WAITID_SYSCALL): Likewise.
55397 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
55398 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
55399 * README: State 2.6.16 as minimum Linux kernel version. Do not
55400 refer to older versions.
55401
55402 2012-08-06 Roland McGrath <roland@hack.frob.com>
55403
55404 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
55405 Define alphasort64 as an alias.
55406 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
55407 Define versionsort64 as an alias.
55408 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
55409 Define scandir64 as an alias.
55410 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
55411 Define scandirat64 as an alias.
55412 * dirent/alphasort64.c (alphasort64):
55413 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
55414 * dirent/versionsort64.c: Likewise.
55415 * dirent/scandir64.c: Likewise.
55416 * dirent/scandirat64.c: Likewise.
55417 * sysdeps/wordsize-64/alphasort.c: File removed.
55418 * sysdeps/wordsize-64/alphasort64.c: File removed.
55419 * sysdeps/wordsize-64/scandir.c: File removed.
55420 * sysdeps/wordsize-64/scandir64.c: File removed.
55421 * sysdeps/wordsize-64/scandirat.c: File removed.
55422 * sysdeps/wordsize-64/scandirat64.c: File removed.
55423 * sysdeps/wordsize-64/versionsort.c: File removed.
55424 * sysdeps/wordsize-64/versionsort64.c: File removed.
55425 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
55426 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
55427 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
55428 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
55429 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
55430 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
55431 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
55432 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
55433
55434 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
55435 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55436 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
55437 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55438 [defined __arch64__ || defined __sparcv9]
55439 (__INO_T_MATCHES_INO64_T): New macro.
55440 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55441 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
55442 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
55443 * sysdeps/unix/sysv/linux/bits/dirent.h
55444 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
55445 (_DIRENT_MATCHES_DIRENT64): New macro.
55446
55447 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
55448 Define lockf64 as an alias.
55449 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
55450 Define fseeko64 as an alias.
55451 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
55452 Define ftello64 as an alias.
55453 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
55454 Define _IO_fgetpos64 and fgetpos64 as aliases.
55455 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
55456 Define _IO_fsetpos64 and fsetpos64 as aliases.
55457 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
55458 Conditionalize body on this.
55459 * libio/fseeko64.c: Likewise.
55460 * libio/ftello64.c: Likewise.
55461 * libio/iofgetpos64.c: Likewise.
55462 * libio/iofsetpos64.c: Likewise.
55463 * sysdeps/wordsize-64/lockf.c: File removed.
55464 * sysdeps/wordsize-64/lockf64.c: File removed.
55465 * sysdeps/wordsize-64/fseeko.c: File removed.
55466 * sysdeps/wordsize-64/fseeko64.c: File removed.
55467 * sysdeps/wordsize-64/ftello.c: File removed.
55468 * sysdeps/wordsize-64/ftello64.c: File removed.
55469 * sysdeps/wordsize-64/iofgetpos.c: File removed.
55470 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
55471 * sysdeps/wordsize-64/iofsetpos.c: File removed.
55472 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
55473 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
55474 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
55475 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
55476 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
55477 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
55478 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
55479 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
55480 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
55481 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
55482 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
55483
55484 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55485 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55486 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
55487 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55488 [defined __arch64__ || defined __sparcv9]
55489 (__OFF_T_MATCHES_OFF64_T): New macro.
55490 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55491 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55492 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55493 (__OFF_T_MATCHES_OFF64_T): New macro.
55494
55495 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
55496
55497 * stdlib/secure-getenv.c (__secure_getenv): Replace
55498 GLIBC_2_16 with GLIBC_2_17.
55499
55500 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
55501
55502 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
55503 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55504
55505 2012-08-03 David S. Miller <davem@davemloft.net>
55506
55507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55508
55509 2012-08-03 Joseph Myers <joseph@codesourcery.com>
55510
55511 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
55512 Remove.
55513 (__ASSUME_CORRECT_SI_PID): Likewise.
55514 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
55515 (__ASSUME_TMPFS_NAME): Likewise.
55516 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
55517 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
55518 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
55519 (HAVE_AUX_SECURE): Make definition unconditional.
55520 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
55521 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
55522
55523 2012-08-03 Roland McGrath <roland@hack.frob.com>
55524
55525 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
55526 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
55527 * sysdeps/mach/hurd/eloop-threshold.h: New file.
55528 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55529 __eloop_threshold instead of SYMLOOP_MAX.
55530
55531 * sysdeps/generic/eloop-threshold.h: New file.
55532 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
55533 of MAXSYMLINKS.
55534 * elf/chroot_canon.c (chroot_canon): Likewise.
55535
55536 2012-08-03 Joseph Myers <joseph@codesourcery.com>
55537
55538 [BZ #13717]
55539 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55540 Change to 2.6.0 everywhere.
55541 * sysdeps/unix/sysv/linux/configure: Regenerated.
55542 * sysdeps/unix/sysv/linux/kernel-features.h
55543 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
55544 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
55545 kernel versions.
55546 (__ASSUME_POSIX_TIMERS): Define unconditionally.
55547 (__ASSUME_FUTEX_REQUEUE): Remove.
55548 (__ASSUME_STATFS64): Define unconditionally.
55549 (__ASSUME_AT_SECURE): Likewise.
55550 (__ASSUME_CORRECT_SI_PID): Likewise.
55551 (__ASSUME_TGKILL): Define without depending on kernel version for
55552 i386.
55553 (__ASSUME_UTIMES): Likewise.
55554 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
55555 kernel version.
55556 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
55557 (__ASSUME_TMPFS_NAME): Likewise.
55558 * README: Update reference to Linux kernel versions.
55559
55560 2012-08-02 Marek Polacek <polacek@redhat.com>
55561
55562 [BZ# 14150]
55563 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
55564 libc_cv_asm_type_prefix with %.
55565 * configure: Regenerated.
55566 * include/libc-symbols.h: Remove comment about
55567 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55568 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
55569 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
55570 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
55571 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
55572 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55573 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
55574 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
55575 * elf/tst-unique2mod1.c: Likewise.
55576 * elf/tst-unique1mod2.c: Likewise.
55577 * elf/tst-unique1mod1.c: Likewise.
55578 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
55579 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
55580 Replace ASM_TYPE_DIRECTIVE with .type.
55581 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55582 * sysdeps/i386/sysdep.h: Likewise.
55583 * sysdeps/x86_64/sysdep.h: Likewise.
55584 * sysdeps/sh/sysdep.h: Likewise.
55585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55586 Do not define ASM_TYPE_DIRECTIVE.
55587 * sysdeps/powerpc/sysdep.h: Likewise.
55588 * sysdeps/powerpc/powerpc32/sysdep.h:
55589 Replace ASM_TYPE_DIRECTIVE with .type.
55590 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55591 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55592 * sysdeps/i386/fpu/e_powf.S: Likewise.
55593 * sysdeps/i386/fpu/e_expl.S: Likewise.
55594 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55595 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55596 * sysdeps/i386/fpu/e_pow.S: Likewise.
55597 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55598 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55599 * sysdeps/i386/fpu/s_expm1.S: Likewise.
55600 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55601 * sysdeps/i386/fpu/e_log2.S: Likewise.
55602 * sysdeps/i386/fpu/e_log2l.S: Likewise.
55603 * sysdeps/i386/fpu/e_scalb.S: Likewise.
55604 * sysdeps/i386/fpu/e_powl.S: Likewise.
55605 * sysdeps/i386/fpu/e_log10f.S: Likewise.
55606 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55607 * sysdeps/i386/fpu/e_logl.S: Likewise.
55608 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55609 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55610 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55611 * sysdeps/i386/fpu/e_log2f.S: Likewise.
55612 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55613 * sysdeps/i386/fpu/e_log.S: Likewise.
55614 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55615 * sysdeps/i386/fpu/e_logf.S: Likewise.
55616 * sysdeps/i386/fpu/e_log10l.S: Likewise.
55617 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55618 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55619 * sysdeps/i386/fpu/e_log10.S: Likewise.
55620 * sysdeps/i386/fpu/s_frexp.S: Likewise.
55621 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55622 * sysdeps/i386/fpu/s_asinh.S: Likewise.
55623 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55624 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55625 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
55626 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55627 * sysdeps/i386/i686/strtok.S: Likewise.
55628 * sysdeps/i386/i386-mcount.S: Likewise.
55629 * sysdeps/i386/strtok.S: Likewise.
55630 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
55631 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55632 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55633 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55634 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55635 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55636 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55637 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55638 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55639 * sysdeps/x86_64/_mcount.S: Likewise.
55640 * sysdeps/x86_64/strtok.S: Likewise.
55641 * sysdeps/sh/_mcount.S: Likewise.
55642
55643 2012-08-01 Roland McGrath <roland@hack.frob.com>
55644
55645 * libio/iofopen.c: Include <fcntl.h>.
55646 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
55647 (_IO_fopen64, fopen64): Define as aliases.
55648 * libio/iofopen64.c: Include <fcntl.h>.
55649 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
55650 Conditionalize body on this.
55651 * sysdeps/wordsize-64/iofopen.c: File removed.
55652 * sysdeps/wordsize-64/iofopen64.c: File removed.
55653
55654 2012-08-01 Marek Polacek <polacek@redhat.com>
55655
55656 * libc/Makeconfig: Use elf in place of binfmt-subdir.
55657 Use dlfcn directly instead of a variable.
55658 (binfmt-subdir): Do not define.
55659 (dlfcn): Likewise.
55660
55661 2012-08-01 Joseph Myers <joseph@codesourcery.com>
55662
55663 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
55664 Remove all definitions.
55665 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
55666 <kernel-features.h>.
55667 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55668 (miss_F_GETOWN_EX): Remove all definitions.
55669 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
55670 macro definition.
55671 [!__ASSUME_FCNTL64]: Remove conditional code.
55672 [__ASSUME_FCNTL64]: Make code unconditional.
55673 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
55674 <kernel-features.h>.
55675 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55676 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
55677 (lockf64) [__NR_fcntl64]: Make code unconditional.
55678 (lockf64) [__ASSUME_FCNTL64]: Likewise.
55679
55680 * sysdeps/unix/sysv/linux/kernel-features.h
55681 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
55682 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
55683 Make code unconditional.
55684 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55685 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
55687 [__NR_vfork]: Make code unconditional.
55688 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55689 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
55691 [__NR_vfork]: Make code unconditional.
55692 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55693 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55694
55695 2012-08-01 Roland McGrath <roland@hack.frob.com>
55696
55697 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
55698 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
55699
55700 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55701 Define mkstemp64 as an alias.
55702 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55703 Define mkstemps64 as an alias.
55704 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55705 Define mkostemp64 as an alias.
55706 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55707 Define mkostemps64 as an alias.
55708 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
55709 Conditionalize body on this.
55710 * misc/mkostemp64.c: Likewise.
55711 * misc/mkostemps64.c: Likewise.
55712 * misc/mkstemps64.c: Likewise.
55713 * sysdeps/wordsize-64/mkstemp64.c: File removed.
55714 * sysdeps/wordsize-64/mkostemp64.c: File removed.
55715 * sysdeps/wordsize-64/mkostemp.c: File removed.
55716 * sysdeps/wordsize-64/mkstemp.c: File removed.
55717 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
55718 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
55719 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
55720 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
55721
55722 [BZ #14138]
55723 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
55724 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
55725 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
55726 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
55727
55728 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
55729 compat_symbol macros from <shlib-compat.h> rather than the underlying
55730 default_symbol_version and symbol_version macros, so that DEFAULT
55731 lines in shlib-versions are respected.
55732 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
55733
55734 2012-08-01 Florian Weimer <fweimer@redhat.com>
55735
55736 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
55737 Declare with warn_unused_result.
55738 (setgid, setregid, setegid, setresgid): Likewise.
55739 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
55740 Likewise.
55741 * WUR-REPORT: Remove set*id functions.
55742
55743 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
55744
55745 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
55746
55747 2012-07-31 Roland McGrath <roland@hack.frob.com>
55748
55749 [BZ #10191]
55750 * include/sys/socket.h (__libc_accept, __libc_accept4):
55751 Add attribute_hidden.
55752 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
55753
55754 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
55755 use of PTR_MANGLE.
55756 * inet/getnetgrent_r.c (setup): Likewise.
55757
55758 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
55759
55760 2012-07-31 David S. Miller <davem@davemloft.net>
55761
55762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55763
55764 2012-07-31 Joseph Myers <joseph@codesourcery.com>
55765
55766 [BZ #13629]
55767 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
55768 value between 1.0 and 2.0 and smaller part has absolute value less
55769 than 1.0.
55770 * math/s_clog10.c (__clog10): Likewise.
55771 * math/s_clog10f.c (__clog10f): Likewise.
55772 * math/s_clog10l.c (__clog10l): Likewise.
55773 * math/s_clogf.c (__clogf): Likewise.
55774 * math/s_clogl.c (__clogl): Likewise.
55775 * math/libm-test.inc (clog_test): Add more tests.
55776 (clog10_test): Likewise.
55777 * sysdeps/i386/fpu/libm-test-ulps: Update.
55778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55779
55780 2012-07-31 Florian Weimer <fweimer@redhat.com>
55781
55782 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
55783 Exit with zero in case no suitable GID is found, and write a
55784 message to standard error.
55785
55786 2012-07-30 Roland McGrath <roland@hack.frob.com>
55787
55788 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
55789 rather than to 1.
55790 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
55791 (MAXPATHLEN): Removed.
55792 (NOGROUP, NODEV): New macros.
55793 (setbit, clrbit, isset, isclr): New macros.
55794 (howmany, roundup, powerof2): New macros.
55795 (DEV_BSIZE): New macro.
55796
55797 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55798 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
55799
55800 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
55801 definition on [!__NO_LONG_DOUBLE_MATH].
55802
55803 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
55804 PTR_MANGLE and PTR_DEMANGLE.
55805
55806 * socket/accept4.c (accept4): Rename to __libc_accept4.
55807 Define accept4 as a weak alias.
55808
55809 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
55810 on [_DIRENT_HAVE_D_TYPE].
55811 * io/ftw.c (ftw_dir): Likewise.
55812
55813 * io/xmknod.c (__xmknod): Don't check PATH for being null.
55814
55815 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
55816
55817 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
55818 Use the BSD numbers rather than the arbitrary ones we had.
55819 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
55820 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
55821 (SIGXCPU, SIGXFSZ): New macros.
55822 (_NSIG): Now 32.
55823
55824 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
55825 initializer on [_LIBC_REENTRANT].
55826
55827 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
55828 definitions inside [_POSIX_MAPPED_FILES].
55829
55830 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
55831
55832 * dirent/opendir.c: Include <fcntl.h>.
55833
55834 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
55835 (__libc_getspecific): Likewise.
55836 (__libc_key_create): Likewise.
55837
55838 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
55839 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
55840 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
55841 (tmpfile64): Define as alias.
55842 * sysdeps/wordsize-64/tmpfile.c: File removed.
55843 * sysdeps/wordsize-64/tmpfile64.c: File removed.
55844 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
55845 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
55846
55847 * stdio-common/vfscanf.c: Include <stdbool.h>.
55848 * nss/makedb.c: Likewise.
55849 * stdio-common/_i18n_number.h: Likewise.
55850 * argp/argp-help.c: Likewise.
55851 * posix/wordexp.c: Likewise.
55852 * sysdeps/posix/spawni.c: Likewise.
55853 * nss/nss_files/files-initgroups.c: Likewise.
55854 * stdio-common/reg-modifier.c: Include <stdlib.h>.
55855 * nss/nss_files/files-initgroups.c: Likewise.
55856 * nss/nss_db/db-netgrp.c: Likewise.
55857 * nss/nss_db/db-initgroups.c: Likewise.
55858 * io/fchmodat.c: Include <sys/stat.h>.
55859
55860 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
55861 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
55862
55863 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
55864 [HAVE_MMAP].
55865
55866 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
55867 Add multiple inclusion protection.
55868
55869 2012-07-27 David S. Miller <davem@davemloft.net>
55870
55871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55872
55873 2012-07-27 Gary Benson <gbenson@redhat.com>
55874
55875 [BZ #14298]
55876 * elf/rtld.c: Include <stap-probe.h>.
55877 (dl_main): Added static probes "init_start" and "init_complete".
55878 * elf/dl-load.c: Include <stap-probe.h>.
55879 (lose): Take new parameter "nsid".
55880 Added static probe "map_failed".
55881 (_dl_map_object_from_fd): Pass namespace id to lose.
55882 Added static probe "map_start".
55883 (open_verify): Pass namespace id to lose.
55884 * elf/dl-open.c: Include <stap-probe.h>.
55885 (dl_open_worker) Added static probes "map_complete", "reloc_start"
55886 and "reloc_complete".
55887 * elf/dl-close.c: Include <stap-probe.h>.
55888 (_dl_close_worker): Added static probes "unmap_start" and
55889 "unmap_complete".
55890 * elf/rtld-debugger-interface.txt: New file documenting the above.
55891
55892 2012-07-26 Roland McGrath <roland@hack.frob.com>
55893
55894 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
55895 rather than a string variable.
55896 * sunrpc/rpc_main.c (h_output): Likewise.
55897 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
55898
55899 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
55900
55901 * inet/check_native.c: New file.
55902
55903 2012-07-26 Joseph Myers <joseph@codesourcery.com>
55904
55905 [BZ #13629]
55906 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
55907 if larger part has absolute value 1.0.
55908 * math/s_clog10.c (__clog10): Likewise.
55909 * math/s_clog10f.c (__clog10f): Likewise.
55910 * math/s_clog10l.c (__clog10l): Likewise.
55911 * math/s_clogf.c (__clogf): Likewise.
55912 * math/s_clogl.c (__clogl): Likewise.
55913 * math/libm-test.inc (clog_test): Add more tests.
55914 (clog10_test): Likewise.
55915 * sysdeps/i386/fpu/libm-test-ulps: Update.
55916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55917
55918 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
55919 (pltexit): Likewise.
55920 (La_regs): Likewise.
55921 (La_retval): Likewise.
55922 (int_retval): Likewise.
55923 Update #error for removed macros to refer only to definitions in
55924 tst-audit.h.
55925 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
55926 macro.
55927 (pltexit): Likewise.
55928 (La_regs): Likewise.
55929 (La_retval): Likewise.
55930 (int_retval): Likewise.
55931 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
55932 macro.
55933 (pltexit): Likewise.
55934 (La_regs): Likewise.
55935 (La_retval): Likewise.
55936 (int_retval): Likewise.
55937 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
55938 macro.
55939 (pltexit): Likewise.
55940 (La_regs): Likewise.
55941 (La_retval): Likewise.
55942 (int_retval): Likewise.
55943 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
55944 macro.
55945 (pltexit): Likewise.
55946 (La_regs): Likewise.
55947 (La_retval): Likewise.
55948 (int_retval): Likewise.
55949 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
55950 macro.
55951 (pltexit): Likewise.
55952 (La_regs): Likewise.
55953 (La_retval): Likewise.
55954 (int_retval): Likewise.
55955 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
55956 macro.
55957 (pltexit): Likewise.
55958 (La_regs): Likewise.
55959 (La_retval): Likewise.
55960 (int_retval): Likewise.
55961 * sysdeps/generic/tst-audit.h: Update comment to refer only to
55962 macro definitions in tst-audit.h.
55963 * sysdeps/i386/tst-audit.h: New file.
55964 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
55965 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
55966 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
55967 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
55968 * sysdeps/sh/tst-audit.h: Likewise.
55969 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
55970 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
55971 * sysdeps/x86_64/tst-audit.h: Likewise.
55972
55973 2012-07-26 Andreas Jaeger <aj@suse.de>
55974
55975 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
55976 ptrace.
55977
55978 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
55979 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
55980 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
55981 PTRACE_O_MASK.
55982 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
55983 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
55984 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
55985
55986 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
55987 value.
55988
55989 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
55990 _sigsys.
55991 (si_call_addr, si_syscall, si_arch): Define new macro.
55992 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
55993 _sigsys.
55994 (si_call_addr, si_syscall, si_arch): Define new marcro.
55995 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
55996 _sigsys.
55997 (si_call_addr, si_syscall, si_arch): Define new macro.
55998 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
55999 _sigsys.
56000 (si_call_addr, si_syscall, si_arch): Define new macro.
56001
56002 2012-07-25 Joseph Myers <joseph@codesourcery.com>
56003
56004 [BZ #13717]
56005 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56006 Change to 2.4.21 where previously 2.4.1.
56007 * sysdeps/unix/sysv/linux/configure: Regenerated.
56008 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
56009 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
56010 Linux kernel version.
56011 (__ASSUME_STD_AUXV): Remove.
56012 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
56013 kernel version.
56014 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
56015 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
56016 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
56017 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
56018 (__ASSUME_NETLINK_SUPPORT): Likewise.
56019 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
56020 (__no_netlink_support): Remove conditional definition.
56021 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
56022 Remove.
56023 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56024 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
56025 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
56026 (if_nameindex_ioctl): Remove.
56027 (if_nameindex_netlink): Do not handle __no_netlink_support.
56028 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56029 code.
56030 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
56031 Remove conditional code.
56032 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56033 code.
56034 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
56035 unconditional.
56036 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56037 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
56038 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
56039 Remove.
56040 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
56041 [!__ASSUME_STD_AUXV]: Remove conditional code.
56042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
56043 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
56044 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
56045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
56046 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
56047 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56048 code.
56049 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56051 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
56052 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56053 conditional code.
56054 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
56056 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56057 code.
56058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56059 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56060 conditional code.
56061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
56062 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56063 code unconditional.
56064 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56065 conditional code.
56066 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56067 unconditional.
56068 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56069 conditional code.
56070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56071 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56072 unconditional.
56073 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56074 conditional code.
56075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
56076 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56077 code unconditional.
56078 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56079 conditional code.
56080 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56081 unconditional.
56082 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56083 conditional code.
56084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
56085 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56086 code unconditional.
56087 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56088 conditional code.
56089 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56090 unconditional.
56091 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56092 conditional code.
56093
56094 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
56095
56096 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
56097 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
56098 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
56099 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
56100 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
56101 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
56102 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
56103 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
56104 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
56105 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
56106 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
56107 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
56108 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
56109 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
56110 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
56111 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
56112 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
56113 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
56114 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
56115 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
56116 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
56117 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
56118 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56119
56120 2012-07-25 Florian Weimer <fweimer@redhat.com>
56121
56122 * Versions.def: Add GLIBC_2.17.
56123 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
56124 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
56125 Introduce __libc_secure_getenv.
56126 * stdlib/Versions (2.17): Add secure_getenv
56127 (GLIBC_PRIVATE): Add __libc_secure_getenv.
56128 * stdlib/secure-getenv.c: Rename __secure_getenv to
56129 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
56130 symbol __secure_getenv for GLIBC_2.0.
56131 * stdlib/tst-secure-getenv.c: New.
56132 * stdlib/Makefile (tests): Add testcase.
56133 * manual/startup.texi (Environment Access): Document
56134 secure_getenv.
56135 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
56136 __libc_secure_getenv.
56137 * inet/ruserpass.c (ruserpass): Likewise.
56138 * malloc/mtrace.c (mtrace): Likewise.
56139 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
56140 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
56141 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
56142 * sysdeps/posix/tempname.c: Likewise. Evaluate
56143 HAVE_SECURE_GETENV.
56144 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
56145 __secure_getenv to __libc_secure_getenv.
56146 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
56147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56148 Likewise.
56149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56150 Likewise.
56151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56153 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56158
56159 2012-07-25 Joseph Myers <joseph@codesourcery.com>
56160
56161 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
56162 (struct La_i86_retval): Likewise.
56163 (struct La_x86_64_regs): Likewise.
56164 (struct La_x86_64_retval): Likewise.
56165 (struct La_x32_regs): Likewise.
56166 (struct La_x32_retval): Likewise.
56167 (struct La_ppc32_regs): Likewise.
56168 (struct La_ppc32_retval): Likewise.
56169 (struct La_ppc64_regs): Likewise.
56170 (struct La_ppc64_retval): Likewise.
56171 (struct La_sh_regs): Likewise.
56172 (struct La_sh_retval): Likewise.
56173 (struct La_s390_32_regs): Likewise.
56174 (struct La_s390_32_retval): Likewise.
56175 (struct La_s390_64_regs): Likewise.
56176 (struct La_s390_64_retval): Likewise.
56177 (struct La_sparc32_regs): Likewise.
56178 (struct La_sparc32_retval): Likewise.
56179 (struct La_sparc64_regs): Likewise.
56180 (struct La_sparc64_retval): Likewise.
56181 (struct audit_ifaces): Remove architecture-specific pltenter and
56182 pltexit members.
56183 * sysdeps/i386/ldsodefs.h: New file.
56184 * sysdeps/powerpc/ldsodefs.h: Likewise.
56185 * sysdeps/s390/ldsodefs.h: Likewise.
56186 * sysdeps/sh/ldsodefs.h: Likewise.
56187 * sysdeps/sparc/ldsodefs.h: Likewise.
56188 * sysdeps/x86_64/ldsodefs.h: Likewise.
56189
56190 2012-07-25 Marek Polacek <polacek@redhat.com>
56191
56192 [BZ #6808]
56193 * math/libm-test.inc (yn_test): Add another test.
56194 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
56195 to ERANGE when the result is +-Inf.
56196 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56197 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
56198 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
56199 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
56200
56201 2012-07-24 Joseph Myers <joseph@codesourcery.com>
56202
56203 * conform/data/time.h-data (NULL): Use macro-constant. Require
56204 equal to 0.
56205 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
56206 clock_t.
56207 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
56208
56209 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
56210
56211 * configure.in <sysdeps resolving>: Correct printing
56212 Implies_before.
56213 * configure: Regenerate.
56214
56215 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
56216
56217 * math/w_ilogb.c: Include <limits.h>.
56218 * math/w_ilogbl.c: Likewise.
56219
56220 2012-07-20 Joseph Myers <joseph@codesourcery.com>
56221
56222 * manual/lang.texi (__va_copy): Document primarily as ISO C99
56223 va_copy. Document allowing for unavailable va_copy only as
56224 pre-C99 compatibility.
56225 * manual/string.texi (Copying and Concatenation): Use va_copy
56226 instead of __va_copy in concat example.
56227
56228 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
56229
56230 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
56231 (__sendto): Use create_address_port. Initialize APORT and deallocate
56232 it if not null.
56233
56234 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
56235 with O_NOLINK passed to __file_name_lookup.
56236
56237 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
56238 with O_NOLINK passed to __file_name_lookup.
56239
56240 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
56241 negative N or less than NGIDS.
56242
56243 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
56244 type to string_t. Set ERANGE as errno and return it if NAME is not big
56245 enough. Use memcpy instead of strncpy.
56246
56247 2012-07-20 Joseph Myers <joseph@codesourcery.com>
56248
56249 * elf/Makefile (check-data): Remove.
56250 (localplt.data): New vpath directive.
56251 ($(objpfx)check-localplt.out): Use localplt.data from vpath
56252 instead of $(check-data).
56253 * scripts/data/localplt-generic.data: Move to ...
56254 * sysdeps/generic/localplt.data: ... here.
56255 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
56256 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
56257 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
56258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
56259 ... here.
56260 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
56261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
56262 ... here.
56263 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
56264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
56265 ... here.
56266 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
56267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
56268 ... here.
56269 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
56270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
56271 ... here.
56272 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
56273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
56274 ... here.
56275
56276 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56277
56278 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
56279 PPC32 and PPC64 files.
56280 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
56281 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
56282
56283 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56284
56285 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
56286 __makecontext_ret to ...
56287 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
56288 ... here and call exit if uc_link is NULL. New file.
56289 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
56290 __makecontext_ret.S.
56291 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
56292 __makecontext_ret to ...
56293 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
56294 ... here and call exit if uc_link is NULL. New file.
56295 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
56296 __makecontext_ret.S.
56297
56298 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56299
56300 * elf/elf.h (R_390_IRELATIVE): New definition.
56301 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
56302 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
56303 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
56304 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
56305 (elf_machine_lazy_rel): Likewise.
56306 * sysdeps/s390/dl-irel.h: New file.
56307 * sysdeps/s390/s390-64/memcpy.S: New asm code.
56308 * sysdeps/s390/s390-64/memset.S: New asm code.
56309 * sysdeps/s390/s390-64/memcmp.S: New asm code.
56310 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
56311 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
56312 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
56313 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
56314 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
56315 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
56316 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
56317 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
56318 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
56319 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
56320 * sysdeps/s390/s390-32/memcpy.S: New asm code.
56321 * sysdeps/s390/s390-32/memset.S: New asm code.
56322 * sysdeps/s390/s390-32/memcmp.S: New asm code.
56323
56324 2012-07-17 Marek Polacek <polacek@redhat.com>
56325
56326 [BZ #14349]
56327 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
56328 * sysdeps/s390/s390-64/configure.in: Likewise.
56329 * sysdeps/sparc/configure.in: Likewise.
56330 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
56331 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
56332 * sysdeps/i386/configure.in: Likewise.
56333 * sysdeps/x86_64/configure.in: Likewise.
56334 * sysdeps/sh/configure.in: Likewise.
56335 * sysdeps/s390/s390-32/configure: Regenerated.
56336 * sysdeps/s390/s390-64/configure: Likewise.
56337 * sysdeps/x86_64/configure: Likewise.
56338 * sysdeps/sh/configure: Likewise.
56339 * sysdeps/powerpc/powerpc64/configure: Likewise.
56340 * sysdeps/powerpc/powerpc32/configure: Likewise.
56341 * sysdeps/sparc/configure: Likwise.
56342 * sysdeps/i386/configure: Likewise.
56343
56344 * elf/dl-open.c: Comment fixes.
56345
56346 2012-07-17 Joseph Myers <joseph@codesourcery.com>
56347
56348 * Makefile [CXX] (check-data): Remove.
56349 [CXX] (c++-types.data): New vpath directive.
56350 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
56351 vpath. Do not allow for C++ type data being missing.
56352 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
56353 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
56354 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
56355 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
56356 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
56357 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
56358 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
56359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
56360 ... here.
56361 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
56362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
56363 ... here.
56364 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
56365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
56366 ... here.
56367 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
56368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
56369 ... here.
56370 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
56371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
56372 ... here.
56373 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
56374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
56375 ... here.
56376 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
56377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
56378 ... here.
56379 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
56380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
56381
56382 * elf/tls-macros.h (TLS_LE): Move architecture-specific
56383 definitions to architecture-specific files.
56384 (TLS_IE): Likewise.
56385 (TLS_LD): Likewise.
56386 (TLS_GD): Likewise.
56387 * sysdeps/i386/tls-macros.h: New file.
56388 * sysdeps/powerpc/tls-macros.h: Likewise.
56389 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
56390 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
56391 * sysdeps/sh/tls-macros.h: Likewise.
56392 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
56393 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
56394 * sysdeps/x86_64/tls-macros.h: Likewise.
56395
56396 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
56397
56398 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
56399 zero value for regular exit case.
56400
56401 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
56402 (__start_context): Preserve zero value for regular exit case.
56403
56404 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
56405 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56406
56407 * manual/setjmp.texi (setcontext): Clarify normal process
56408 termination when uc_link is the null pointer.
56409 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
56410 exit call.
56411
56412 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
56413
56414 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
56415 preprocessor. Test for each exception mask separately.
56416
56417 2012-07-16 Andreas Jaeger <aj@suse.de>
56418
56419 * po/ru.po: Update from translation team.
56420
56421 2012-07-15 Joseph Myers <joseph@codesourcery.com>
56422
56423 * conform/data/string.h-data (NULL): Use macro-constant. Require
56424 equal to 0.
56425 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56426 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56427 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
56428 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
56429 [ISO || ISO99 || ISO11] (*_t): Do not allow.
56430
56431 2012-07-13 Andreas Jaeger <aj@suse.de>
56432
56433 * po/fr.po: Update from translation team.
56434
56435 2012-07-12 Marek Polacek <polacek@redhat.com>
56436
56437 [BZ #14173]
56438 * math/libm-test.inc (yn_test): Add test for BZ #14173.
56439 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
56440 loop condition.
56441
56442 2012-07-12 Joseph Myers <joseph@codesourcery.com>
56443
56444 [BZ #13717]
56445 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56446 Change to 2.4.1 where previously 2.4.0.
56447 * sysdeps/unix/sysv/linux/configure: Regenerated.
56448 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
56449 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
56450 version.
56451 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
56452 (__ASSUME_AT_CLKTCK): Remove.
56453 (__ASSUME_AT_PAGESIZE): Likewise.
56454 (__ASSUME_AT_XID): Likewise.
56455 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
56456 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
56457 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
56458 unconditionally.
56459 (HAVE_AUX_PAGESIZE): Likewise.
56460 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
56461 [__ASSUME_AT_CLKTCK]: Make code unconditional.
56462 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
56463
56464 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
56465
56466 [BZ #14307]
56467 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
56468 the temporary buffer used to invoke __gethostbyname2_r,
56469 __gethostbyaddr_r and gethostbyname4_r to make room for struct
56470 host_data / struct gaih_addrtuple.
56471 * resolv/nss_dns/dns-host.c (global scope): Move definition of
56472 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
56473 header file nss/nsswitch.h.
56474 * nss/nsswitch.h (global scope): Add definition of implementation
56475 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
56476 resolv/nss_dns/dns-host.c).
56477
56478 2012-07-11 Andreas Jaeger <aj@suse.de>
56479
56480 * po/fr.po: Update from translation team.
56481
56482 * po/sv.po: Update from translation team
56483 * po/fr.po: Another update from translation team.
56484
56485 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56486
56487 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
56488 for subnormals or multiply small sinh result by itself.
56489 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56491
56492 2012-07-11 David S. Miller <davem@davemloft.net>
56493
56494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56495
56496 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
56497
56498 [BZ #14347]
56499 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
56500 (INTERNAL_MARK): Shift it here.
56501
56502 2012-07-10 Marek Polacek <polacek@redhat.com>
56503
56504 [BZ #14151]
56505 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
56506 libc_cv_asm_global_directive with .globl.
56507 * configure: Regenerated.
56508 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
56509 with .globl.
56510 * sysdeps/i386/configure: Regenerated.
56511 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
56512 with .globl.
56513 * sysdeps/x86_64/configure: Regenerated.
56514 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
56515 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
56516 * elf/tst-unique2mod2.c: Likewise.
56517 * elf/tst-unique2mod1.c: Likewise.
56518 * elf/tst-unique1mod2.c: Likewise.
56519 * elf/tst-unique1mod1.c: Likewise.
56520 * sysdeps/s390/s390-32/sysdep.h: Likewise.
56521 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56522 * sysdeps/s390/s390-64/sysdep.h: Likewise.
56523 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56524 * sysdeps/mach/sysdep.h: Likewise.
56525 * sysdeps/i386/sysdep.h: Likewise.
56526 * sysdeps/i386/i386-mcount.S: Likewise.
56527 * sysdeps/x86_64/_mcount.S: Likewise.
56528 * sysdeps/x86_64/sysdep.h: Likewise.
56529 * sysdeps/sh/_mcount.S: Likewise.
56530 * sysdeps/sh/sysdep.h: Likewise.
56531 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
56532 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
56533 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
56534 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56535 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
56536 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
56537 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
56538 * locale/localeinfo.h: Likewise.
56539 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
56540 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
56541
56542 2012-07-09 Roland McGrath <roland@hack.frob.com>
56543
56544 [BZ #14336]
56545 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
56546 system".
56547 * manual/message.texi (The Uniforum approach): Likewise.
56548 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
56549 (glibc iconv Implementation): Likewise.
56550
56551 2012-07-09 Joseph Myers <joseph@codesourcery.com>
56552
56553 [BZ #14337]
56554 * math/s_clog.c (__clog): Avoid scaling a value down where that
56555 could result in underflow.
56556 * math/s_clog10.c (__clog10): Likewise.
56557 * math/s_clog10f.c (__clog10f): Likewise.
56558 * math/s_clog10l.c (__clog10l): Likewise.
56559 * math/s_clogf.c (__clogf): Likewise.
56560 * math/s_clogl.c (__clogl): Likewise.
56561 * math/libm-test.inc (clog_test): Add more tests.
56562 (clog10_test): Likewise.
56563 * sysdeps/i386/fpu/libm-test-ulps: Update.
56564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56565
56566 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
56567
56568 [BZ #14283]
56569 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
56570 by 7 not 8 to examine high bit of fractional part.
56571
56572 [BZ #14042]
56573 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
56574 for call to __mcount_internal.
56575 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
56576 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
56577 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
56578
56579 2012-07-06 Joseph Myers <joseph@codesourcery.com>
56580
56581 [BZ #14154]
56582 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
56583 approximation for values within 0x1p-13f of an odd multiple of
56584 pi/4.
56585 * math/libm-test.inc (tan_test): Do not allow spurious underflow
56586 exception. Add more tests.
56587 * sysdeps/i386/fpu/libm-test-ulps: Update.
56588
56589 [BZ #6778]
56590 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
56591 inputs and return -1 for them. Do not check for +Inf in case not
56592 reachable for +Inf.
56593 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56594 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
56595 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56596 and return -1 for them. Do not check for +Inf in case not
56597 reachable for +Inf.
56598 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
56599 define.
56600 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56601 and return -1 for them. Do not check for +Inf in case not
56602 reachable for +Inf.
56603 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
56604 spurious underflow.
56605 * sysdeps/i386/fpu/libm-test-ulps: Update.
56606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56607
56608 2012-07-06 Mike Frysinger <vapier@gentoo.org>
56609
56610 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
56611
56612 2012-07-05 Joseph Myers <joseph@codesourcery.com>
56613
56614 [BZ #14157]
56615 [BZ #14331]
56616 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
56617 could result in spurious underflow. Scale down values above
56618 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
56619 * math/s_csqrtf.c (__csqrtf): Likewise.
56620 * math/s_csqrtl.c (__csqrtl): Likewise.
56621 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
56622 spurious underflow.
56623 * sysdeps/i386/fpu/libm-test-ulps: Update.
56624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56625
56626 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
56627
56628 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
56629 xopen-msg.sed.
56630 * catgets/xopen-msg.awk: New file.
56631 * catgets/xopen-msg.sed: Removed.
56632
56633 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
56634 po2text.sed.
56635 * intl/po2test.awk: New file.
56636 * intl/po2test.sed: Removed.
56637
56638 2012-07-04 Joseph Myers <joseph@codesourcery.com>
56639
56640 [BZ #14328]
56641 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
56642 or multiply small sinh result by itself.
56643 * math/s_ctanf.c (__ctanf): Likewise.
56644 * math/s_ctanh.c (__ctanh): Likewise.
56645 * math/s_ctanhf.c (__ctanhf): Likewise.
56646 * math/s_ctanhl.c (__ctanhl): Likewise.
56647 * math/s_ctanl.c (__ctanl): Likewise.
56648 * math/libm-test.inc (ctan_test_tonearest): New function.
56649 (ctan_test_towardzero): Likewise.
56650 (ctan_test_downward): Likewise.
56651 (ctan_test_upward): Likewise.
56652 (ctanh_test_tonearest): Likewise.
56653 (ctanh_test_towardzero): Likewise.
56654 (ctanh_test_downward): Likewise.
56655 (ctanh_test_upward): Likewise.
56656 (main): Call these new functions.
56657 * sysdeps/i386/fpu/libm-test-ulps: Update.
56658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56659
56660 2012-07-03 Mike Frysinger <vapier@gentoo.org>
56661
56662 * .gitignore: Delete /ports entry.
56663
56664 2012-07-03 Andreas Jaeger <aj@suse.de>
56665
56666 * po/bg.po: Update from translation team.
56667 * po/cs.po: Likewise.
56668 * po/de.po: Likewise.
56669 * po/hr.po: Likewise.
56670 * po/nl.pl: Likewise.
56671 * po/pl.po: Likewise.
56672 * po/vi.po: Likewise.
56673
56674 2012-07-03 Joseph Myers <joseph@codesourcery.com>
56675
56676 * Makeconfig [!+link] (+link-before-libc): New variable.
56677 [!+link] (+link-after-libc): Likewise.
56678 [!+link] (+link-tests): Likewise.
56679 [!+link] (+link): Define in terms of $(+link-before-libc) and
56680 $(+link-after-libc).
56681 [!+link-static] (+link-static-before-libc): New variable.
56682 [!+link-static] (+link-static-after-libc): Likewise.
56683 [!+link-static] (+link-static-tests): Likewise.
56684 [!+link-static] (+link-static): Define in terms of
56685 $(+link-static-before-libc) and $(+link-static-after-libc).
56686 [build-shared] (link-libc-before-gnulib): New variable.
56687 [build-shared] (link-libc-tests): Likewise.
56688 [build-shared] (link-libc): Define in terms of
56689 $(link-libc-before-gnulib).
56690 [!build-shared] (link-libc-tests): New variable.
56691 (link-libc-static-tests): New variable.
56692 [!gnulib] (gnulib-arch): New variable.
56693 [!gnulib] (gnulib-tests): Likewise.
56694 [!gnulib] (static-gnulib-arch): Likewise.
56695 [!gnulib] (static-gnulib-tests): Likewise.
56696 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
56697 Define with "=" instead of ":=".
56698 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
56699 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
56700 * Rules (binaries-all-notests): New variable.
56701 (binaries-all-tests): Likewise.
56702 (binaries-static-notests): Likewise.
56703 (binaries-static-tests): Likewise.
56704 (binaries-all): Define using $(binaries-all-notests) and
56705 $(binaries-all-tests).
56706 (binaries-static): Define using $(binaries-static-notests) and
56707 $(binaries-static-tests).
56708 (binaries-shared-tests): New variable.
56709 (binaries-shared-notests): Likewise.
56710 (binaries-shared): Remove variable.
56711 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
56712 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
56713 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
56714 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
56715 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
56716 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
56717 * elf/Makefile (sln-modules): New variable.
56718 (extra-objs): Add $(sln-modules:=.o).
56719 (ldconfig-modules): Add static-stubs.
56720 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
56721 * elf/static-stubs.c: New file.
56722
56723 [BZ #14283]
56724 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
56725 by 7 not 8 to examine high bit of fractional part. Use volatile
56726 variables when splitting into final array of floats if
56727 __FLT_EVAL_METHOD__ != 0.
56728 * math/libm-test.inc (cos_test): Add another test.
56729 (sin_test): Likewise.
56730 * sysdeps/i386/fpu/libm-test-ulps: Update.
56731
56732 [BZ #14273]
56733 * math/libm-test.inc (cosh_test): Add more tests.
56734
56735 * version.h (RELEASE): Set to "development".
56736 (VERSION): Set to "2.16.90".
56737
56738 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
56739
56740 * NEWS: Update copyright. Remove last-updated date.
56741 Mention math library bug fixes and timezone data changes.
56742 * README: Mention GNU/Hurd, x32, and HPPA support status.
56743
56744 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
56745
56746 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
56747
56748 2012-06-27 Andreas Jaeger <aj@suse.de>
56749
56750 * manual/contrib.texi (Contributors): Add Samuel Thibault.
56751
56752 2012-06-25 Andreas Jaeger <aj@suse.de>
56753
56754 * sysdeps/s390/fpu/libm-test-ulps: Update.
56755
56756 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
56757 Thomas Schwinge <thomas@codesourcery.com>
56758
56759 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
56760 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
56761 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
56762 fanotify_mark.
56763
56764 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
56765
56766 * sysdeps/mach/start.c: Remove file.
56767 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
56768 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
56769 * sysdeps/sh/init-first.c: Likewise.
56770
56771 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
56772 registers for frame unwinding purposes, add CFI directives.
56773 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56774 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
56775 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
56776 Likewise.
56777
56778 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
56779 __fortify_fail returning.
56780 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56781
56782 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
56783 sysdeps/sh/____longjmp_chk.S.
56784 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
56785 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
56786 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
56787 (gen-as-const-headers): Append sigaltstack-offsets.sym.
56788
56789 * sysdeps/sh/abort-instr.h: New file.
56790 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
56791 process in case exit returns.
56792
56793 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
56794 initialize the GOT register before use.
56795
56796 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
56797 calculation of ARGC > 4.
56798
56799 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
56800 meaningful names to some local labels.
56801
56802 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56803 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56804
56805 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
56806 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
56807 (__arch_compare_and_exchange_val_16_acq): Likewise.
56808 (__arch_compare_and_exchange_val_32_acq): Likewise.
56809 (atomic_exchange_and_add): Fix gUSA sequence.
56810 (atomic_add): Likewise.
56811 (atomic_add_negative): Likewise.
56812 (atomic_add_zero): Likewise.
56813 (atomic_bit_test_set): Likewise.
56814
56815 2012-06-22 Andreas Schwab <schwab@redhat.com>
56816
56817 [BZ #13579]
56818 * include/link.h (struct link_map): Add l_free_initfini.
56819 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
56820 l_initfini.
56821 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
56822 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
56823 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
56824 set.
56825
56826 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
56827
56828 * configure.in: Use AC_LANG_SOURCE.
56829 * configure: Regenerate.
56830
56831 2012-06-22 Roland McGrath <roland@hack.frob.com>
56832
56833 * configure.in (libc_cv_localstatedir): New substituted variable.
56834 * configure: Regenerated.
56835 * config.make.in (localstatedir): New variable, substituted from
56836 libc_cv_localstatedir.
56837 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
56838 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
56839 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
56840 * sysdeps/gnu/configure: Regenerated.
56841
56842 2012-06-21 Jeff Law <law@redhat.com>
56843
56844 [BZ #14277]
56845 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
56846 free. Simplify list management for _LIBC case.
56847
56848 2012-06-21 Joseph Myers <joseph@codesourcery.com>
56849
56850 [BZ #14273]
56851 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
56852 Clear sign bit of 64-bit integer value before comparing against
56853 overflow value.
56854
56855 * sysdeps/mach/configure: Regenerated.
56856
56857 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
56858
56859 [BZ #14278]
56860 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
56861
56862 2012-06-21 Jeff Law <law@redhat.com>
56863
56864 [BZ #13882]
56865 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
56866 uint16_t for elements in the "seen" array to avoid char overflows.
56867 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56868 * elf/dl-open.c (dl_open_worker): Likewise.
56869
56870 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
56871
56872 * scripts/list-sources.sh: Scan PORTS for translations.
56873 * po/libc.pot: Regenerated.
56874
56875 2012-06-21 Andreas Jaeger <aj@suse.de>
56876
56877 [BZ #12194]
56878 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
56879 warning.
56880 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
56881 * bits/byteswap-16.h (__bswap_16): Likewise.
56882 * bits/byteswap.h (__bswap_constant_16): Likewise.
56883
56884 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
56885
56886 [BZ #14117]
56887 * sysdeps/i386/fpu_control.h: Removed.
56888 * sysdeps/x86_64/fpu_control.h: Moved to ...
56889 * sysdeps/x86/fpu_control.h: Here.
56890
56891 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
56892 (_FPU_SETCW): Likewise.
56893
56894 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
56895
56896 [BZ #14117]
56897 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
56898 * sysdeps/x86/fpu/bits/mathinline.h: This.
56899 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
56900
56901 [BZ #14050]
56902 [BZ #14117]
56903 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
56904 functions if __x86_64__ is defined.
56905
56906 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
56907
56908 * string/endian.h: Add !__ASSEMBLER__ condition for including
56909 conversion interfaces.
56910
56911 2012-06-15 Joseph Myers <joseph@codesourcery.com>
56912
56913 [BZ #14241]
56914 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
56915 of ABS(x) in calculating zero to negative powers other than odd
56916 integers.
56917 * math/libm-test.inc (pow_test): Add more tests.
56918
56919 2012-06-15 Andreas Jaeger <aj@suse.de>
56920
56921 * manual/contrib.texi (Contributors): Update entry of Liubov
56922 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
56923 Machado Filho.
56924
56925 2012-06-15 Cyril Hrubis <metan@ucw.cz>
56926
56927 * string/string.h: Add __wur to GNU version of strerror_r.
56928
56929 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
56930
56931 [BZ #14229]
56932 * string/Makefile (tests): Add tst-strtok_r.
56933 * string/tst-strtok_r.c: New file.
56934 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
56935 RAX_LP/RDX_LP on SAVE_PTR.
56936
56937 2012-06-14 Roland McGrath <roland@hack.frob.com>
56938
56939 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
56940
56941 2012-06-14 Joseph Myers <joseph@codesourcery.com>
56942
56943 * libm_test.inc (csqrt_test): Allow more spurious underflow
56944 exceptions.
56945 (j0_test): Likewise.
56946 (j1_test): Likewise.
56947 (y0_test): Likewise.
56948 (y1_test): Likewise.
56949
56950 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
56951
56952 * po/Makefile (libc.pot): Use UTF-8 charset.
56953
56954 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
56955
56956 [BZ #14210]
56957 Suppress sign-conversion warning from FD_SET.
56958 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
56959 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
56960 not unsigned long int.
56961 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
56962
56963 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
56964
56965 [BZ #14050]
56966 [BZ #14117]
56967 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
56968 __extern_always_inline instead of __extern_inline.
56969 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
56970 (__signbit): Likewise.
56971 (__signbitl): Support C++ namespace.
56972 (lrintf): New inline function.
56973 (lrint): Likewise.
56974 (llrintf): Likewise.
56975 (llrint): Likewise.
56976 (fmaxf): Likewise.
56977 (fmax): Likewise.
56978 (fminf): Likewise.
56979 (fmin): Likewise.
56980 (rint): Likewise.
56981 (rintf): Likewise.
56982 (ceil): Likewise.
56983 (ceilf): Likewise.
56984 (floor): Likewise.
56985 (floorf): Likewise.
56986 (nearbyint): Likewise.
56987 (nearbyintf): Likewise.
56988
56989 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
56990
56991 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
56992 non-default versions.
56993
56994 2012-06-11 Roland McGrath <roland@hack.frob.com>
56995
56996 [BZ #14218]
56997 * manual/argp.texi (Argp): Reword argp_parse description slightly.
56998
56999 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
57000
57001 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
57002 (FE_UPWARD, FE_DOWNWARD): Don't define.
57003 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
57004 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57005
57006 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
57007 reading it.
57008 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57009 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57010
57011 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57012
57013 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
57014 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
57015 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
57016 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
57017
57018 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
57019
57020 [BZ #14117]
57021 * sysdeps/i386/fpu/bits/fenv.h: Removed.
57022 * sysdeps/i386/fpu/Implies: New file.
57023 * sysdeps/x86_64/fpu/Implies: Likewise.
57024 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
57025 * sysdeps/x86/fpu/bits/fenv.h: This.
57026
57027 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
57028 __SSE_MATH__.
57029
57030 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
57031
57032 [BZ #14134]
57033 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
57034 character 0xffff that matches the last element of the
57035 conversion table.
57036
57037 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57038
57039 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
57040 fmodl commit.
57041
57042 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57043
57044 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
57045 values higher than 25.6283.
57046
57047 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57048
57049 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
57050 subnormal exponent extraction and add some __builtin_expect.
57051 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
57052 Fix for subnormal mantissa calculation.
57053
57054 2012-06-04 Mike Frysinger <vapier@gentoo.org>
57055
57056 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
57057 cpu2 is -1 and errno is not ENOSYS.
57058
57059 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
57060
57061 [BZ #14117]
57062 * sysdeps/i386/i486/bits/string.h: Renamed to ...
57063 * sysdeps/x86/bits/string.h: This.
57064 * sysdeps/x86_64/bits/string.h: Removed.
57065
57066 * sysdeps/i386/i486/bits/string.h: Define inline functions only
57067 if not compiling for x86-64, but compiling for >= i486.
57068
57069 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
57070 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
57071
57072 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
57073 New macro from Linux kernel 3.4.0.
57074 (FP_XSTATE_MAGIC2): Likewise.
57075 (FP_XSTATE_MAGIC2_SIZE): Likewise.
57076 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
57077 (struct _fpx_sw_bytes): New struct.
57078 (struct _xsave_hdr): Likewise.
57079 (struct _ymmh_state): Likewise.
57080 (struct _xstate): Likewise.
57081
57082 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
57083 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
57084 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
57085 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
57086 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
57087 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
57088
57089 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
57090 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
57091 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
57092 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
57093 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
57094 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
57095
57096 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57097
57098 [BZ #13743]
57099 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
57100 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
57101 (sysdep_headers): Include sys/platform/ppc.h.
57102 * sysdeps/powerpc/test-gettimebase.c: Test for
57103 __ppc_get_timebase() to catch future ISA opcode/insn changes.
57104 * manual/Makefile (appendices): Include platform.texi.
57105 * manual/contrib.texi (Contributors): Update @node pointers.
57106 * manual/maint.texi (Maintenance): Likewise.
57107 (Platform): New node.
57108 * manual/platform.texi: New file. Document the new features.
57109
57110 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
57111 Jakub Jelinek <jakub@redhat.com>
57112
57113 [BZ #14188]
57114 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
57115 where __builtin_expect is unavailable.
57116
57117 2012-06-03 David S. Miller <davem@davemloft.net>
57118
57119 * stdlib/longlong.h: Updated from GCC.
57120
57121 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
57122
57123 [BZ #14042]
57124 * sysdeps/powerpc/powerpc32/mcount.c: New file.
57125 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
57126 __mcount_internal.
57127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57128 (GLIBC_2.16): Likewise.
57129
57130 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
57131
57132 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
57133
57134 2012-06-01 Joseph Myers <joseph@codesourcery.com>
57135
57136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
57137 (default-abi): New variable.
57138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
57139 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
57140 variable.
57141 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
57142 Likewise.
57143 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
57144 Likewise.
57145 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
57146 Likewise.
57147
57148 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
57149 definition. Document in comment.
57150
57151 2012-06-01 David S. Miller <davem@davemloft.net>
57152
57153 * stdlib/longlong.h: Updated from GCC.
57154
57155 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
57156
57157 [BZ #14117]
57158 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
57159 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
57160 sys/debugreg.h sys/io.h here.
57161 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
57162 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
57163 sys/io.h.
57164 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
57165 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
57166 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
57167 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
57168 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
57169 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
57170
57171 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
57172 Define only if __x86_64__ is defined.
57173
57174 2012-06-01 Joseph Myers <joseph@codesourcery.com>
57175
57176 [BZ #14048]
57177 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
57178 Use int64_t for variable i.
57179 * math/libm-test.inc (fmod_test): Add more tests.
57180
57181 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
57182 z computation is not scheduled after fetestexcept.
57183 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
57184 Use math_force_eval instead of asm to ensure calculation scheduled
57185 before exception test.
57186 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
57187 Ensure a1 + u.d computation is not scheduled after fetestexcept.
57188
57189 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
57190
57191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
57192 computation is not scheduled after fetestexcept.
57193
57194 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
57195
57196 [BZ #14117]
57197 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
57198 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
57199
57200 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57201
57202 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
57203 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57204
57205 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
57206
57207 [BZ #14117]
57208 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
57209 <bits/wordsize.h>.
57210 (__WCHAR_MIN): Support __WORDSIZE == 64.
57211 (__WCHAR_MAX): Likewise.
57212
57213 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
57214 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
57215
57216 [BZ #14183]
57217 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
57218 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
57219
57220 [BZ #14117]
57221 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
57222 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
57223
57224 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
57225 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
57226
57227 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
57228 Defined to 1 if __x86_64__ isn't defined.
57229 (_STAT_VER_LINUX_OLD): New.
57230 (st_atime): Remove duplicate.
57231 (st_mtime): Likewise.
57232 (st_ctime): Likewise.
57233
57234 2012-05-31 David S. Miller <davem@davemloft.net>
57235
57236 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
57237 entries.
57238
57239 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
57240
57241 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
57242 gen-libm-test.pl.
57243
57244 [BZ #14132]
57245 * elf/dl-reloc.c: Include <_itoa.h>.
57246 (_dl_reloc_bad_type): Remove use of INTUSE.
57247 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
57248 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
57249 * stdio-common/psiginfo.c (psiginfo): Likewise.
57250 * stdio-common/psignal.c (psignal): Likewise.
57251 * string/strsignal.c (strsignal): Likewise.
57252 * include/signal.h (_sys_siglist): Declare hidden proto.
57253 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
57254 INTVARDEF with libc_hidden_data_def.
57255 * stdio-common/itoa-udigits.c: Likewise.
57256 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
57257 (_itoa_lower_digits_internal): Remove declaration.
57258 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
57259 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
57260 (_sys_sigabbrev_internal): Remove aliases.
57261 (_sys_siglist): Define hidden alias.
57262
57263 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
57264
57265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57266 bits/sysctl.h.
57267
57268 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
57269
57270 [BZ #14117]
57271 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
57272 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
57273
57274 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
57275 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
57276 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
57277 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
57278 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
57279 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
57280
57281 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
57282 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
57283 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
57284
57285 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
57286 with __addr.
57287 (insw): Likewise.
57288 (insl): Likewise.
57289 (outsb): Likewise.
57290 (outsw): Likewise.
57291 (outsl): Likewise.
57292
57293 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
57294 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
57295 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
57296
57297 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
57298 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
57299 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
57300 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
57301 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
57302 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
57303
57304 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
57305 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
57306
57307 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
57308 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
57309
57310 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
57311 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
57312 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
57313
57314 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
57315 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
57316 to ...
57317 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
57318
57319 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
57320 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
57321 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
57322
57323 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
57324 for x86-64.
57325 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
57326
57327 2012-05-31 Joseph Myers <joseph@codesourcery.com>
57328
57329 * math/math.h (M_El): Use two more decimal places.
57330 (M_LOG2El): Likewise.
57331 (M_LOG10El): Likewise.
57332 (M_LN2l): Likewise.
57333 (M_LN10l): Likewise.
57334 (M_PIl): Likewise.
57335 (M_PI_2l): Likewise.
57336 (M_PI_4l): Likewise.
57337 (M_1_PIl): Likewise.
57338 (M_2_PIl): Likewise.
57339 (M_2_SQRTPIl): Likewise.
57340 (M_SQRT2l): Likewise.
57341 (M_SQRT1_2l): Likewise.
57342
57343 2012-05-31 David S. Miller <davem@davemloft.net>
57344
57345 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
57346 values between float registers.
57347 * sysdeps/sparc/sparc64/memset.S: Likewise.
57348 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57349
57350 2012-05-31 Mike Frysinger <vapier@gentoo.org>
57351
57352 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
57353 -D_FORTIFY_SOURCE=1.
57354 (CPPFLAGS-tst-longjmp_chk.c): Define.
57355 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
57356 (CPPFLAGS-tst-longjmp_chk2.c): Define.
57357 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
57358 CFLAGS-tst-wchar-h.c.
57359
57360 2012-05-31 Marek Polacek <polacek@redhat.com>
57361
57362 [BZ #14132]
57363 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
57364 __endmntent_internal): Remove declaration.
57365 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
57366 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
57367 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
57368
57369 2012-05-30 David S. Miller <davem@davemloft.net>
57370
57371 * sysdeps/sparc/sparc32/soft-fp/q_util.c
57372 (___Q_simulate_exceptions): Use real FP ops rather than writing
57373 into the %fsr.
57374 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
57375 Likewise.
57376
57377 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
57378
57379 [BZ #14117]
57380 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
57381 * sysdeps/x86/bits/xtitypes.h: This.
57382
57383 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
57384 * sysdeps/x86/bits/wordsize.h: This.
57385
57386 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
57387 * sysdeps/x86/bits/huge_vall.h: This.
57388
57389 * sysdeps/i386/bits/select.h: Removed.
57390 * sysdeps/x86_64/bits/select.h: Renamed to ...
57391 * sysdeps/x86/bits/select.h: This.
57392
57393 * sysdeps/i386/bits/setjmp.h: Removed.
57394 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
57395 * sysdeps/x86/bits/setjmp.h: This.
57396
57397 * sysdeps/i386/bits/mathdef.h: Removed.
57398 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
57399 * sysdeps/x86/bits/mathdef.h: This.
57400
57401 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
57402
57403 [BZ #14132]
57404 * include/sys/socket.h (__connect_internal)
57405 (__libc_sa_len_internal): Remove declaration.
57406 (__connect, __libc_sa_len): Declare hidden_proto.
57407 (SA_LEN): Remove use of INTUSE.
57408 * socket/connect.c: Add libc_hidden_def.
57409 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
57410 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
57411 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
57412 alias.
57413 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
57414 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
57415 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
57416 of adding _internal alias.
57417
57418 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
57419
57420 [BZ #14117]
57421 * sysdeps/i386/bits/link.h: Removed.
57422 * sysdeps/i386/bits/linkmap.h: Likewise.
57423 * sysdeps/x86_64/bits/link.h: Renamed to ...
57424 * sysdeps/x86/bits/link.h: This.
57425 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
57426 * sysdeps/x86/bits/linkmap.h: This.
57427
57428 * sysdeps/i386/bits/endian.h: Removed.
57429 * sysdeps/x86_64/bits/endian.h: Renamed to ...
57430 * sysdeps/x86/bits/endian.h: This.
57431
57432 * sysdeps/i386/bits/byteswap.h: Removed.
57433 * sysdeps/i386/bits/byteswap-16.h: Likewise.
57434 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
57435 * sysdeps/x86/bits/byteswap.h: This.
57436 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
57437 * sysdeps/x86/bits/byteswap-16.h: This.
57438 * sysdeps/i386/Implies: Add x86.
57439 * sysdeps/x86_64/Implies: Likewise.
57440
57441 2012-05-30 David S. Miller <davem@davemloft.net>
57442
57443 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
57444 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
57445 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57446 (FP_TRAPPING_EXCEPTIONS): Define.
57447 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57448 (FP_TRAPPING_EXCEPTIONS): Define.
57449 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
57450 subnormals only when inexact has been signalled or underflow
57451 exceptions are enabled.
57452 (_FP_PACK_CANONICAL): Likewise.
57453
57454 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
57455
57456 [BZ #14183]
57457 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
57458 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
57459
57460 2012-05-30 Richard Henderson <rth@twiddle.net>
57461
57462 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
57463 with #ifndef NOT_IN_libc.
57464
57465 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
57466 marked to avoid plt entry.
57467
57468 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
57469
57470 [BZ #14112]
57471 * Makeconfig (default-abi): New macro.
57472 (abi-includes): Likewise.
57473 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
57474 $(abi-$(default-abi)-lib-soname) for soname if defined.
57475 ($(common-objpfx)gnu/lib-names.stmp): Generate from
57476 abi-variants.
57477 * Makefile (installed-stubs): Likewise.
57478 * include/stubs-biarch.h: Removed.
57479 * scripts/lib-names.awk: Only handle one library at a time.
57480 * scripts/soversions.awk: Remove WORDSIZE support.
57481 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
57482 entries.
57483 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
57484 Removed.
57485 (syscall-list-default-condition): Likewise.
57486 (syscall-list-default-condition): Likewise.
57487 (syscall-list-includes): Likewise.
57488 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
57489 syscall-list-* with abi-*. Handle undefined abi-variants.
57490 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
57491 * sysdeps/unix/sysv/linux/i386/Implies: New file.
57492 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
57493 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
57494 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
57495 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
57496 Removed.
57497 (syscall-list-32-options): Likewise.
57498 (syscall-list-32-condition): Likewise.
57499 (syscall-list-64-options): Likewise.
57500 (syscall-list-64-condition): Likewise.
57501 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
57502 macro.
57503 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
57504 Renamed to ...
57505 (abi-*): This.
57506 (abi-64-ld-soname): New macro.
57507 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
57508 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
57509 Renamed to ...
57510 (abi-*): This.
57511 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
57512 * sysdeps/x86_64/x32/shlib-versions: Likewise.
57513
57514 2012-05-30 Joseph Myers <joseph@codesourcery.com>
57515
57516 * sysdeps/unix/sysv/linux/kernel-features.h
57517 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
57518 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
57519 include <kernel-features.h>.
57520 [!__NR_ftruncate64]: Remove conditional code.
57521 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57522 [__NR_ftruncate64]: Make code unconditional.
57523 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57524 * sysdeps/unix/sysv/linux/truncate64.c: Do not
57525 include <kernel-features.h>.
57526 [!__NR_ftruncate64]: Remove conditional code.
57527 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57528 [__NR_ftruncate64]: Make code unconditional.
57529 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
57531 include <kernel-features.h>.
57532 [!__NR_ftruncate64]: Remove conditional code.
57533 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57534 [__NR_ftruncate64]: Make code unconditional.
57535 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57537 include <kernel-features.h>.
57538 [!__NR_ftruncate64]: Remove conditional code.
57539 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57540 [__NR_ftruncate64]: Make code unconditional.
57541 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57542
57543 * configure.in (libc_cv_fpie): Weaken to a compile test using
57544 LIBC_TRY_CC_OPTION.
57545 * configure: Regenerated.
57546
57547 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57548
57549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
57550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
57551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
57552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57553 Refreshed.
57554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
57555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
57556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
57557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
57558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
57559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57560 Refreshed.
57561
57562 2012-05-27 David S. Miller <davem@davemloft.net>
57563
57564 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
57565 (___Q_zero): New.
57566 (__Q_simulate_exceptions): Return void. Change to simulate
57567 exceptions by writing into the %fsr.
57568 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
57569 (__Qp_handle_exceptions): Likewise.
57570 (numbers): Delete.
57571 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
57572 __Qp_handle_exceptions.
57573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
57574 __Qp_handle_exceptions.
57575 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57576 as unused and give dummy FP_RND_NEAREST initializer.
57577 (FP_INHIBIT_RESULTS): Define.
57578 (___Q_simulate_exceptions): Update declaration.
57579 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
57580 formatting.
57581 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57582 as unused and give dummy FP_RND_NEAREST initializer.
57583 (__Qp_handle_exceptions): Update declaration.
57584 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
57585 formatting.
57586
57587 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
57588
57589 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
57590 the temporary FPU control word.
57591 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
57592 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
57593 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
57594 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57595 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57596 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
57597 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
57598 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57599 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
57600 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
57601 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57602
57603 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57604
57605 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
57606 fields.
57607
57608 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
57609
57610 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
57611 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
57612 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
57613 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
57614 Likewise.
57615 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
57616 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
57617 Likewise.
57618
57619 2012-05-27 Ulrich Drepper <drepper@gmail.com>
57620
57621 * po/h.po: Update from translation team.
57622
57623 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
57624
57625 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
57626
57627 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
57628 handling of denormals.
57629 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57630 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57631 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57632 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57633 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57634 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
57635 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
57636 Likewise.
57637
57638 2012-05-26 Marek Polacek <polacek@redhat.com>
57639
57640 [BZ #14152]
57641 * math/libm-test.inc (fma_test): Don't always expect underflow
57642 exception.
57643
57644 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
57645
57646 [BZ #12416]
57647 * elf/tst-execstack.c: Include stackinfo.h.
57648 (do_test): Adjust test case to ensure that pthread_getattr_np
57649 behaviour remains the same after marking stack executable.
57650
57651 2012-05-25 Joseph Myers <joseph@codesourcery.com>
57652
57653 * sysdeps/unix/sysv/linux/kernel-features.h
57654 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
57655 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
57656 kernel-features.h.
57657 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57658 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57659 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
57660 kernel-features.h.
57661 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57662 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57663
57664 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
57665
57666 * configure.in: Define the default includes to being none.
57667 * configure: Regenerated.
57668
57669 2012-05-25 Roland McGrath <roland@hack.frob.com>
57670
57671 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
57672 * sysdeps/x86_64/setjmp.S: Likewise.
57673 * sysdeps/i386/bsd-setjmp.S: Likewise.
57674 * sysdeps/i386/bsd-_setjmp.S: Likewise.
57675 * sysdeps/i386/setjmp.S: Likewise.
57676 * sysdeps/i386/__longjmp.S: Likewise.
57677 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57678 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
57679
57680 * include/stap-probe.h: New file.
57681 * configure.in: Handle --enable-systemtap.
57682 * configure: Regenerated.
57683 * config.h.in (USE_STAP_PROBE): New #undef.
57684 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
57685 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
57686 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
57687
57688 2012-05-25 Joseph Myers <joseph@codesourcery.com>
57689
57690 [BZ #13717]
57691 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57692 to 2.4.0 where earlier.
57693 * sysdeps/unix/sysv/linux/configure: Regenerated.
57694 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57695 <kernel-features.h>.
57696 [__ASSUME_32BITUIDS]: Make code unconditional.
57697 [!__ASSUME_32BITUIDS]: Remove conditional code.
57698 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
57699 <kernel-features.h>.
57700 [__ASSUME_32BITUIDS]: Make code unconditional.
57701 [!__ASSUME_32BITUIDS]: Remove conditional code.
57702 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
57703 [__ASSUME_32BITUIDS]: Make code unconditional.
57704 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
57705 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
57706 <kernel-features.h>.
57707 [__ASSUME_32BITUIDS]: Make code unconditional.
57708 [!__ASSUME_32BITUIDS]: Remove conditional code.
57709 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
57710 <kernel-features.h>.
57711 [__ASSUME_32BITUIDS]: Make code unconditional.
57712 [!__ASSUME_32BITUIDS]: Remove conditional code.
57713 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
57714 <kernel-features.h>.
57715 [__ASSUME_32BITUIDS]: Make code unconditional.
57716 [!__ASSUME_32BITUIDS]: Remove conditional code.
57717 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
57718 <kernel-features.h>.
57719 [__ASSUME_32BITUIDS]: Make code unconditional.
57720 [!__ASSUME_32BITUIDS]: Remove conditional code.
57721 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57722 <kernel-features.h>.
57723 [__ASSUME_32BITUIDS]: Make code unconditional.
57724 [!__ASSUME_32BITUIDS]: Remove conditional code.
57725 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57726 <kernel-features.h>.
57727 [__ASSUME_32BITUIDS]: Make code unconditional.
57728 [!__ASSUME_32BITUIDS]: Remove conditional code.
57729 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
57730 <kernel-features.h>.
57731 [__ASSUME_32BITUIDS]: Make code unconditional.
57732 [!__ASSUME_32BITUIDS]: Remove conditional code.
57733 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57734 <kernel-features.h>.
57735 [__ASSUME_32BITUIDS]: Make code unconditional.
57736 [!__ASSUME_32BITUIDS]: Remove conditional code.
57737 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57738 <kernel-features.h>.
57739 [__ASSUME_32BITUIDS]: Make code unconditional.
57740 [!__ASSUME_32BITUIDS]: Remove conditional code.
57741 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
57742 <kernel-features.h>.
57743 [__ASSUME_32BITUIDS]: Make code unconditional.
57744 [!__ASSUME_32BITUIDS]: Remove conditional code.
57745 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
57746 <kernel-features.h>.
57747 [__NR_setresgid] (__setresgid): Do not declare.
57748 [__ASSUME_32BITUIDS]: Make code unconditional.
57749 [!__ASSUME_32BITUIDS]: Remove conditional code.
57750 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
57751 <kernel-features.h>.
57752 [__NR_setresuid] (__setresuid): Do not declare.
57753 [__ASSUME_32BITUIDS]: Make code unconditional.
57754 [!__ASSUME_32BITUIDS]: Remove conditional code.
57755 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
57756 <kernel-features.h>.
57757 [__ASSUME_32BITUIDS]: Make code unconditional.
57758 [!__ASSUME_32BITUIDS]: Remove conditional code.
57759 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
57760 <kernel-features.h>.
57761 [__ASSUME_32BITUIDS]: Make code unconditional.
57762 [!__ASSUME_32BITUIDS]: Remove conditional code.
57763 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
57764 <kernel-features.h>.
57765 [__ASSUME_32BITUIDS]: Make code unconditional.
57766 [!__ASSUME_32BITUIDS]: Remove conditional code.
57767 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
57768 <kernel-features.h>.
57769 [__ASSUME_32BITUIDS]: Make code unconditional.
57770 [!__ASSUME_32BITUIDS]: Remove conditional code.
57771 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
57772 <kernel-features.h>.
57773 [__ASSUME_32BITUIDS]: Make code unconditional.
57774 [!__ASSUME_32BITUIDS]: Remove conditional code.
57775 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
57776 <kernel-features.h>.
57777 [__ASSUME_32BITUIDS]: Make code unconditional.
57778 [!__ASSUME_32BITUIDS]: Remove conditional code.
57779 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
57780 <kernel-features.h>.
57781 [__ASSUME_32BITUIDS]: Make code unconditional.
57782 [!__ASSUME_32BITUIDS]: Remove conditional code.
57783 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
57784 <kernel-features.h>.
57785 [__ASSUME_32BITUIDS]: Make code unconditional.
57786 [!__ASSUME_32BITUIDS]: Remove conditional code.
57787 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
57788 <kernel-features.h>.
57789 [__ASSUME_32BITUIDS]: Make code unconditional.
57790 [!__ASSUME_32BITUIDS]: Remove conditional code.
57791 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57792 <kernel-features.h>.
57793 [__ASSUME_32BITUIDS]: Make code unconditional.
57794 [!__ASSUME_32BITUIDS]: Remove conditional code.
57795 * sysdeps/unix/sysv/linux/kernel-features.h
57796 (__ASSUME_SETRESUID_SYSCALL): Remove.
57797 (__ASSUME_SETRESGID_SYSCALL): Likewise.
57798 (__ASSUME_32BITUIDS): Likewise.
57799 (__ASSUME_LDT_WORKS): Likewise.
57800 (__ASSUME_O_DIRECTORY): Likewise.
57801 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
57802 architecture but not kernel version.
57803 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
57804 (__ASSUME_MMAP2_SYSCALL): Likewise.
57805 (__ASSUME_STAT64_SYSCALL): Likewise.
57806 (__ASSUME_IPC64): Likewise.
57807 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
57808 <kernel-features.h>.
57809 [__ASSUME_32BITUIDS]: Make code unconditional.
57810 [!__ASSUME_32BITUIDS]: Remove conditional code.
57811 * sysdeps/unix/sysv/linux/opendir.c: Do not include
57812 <kernel-features.h>.
57813 [__ASSUME_O_DIRECTORY]: Make code unconditional.
57814 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
57815 132096]: Remove conditional code.
57816 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
57817 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57818 <kernel-features.h>.
57819 [__ASSUME_32BITUIDS]: Make code unconditional.
57820 [!__ASSUME_32BITUIDS]: Remove conditional code.
57821 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57822 <kernel-features.h>.
57823 [__ASSUME_32BITUIDS]: Make code unconditional.
57824 [!__ASSUME_32BITUIDS]: Remove conditional code.
57825 * sysdeps/unix/sysv/linux/setegid.c: Do not include
57826 <kernel-features.h>.
57827 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
57828 unconditional.
57829 (__setresgid): Do not declare.
57830 [__ASSUME_32BITUIDS]: Make code unconditional.
57831 [!__ASSUME_32BITUIDS]: Remove conditional code.
57832 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
57833 <kernel-features.h>.
57834 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
57835 unconditional.
57836 (__setresuid): Do not declare.
57837 [__ASSUME_32BITUIDS]: Make code unconditional.
57838 [!__ASSUME_32BITUIDS]: Remove conditional code.
57839 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57840 <kernel-features.h>.
57841 [__ASSUME_32BITUIDS]: Make code unconditional.
57842 [!__ASSUME_32BITUIDS]: Remove conditional code.
57843 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
57844 <kernel-features.h>.
57845 [__ASSUME_32BITUIDS]: Make code unconditional.
57846 [!__ASSUME_32BITUIDS]: Remove conditional code.
57847
57848 2012-05-25 Richard Henderson <rth@twiddle.net>
57849
57850 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
57851 dl_hwcap to ifunc resolver.
57852 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
57853 elf_ifunc_invoke.
57854 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
57855 dl_hwcap to ifunc resolver.
57856 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
57857
57858 2012-05-24 Joseph Myers <joseph@codesourcery.com>
57859
57860 [BZ #14153]
57861 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
57862 for |x| <= 2**-26, not 2**-57.
57863 * math/libm-test.inc (acos_test): Do not allow spurious underflow
57864 exception.
57865
57866 2012-05-24 Jeff Law <law@redhat.com>
57867
57868 * stdio-common/Makefile (tests): Add bug25.
57869 * stdio-common/bug25.c: New test.
57870
57871 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
57872
57873 [BZ #13576]
57874 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
57875 multiple of MALLOC_ALIGNMENT in size.
57876 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
57877
57878 2012-05-24 Joseph Myers <joseph@codesourcery.com>
57879
57880 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
57881 Require >= 256.
57882 (FILENAME_MAX): Use macro-int-constant.
57883 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
57884 (_IOFBF): Use macro-int-constant.
57885 (_IOLBF): Likewise.
57886 (_IONBF): Likewise.
57887 (SEEK_CUR): Likewise.
57888 (SEEK_END): Likewise.
57889 (SEEK_SET): Likewise.
57890 (TMP_MAX): Likewise.
57891 (EOF): Use macro-int-constant. Require < 0.
57892 (NULL): Use macro-constant. Require == 0.
57893 (stdin): Require type to be FILE *.
57894 (stdout): Likewise.
57895 (stderr): Likewise.
57896 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
57897 macro-int-constant.
57898 (EXIT_SUCCESS): Likewise.
57899 (NULL): Use macro-constant. Require == 0.
57900 (RAND_MAX): Use macro-int-constant.
57901 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
57902 [C99-based standards] (strtof): Require function.
57903 [C99-based standards] (strtold): Likewise.
57904 [C99-based standards] (strtoll): Likewise.
57905 [C99-based standards] (strtoull): Likewise.
57906 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57907 [ISO || ISO99 || ISO11] (limits.h): Likewise.
57908 [ISO || ISO99 || ISO11] (math.h): Likewise.
57909 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
57910 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57911 [ISO || ISO99 || ISO11] (*_t): Do not allow.
57912
57913 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
57914
57915 [BZ #14132]
57916 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
57917 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
57918 * intl/dgettext.c (DCGETTEXT): Likewise.
57919 * intl/gettext.c (DCGETTEXT): Likewise.
57920 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
57921 * posix/regex_internal.h (gettext): Likewise.
57922 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
57923 Remove declaration.
57924 * include/argz.h (__argz_count_internal)
57925 (__argz_stringify_internal): Remove declaration.
57926 (__argz_count, __argz_stringify): Declare hidden proto.
57927 * intl/dcgettext.c: Remove use of INTDEF.
57928 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
57929 * string/argz-stringify.c: Likewise.
57930 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57931 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57932 Declare hidden proto.
57933 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57934 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57935 Declare hidden proto.
57936 * include/stdio.h (__asprintf_internal): Don't declare.
57937 (__asprintf): Don't define as macro. Declare hidden proto.
57938 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
57939 (__fsetlocking): Declare hidden proto.
57940 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
57941 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
57942 hidden proto.
57943 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
57944 (_IO_setlinebuf): Remove use of INTUSE.
57945 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
57946 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
57947 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
57948 Remove declaration.
57949 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
57950 (_IO_do_flush): Remove use of INTUSE.
57951 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
57952 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
57953 (_IO_adjust_column, _IO_least_wmarker)
57954 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
57955 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
57956 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
57957 (_IO_default_doallocate, _IO_wdefault_doallocate)
57958 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
57959 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
57960 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
57961 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
57962 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
57963 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
57964 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
57965 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
57966 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
57967 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
57968 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
57969 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
57970 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
57971 proto.
57972 (_IO_flush_all_internal, _IO_adjust_column_internal)
57973 (_IO_default_uflow_internal, _IO_default_finish_internal)
57974 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
57975 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
57976 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
57977 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
57978 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
57979 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
57980 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
57981 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
57982 (_IO_file_close_internal, _IO_file_close_it_internal)
57983 (_IO_file_underflow_internal, _IO_file_overflow_internal)
57984 (_IO_file_init_internal, _IO_file_attach_internal)
57985 (_IO_file_fopen_internal, _IO_file_read_internal)
57986 (_IO_file_sync_internal, _IO_file_seek_internal)
57987 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
57988 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
57989 (_IO_str_underflow_internal, _IO_str_overflow_internal)
57990 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
57991 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
57992 (_IO_list_all_internal, _IO_link_in_internal)
57993 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
57994 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
57995 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
57996 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
57997 (_IO_do_write_internal, _IO_padn_internal)
57998 (_IO_getline_info_internal, _IO_getline_internal)
57999 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
58000 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
58001 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
58002 (_IO_vfscanf_internal, _IO_vfprintf_internal)
58003 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
58004 (_IO_init_internal, _IO_un_link_internal): Don't declare.
58005 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
58006 with libc_hidden_ver, remove use of INTUSE.
58007 * libio/genops.c: Likewise.
58008 * libio/freopen.c: Likewise.
58009 * libio/freopen64.c: Likewise.
58010 * libio/iofclose.c: Likewise.
58011 * libio/iofdopen.c: Likewise.
58012 * libio/iofflush.c: Likewise.
58013 * libio/iofflush_u.c: Likewise.
58014 * libio/iofgets.c: Likewise.
58015 * libio/iofgets_u.c: Likewise.
58016 * libio/iofopen.c: Likewise.
58017 * libio/iofopncook.c: Likewise.
58018 * libio/iofread.c: Likewise.
58019 * libio/iofread_u.c: Likewise.
58020 * libio/ioftell.c: Likewise.
58021 * libio/iofwrite.c: Likewise.
58022 * libio/iogetline.c: Likewise.
58023 * libio/iogets.c: Likewise.
58024 * libio/iogetwline.c: Likewise.
58025 * libio/iopadn.c: Likewise.
58026 * libio/iopopen.c: Likewise.
58027 * libio/ioseekoff.c: Likewise.
58028 * libio/ioseekpos.c: Likewise.
58029 * libio/iosetbuffer.c: Likewise.
58030 * libio/iosetvbuf.c: Likewise.
58031 * libio/ioungetc.c: Likewise.
58032 * libio/ioungetwc.c: Likewise.
58033 * libio/iovdprintf.c: Likewise.
58034 * libio/iovsprintf.c: Likewise.
58035 * libio/iovsscanf.c: Likewise.
58036 * libio/memstream.c: Likewise.
58037 * libio/obprintf.c: Likewise.
58038 * libio/oldfileops.c: Likewise.
58039 * libio/oldiofclose.c: Likewise.
58040 * libio/oldiofdopen.c: Likewise.
58041 * libio/oldiofopen.c: Likewise.
58042 * libio/oldiopopen.c: Likewise.
58043 * libio/oldstdfiles.c: Likewise.
58044 * libio/putc.c: Likewise.
58045 * libio/setbuf.c: Likewise.
58046 * libio/setlinebuf.c: Likewise.
58047 * libio/stdfiles.c: Likewise.
58048 * libio/strops.c: Likewise.
58049 * libio/vasprintf.c: Likewise.
58050 * libio/vscanf.c: Likewise.
58051 * libio/vsnprintf.c: Likewise.
58052 * libio/vswprintf.c: Likewise.
58053 * libio/wfiledoalloc.c: Likewise.
58054 * libio/wfileops.c: Likewise.
58055 * libio/wgenops.c: Likewise.
58056 * libio/wmemstream.c: Likewise.
58057 * libio/wstrops.c: Likewise.
58058 * libio/__fpurge.c: Likewise.
58059 * libio/__fsetlocking.c: Likewise.
58060 * assert/assert.c: Likewise.
58061 * debug/fgets_chk.c: Likewise.
58062 * debug/fgets_u_chk.c: Likewise.
58063 * debug/fread_chk.c: Likewise.
58064 * debug/fread_u_chk.c: Likewise.
58065 * debug/gets_chk.c: Likewise.
58066 * debug/obprintf_chk.c: Likewise.
58067 * debug/vasprintf_chk.c: Likewise.
58068 * debug/vdprintf_chk.c: Likewise.
58069 * debug/vsnprintf_chk.c: Likewise.
58070 * debug/vsprintf_chk.c: Likewise.
58071 * malloc/mtrace.c: Likewise.
58072 * misc/error.c: Likewise.
58073 * misc/syslog.c: Likewise.
58074 * stdio-common/asprintf.c: Likewise.
58075 * stdio-common/fxprintf.c: Likewise.
58076 * stdio-common/getw.c: Likewise.
58077 * stdio-common/isoc99_fscanf.c: Likewise.
58078 * stdio-common/isoc99_scanf.c: Likewise.
58079 * stdio-common/isoc99_vfscanf.c: Likewise.
58080 * stdio-common/isoc99_vscanf.c: Likewise.
58081 * stdio-common/isoc99_vsscanf.c: Likewise.
58082 * stdio-common/printf-prs.c: Likewise.
58083 * stdio-common/printf_fp.c: Likewise.
58084 * stdio-common/printf_fphex.c: Likewise.
58085 * stdio-common/printf_size.c: Likewise.
58086 * stdio-common/putw.c: Likewise.
58087 * stdio-common/scanf.c: Likewise.
58088 * stdio-common/sprintf.c: Likewise.
58089 * stdio-common/tmpfile.c: Likewise.
58090 * stdio-common/vfprintf.c: Likewise.
58091 * stdio-common/vfscanf.c: Likewise.
58092 * stdlib/strfmon_l.c: Likewise.
58093 * sunrpc/openchild.c: Likewise.
58094 * sunrpc/xdr_stdio.c: Likewise.
58095 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
58096 * sysdeps/mach/hurd/tmpfile.c: Likewise.
58097
58098 2012-05-24 Roland McGrath <roland@hack.frob.com>
58099
58100 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58101
58102 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
58103 in the third column, to generate for the shared library an IFUNC
58104 that uses _dl_vdso_vsym.
58105 * Makerules (COMPILE.c, compile-stdin.c): New variables.
58106 * Makeconfig (object-suffixes-noshared): New variable.
58107
58108 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
58109 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
58110 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
58111 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
58112
58113 [BZ #14132]
58114 * include/sys/time.h (__gettimeofday): Remove macro.
58115 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
58116 * time/gettimeofday.c (__gettimeofday): Remove #undef.
58117 Remove INTDEF.
58118 (__gettimeofday): Add libc_hidden_def.
58119 (gettimeofday): Add libc_hidden_weak.
58120 * sysdeps/mach/gettimeofday.c: Likewise.
58121 * sysdeps/posix/gettimeofday.c: Likewise.
58122 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
58123 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
58124 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
58125 (__gettimeofday_internal): Remove strong_alias.
58126 (__gettimeofday): Add libc_hidden_def.
58127 (gettimeofday): Add libc_hidden_weak.
58128 * sysdeps/unix/syscalls.list (gettimeofday):
58129 Remove __gettimeofday_internal alias.
58130
58131 2012-05-24 Daniel Jacobowitz <drow@false.org>
58132 H.J. Lu <hongjiu.lu@intel.com>
58133
58134 [BZ #12495]
58135 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
58136 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
58137 (largebin_index_32_big): New.
58138 (largebin_index): Use it for 16-byte alignment.
58139 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
58140 correction with front_misalign.
58141
58142 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
58143
58144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
58145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
58146 Likewise.
58147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
58148 Likewise.
58149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58150 Likewise.
58151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
58152 Likewise.
58153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
58154 Likewise.
58155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
58156 Likewise.
58157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
58158 Likewise.
58159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58160 Likewise.
58161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
58162 Likewise.
58163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
58164 Likewise.
58165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
58166 Likewise.
58167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
58168 Likewise.
58169
58170 * scripts/data/c++-types-x32-linux-gnu.data: New file.
58171 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
58172
58173 2012-05-24 Joseph Myers <joseph@codesourcery.com>
58174
58175 [BZ #10846]
58176 [BZ #14036]
58177 * math/libm-test.inc (exp_test): Add test from bug 14036.
58178 (pow_test): Add test from bug 10846.
58179
58180 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
58181 and other flags.
58182 (special_function): Do not include flags in test name.
58183 (parse_args): Likewise.
58184 * sysdeps/i386/fpu/libm-test-ulps: Update.
58185 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58186 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58187 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58189
58190 * math/gen-libm-test.pl (%beautify): Add entries for underflow
58191 exceptions.
58192 * math/libm-test.inc ("Philosophy"): Update comment about
58193 exception testing.
58194 (UNDERFLOW_EXCEPTION): New macro.
58195 (UNDERFLOW_EXCEPTION_OK): Likewise.
58196 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
58197 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
58198 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
58199 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
58200 (INVALID_EXCEPTION_OK): Update value.
58201 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58202 (OVERFLOW_EXCEPTION_OK): Likewise.
58203 (IGNORE_ZERO_INF_SIGN): Likewise.
58204 (test_exceptions): Handle underflow exceptions.
58205 (acos_test): Update for underflow exception expectations.
58206 (cexp_test): Likewise.
58207 (clog_test): Likewise.
58208 (clog10_test): Likewise.
58209 (csqrt_test): Likewise.
58210 (ctan_test): Likewise.
58211 (ctanh_test): Likewise.
58212 (exp_test): Likewise.
58213 (exp10_test): Likewise.
58214 (exp2_test): Likewise.
58215 (expm1_test): Likewise.
58216 (fma_test): Likewise.
58217 (j0_test): Likewise.
58218 (jn_test): Likewise.
58219 (nexttoward_test): Likewise.
58220 (pow_test): Likewise.
58221 (scalbn_test): Likewise.
58222 (scalbln_test): Likewise.
58223 (tan_test): Likewise.
58224 (y1_test): Likewise.
58225 * sysdeps/i386/fpu/libm-test-ulps: Update.
58226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58227
58228 2012-05-23 David S. Miller <davem@davemloft.net>
58229
58230 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58231 (__libc_sigaction): Remove unused local variables.
58232
58233 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
58234
58235 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
58236
58237 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
58238
58239 mktime: avoid signed integer overflow
58240 * time/mktime.c (__mktime_internal): Do not mishandle the case
58241 where diff == INT_MIN.
58242
58243 mktime: simplify computation of average
58244 * time/mktime.c (ranged_convert): Use new time_t_avg function
58245 instead of rolling our own (probably-slower) code.
58246
58247 mktime: do not assume signed right shift propagates sign bit
58248 * time/mktime.c (isdst_differ): New static function.
58249 (__mktime_internal): No need to normalize tm_isdst now.
58250 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
58251 tm_isdst values.
58252
58253 mktime: merge another wrapv change from gnulib
58254 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
58255 from some compilers.
58256
58257 mktime: remove incorrect attempt at unusual arithmetics
58258 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
58259 The code didn't really work on such machines anyway.
58260 (TYPE_MINIMUM): Assume two's complement.
58261 (twos_complement_arithmetic): Verify that long_int and time_t
58262 are two's complement (or unsigned, in the latter case).
58263
58264 mktime: check signed shifts on long_int and time_t, too
58265 * time/mktime.c (SHR): Check that shifts work as desired
58266 on the types long_int and time_t too, as SHR is used on
58267 such types.
58268
58269 mktime: do not assume 'long' is wide enough
58270 * time/mktime.c (verify): Move decl up.
58271 (long_int): New type.
58272 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
58273 to remove assumption in the code that 'long' is wide enough to
58274 store year values. This assumption is not true on x32 and on
58275 some non-glibc platforms.
58276
58277 mktime: merge wrapv change from gnulib
58278 * time/mktime.c (WRAPV): New macro.
58279 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
58280 (guess_time_tm, __mktime_internal): Do not assume that signed
58281 integer overflow wraps around; modern compilers generate code
58282 where this assumption is no longer valid.
58283
58284 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
58285
58286 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58287 Replace "jmp L(pseudo_end)" with "ret".
58288 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
58289 Likewise.
58290
58291 2012-05-23 Andreas Jaeger <aj@suse.de>
58292
58293 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
58294 * sysdeps/unix/sysv/linux/poll.c: Remove file.
58295
58296 2012-05-23 Andreas Jaeger <aj@suse.de>
58297 Maximilian Attems <max@stro.at>
58298
58299 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
58300 New macros.
58301
58302 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
58303
58304 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
58305 code so that pseudo_end is just ret and the stack pointer is
58306 correct also for static library in error case.
58307
58308 2012-05-23 Joseph Myers <joseph@codesourcery.com>
58309
58310 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
58311 move to syscalls.list.
58312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
58313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
58314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
58315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
58316
58317 * manual/install.texi (Running make install): Do not mention Linux
58318 kernel version for which pt_chown is not needed.
58319 (Linux): Do not mention problems with nscd with 2.0 kernels.
58320 * INSTALL: Regenerated.
58321
58322 2012-05-23 Andreas Jaeger <aj@suse.de>
58323
58324 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
58325 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
58326 macro.
58327 * sysdeps/unix/sysv/linux/s390/bits/mman.h
58328 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58329 * sysdeps/unix/sysv/linux/sh/bits/mman.h
58330 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58331 * sysdeps/unix/sysv/linux/i386/bits/mman.h
58332 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58333 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
58334 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58335 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
58336 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58337 * sysdeps/unix/sysv/linux/bits/in.h
58338 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
58339
58340 2012-05-22 Roland McGrath <roland@hack.frob.com>
58341
58342 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
58343 (PREPARE_VERSION): Just use assert instead, it will be elided
58344 under [NDEBUG] anyway.
58345
58346 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
58347
58348 * sysdeps/unix/sysv/linux/Makefile: Include
58349 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
58350 (sysdep_routines): Remove sysctl.
58351 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
58352 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
58353 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
58354 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
58355 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
58356
58357 2012-05-22 Andreas Jaeger <aj@suse.de>
58358
58359 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
58360 that pseudo_end is just ret and the stack pointer is correct also
58361 for static library in error case.
58362
58363 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
58364
58365 [BZ #14122]
58366 * nss/nsswitch.c (defconfig_entries): New variable.
58367 (__nss_database_lookup): Don't leak defconfig entries.
58368 (nss_parse_service_list): Don't leak on error paths.
58369 (free_database_entries): New function.
58370 (free_defconfig): New function.
58371 (free_mem): Move common code to free_database_entries.
58372
58373 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
58374
58375 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
58376 Add arch_prctl.
58377 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
58378
58379 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
58380 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
58381 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
58382 New macro.
58383 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
58384 (INTERNAL_SYSCALL_TYPES): Likewise.
58385 (LOAD_ARGS_TYPES_[1-6]): Likewise.
58386 (LOAD_REGS_TYPES_[1-6]): Likewise.
58387 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
58388 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
58389
58390 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58391
58392 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
58393 copysignl for GLIBC_2_0.
58394 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
58395 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
58396 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
58397 logbl for GLIBC_2_0.
58398 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
58399 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
58400
58401 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
58402
58403 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
58404 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
58405
58406 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58407 Use "neg %eax".
58408
58409 * time/mktime.c: Update copyright years.
58410
58411 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
58412
58413 mktime: merge comment-quoting-style change from gnulib
58414 * time/mktime.c: Quote 'like this' in comments.
58415 The GNU coding standards suggest that we no longer quote `like this',
58416 as "`" and "'" are typically rendered asymmetrically nowadays.
58417 The typical gnulib style is to quote 'like this' when quoting
58418 code, and "like this" when quoting English.
58419
58420 * time/mktime.c (compile-command): Add "-I.".
58421
58422 mktime: merge mktime-internal.h change from gnulib
58423 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
58424
58425 mktime: merge time_r change from gnulib
58426 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
58427
58428 mktime: merge DEBUG change from gnulib
58429 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
58430 case system <time.h> has a #define.
58431
58432 mktime: merge <sys/types.h> change from gnulib
58433 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
58434 since <time.t> is now guaranteed to define time_t.
58435
58436 mktime: merge HAVE_CONFIG_H change from gnulib
58437 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
58438
58439 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
58440
58441 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58442 Use "neg %eax".
58443
58444 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
58445 __rlim_t cast.
58446 (struct rusage): Use anonymous union to pad each field to
58447 __syscall_slong_t.
58448
58449 2012-05-21 David S. Miller <davem@davemloft.net>
58450
58451 * Makefules (o-iterator): Remove .s cases.
58452 (compile-command.s): Delete.
58453 (COMPILE.s): Delete.
58454 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
58455
58456 2012-05-21 Joseph Myers <joseph@codesourcery.com>
58457
58458 * configure.in (libc_cv_predef_stack_protector): Only consider
58459 "foobar" and "__stack_chk_fail" lines in libc_undefs.
58460 * configure: Regenerated.
58461
58462 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
58463
58464 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58465 New macro. Use R*LP on int and pointer.
58466 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
58467 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
58468 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
58469 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
58470
58471 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
58472 [__WORDSIZE_TIME64_COMPAT32] instead of
58473 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
58474 (struct utmp): Likewise.
58475 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
58476 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
58477 Renamed to ...
58478 (__WORDSIZE_TIME64_COMPAT32): This.
58479 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
58480 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
58481 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
58482 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
58483 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
58484 (__WORDSIZE_TIME64_COMPAT32): New macro.
58485
58486 2012-05-21 Andreas Jaeger <aj@suse.de>
58487
58488 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
58489 only if [SHARED]. Add prototype for __wcschr_ia32.
58490
58491 2012-05-21 Roland McGrath <roland@hack.frob.com>
58492
58493 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
58494 of %rbp unmolested in the jmp_buf while mangling the low bits.
58495 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
58496 unmolested high bits of %rbp while demangling the low bits.
58497 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58498
58499 2012-05-21 Andreas Jaeger <aj@suse.de>
58500
58501 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
58502 * sunrpc/svc_simple.c: Use it for registerrpc.
58503 * sunrpc/xcrypt.c: Use it for passwd2des.
58504
58505 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
58506
58507 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
58508
58509 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
58510 Don't define if [__SYSCALL_WORDSIZE != 32].
58511 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
58512 New macro.
58513
58514 2012-05-21 Bruno Haible <bruno@clisp.org>
58515 Andreas Jaeger <aj@suse.de>
58516
58517 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
58518 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
58519 inptr and inend for must_buffer_ch.
58520 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
58521 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
58522 * stdio-common/Makefile (tests): Remove bug15.
58523 (bug15-ENV): Remove macro.
58524 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
58525 anymore.
58526
58527 2012-05-19 Andreas Jaeger <aj@suse.de>
58528 Roland McGrath <roland@hack.frob.com>
58529
58530 * manual/contrib.texi: Completely rewritten. It contains now an
58531 alphabetical list of contributors and their contributions.
58532
58533 2012-05-21 Richard Henderson <rth@twiddle.net>
58534
58535 * misc/getauxval.c (__getauxval): Use unsigned long int.
58536 * misc/sys/auxv.h: Include <sys/cdefs.h>.
58537 (getauxval): Use unsigned long int.
58538
58539 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
58540
58541 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58542
58543 2012-05-21 Roland McGrath <roland@hack.frob.com>
58544
58545 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
58546 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
58547 __alignof__ (long double).
58548
58549 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58550
58551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58552
58553 2012-05-20 Richard Henderson <rth@twiddle.net>
58554
58555 * misc/getauxval.c: New file.
58556 * misc/sys/auxv.h: New file.
58557 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
58558 (routines): Add getauxval.
58559 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
58560 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
58561 * elf/dl-sysdep.c (_dl_auxv): Remove.
58562 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
58563 * elf/dl-support.c (_dl_auxv): New variable.
58564 (_dl_aux_init): Initialize it.
58565 * manual/startup.texi (Auxiliary Vector): New node.
58566 * sysdeps/generic/bits/hwcap.h: New file.
58567 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
58568 * sysdeps/powerpc/sysdep.h: ... here. Include it.
58569 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
58570 * sysdeps/sparc/sysdep.h: ... here. Include it.
58571 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
58572 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
58573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58574 Update.
58575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
58576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
58577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
58578 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
58579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
58582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
58583
58584 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58585
58586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58587
58588 2012-05-19 David S. Miller <davem@davemloft.net>
58589
58590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58591
58592 2012-05-19 Joseph Myers <joseph@codesourcery.com>
58593
58594 [BZ #14123]
58595 * math/s_ccosh.c: Include <float.h>
58596 (__ccosh): Avoid internal overflow calculating sinh and cosh
58597 values before multiplying by sin and cos values.
58598 * math/s_ccoshf.c: Likewise.
58599 * math/s_ccoshl.c: Likewise.
58600 * math/s_csin.c: Likewise.
58601 * math/s_csinf.c: Likewise.
58602 * math/s_csinl.c: Likewise.
58603 * math/s_csinh.c: Likewise.
58604 * math/s_csinhf.c: Likewise.
58605 * math/s_csinhl.c: Likewise.
58606 * math/libm-test.inc (ccos_test): Add more tests.
58607 (ccosh_test): Likewise.
58608 (csin_test): Likewise.
58609 (csinh_test): Likewise.
58610 * sysdeps/i386/fpu/libm-test-ulps: Update.
58611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58612
58613 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
58614
58615 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
58616 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
58617
58618 * sysdeps/x86_64/x32/_itoa.h: Add comment.
58619
58620 2012-05-19 Joseph Myers <joseph@codesourcery.com>
58621
58622 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
58623 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
58624 * sysdeps/powerpc/soft-fp/Versions: Likewise.
58625 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
58626 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
58627 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
58628 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
58629 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
58630 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
58631 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
58632 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
58633 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
58634 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
58635 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
58636 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
58637 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
58638 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
58639 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
58640 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
58641 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
58642 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
58643 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
58644 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
58645 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
58646 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
58647 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
58648 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
58649 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
58650 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
58651 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
58652 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
58653
58654 2012-05-18 Andreas Jaeger <aj@suse.de>
58655
58656 * csu/.gitignore: Delete.
58657
58658 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
58659
58660 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
58661 (timex): Use __syscall_slong_t.
58662
58663 2012-05-18 Andreas Jaeger <aj@suse.de>
58664 Carlos O'Donell <carlos_odonell@mentor.com>
58665
58666 * manual/install.texi (Configuring and compiling): Update
58667 description about files modified in the source directory.
58668 * INSTALL: Regenerated.
58669
58670 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
58671
58672 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
58673 value. Use "or" to set return value to -1.
58674 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
58675 negate return value.
58676
58677 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58678
58679 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
58680 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
58681 failure if the compiler has Graphite support disabled.
58682 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
58683 Likewise.
58684 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
58685 (CFLAGS-memmove.c): Likewise.
58686 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
58687 Likewise.
58688
58689 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
58690
58691 * sysdeps/x86_64/x32/_itoa.h: New file.
58692
58693 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
58694 getdents system call only if kernel and user dirents have the
58695 same d_ino and d_off.
58696
58697 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58698 LLONG_MAX != LONG_MAX.
58699 (_itoa_word): Use _ITOA_WORD_TYPE on value.
58700 (_fitoa_word): Likewise.
58701
58702 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
58703 years.
58704 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
58705 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
58706 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
58707
58708 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
58709 include <bits/wordsize.h>. Check __x86_64__ instead of
58710 __WORDSIZE.
58711 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
58712 if __x86_64__ is defined. Use anonymous union on fpstate.
58713
58714 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
58715 anonymous union.
58716
58717 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
58718
58719 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
58720 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
58721 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
58722 Refer to _rtld_local_ro instead of _rtld_global_ro.
58723 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
58724 Likewise.
58725 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
58726 Likewise.
58727 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
58728 Likewise.
58729 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
58730 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
58731 of _rtld_global, and rtld_progname instead of _dl_argv[0].
58732
58733 [BZ #10882]
58734 * sysdeps/powerpc/powerpc32/dl-machine.c
58735 (__elf_machine_runtime_setup) [PROF]: Don't reference
58736 _dl_prof_resolve.
58737
58738 2012-05-18 Andreas Jaeger <aj@suse.de>
58739
58740 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
58741 function only available for GCCs before 3.4 since GCC 3.4
58742 introduced a builtin.
58743 (lrint): Likewise.
58744 (llrintf): Likewise.
58745 (llrint): Likewise.
58746 (fmaxf): Likewise.
58747 (fmax): Likewise.
58748 (fminf): Likewise.
58749 (fmin): Likewise.
58750 (rint): Likewise.
58751 (rintf): Likewise.
58752 (nearbyint): Likewise.
58753 (nearbyintf): Likewise.
58754 (ceil): Likewise.
58755 (ceilf): Likewise.
58756 (floor): Likewise.
58757 (floorf): Likewise.
58758
58759 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
58760
58761 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
58762 on both fields and cast pointer to __syscall_ulong_t.
58763
58764 * bits/types.h (__fsword_t): New type.
58765 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
58766 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
58767 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58768 (__FSWORD_T_TYPE): Likewise.
58769 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58770 (__FSWORD_T_TYPE): Likewise.
58771 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58772 (__FSWORD_T_TYPE): Likewise.
58773 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
58774 (__FSWORD_T_TYPE): Likewise.
58775 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
58776 __SWORD_TYPE with __fsword_t.
58777 (statfs64): Likewise.
58778
58779 2012-05-17 David S. Miller <davem@davemloft.net>
58780
58781 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
58782
58783 2012-05-17 Andreas Jaeger <aj@suse.de>
58784
58785 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
58786 warning.
58787
58788 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
58789
58790 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
58791
58792 2012-05-17 Andreas Jaeger <aj@suse.de>
58793
58794 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
58795 when it is used.
58796
58797 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
58798
58799 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
58800
58801 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
58802
58803 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
58804 * sysdeps/x86_64/tst-mallocalign1.c: New file.
58805
58806 2012-05-17 Andreas Jaeger <aj@suse.de>
58807 Carlos O'Donell <carlos_odonell@mentor.com>
58808
58809 [BZ #14059]
58810 * sysdeps/x86_64/multiarch/init-arch.h
58811 (bit_YMM_Usable): Rename to...
58812 (bit_AVX_Usable): ... this.
58813 (bit_FMA4_Usable): New macro.
58814 (bit_XMM_state): New macro.
58815 (bit_YMM_state): New macro.
58816 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
58817 [__ASSEMBLER__] (index_AVX_Usable): ... this.
58818 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
58819 (CPUID_OSXSAVE): New macro.
58820 (CPUID_AVX): New macro.
58821 (CPUID_FMA4): New macro.
58822 (index_YMM_Usable): Rename to...
58823 (index_AVX_Usable): ... this.
58824 (HAS_AVX): Use HAS_ARCH_FEATURE.
58825 (HAS_FMA4): Likewise.
58826 (HAS_YMM_USABLE): Remove.
58827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58828 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
58829 are present.
58830 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
58831 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
58832 * sysdeps/x86_64/multiarch/Makefile: Likewise.
58833 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
58834 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
58835
58836 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
58837
58838 * math/libm-test.c: Support platforms without multiple rounding modes.
58839 * math/bug-nextafter.c: Support platforms without FP exceptions.
58840 * math/bug-nexttoward.c: Likewise.
58841 * math/test-fenv.c: Likewise.
58842 * math/test-misc.c: Likewise.
58843 * stdlib/bug-getcontext.c: Likewise.
58844
58845 2012-05-17 Andreas Jaeger <aj@suse.de>
58846
58847 * manual/examples/search.c (critter_cmp): Change signature to
58848 avoid warnings.
58849 * manual/string.texi (Collation Functions): Likewise.
58850
58851 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58852
58853 * bits/types.h: Fold copyright years.
58854 * bits/typesizes.h: Likewise.
58855 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
58856 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58857 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
58858 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
58859 * time/time.h: Likewise.
58860
58861 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
58862
58863 [BZ #208]
58864 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
58865 in instead of returning them. Return void.
58866 (__libc_mallinfo): Accumulate over all arenas.
58867 (__malloc_stats): Adjust for change in int_mallinfo interface.
58868
58869 2012-05-16 Roland McGrath <roland@hack.frob.com>
58870
58871 [BZ #10375]
58872 * configure.in (NM): Add AC_CHECK_TOOL for it.
58873 (libc_extra_cflags): New substituted variable.
58874 Check for -fstack-protector being used implicitly.
58875 * configure: Regenerated.
58876 * config.make.in (config-extra-cflags): New variable,
58877 gets @libc_extra_cflags@.
58878 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
58879
58880 [BZ #10375]
58881 * configure.in: Check for _FORTIFY_SOURCE being predefined.
58882 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
58883 * configure: Regenerated.
58884 * config.make.in (CPPUNDEFS): New substituted variable.
58885 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
58886 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
58887 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
58888
58889 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58890
58891 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
58892 (mq_attr): Use __syscall_slong_t.
58893
58894 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58895
58896 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
58897 Check __x86_64__ instead of __WORDSIZE.
58898 (_STAT_VER_LINUX): Likewise.
58899 (stat): Check __x86_64__ instead of __WORDSIZE. Use
58900 __syscall_ulong_t and __syscall_slong_t.
58901 (stat64): Likewise.
58902
58903 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58904
58905 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
58906
58907 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58908
58909 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
58910
58911 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58912
58913 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
58914 __syscall_ulong_t.
58915
58916 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
58917 include <bits/wordsize.h>. Check __x86_64__ instead of
58918 __WORDSIZE.
58919 (greg_t): Use "__extension__ long long int" if __x86_64__ is
58920 defined.
58921 (mcontext_t): Replace "unsigned long" with "unsigned long long".
58922
58923 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
58924 include <bits/wordsize.h>. Check __x86_64__ instead of
58925 __WORDSIZE.
58926 (user_regs_struct): Use "__extension__ unsigned long long"
58927 instead of "unsigned long" if __x86_64__ is defined.
58928 (user): Likewise. Pad after pointer field if __ILP32__ is
58929 defined.
58930
58931 2012-05-16 Joseph Myers <joseph@codesourcery.com>
58932
58933 * configure.in (makeinfo): Require version 4.5 or later. Allow
58934 versions 5 to 9.
58935 * configure: Regenerated.
58936 * manual/install.texi (texinfo): Increase version requirement to
58937 4.5 or later.
58938 * INSTALL: Regenerated.
58939
58940 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
58941
58942 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58943
58944 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
58945
58946 * sysdeps/x86_64/x32/ffs.c: New file.
58947
58948 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
58949 __syscall_ulong_t.
58950 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
58951 defined. Use __syscall_ulong_t.
58952 (shminfo): Use __syscall_ulong_t.
58953 (shm_info): Likewise.
58954
58955 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
58956 __syscall_ulong_t.
58957
58958 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
58959 <bits/wordsize.h>.
58960 (msgqnum_t): Use __syscall_ulong_t.
58961 (msglen_t): Likewise.
58962 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
58963 __syscall_ulong_t.
58964
58965 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
58966 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
58967
58968 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
58969
58970 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
58971 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
58972
58973 * sysvipc/sys/msg.h (msgbuf): Replace long int with
58974 __syscall_slong_t.
58975
58976 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
58977 include <bits/wordsize.h>. Check __x86_64__ instead of
58978 __WORDSIZE.
58979
58980 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
58981 "unsigned long long int" if __x86_64__ is defined.
58982 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
58983
58984 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
58985 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
58986 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
58987
58988 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
58989 <stdint.h>.
58990 (GET_PC): Cast to uintptr_t first.
58991 (GET_FRAME): Likewise.
58992 (GET_STACK): Likewise.
58993
58994 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
58995 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
58996 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
58997 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
58998 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
58999 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
59000 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
59001 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
59002 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
59003 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
59004 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
59005 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
59006 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59007 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
59008 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
59009 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
59010 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
59011 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
59012 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
59013 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
59014 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
59015 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
59016 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
59017 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
59018 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
59019 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
59020 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
59021 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
59022 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
59023
59024 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
59025
59026 * Makerules (+depfiles): Also collect depfiles from .oS in
59027 $(extra-objs).
59028 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
59029 .oS, $(libnldbl-routines)).
59030
59031 * Makerules (native-compile-mkdep-flags): Define.
59032 * sunrpc/Makefile (extra-objs): Add $(addprefix
59033 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
59034 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
59035 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
59036 calling $(make-target-directory).
59037
59038 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59039
59040 * bits/types.h (__snseconds_t): Removed.
59041 * time/time.h (struct timespec): Replace __snseconds_t with
59042 __syscall_slong_t.
59043 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
59044 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
59045 Likewise.
59046 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59047 (__SNSECONDS_T_TYPE): Likewise.
59048 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59049 (__SNSECONDS_T_TYPE): Likewise.
59050 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59051 (__SNSECONDS_T_TYPE): Likewise.
59052
59053 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59054
59055 * sysdeps/mach/hurd/bits/typesizes.h
59056 (__SYSCALL_SLONG_TYPE): New macro.
59057 (__SYSCALL_ULONG_TYPE): Likewise.
59058
59059 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59060
59061 * bits/types.h (__syscall_slong_t): New type.
59062 (__syscall_ulong_t): Likewise.
59063
59064 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
59065 (__SYSCALL_ULONG_TYPE): Likewise.
59066 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59067 (__SYSCALL_SLONG_TYPE): Likewise.
59068 (__SYSCALL_ULONG_TYPE): Likewise.
59069 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59070 (__SYSCALL_SLONG_TYPE): Likewise.
59071 (__SYSCALL_ULONG_TYPE): Likewise.
59072 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59073 (__SYSCALL_SLONG_TYPE): Likewise.
59074 (__SYSCALL_ULONG_TYPE): Likewise.
59075
59076 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59077
59078 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
59079 Add sigaltstack-offsets.sym.
59080 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
59081 <sigaltstack-offsets.h>.
59082 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
59083 longjmp_msg pointer.
59084 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
59085 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
59086 signal stack.
59087 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
59088
59089 2012-05-15 Joseph Myers <joseph@codesourcery.com>
59090
59091 * elf/stackguard-macros.h: Remove file.
59092 * sysdeps/generic/stackguard-macros.h: New file.
59093 * sysdeps/i386/stackguard-macros.h: Likewise.
59094 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59095 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59096 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59097 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59098 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59099 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59100 * sysdeps/x86_64/stackguard-macros.h: Likewise.
59101 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
59102 <elf/stackguard-macros.h>.
59103
59104 [BZ #14109]
59105 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
59106 __aligned__ in attribute.
59107 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
59108 (gregset_t): Likewise.
59109
59110 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59111
59112 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
59113 * sysdeps/x86_64/64/Implies-after: Here. New file.
59114 * sysdeps/x86_64/x32/Implies-after: New file.
59115
59116 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59117
59118 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
59119 and access return value for _dl_profile_fixup. Use R10_LP to
59120 load frame size.
59121
59122 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59123
59124 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
59125
59126 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59127
59128 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
59129 * sysdeps/x86_64/x32/sysdep.h: New file.
59130
59131 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59132
59133 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
59134 * sysdeps/x86_64/setjmp.S: Likewise.
59135
59136 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59137
59138 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
59139 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
59140 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
59141 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
59142 remove unused global constant.
59143
59144 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
59145
59146 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
59147 include of <not-cancel.h>.
59148
59149 2012-05-15 Roland McGrath <roland@hack.frob.com>
59150
59151 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
59152
59153 2012-05-15 Jeff Law <law@redhat.com>
59154 Andreas Jaeger <aj@suse.de>
59155
59156 [BZ #13594]
59157 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
59158 out from...
59159 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
59160 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
59161 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
59162 code changing __hst_map_handle.map.
59163
59164 2012-05-15 Roland McGrath <roland@hack.frob.com>
59165
59166 * configure.in (sysnames): Look for Implies-before and Implies-after
59167 files.
59168 * configure: Regenerated.
59169
59170 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59171
59172 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
59173 8-byte data alignment with LP_SIZE alignment.
59174
59175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59176
59177 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
59178 into R10_LP.
59179
59180 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59181
59182 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
59183
59184 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59185
59186 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
59187 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
59188 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
59189 Likewise.
59190 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59191
59192 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59193
59194 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
59195 (stackinfo_sub_sp): Likewise.
59196
59197 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59198
59199 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
59200 RAX_LP.
59201
59202 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59203
59204 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
59205 into R*_LP.
59206
59207 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59208
59209 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
59210 sizes into R*_LP.
59211
59212 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59213
59214 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
59215
59216 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59217
59218 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
59219 into R11_LP and load __x86_64_shared_cache_size_half into
59220 R8_LP.
59221
59222 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59223
59224 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
59225 R8_LP.
59226
59227 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59228
59229 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
59230 logb for POWER7.
59231 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
59232 logbf for POWER7.
59233 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
59234 logbl for POWER7.
59235 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
59236 powerpc32/power7/fpu/s_logb.c via #include.
59237 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
59238 powerpc32/power7/fpu/s_logbf.c via #include.
59239 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
59240 powerpc32/power7/fpu/s_logbl.c via #include.
59241
59242 2012-05-15 Joseph Myers <joseph@codesourcery.com>
59243
59244 * README.libm: Remove file.
59245
59246 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59247
59248 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
59249 count for x32. Use R*_LP and omit operand-size suffix.
59250
59251 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59252
59253 * shlib-versions: Move x86_64-.*-linux.* entries to ...
59254 * sysdeps/x86_64/64/shlib-versions: Here. New file.
59255 * sysdeps/x86_64/x32/shlib-versions: New file.
59256
59257 2012-05-14 Roland McGrath <roland@hack.frob.com>
59258
59259 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
59260 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
59261 Use _dl_fatal_printf instead.
59262
59263 2012-05-14 Joseph Myers <joseph@codesourcery.com>
59264
59265 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
59266 set if not set by the user. Do not allow for being unset.
59267 * sysdeps/unix/sysv/linux/configure: Regenerated.
59268
59269 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59270
59271 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
59272 the `q' suffix from lea and replace .quad with ASM_ADDR.
59273
59274 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59275
59276 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
59277 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
59278 instead of $17.
59279 (PTR_DEMANGLE): Likewise.
59280
59281 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59282
59283 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
59284 (LP_OP): Likewise.
59285 (ASM_ADDR): Likewise.
59286 (RAX_LP): Likewise.
59287 (RBP_LP): Likewise.
59288 (RBX_LP): Likewise.
59289 (RCX_LP): Likewise.
59290 (RDI_LP): Likewise.
59291 (RSI_LP): Likewise.
59292 (RSP_LP): Likewise.
59293 (R8_LP): Likewise.
59294 (R9_LP): Likewise.
59295 (R10_LP): Likewise.
59296 (R10_LP): Likewise.
59297 (R11_LP): Likewise.
59298 (R12_LP): Likewise.
59299 (R13_LP): Likewise.
59300 (R14_LP): Likewise.
59301 (R15_LP): Likewise.
59302
59303 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59304
59305 * sysdeps/x86_64/x32/dl-machine.h: New file.
59306
59307 2012-05-14 Andreas Jaeger <aj@suse.de>
59308
59309 * manual/Makefile (subdir): Remove export of subdir.
59310 (all): Remove target.
59311 (.PHONY): Remove all from list.
59312 (mkinstalldirs): Remove.
59313 (.PHONY): Remove installdirs from list.
59314 ($(inst_infodir)/libc.info): Use make-target-directory.
59315 (installdirs): Remove.
59316 (subdir_%): Remove.
59317 (glibc-targets): Remove.
59318 (lib): Remove.
59319 (stubs): Remove.
59320 ($(objpfx)stubs ../po/manual.pot): Remove.
59321 ($(objpfx)stamp%): Remove.
59322 (make-target-directory): Remove.
59323 (subdir_install): Remove.
59324 (routines): Remove.
59325 (aux): Remove.
59326 (sources): Remove.
59327 (objects): Remove.
59328 (headers): Remove.
59329
59330 [BZ #13750]
59331 * manual/.gitignore: Remove, it's not needed anymore.
59332 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
59333 all files in it.
59334 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
59335 directory.
59336 (texis): Renamed to $(objpfx)texis.
59337 (texis-path): New, contains path to generated files.
59338 (chapters.%): Use texis-path for complete path, add extra argument
59339 libc-texinfo.sh.
59340 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
59341 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
59342 (summary,texi, stamp-summary): Use complete path of
59343 files. Generate files in build dir.
59344 (dir-add.texi): Build in build dir.
59345 (libm-err.texi,stamp-libm-err): Likewise.
59346 (version.texi, stamp-version): Likewise.
59347 (.%c.texi): Likewise.
59348 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
59349 (mostlyclean): Remove target.
59350 (realclean): Remove target.
59351 (generated): Add new variable with contents from mostlyclean and
59352 realclean, remove entries duplicated in common-mostlyclean, add
59353 stamp-libm-err and stamp-version.
59354 (generated-dirs): Add libc directory.
59355 ($(inst_infodir)/libc.info): Install files from build dir.
59356
59357 * manual/install.texi (Configuring and compiling): Adjust since
59358 the info files are not part of the tar ball anymore.
59359
59360 2012-05-14 Andreas Jaeger <aj@suse.de>
59361
59362 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
59363 variable.
59364
59365 2012-05-14 Joseph Myers <joseph@codesourcery.com>
59366
59367 [BZ #13717]
59368 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59369 to 2.2.0 where earlier.
59370 * sysdeps/unix/sysv/linux/configure: Regenerated.
59371 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
59372 Remove conditional code.
59373 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
59374 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
59375 Remove conditional code.
59376 [!__NR_lchown]: Likewise.
59377 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59378 [__NR_lchown]: Likewise.
59379 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
59380 comment referencing __ASSUME_LCHOWN_SYSCALL.
59381 * sysdeps/unix/sysv/linux/i386/sigaction.c
59382 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59383 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59384 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
59385 Remove conditional code.
59386 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
59387 (__protocol_available): Remove #if 0 code.
59388 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
59389 conditional code.
59390 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
59391 * sysdeps/unix/sysv/linux/kernel-features.h
59392 (__ASSUME_GETCWD_SYSCALL): Don't define.
59393 (__ASSUME_REALTIME_SIGNALS): Likewise.
59394 (__ASSUME_PREAD_SYSCALL): Likewise.
59395 (__ASSUME_PWRITE_SYSCALL): Likewise.
59396 (__ASSUME_POLL_SYSCALL): Likewise.
59397 (__ASSUME_LCHOWN_SYSCALL): Likewise.
59398 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
59399 non-SPARC.
59400 (__ASSUME_SIOCGIFNAME): Don't define.
59401 (__ASSUME_MSG_NOSIGNAL): Likewise.
59402 (__ASSUME_SENDFILE): Define unconditionally.
59403 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
59404 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
59405 conditional code.
59406 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
59407 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
59408 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59409 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59410 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
59411 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59412 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
59414 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59415 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
59417 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59418 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
59420 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59421 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
59423 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59424 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
59426 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59427 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
59429 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59430 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
59432 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59433 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
59435 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59436 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59437 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
59438 Remove conditional code.
59439 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59440 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59441 Remove conditional code.
59442 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59443 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
59444 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
59445 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59446 Remove conditional code.
59447 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59448 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
59449 Remove conditional code.
59450 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59451 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
59452 Remove conditional code.
59453 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59454 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59455 Remove conditional code.
59456 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59457 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59458 Remove conditional code.
59459 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59460 * sysdeps/unix/sysv/linux/sh/pwrite64.c
59461 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59462 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59463 * sysdeps/unix/sysv/linux/sigaction.c
59464 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59465 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59466 * sysdeps/unix/sysv/linux/sigpending.c
59467 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59468 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59469 * sysdeps/unix/sysv/linux/sigprocmask.c
59470 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59471 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59472 * sysdeps/unix/sysv/linux/sigsuspend.c
59473 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59474 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59475 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59476 (__libc_missing_rt_sigs): Remove.
59477 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
59478 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
59479 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
59480 Remove conditional code.
59481 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
59482 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
59483 return 1.
59484 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
59485 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
59486 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
59487 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
59488
59489 2012-05-14 Andreas Jaeger <aj@suse.de>
59490
59491 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
59492 it's not used in glibc.
59493 (__coshm1): Likewise.
59494 (__acosh1p): Likewise.
59495 (__sgn): Likewise.
59496
59497 * manual/string.texi (Copying and Concatenation): Add missing
59498 variable in concat example.
59499 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
59500
59501 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59502
59503 [BZ #14103]
59504 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
59505 __builtin_clzl with __builtin_clzll.
59506
59507 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59508
59509 [BZ #14104]
59510 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
59511 libc_freeres_ptr.
59512
59513 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59514
59515 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
59516 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
59517 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
59518 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
59519
59520 2012-05-14 Mike Frysinger <vapier@gentoo.org>
59521
59522 * NEWS: Update ia64 info.
59523
59524 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
59525
59526 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
59527 used as bcopy.
59528
59529 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
59530
59531 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
59532 * sysdeps/unix/syscalls.list (dup3): Likewise.
59533 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
59534 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
59535
59536 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
59537
59538 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
59539 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
59540
59541 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
59542
59543 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
59544 thread pointer.
59545 (TLS_IE): Use mov/add instead of movq/addq to load thread
59546 pointer.
59547 (TLS_GD_PREFIX): New.
59548 (TLS_GD): Use it.
59549
59550 2012-05-11 David S. Miller <davem@davemloft.net>
59551
59552 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
59553 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
59554 (_FPU_SETCW): Likewise.
59555
59556 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
59557
59558 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
59559 is 32-byte aligned.
59560
59561 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
59562
59563 [BZ #11837]
59564 * iconvdata/gb18030.c: Update tables.
59565 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
59566 characters specially.
59567 (BODY for TO_LOOP): Add encoding of missing ranges.
59568
59569 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
59570
59571 [BZ #13673]
59572 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
59573 * sysdeps/mach/hurd/dup3.c: Likewise.
59574 * sysdeps/mach/hurd/readlinkat.c: Likewise.
59575 * sysdeps/powerpc/memmove.c:: Likewise.
59576
59577 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
59578
59579 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
59580 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
59581
59582 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
59583
59584 * elf/elf.h (R_X86_64_RELATIVE64): New.
59585 (R_X86_64_NUM): Updated.
59586 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59587 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
59588 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
59589 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
59590 tst-quad1pie tst-quad2pie
59591 (modules-names): Add tst-quadmod1 tst-quadmod2.
59592 ($(objpfx)tst-quad1): New dependency.
59593 ($(objpfx)tst-quad2): Likewise.
59594 ($(objpfx)tst-quad1pie): Likewise.
59595 ($(objpfx)tst-quad2pie): Likewise.
59596 * sysdeps/x86_64/tst-quad1.c: New file.
59597 * sysdeps/x86_64/tst-quad1pie.c: New file.
59598 * sysdeps/x86_64/tst-quad2.c: Likewise.
59599 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
59600 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
59601 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
59602 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
59603 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
59604
59605 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59606
59607 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
59608 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
59609 * streams/stropts.h (t_scalar_t): Define type.
59610
59611 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
59612 (_PATH_PRESERVE): Set to "/var/lib".
59613 (_PATH_RWHODIR): Set to "/var/spool/rwho".
59614
59615 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
59616 instead of int.
59617
59618 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
59619 if __dir_mkfile succeeded.
59620
59621 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
59622 checking for _hurd_dtablesize. Unlock it right after having
59623 finished _hurd_dtable allocation.
59624
59625 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59626
59627 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
59628 * sysdeps/mach/hurd/configure: Regenerated.
59629 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
59630 special-casing to...
59631 * sysdeps/gnu/configure.in: ... this new file.
59632 * sysdeps/unix/sysv/linux/configure: Regenerated.
59633 * sysdeps/gnu/configure: New generated file.
59634
59635 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
59636 for Linux: use nsec instead of usec, as well as:
59637 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
59638 members of type struct timespec.
59639 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
59640 New macros.
59641 (struct stat64): Likewise.
59642 (_STATBUF_ST_NSEC): New macro.
59643 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
59644
59645 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59646 __strtoul_internal rather than strtoul.
59647
59648 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
59649
59650 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
59651 and reject them.
59652
59653 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59654
59655 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
59656 which preserves existing values.
59657 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
59658
59659 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
59660
59661 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
59662 TIMEOUT values. Return EINVAL for NFDS values either negative or
59663 greater than FD_SETSIZE.
59664
59665 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59666
59667 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
59668 allocated, call __vm_protect to finish enabling the existing space, and
59669 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
59670 allocate the remainder.
59671
59672 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
59673
59674 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
59675 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
59676
59677 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59678
59679 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
59680 sysdeps/mach/hurd/readlink.c.
59681
59682 * posix/tst-sysconf.c (posix_options): Only use
59683 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
59684 _POSIX_SYNCHRONIZED_IO when they are defined
59685 * sysdeps/mach/hurd/bits/posix_opt.h:
59686 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
59687 (_XOPEN_REALTIME): Undefine macro.
59688 (_XOPEN_REALTIME_THREADS): Undefine macro.
59689 (_XOPEN_SHM): Undefine macro.
59690 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
59691 macro to -1.
59692 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
59693 macro to -1.
59694 (_POSIX_ASYNC_IO): Undefine macro.
59695 (_POSIX_PRIORITIZED_IO): Undefine macro.
59696 (_POSIX_SPIN_LOCKS): Define macro to -1.
59697
59698 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
59699 SA_NODEFER, SA_RESETHAND.
59700 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
59701 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
59702 F_DUPFD_CLOEXEC.
59703
59704 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59705
59706 * elf/Makefile (pldd-modules): Define unconditionally.
59707
59708 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59709
59710 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
59711
59712 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59713
59714 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
59715 Return ENOENT when name is empty.
59716 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
59717
59718 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59719
59720 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
59721
59722 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
59723
59724 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59725
59726 Fix mlock in all cases except non-readable pages.
59727 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
59728 instead of VM_PROT_ALL as parameter to __vm_wire function.
59729
59730 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
59731 (__mkdir): When path is `/', just fail with EEXIST.
59732 * sysdeps/mach/hurd/mkdirat.c: Likewise.
59733
59734 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59735
59736 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
59737 <sys/uio.h> (for writev).
59738 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
59739 and <sys/param.h> (for MIN).
59740
59741 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
59742
59743 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
59744 REQUESTED_TIME. Properly set the remaining time and return EINTR
59745 if interrupted.
59746
59747 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59748
59749 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
59750 Depend on against $(link-rpcuserlibs).
59751
59752 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59753
59754 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
59755 (__libc_stack_end): Do not use attribute_relro.
59756 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
59757 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
59758 to libthread-provided value.
59759 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
59760 attribute_relro.
59761
59762 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59763
59764 [BZ #3748]
59765 * bits/libc-lock.h (__libc_once_get): New macro.
59766 * sysdeps/mach/bits/libc-lock.h: Likewise.
59767 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
59768 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
59769 instead of using implementation details.
59770
59771 * libio/fileops.c: Unconditionally include <kernel-features.h>.
59772 * libio/freopen.c: Likewise.
59773 * libio/freopen64.c: Likewise.
59774 * misc/syslog.c: Likewise.
59775 * nscd/connections.c: Likewise.
59776 * nscd/netgroupcache.c: Likewise.
59777 * sysdeps/posix/getcwd.c: Likewise.
59778
59779 2012-05-10 Roland McGrath <roland@hack.frob.com>
59780
59781 * math/w_ilogbf.c: Add #include <limits.h>.
59782
59783 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59784
59785 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
59786 path instead of returning without unlocking.
59787
59788 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
59789 immediate-write ioctls.
59790 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
59791
59792 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59793
59794 * sysdeps/mach/hurd/i386/init-first.c (init): Use
59795 __builtin_frame_address instead of making assumptions about the
59796 location of the return address relative to DATA. Force early load of
59797 the return address.
59798 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
59799 __builtin_frame_address.
59800
59801 dup3 for GNU Hurd.
59802 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
59803 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
59804 implement dup3 and do some further code clean-ups.
59805 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
59806 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
59807
59808 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59809
59810 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
59811
59812 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
59813 HURD_CRITICAL_END around holding _hurd_dtable_lock.
59814 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
59815 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
59816 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
59817 d->port.lock.
59818
59819 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
59820 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
59821 when handler == SIG_ERR, not when handler != SIG_ERR.
59822
59823 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59824
59825 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
59826 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
59827 definitions.
59828
59829 accept4 for GNU Hurd.
59830 * include/sys/socket.h (__libc_accept4): New prototype.
59831 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
59832 to implement __libc_accept4.
59833 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
59834 __libc_accept4.
59835 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
59836
59837 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
59838 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
59839 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
59840 signal-defines.sym.
59841
59842 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59843
59844 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
59845
59846 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59847
59848 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
59849 assertion on O_CLOEXEC flag.
59850 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
59851 * hurd/intern-fd.c: Likewise.
59852 * hurd/port2fd.c: Likewise.
59853
59854 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59855
59856 [BZ #3906]
59857 * bits/in.h (IPV6_PKTINFO): Define new macro.
59858 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
59859
59860 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59861
59862 [BZ #13954]
59863 [BZ #13955]
59864 [BZ #13956]
59865 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
59866 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59867 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
59868 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59869 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59870 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59871 * math/libm-test.inc (logb_test) : Additional logb tests.
59872
59873 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
59874 Andreas Jaeger <aj@suse.de>
59875
59876 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
59877 * configure: Regenerated.
59878 * config.h.in (LINK_OBSOLETE_RPC): New macro.
59879 * config.make.in (link-obsolete-rpc): New substituted variable.
59880 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
59881 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
59882 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59883 (shared-only-routines): Don't set it under [link-obsolete-rpc],
59884 so that libc.a contains the symbols.
59885 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59886 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
59887 * sunrpc/auth_none.c: Likewise.
59888 * sunrpc/auth_unix.c: Likewise.
59889 * sunrpc/authdes_prot.c: Likewise.
59890 * sunrpc/authuxprot.c: Likewise.
59891 * sunrpc/clnt_gen.c: Likewise.
59892 * sunrpc/clnt_perr.c: Likewise.
59893 * sunrpc/clnt_raw.c: Likewise.
59894 * sunrpc/clnt_simp.c: Likewise.
59895 * sunrpc/clnt_tcp.c: Likewise.
59896 * sunrpc/clnt_udp.c: Likewise.
59897 * sunrpc/clnt_unix.c: Likewise.
59898 * sunrpc/des_crypt.c: Likewise.
59899 * sunrpc/des_soft.c: Likewise.
59900 * sunrpc/get_myaddr.c: Likewise.
59901 * sunrpc/key_call.c: Likewise.
59902 * sunrpc/key_prot.c: Likewise.
59903 * sunrpc/netname.c: Likewise.
59904 * sunrpc/pm_getmaps.c: Likewise.
59905 * sunrpc/pm_getport.c: Likewise.
59906 * sunrpc/pmap_clnt.c: Likewise.
59907 * sunrpc/pmap_prot.c: Likewise.
59908 * sunrpc/pmap_prot2.c: Likewise.
59909 * sunrpc/pmap_rmt.c: Likewise.
59910 * sunrpc/publickey.c: Likewise.
59911 * sunrpc/rpc_cmsg.c: Likewise.
59912 * sunrpc/rpc_common.c: Likewise.
59913 * sunrpc/rpc_dtable.c: Likewise.
59914 * sunrpc/rpc_prot.c: Likewise.
59915 * sunrpc/rpc_thread.c: Likewise.
59916 * sunrpc/rtime.c: Likewise.
59917 * sunrpc/svc.c: Likewise.
59918 * sunrpc/svc_auth.c: Likewise.
59919 * sunrpc/svc_raw.c: Likewise.
59920 * sunrpc/svc_run.c: Likewise.
59921 * sunrpc/svc_tcp.c: Likewise.
59922 * sunrpc/svc_udp.c: Likewise.
59923 * sunrpc/svc_unix.c: Likewise.
59924 * sunrpc/svcauth_des.c: Likewise.
59925 * sunrpc/xcrypt.c: Likewise.
59926 * sunrpc/xdr.c: Likewise.
59927 * sunrpc/xdr_array.c: Likewise.
59928 * sunrpc/xdr_float.c: Likewise.
59929 * sunrpc/xdr_intXX_t.c: Likewise.
59930 * sunrpc/xdr_mem.c: Likewise.
59931 * sunrpc/xdr_rec.c: Likewise.
59932 * sunrpc/xdr_ref.c: Likewise.
59933 * sunrpc/xdr_sizeof.c: Likewise.
59934 * sunrpc/xdr_stdio.c: Likewise.
59935
59936 2012-05-10 Roland McGrath <roland@hack.frob.com>
59937
59938 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
59939 change. Update copyright years.
59940
59941 2012-05-10 Joseph Myers <joseph@codesourcery.com>
59942
59943 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
59944
59945 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
59946 Joseph Myers <joseph@codesourcery.com>
59947 Paul Pluzhnikov <ppluzhnikov@google.com>
59948
59949 [BZ #14012]
59950 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
59951 requiring rpcgen.
59952 [cross-compiling] (extra-libs): Likewise.
59953 [cross-compiling] (extra-libs-others): Likewise.
59954 [cross-compiling] (librpcsvc-routines): Likewise.
59955 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
59956 [cross-compiling] (omit-deps): Likewise.
59957 (sunrpc-CPPFLAGS): New variable.
59958 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
59959 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
59960 (cross-rpcgen-objs): New variable.
59961 (extra-objs): Append $(cross-rpcgen-objs).
59962 ($(cross-rpcgen-objs)): New rule.
59963 ($(objpfx)cross-rpcgen): Likewise.
59964 (rpcgen-cmd): Define to use $(built-program-file). Expand
59965 comment.
59966 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
59967 ($(objpfx)x%.stmp): Likewise.
59968 * sunrpc/proto.h [IS_IN_build] (_): Define.
59969 [IS_IN_build] (_libc_intl_domainname): Likewise.
59970
59971 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
59972
59973 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
59974 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
59975 and R_X86_64_TPOFF64.
59976
59977 2012-05-10 Joseph Myers <joseph@codesourcery.com>
59978
59979 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
59980 sysdeps/unix/sysv/syscalls.list.
59981 (stime): Likewise.
59982 (utime): Likewise.
59983 * sysdeps/unix/sysv/syscalls.list: Remove file.
59984
59985 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
59986
59987 [BZ #3440]
59988 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
59989 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
59990 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
59991 (__LC_IDENTIFICATION): Make these macros useful in #if
59992 expressions, as required by C99.
59993
59994 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
59995
59996 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
59997 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
59998 after this.
59999
60000 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
60001
60002 * stdlib/longlong.h: Updated from GCC.
60003
60004 2012-05-09 Andreas Jaeger <aj@suse.de>
60005
60006 * nscd/nscd.c (run_modes): Make named enum, reorder so that
60007 default is first entry.
60008 (run_mode): Set type.
60009 (main): Remove informal message about syslog.
60010 (options): Fix typo.
60011
60012 [BZ #14053]
60013 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
60014 to asm.
60015 (lrint): Likewise.
60016 (llrintf): Likewise.
60017 (llrint): Likewise.
60018 (rint): Likewise.
60019 (rintf): Likewise.
60020 (nearbyint): Likewise.
60021 (nearbyintf): Likewise.
60022
60023 2012-05-09 Andreas Jaeger <aj@suse.de>
60024 Pedro Alves <palves@redhat.com>
60025
60026 * nscd/nscd.c (run_mode): Use enum.
60027 (main): Cleanup coding style issue.
60028
60029 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
60030 Andreas Jaeger <aj@suse.de>
60031
60032 * nscd/nscd.c (go_background): Replaced with...
60033 (run_mode): ... this.
60034 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
60035 (options): Add -F --foreground.
60036 (main): Implement it.
60037 (parse_opt): Parse it.
60038
60039 2012-05-09 Andreas Jaeger <aj@suse.de>
60040
60041 [BZ #14083]
60042 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
60043 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
60044 -Wconversion warning.
60045 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
60046 Likewise.
60047
60048 2012-05-09 Joseph Myers <joseph@codesourcery.com>
60049
60050 * conform/data/locale.h-data (NULL): Use macro-constant. Require
60051 == 0.
60052 (LC_ALL): Use macro-int-constant.
60053 (LC_COLLATE): Likewise.
60054 (LC_CTYPE): Likewise.
60055 (LC_MESSAGES): Likewise.
60056 (LC_MONETARY): Likewise.
60057 (LC_NUMERIC): Likewise.
60058 (LC_TIME): Likewise.
60059 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
60060 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60061 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60062 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
60063 Specify type.
60064 [C99-based standards] (float_t): Expect type.
60065 [C99-based standards] (double_t): Expect type.
60066 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
60067 type.
60068 [C99-based standards] (HUGE_VALL): Likewise.
60069 [C99-based standards] (INFINITY): Likewise.
60070 [C99-based standards] (NAN): Likewise.
60071 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
60072 [C99-based standards] (FP_NAN): Likewise.
60073 [C99-based standards] (FP_NORMAL): Likewise.
60074 [C99-based standards] (FP_SUBNORMAL): Likewise.
60075 [C99-based standards] (FP_ZERO): Likewise.
60076 [C99-based standards] (FP_FAST_FMA): Use
60077 optional-macro-int-constant. Specify type. Require == 1.
60078 [C99-based standards] (FP_FAST_FMAF): Likewise.
60079 [C99-based standards] (FP_FAST_FMAL): Likewise.
60080 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
60081 [C99-based standards] (FP_ILOGBNAN): Likewise.
60082 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
60083 Specify type.
60084 [C99-based standards] (MATH_ERREXCEPT): Likewise.
60085 [C99-based standards] (math_errhandling): Specify type.
60086 [ISO99 || ISO11] (signgam): Do not allow.
60087 [non-C99-based standards] (copysignf): Do not allow.
60088 [non-C99-based standards] (exp2f): Likewise.
60089 [non-C99-based standards] (log2f): Likewise.
60090 [non-C99-based standards] (modff): Allow.
60091 [non-C99-based standards] (erff): Do not allow.
60092 [non-C99-based standards] (erfcf): Likewise.
60093 [non-C99-based standards] (gammaf): Likewise.
60094 [non-C99-based standards] (hypotf): Likewise.
60095 [non-C99-based standards] (j0f): Likewise.
60096 [non-C99-based standards] (j1f): Likewise.
60097 [non-C99-based standards] (jnf): Likewise.
60098 [non-C99-based standards] (lgammaf): Likewise.
60099 [non-C99-based standards] (tgammaf): Likewise.
60100 [non-C99-based standards] (y0f): Likewise.
60101 [non-C99-based standards] (y1f): Likewise.
60102 [non-C99-based standards] (ynf): Likewise.
60103 [non-C99-based standards] (isnanf): Likewise.
60104 [non-C99-based standards] (acoshf): Likewise.
60105 [non-C99-based standards] (asinhf): Likewise.
60106 [non-C99-based standards] (atanhf): Likewise.
60107 [non-C99-based standards] (cbrtf): Likewise.
60108 [non-C99-based standards] (expm1f): Likewise.
60109 [non-C99-based standards] (ilogbf): Likewise.
60110 [non-C99-based standards] (log1pf): Likewise.
60111 [non-C99-based standards] (logbf): Likewise.
60112 [non-C99-based standards] (nextafterf): Likewise.
60113 [non-C99-based standards] (remainderf): Likewise.
60114 [non-C99-based standards] (rintf): Likewise.
60115 [non-C99-based standards] (scalbf): Likewise.
60116 [non-C99-based standards] (copysignl): Likewise.
60117 [non-C99-based standards] (exp2l): Likewise.
60118 [non-C99-based standards] (log2l): Likewise.
60119 [non-C99-based standards] (modfl): Allow.
60120 [non-C99-based standards] (erfl): Do not allow.
60121 [non-C99-based standards] (erfcl): Likewise.
60122 [non-C99-based standards] (gammal): Likewise.
60123 [non-C99-based standards] (hypotl): Likewise.
60124 [non-C99-based standards] (j0l): Likewise.
60125 [non-C99-based standards] (j1l): Likewise.
60126 [non-C99-based standards] (jnl): Likewise.
60127 [non-C99-based standards] (lgammal): Likewise.
60128 [non-C99-based standards] (tgammal): Likewise.
60129 [non-C99-based standards] (y0l): Likewise.
60130 [non-C99-based standards] (y1l): Likewise.
60131 [non-C99-based standards] (ynl): Likewise.
60132 [non-C99-based standards] (isnanl): Likewise.
60133 [non-C99-based standards] (acoshl): Likewise.
60134 [non-C99-based standards] (asinhl): Likewise.
60135 [non-C99-based standards] (atanhl): Likewise.
60136 [non-C99-based standards] (cbrtl): Likewise.
60137 [non-C99-based standards] (expm1l): Likewise.
60138 [non-C99-based standards] (ilogbl): Likewise.
60139 [non-C99-based standards] (log1pl): Likewise.
60140 [non-C99-based standards] (logbl): Likewise.
60141 [non-C99-based standards] (nextafterl): Likewise.
60142 [non-C99-based standards] (remainderl): Likewise.
60143 [non-C99-based standards] (rintl): Likewise.
60144 [non-C99-based standards] (scalbl): Likewise.
60145 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60146 [non-C99-based standards] (FP_*): Do not allow.
60147 [C99-based standards] (FP_*): Change to
60148 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60149 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60150 allow.
60151 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
60152 (SIG_ERR): Likewise.
60153 [X/Open-based standards] (SIG_HOLD): Likewise.
60154 (SIG_IGN): Likewise.
60155 (SIGABRT): Use macro-int-constant. Specify type. Require
60156 positive value.
60157 (SIGFPE): Likewise.
60158 (SIGILL): Likewise.
60159 (SIGINT): Likewise.
60160 (SIGSEGV): Likewise.
60161 (SIGTER): Likewise.
60162 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
60163 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
60164 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
60165 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
60166 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
60167 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
60168 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
60169 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
60170 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
60171 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
60172 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
60173 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
60174 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
60175 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
60176 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
60177 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
60178 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
60179 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
60180 [X/Open-based standards] (SIGTRAP): Likewise.
60181 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
60182 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
60183 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
60184 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
60185 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60186 allow.
60187
60188 2012-05-08 Ian Wienand <ianw@vmware.com>
60189
60190 [BZ #14080]
60191 * time/tzset.c (__tzset_parse_tz): Update default rules for
60192 daylight time changes in the Energy Policy Act of 2005.
60193
60194 2012-05-09 Andreas Jaeger <aj@suse.de>
60195
60196 [BZ #13983]
60197 * elf/ldconfig.c (parse_conf): Change string to make clear that
60198 ldconfig only issued a warning if ld.so.conf does not exist.
60199
60200 2012-05-08 David S. Miller <davem@davemloft.net>
60201
60202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
60203 movxtod instead of popping the value on the stack.
60204
60205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60206
60207 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
60208
60209 * config.h.in: Add HAVE_ARM_PCS_VFP.
60210
60211 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
60212
60213 [BZ #13979]
60214 * include/features.h: Warn if user requests __FORTIFY_SOURCE
60215 checking but the checks are disabled for any reason.
60216
60217 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
60218
60219 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
60220 and ELF64_R_TYPE with ELFW(R_TYPE).
60221
60222 2012-05-08 Joseph Myers <joseph@codesourcery.com>
60223
60224 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
60225 (ulimit): Likewise.
60226
60227 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
60228 (settimeofday): Likewise.
60229
60230 2012-05-08 Mike Frysinger <vapier@gentoo.org>
60231
60232 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
60233 a struct th_u2 inside the union, and move tu_block/tu_code into
60234 a new th_u3 union of tu_block/tu_code inside of that. Move
60235 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
60236 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
60237 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
60238 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
60239 (th_stuff): Change to th_u1.tu_stuff.
60240 (th_data): Define.
60241 (th_msg): Change to th_u1.th_u2.tu_data.
60242
60243 2012-05-07 David S. Miller <davem@davemloft.net>
60244
60245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60246
60247 [BZ #14074]
60248 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
60249 (SETUP_PIC_REG): Use it.
60250 (SETUP_PIC_REG_LEAF): Use it.
60251
60252 2012-05-07 Joseph Myers <joseph@codesourcery.com>
60253
60254 [BZ #13885]
60255 [BZ #13923]
60256 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60257 USE_AS_EXPM1L.
60258 (EXPL_FINITE): Likewise.
60259 (FLDLOG): Likewise.
60260 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60261 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60262 e_expl.S.
60263 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60264 USE_AS_EXPM1L.
60265 (EXPL_FINITE): Likewise.
60266 (FLDLOG): Likewise.
60267 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60268 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60269 e_expl.S.
60270 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
60271 test of -max_value argument for long double.
60272 * sysdeps/i386/fpu/libm-test-ulps: Update.
60273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60274
60275 2012-05-06 David S. Miller <davem@davemloft.net>
60276
60277 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
60278 quad soft-float symbols whose references which are compiler
60279 generated.
60280 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60281
60282 2012-05-06 Joseph Myers <joseph@codesourcery.com>
60283
60284 [BZ #13884]
60285 [BZ #13914]
60286 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60287 USE_AS_EXP10L.
60288 (EXPL_FINITE): Likewise.
60289 (FLDLOG): Likewise.
60290 (c0): Likewise.
60291 (c1): Likewise.
60292 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
60293 Adjust comments for base varying.
60294 (__expl_finite): Change alias to EXPL_FINITE.
60295 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
60296 e_expl.S.
60297 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
60298 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
60299 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60300 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
60301 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60302 USE_AS_EXP10L.
60303 (EXPL_FINITE): Likewise.
60304 (FLDLOG): Likewise.
60305 (c0): Likewise.
60306 (c1): Likewise.
60307 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
60308 Adjust comments for base varying.
60309 (__expl_finite): Change alias to EXPL_FINITE.
60310 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
60311 tests for bugs.
60312 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60313
60314 [BZ #14064]
60315 * math/libm-test.inc (check_float_internal): Correct ulp
60316 calculation for subnormal expected results.
60317
60318 2012-05-06 Andreas Jaeger <aj@suse.de>
60319
60320 * Makeconfig (+math-flags): New, set to -frounding-math.
60321 (+cflags): Add +math-flags so that all of glibc gets compiled with
60322 it.
60323
60324 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
60325
60326 2012-05-05 Joseph Myers <joseph@codesourcery.com>
60327
60328 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
60329 Disable one test.
60330
60331 [BZ #13787]
60332 [BZ #13922]
60333 [BZ #14036]
60334 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
60335 (__ieee754_expl): Allow for and saturate large arguments.
60336 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
60337 (u_threshold): Likewise.
60338 (__exp): Call __ieee754_exp before checking for overflow and
60339 underflow.
60340 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
60341 (u_threshold): Likewise.
60342 (__expf): Call __ieee754_expf before checking for overflow and
60343 underflow.
60344 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
60345 (u_threshold): Likewise.
60346 (__expl): Call __ieee754_expl before checking for overflow and
60347 underflow.
60348 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
60349 (__ieee754_expl): Allow for and saturate large arguments.
60350 * math/libm-test.inc (exp_test): Add another test. Do not allow
60351 missing overflow exception on overflow.
60352 (expm1_test): Do not allow missing overflow exception on overflow.
60353
60354 * sysdeps/i386/fpu/e_expl.c: Move to ...
60355 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
60356 rather than using inline asm.
60357 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
60358 * sysdeps/x86_64/fpu/e_expl.S: Copy from
60359 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
60360
60361 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
60362 (nice): Likewise.
60363 (poll): Likewise.
60364 (signal): Likewise.
60365 (time): Likewise.
60366 (times): Likewise.
60367
60368 2012-05-04 Joseph Myers <joseph@codesourcery.com>
60369
60370 * sysdeps/unix/syscalls.list (adjtime): Add entry from
60371 sysdeps/unix/common/syscalls.list.
60372 (fchmod): Likewise.
60373 (fchown): Likewise.
60374 (ftruncate): Likewise.
60375 (getrusage): Likewise.
60376 (gettimeofday): Likewise.
60377 (setpgid): Likewise.
60378 (setregid): Likewise.
60379 (setreuid): Likewise.
60380 (sigaction): Likewise.
60381 (truncate): Likewise.
60382 (vhangup): Likewise.
60383 * sysdeps/unix/common/syscalls.list: Remove file.
60384 * sysdeps/unix/bsd/Implies: Don't include unix/common.
60385 * sysdeps/unix/sysv/linux/Implies: Likewise.
60386
60387 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
60388
60389 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
60390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
60391 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
60392 Moved to ...
60393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
60394 Here.
60395 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
60396 to ...
60397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
60398 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
60399 to ...
60400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
60401 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
60402 to ...
60403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
60404 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
60405 to ...
60406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
60407 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
60408 to ...
60409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
60410 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
60411 to ...
60412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
60413 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
60414 to ...
60415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60416 Here.
60417 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
60418 to ...
60419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
60420 Here.
60421 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
60422 to ...
60423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
60424 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
60425 Moved to ...
60426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
60427 Here.
60428 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
60429 to ...
60430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
60431
60432 2012-05-04 Joseph Myers <joseph@codesourcery.com>
60433
60434 * sysdeps/unix/common/bits/dirent.h: Remove file.
60435 * sysdeps/unix/common/bits/fcntl.h: Likewise.
60436
60437 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
60438 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
60439 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
60440 * sysdeps/unix/bsd/isatty.c: Likewise.
60441 * sysdeps/unix/bsd/tcdrain.c: Likewise.
60442 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
60443 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
60444
60445 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60446
60447 [BZ #13563]
60448 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
60449 long double comparison inaccuracies.
60450 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60452
60453 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
60454
60455 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
60456 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
60457
60458 2012-05-04 Joseph Myers <joseph@codesourcery.com>
60459
60460 [BZ #14049]
60461 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
60462 nonzero digits before rounding a hex value.
60463 * stdlib/tst-strtod.c (tests): Add another test.
60464
60465 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60466
60467 * sysdeps/s390/fpu/libm-test-ulps: Update.
60468
60469 2012-05-03 Andreas Jaeger <aj@suse.de>
60470
60471 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
60472 does not get optimized out.
60473 (malloc_opt_barrier): New.
60474
60475 2012-05-03 Andreas Jaeger <aj@suse.de>
60476 Roland McGrath <roland@hack.frob.com>
60477
60478 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
60479 intermediate file deletion.
60480 (generated): Add .symlist files.
60481
60482 2012-05-03 Joseph Myers <joseph@codesourcery.com>
60483
60484 [BZ #13775]
60485 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
60486 Redirect under this condition.
60487 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60488 [__USE_GNU] (__dprintf_chk): Not under this condition.
60489 [__USE_GNU] (__vdprintf_chk): Likewise.
60490 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
60491 under this condition.
60492 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60493 [__USE_XOPEN2K8] (dprintf): Define under this condition.
60494 [__USE_XOPEN2K8] (vdprintf): Likewise.
60495 [__USE_GNU] (__dprintf_chk): Not under this condition.
60496 [__USE_GNU] (__vdprintf_chk): Likewise.
60497 [__USE_GNU] (dprintf): Likewise.
60498 [__USE_GNU] (vdprintf): Likewise.
60499
60500 2012-05-03 Roland McGrath <roland@hack.frob.com>
60501
60502 * elf/Makefile (common-generated): Set this instead of generated for
60503 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
60504 $(all-built-dso)-derived lists.
60505
60506 2012-05-03 Andreas Jaeger <aj@suse.de>
60507
60508 * sysdeps/i386/fpu/libm-test-ulps: Update.
60509
60510 * FAQ: Removed.
60511 * FAQ.in: Likewise.
60512 * scripts/gen-FAQ.pl: Likewise.
60513 * manual/install.texi (Installation): Point to online location of
60514 FAQ.
60515 * Makefile (files-for-dist): Remove FAQ.
60516 (FAQ): Remove.
60517
60518 2012-05-02 Allan McRae <allan@archlinux.org>
60519
60520 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
60521 (LDFLAGS-reldepmod5.so): Likewise.
60522 (LDFLAGS-reldep6mod1.so): Likewise.
60523 (LDFLAGS-reldep6mod4.so): Likewise.
60524 (LDFLAGS-reldep8mod3.so): Likewise.
60525 (LDFLAGS-unload4mod1.so): Likewise.
60526 (LDFLAGS-unload4mod2.so): Likewise.
60527 (LDFLAGS-tst-initorder): Likewise.
60528 (LDFLAGS-tst-initordera2.so): Likewise.
60529 (LDFLAGS-tst-initordera3.so): Likewise.
60530 (LDFLAGS-tst-initordera4.so): Likewise.
60531 (LDFLAGS-tst-initorderb2.so): Likewise.
60532 (LDFLAGS-noload): Likewise.
60533 (LDFLAGS-next): Likewise.
60534 (LDFLAGS-order2mod1.so): Likewise.
60535 (LDFLAGS-order2mod2.so): Likewise.
60536 (LDFLAGS-tst-initorder2): Likewise.
60537 (LDFLAGS-tst-initorder2a.so): Likewise.
60538 (LDFLAGS-tst-initorder2b.so): Likewise.
60539 (LDFLAGS-tst-initorder2c.so): Likewise.
60540 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
60541
60542 2012-05-02 David S. Miller <davem@davemloft.net>
60543
60544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60545
60546 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
60547
60548 [BZ #14055]
60549 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
60550
60551 2012-05-02 Andreas Jaeger <aj@suse.de>
60552
60553 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
60554 since we manipulate rounding mode.
60555 (CPPFLAGS-test-idouble.c): Likewise.
60556 (CPPFLAGS-test-ifloat.c): Likewise.
60557 (CFLAGS-test-ldouble.c): Likewise.
60558 (CFLAGS-test-double.c): Likewise.
60559 (CFLAGS-test-float.c): Likewise.
60560 (CFLAGS-test-misc.c): Likewise.
60561 (CFLAGS-test-test-fenv.c): Likewise.
60562
60563 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60564
60565 [BZ #2550]
60566 [BZ #2570]
60567 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
60568 comparisons to determine direction to adjust input.
60569
60570 2012-05-01 Roland McGrath <roland@hack.frob.com>
60571
60572 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
60573 output to the target.
60574
60575 * scripts/localplt.awk: New file.
60576 * elf/Makefile ($(objpfx)check-localplt): Target removed.
60577 (check-localplt-CFLAGS): Variable removed.
60578 ($(all-built-dso:=.jmprel)): New static pattern rule.
60579 (generated): Add those targets.
60580 (localplt-built-dso): New variable.
60581 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
60582
60583 * elf/check-localplt.c: File removed.
60584
60585 * scripts/check-execstack.awk: New file.
60586 * elf/Makefile ($(objpfx)check-execstack): Target removed.
60587 (check-execstack-CFLAGS): Variable removed.
60588 ($(objpfx)check-execstack.h): Target removed.
60589 ($(objpfx)execstack-default): New target.
60590 (generated): Add that instead of check-execstack.h.
60591 ($(all-built-dso:=.phdr)): New static pattern rule.
60592 (generated): Add those targets.
60593 * elf/check-execstack.c: File removed.
60594
60595 * scripts/check-textrel.awk: New file.
60596 * elf/Makefile ($(objpfx)check-textrel): Target removed.
60597 (check-textrel-CFLAGS): Variable removed.
60598 (all-built-dso): Use := to define.o
60599 ($(all-built-dso:=.dyn)): New static pattern rule.
60600 (generated): Add those targets.
60601 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
60602 * config.make.in (READELF): New substituted variable.
60603 * elf/check-textrel.c: File removed.
60604
60605 2012-05-01 Joseph Myers <joseph@codesourcery.com>
60606
60607 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60608 allow.
60609 * conform/data/ctype.h-data [C99-based standards] (isblank):
60610 Expect function.
60611 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
60612 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
60613 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60614 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
60615 Specify type. Require positive value.
60616 (EILSEQ): Likewise.
60617 (ERANGE): Likewise.
60618 [ISO || POSIX] (EILSEQ): Do not expect.
60619 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
60620 Specify type. Require positive value.
60621 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
60622 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
60623 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
60624 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
60625 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
60626 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
60627 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
60628 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
60629 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
60630 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
60631 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
60632 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
60633 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
60634 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
60635 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
60636 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
60637 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
60638 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
60639 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
60640 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
60641 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
60642 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
60643 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
60644 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
60645 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
60646 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
60647 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
60648 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
60649 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
60650 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
60651 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
60652 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
60653 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
60654 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
60655 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
60656 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
60657 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
60658 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
60659 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
60660 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
60661 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
60662 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
60663 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
60664 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
60665 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
60666 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
60667 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
60668 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
60669 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
60670 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
60671 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
60672 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
60673 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
60674 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
60675 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
60676 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
60677 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
60678 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
60679 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
60680 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
60681 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
60682 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
60683 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
60684 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
60685 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
60686 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
60687 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
60688 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
60689 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
60690 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
60691 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
60692 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
60693 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
60694 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
60695 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
60696 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
60697 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
60698 Require >= 2.
60699 (FLT_ROUNDS): Expect as macro, not constant.
60700 (FLT_MANT_DIG): Use macro-int-constant.
60701 (DBL_MANT_DIG): Likewise.
60702 (LDBL_MANT_DIG): Likewise.
60703 (FLT_DIG): Likewise.
60704 (DBL_DIG): Likewise.
60705 (LDBL_DIG): Likewise.
60706 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
60707 (DBL_MIN_EXP): Likewise.
60708 (LDBL_MIN_EXP): Likewise.
60709 (FLT_MAX_EXP): Use macro-int-constant.
60710 (DBL_MAX_EXP): Likewise.
60711 (LDBL_MAX_EXP): Likewise.
60712 (FLT_MAX_10_EXP): Likewise.
60713 (DBL_MAX_10_EXP): Likewise.
60714 (LDBL_MAX_10_EXP): Likewise.
60715 (FLT_MAX): Use macro-constant.
60716 (DBL_MAX): Likewise.
60717 (LDBL_MAX): Likewise.
60718 (FLT_EPSILON): Use macro-constant. Give upper bound.
60719 (DBL_EPSILON): Likewise.
60720 (LDBL_EPSILON): Likewise.
60721 (FLT_MIN): Likewise.
60722 (DBL_MIN): Likewise.
60723 (LDBL_MIN): Likewise.
60724 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
60725 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
60726 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
60727 [ISO11] (FLT_HAS_SUBNORM): Likewise.
60728 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
60729 [ISO11] (DBL_DECIMAL_DIG): Likewise.
60730 [ISO11] (FLT_DECIMAL_DIG): Likewise.
60731 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
60732 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
60733 [ISO11] (FLT_TRUE_MIN): Likewise.
60734 [ISO11] (LDBL_TRUE_MIN): Likewise.
60735 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60736 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
60737 (SCHAR_MIN): Use macro-int-constant. Specify type.
60738 (SCHAR_MAX): Likewise.
60739 (UCHAR_MAX): Likewise.
60740 (CHAR_MIN): Likewise.
60741 (CHAR_MAX): Likewise.
60742 (MB_LEN_MAX): Use macro-int-constant.
60743 (SHRT_MIN): Use macro-int-constant. Specify type.
60744 (SHRT_MAX): Likewise.
60745 (USHRT_MAX): Likewise.
60746 (INT_MAX): Likewise.
60747 (INT_MIN): Use macro-int-constant. Specify type. Make upper
60748 bound negative.
60749 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
60750 bound with "U".
60751 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
60752 bound with "L".
60753 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
60754 bound negative. Suffix upper bound with "L".
60755 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
60756 bound with "UL".
60757 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
60758 Specify type.
60759 [C99-based standards] (LLONG_MAX): Likewise.
60760 [C99-based standards] (ULLONG_MAX): Likewise.
60761 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
60762 == 0.
60763 [ISO11] (max_align_t): Require type.
60764 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60765
60766 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
60767 from $CFLAGS, without defining away __attribute__ calls.
60768 (checknamespace): Use $CFLAGS_namespace.
60769
60770 * conform/conformtest.pl (@keywords): Only include C99 keywords
60771 for standards based on C99 or C11.
60772
60773 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
60774 Disable tests.
60775 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
60776 UNIX98]: Likewise.
60777
60778 * conform/conformtest.pl: Handle "macro-int-constant" and test for
60779 usability of symbols in #if.
60780
60781 * conform/conformtest.pl: If macro or constant types start
60782 "promoted:", expect the symbol to be of the following type
60783 promoted by the integer promotions.
60784
60785 * conform/conformtest.pl: Parse all "constant" and "macro" lines
60786 in one place. Also handle "macro-constant".
60787
60788 * conform/conformtest.pl: Only accept expected macro values with
60789 "==". Parse all "macro" lines in one place.
60790 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
60791
60792 * conform/conformtest.pl: Handle braced types on "constant" lines
60793 instead of handling "typed-constant".
60794 * conform/data/signal.h-data: Use "constant" instead of
60795 "typed-constant".
60796
60797 * conform/conformtest.pl: Handle "optional-" at start of lines in
60798 one place rather than duplicating several cases. Handle each
60799 format of "macro" line with initial "optional-".
60800
60801 * conform/conformtest.pl: Only accept expected constant or
60802 optional-constant values with "==". Parse all "constant" lines in
60803 one place. Parse all "optional-constant" lines in one place.
60804 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
60805 * conform/data/fmtmsg.h-data: Likewise.
60806 * conform/data/netinet/in.h-data: Likewise.
60807 * conform/data/tar.h-data: Likewise.
60808 * conform/data/limits.h-data: Use "==" form on "constant" and
60809 "optional-constant" lines.
60810
60811 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
60812 Use -std=c99 for XOPEN2K.
60813 (@knownproblems): Remove.
60814 (newtoken): Don't check %isknown.
60815
60816 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
60817 Do not expect macro.
60818 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
60819 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
60820 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
60821 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
60822 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
60823 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
60824 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
60825 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
60826 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
60827 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
60828 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
60829 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
60830 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
60831 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
60832 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
60833 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
60834 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60835 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
60836 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
60837 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
60838 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
60839 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
60840 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
60841 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
60842 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
60843 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
60844 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
60845 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
60846 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
60847 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
60848 [XPG3] (acosh): Likewise.
60849 [XPG3] (asinh): Likewise.
60850 [XPG3] (atanh): Likewise.
60851 [XPG3] (cbrt): Likewise.
60852 [XPG3] (expm1): Likewise.
60853 [XPG3] (ilogb): Likewise.
60854 [XPG3] (log1p): Likewise.
60855 [XPG3] (logb): Likewise.
60856 [XPG3] (nextafter): Likewise.
60857 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60858 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
60859 [XPG3] (remainder): Likewise.
60860 [XPG3] (rint): Likewise.
60861 [XPG3 || XPG4 || UNIX98] (round): Likewise.
60862 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
60863 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
60864 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
60865 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
60866 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
60867 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
60868 [UNIX98 || XOPEN2K] (scalb): Expect.
60869 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
60870 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
60871 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
60872 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
60873 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
60874 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
60875 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
60876 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
60877 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
60878 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
60879 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
60880 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
60881 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
60882 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
60883 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
60884 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
60885 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
60886 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
60887 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
60888 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
60889 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
60890 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
60891 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
60892 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
60893 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
60894 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
60895 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
60896 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
60897 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
60898 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
60899 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
60900 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
60901 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
60902 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
60903 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
60904 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
60905 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
60906 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
60907 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
60908 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
60909 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
60910 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
60911 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
60912 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
60913 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
60914 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
60915 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
60916 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
60917 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
60918 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
60919 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
60920 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
60921 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
60922 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
60923 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
60924 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
60925 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
60926 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
60927 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
60928 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
60929 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
60930 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
60931 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
60932 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
60933 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
60934 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
60935 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
60936 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
60937 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
60938 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
60939 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
60940 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
60941 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
60942 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
60943 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
60944 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
60945 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
60946 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
60947 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
60948 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
60949 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
60950 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
60951 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
60952 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
60953 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
60954 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
60955 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
60956 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
60957 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
60958 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
60959 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
60960 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
60961 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
60962 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
60963 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
60964 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
60965 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
60966 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
60967 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
60968 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
60969 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
60970 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
60971 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
60972 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
60973 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
60974 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
60975 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
60976 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
60977 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
60978 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
60979 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
60980 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
60981 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
60982 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
60983 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
60984 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
60985 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
60986 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
60987 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
60988 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
60989 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
60990 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
60991 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
60992 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
60993 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
60994 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
60995 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
60996 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
60997 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
60998 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
60999 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
61000 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
61001 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
61002 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
61003 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
61004 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
61005 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
61006
61007 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
61008 _XOPEN_SOURCE_EXTENDED for XPG4.
61009
61010 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
61011
61012 * Makeconfig (localtime): Remove variable.
61013 (inst_localtime-file): Likewise.
61014
61015 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
61016
61017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
61018 Update.
61019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61020 Update.
61021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
61022 Update.
61023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61024 Update.
61025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
61026 Update.
61027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
61028 Update.
61029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61030 Update.
61031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
61032 Update.
61033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61034 Update.
61035
61036 2012-05-01 Joseph Myers <joseph@codesourcery.com>
61037
61038 [BZ #2550]
61039 [BZ #2570]
61040 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
61041 comparisons to determine direction to adjust input.
61042 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
61043 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
61044 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
61045 Likewise.
61046 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
61047 Likewise.
61048 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61049 Likewise.
61050 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
61051 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
61052 Likewise.
61053 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
61054 Likewise.
61055 * math/libm-test.inc (nexttoward_test): Add more tests.
61056
61057 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
61058
61059 [BZ #14040]
61060 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
61061 in version GLIBC_2.1, not GLIBC_2.0.
61062 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
61063 Likewise.
61064
61065 2012-04-30 Joseph Myers <joseph@codesourcery.com>
61066
61067 [BZ #13942]
61068 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
61069 (1 - x) * (1 + x).
61070 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61071 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
61072 * math/libm-test.inc (acos_test): Add more tests.
61073 (asin_test): Likewise.
61074 * sysdeps/i386/fpu/libm-test-ulps: Update.
61075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61076
61077 [BZ #14034]
61078 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
61079 of square root.
61080 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
61081 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61082 * math/libm-test.inc (acos_test_tonearest): New function.
61083 (acos_test_towardzero): Likewise.
61084 (acos_test_downward): Likewise.
61085 (acos_test_upward): Likewise.
61086 (asin_test_tonearest): Likewise.
61087 (asin_test_towardzero): Likewise.
61088 (asin_test_downward): Likewise.
61089 (asin_test_upward): Likewise.
61090 (main): Call the new functions.
61091 * sysdeps/i386/fpu/libm-test-ulps: Update.
61092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61093
61094 [BZ #13884]
61095 [BZ #13924]
61096 * math/e_exp10.c: Include <float.h>.
61097 (__ieee754_exp10): Handle underflow here rather than multiplying
61098 large negative argument by M_LN10.
61099 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
61100 of __ieee754_expf.
61101 * math/e_exp10l.c: Include <float.h>.
61102 (__ieee754_exp10l): Handle underflow here rather than multiplying
61103 large negative argument by M_LN10l.
61104 * math/libm-test.inc (exp10_test): Add another test. Do not allow
61105 spurious overflow exception on underflow.
61106
61107 2012-04-29 Marek Polacek <polacek@redhat.com>
61108
61109 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
61110 (__fortify_function): New macro.
61111 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
61112 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
61113 __extern_always_inline.
61114 * libio/bits/stdio2.h: Likewise.
61115 * libio/bits/stdio.h: Likewise.
61116 * string/string.h: Likewise.
61117 * string/bits/string3.h: Likewise.
61118 * include/stdio.h: Likewise.
61119 * stdlib/bits/stdlib.h: Likewise.
61120 * stdlib/stdlib.h: Likewise.
61121 * rt/bits/mqueue2.h: Likewise.
61122 * rt/mqueue.h: Likewise.
61123 * posix/bits/unistd.h: Likewise.
61124 * posix/unistd.h: Likewise.
61125 * io/bits/poll2.h: Likewise.
61126 * io/bits/fcntl2.h: Likewise.
61127 * io/fcntl.h: Likewise.
61128 * io/sys/poll.h: Likewise.
61129 * misc/bits/syslog.h: Likewise.
61130 * misc/bits/syslog-ldbl.h: Likewise.
61131 * misc/sys/syslog.h: Likewise.
61132 * socket/bits/socket2.h: Likewise.
61133 * socket/sys/socket.h: Likewise.
61134 * debug/tst-chk1.c: Likewise.
61135 * wcsmbs/bits/wchar2.h: Likewise.
61136 * wcsmbs/bits/wchar-ldbl.h: Likewise.
61137 * wcsmbs/wchar.h: Likewise.
61138
61139 2012-04-29 Andreas Jaeger <aj@suse.de>
61140
61141 * Makerules (tests): Remove enable-check-abi protection.
61142 (check-abi-warn): Remove.
61143 (check-abi-%): Remove check-abi-warn usage.
61144
61145 * configure.in: Remove check-abi configure option.
61146 * configure: Regenerated.
61147 * config.make.in (enable-check-abi): Remove.
61148
61149 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
61150
61151 [BZ #14033]
61152 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
61153 double functions to double *_finite functions.
61154
61155 [BZ #13941]
61156 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
61157 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
61158 LDBL_MIN_EXP.
61159 * stdio-common/Makefile (tests): Add tst-sprintf3.
61160 * stdio-common/tst-sprintf3.c: New file.
61161
61162 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
61163 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
61164
61165 2012-04-28 Joseph Myers <joseph@codesourcery.com>
61166
61167 * conform/conformtest.pl: Remove duplicate typed-constant
61168 handling.
61169
61170 2012-04-28 David S. Miller <davem@davemloft.net>
61171
61172 * Makerules (%.abilist): Add vpath on sysdep_dirs.
61173 (check-abi-%): Remove AWK script prerequisite and explicit
61174 abilist directory.
61175 (check-abi): Rewrite to just diff the symlist with the abilist.
61176 (config-tls, config-abi-config): Delete, no longer used.
61177 (update-abi-%): Remove AWK script and explicit abilist directory.
61178 (update-abi): Rewrite to simply compare and conditionally copy the
61179 symlist and the sysdep abilist file. Remove update-abi-config
61180 checks.
61181 * abilist/ld.abilist: Remove.
61182 * abilist/libBrokenLocale.abilist: Remove.
61183 * abilist/libanl.abilist: Remove.
61184 * abilist/libcrypt.abilist: Remove.
61185 * abilist/libdl.abilist: Remove.
61186 * abilist/librt.abilist: Remove.
61187 * abilist/libthread_db.abilist: Remove.
61188 * abilist/libutil.abilist: Remove.
61189 * scripts/extract-abilist.awk: Remove.
61190 * scripts/merge-abilist.awk: Remove.
61191 * sysdeps/generic/libcidn.abilist: New file.
61192 * sysdeps/generic/libnss_compat.abilist: New file.
61193 * sysdeps/generic/libnss_db.abilist: New file.
61194 * sysdeps/generic/libnss_dns.abilist: New file.
61195 * sysdeps/generic/libnss_files.abilist: New file.
61196 * sysdeps/generic/libnss_hesiod.abilist: New file.
61197 * sysdeps/generic/libnss_nis.abilist: New file.
61198 * sysdeps/generic/libnss_nisplus.abilist: New file.
61199 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
61200 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
61201 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
61202 file.
61203 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
61204 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
61205 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
61206 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
61207 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
61208 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
61209 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
61210 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
61211 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
61212 file.
61213 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
61214 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
61215 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
61216 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
61217 file.
61218 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
61219 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
61220 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
61221 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
61222 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
61223 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
61224 file.
61225 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
61226 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
61227 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
61228 file.
61229 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
61230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
61231 New file.
61232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
61233 New file.
61234 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
61235 New file.
61236 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
61237 New file.
61238 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
61239 New file.
61240 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
61241 New file.
61242 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
61243 New file.
61244 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
61245 New file.
61246 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
61247 New file.
61248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
61249 New file.
61250 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
61251 New file.
61252 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
61253 New file.
61254 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
61255 New file.
61256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
61257 file.
61258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
61259 New file.
61260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
61261 New file.
61262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
61263 file.
61264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
61265 New file.
61266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
61267 New file.
61268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
61269 file.
61270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
61271 New file.
61272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61273 New file.
61274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
61275 New file.
61276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
61277 New file.
61278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
61279 New file.
61280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
61281 New file.
61282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
61283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
61284 file.
61285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
61286 New file.
61287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
61288 file.
61289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
61290 file.
61291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
61292 file.
61293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
61294 file.
61295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
61296 file.
61297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61298 New file.
61299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
61300 file.
61301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
61302 file.
61303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
61304 New file.
61305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
61306 file.
61307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
61308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
61309 file.
61310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
61311 New file.
61312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
61313 file.
61314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
61315 file.
61316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
61317 file.
61318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
61319 file.
61320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
61321 file.
61322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61323 New file.
61324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
61325 file.
61326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
61327 file.
61328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
61329 New file.
61330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
61331 file.
61332 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61333 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
61334 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
61335 file.
61336 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
61337 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
61338 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
61339 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
61340 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
61341 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
61342 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
61343 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
61344 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
61345 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
61346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
61347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
61348 file.
61349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
61350 New file.
61351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
61352 file.
61353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
61354 file.
61355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
61356 file.
61357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
61358 file.
61359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
61360 file.
61361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61362 New file.
61363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
61364 New file.
61365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
61366 file.
61367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
61368 New file.
61369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
61370 file.
61371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
61372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
61373 file.
61374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
61375 New file.
61376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
61377 file.
61378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
61379 file.
61380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
61381 file.
61382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
61383 file.
61384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
61385 file.
61386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61387 New file.
61388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
61389 New file.
61390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
61391 file.
61392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
61393 New file.
61394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
61395 file.
61396
61397 2012-04-28 Joseph Myers <joseph@codesourcery.com>
61398
61399 * conform/conformtest.pl: Fix typo in handling typed-constant from
61400 allow-header.
61401
61402 2012-04-27 Joseph Myers <joseph@codesourcery.com>
61403
61404 * README: Cut down references to pre-2.6 Linux kernels and
61405 Linuxthreads. Update lists of configurations in libc and ports
61406 and sort alphabetically. Say "or newer" with Linux kernel version
61407 requirements.
61408
61409 * config.h.in [IS_IN_build]: Allow compiling without optimization.
61410
61411 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
61412
61413 [BZ #887]
61414 * math/libm-test.inc (logb_test_downward): New test to expose
61415 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
61416 rounding mode.
61417
61418 2012-04-27 Joseph Myers <joseph@codesourcery.com>
61419
61420 [BZ #14027]
61421 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
61422 to be done.
61423 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
61424 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
61425
61426 2012-04-26 Joseph Myers <joseph@codesourcery.com>
61427
61428 * sysdeps/unix/i386/brk.S: Remove file.
61429 * sysdeps/unix/i386/dl-brk.S: Likewise.
61430 * sysdeps/unix/i386/pipe.S: Likewise.
61431 * sysdeps/unix/i386/sigreturn.S: Likewise.
61432 * sysdeps/unix/i386/syscall.S: Likewise.
61433 * sysdeps/unix/i386/vfork.S: Likewise.
61434 * sysdeps/unix/i386/wait.S: Likewise.
61435
61436 * sysdeps/unix/common/tcsendbrk.c: Move to ...
61437 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
61438
61439 * configure.in (arm*-none*): Do not allow without
61440 --enable-hacker-mode.
61441 (netbsd*): Remove case setting base_os.
61442 (386bsd*): Likewise.
61443 (freebsd*): Likewise.
61444 (bsdi*): Likewise.
61445 (osf*): Likewise.
61446 (sunos*): Likewise.
61447 (ultrix*): Likewise.
61448 (newsos*): Likewise.
61449 (dynix*): Likewise.
61450 (*bsd*): Likewise.
61451 (sysv*): Likewise.
61452 (isc*): Likewise.
61453 (esix*): Likewise.
61454 (sco*): Likewise.
61455 (minix*): Likewise.
61456 (irix4*): Likewise.
61457 (irix6*): Likewise.
61458 (solaris[2-9]*): Likewise.
61459 (none): Likewise.
61460 * configure: Regenerated.
61461
61462 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61463
61464 [BZ #11521]
61465 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
61466 overflow or cancellation in calculating denominator.
61467 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
61468 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
61469 down expression to avoid unexpected rounding in newer GCCs.
61470 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
61471
61472 2012-04-26 David S. Miller <davem@davemloft.net>
61473
61474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
61475 long-double compat symbols.
61476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
61480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
61482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
61483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
61484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
61485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
61486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
61487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
61488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61489
61490 2012-04-25 David S. Miller <davem@davemloft.net>
61491
61492 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
61493 HWCAP_* values only after the memory barriers have been defined.
61494 (atomic_full_barrier): Define.
61495 (atomic_read_barrier): Define.
61496 (atomic_write_barrier): Define.
61497
61498 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
61499
61500 * shlib-versions: Add libgcc_s version information.
61501 * sysdeps/generic/libgcc_s.h: Remove.
61502 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
61503 libgcc_s.h.
61504 * sysdeps/gnu/unwind-resume.c: Likewise.
61505 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
61506
61507 2012-04-25 David S. Miller <davem@davemloft.net>
61508
61509 * sysdeps/unix/sparc/brk.S: Delete.
61510 * sysdeps/unix/sparc/dl-brk.S: Delete.
61511 * sysdeps/unix/sparc/pipe.S: Delete.
61512 * sysdeps/unix/sparc/sysdep.S: Delete.
61513 * sysdeps/unix/sparc/sysdep.h: Delete.
61514 * sysdeps/unix/sparc/vfork.S: Delete.
61515 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
61516 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
61517 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
61518 (ret_ERRVAL, r0, r1, MOVE): Define.
61519 (JUMPTARGET): Remove.
61520 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
61521 sysdeps/unix/sparc/sysdep.h
61522 (ENTRY, END): Remove.
61523 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61524
61525 2012-04-25 Joseph Myers <joseph@codesourcery.com>
61526
61527 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
61528 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
61529 -DIS_IN_build.
61530
61531 * timezone/README: Update upstream location and email address for
61532 tzcode and tzdata.
61533 * timezone/zdump.c: Update from tzcode 2012b.
61534 * timezone/zic.c: Likewise.
61535
61536 * configure.in (libc_cv_as_needed): Remove test.
61537 * configure: Regenerated.
61538 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
61539 conditional definition.
61540 [$(have-as-needed) != yes] (no-as-needed): Likewise.
61541 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
61542 * config.make.in (have-as-needed): Remove variable.
61543
61544 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
61545 Paul Pluzhnikov <ppluzhnikov@google.com>
61546
61547 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
61548 strings correctly.
61549
61550 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
61551
61552 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
61553 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
61554 * sysdeps/sh/strlen.S: Likewise.
61555
61556 2012-04-24 Joseph Myers <joseph@codesourcery.com>
61557
61558 * sysdeps/unix/fork.S: Remove file.
61559 * sysdeps/unix/i386/fork.S: Likewise.
61560 * sysdeps/unix/sparc/fork.S: Likewise.
61561
61562 * sysdeps/unix/system.c: Remove file.
61563 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
61564
61565 * sysdeps/unix/getegid.S: Remove file.
61566 * sysdeps/unix/geteuid.S: Likewise.
61567
61568 2012-04-24 Roland McGrath <roland@hack.frob.com>
61569
61570 * scripts/check-localplt.awk: New file.
61571 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
61572 of diff.
61573 * scripts/data/localplt-generic.data: Add a comment.
61574
61575 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
61576 NODE when __dir_mkfile failed.
61577 * sysdeps/mach/hurd/symlinkat.c: Likewise.
61578 Reported by Ludovic Courtès <ludo@gnu.org>.
61579
61580 2012-04-24 Andreas Jaeger <aj@suse.de>
61581
61582 * Makerules (common-clean): Also remove gen-as-const-headers
61583 files.
61584
61585 2012-04-24 Joseph Myers <joseph@codesourcery.com>
61586
61587 * Makerules (native-compile): Do not change working directory for
61588 build. Use $(OUTPUT_OPTION) in command.
61589 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
61590
61591 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61592
61593 [BZ #13886]
61594 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
61595 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
61596 * math/libm-test.inc (floor_test): Add more tests.
61597 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
61598
61599 2012-04-24 Joseph Myers <joseph@codesourcery.com>
61600
61601 * sysdeps/unix/getdents.c: Remove file.
61602 * sysdeps/unix/sysv/getdents.c: Likewise.
61603 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
61604
61605 * sysdeps/unix/syscalls.list (madvise): Add syscall from
61606 sysdeps/unix/mman/syscalls.list.
61607 (mmap): Likewise.
61608 (mprotect): Likewise.
61609 (msync): Likewise.
61610 (munmap): Likewise.
61611 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
61612 * sysdeps/unix/mman/syscalls.list: Remove.
61613 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
61614
61615 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
61616 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
61617 * configure: Regenerated.
61618 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
61619 $(libgcc_s_suffix).
61620 * config.make.in (libgcc_s_suffix): Remove variable.
61621
61622 2012-04-23 Joseph Myers <joseph@codesourcery.com>
61623
61624 * sysdeps/unix/sysv/gethostname.c: Move to ...
61625 * sysdeps/posix/gethostname.c: ... here.
61626
61627 * sysdeps/unix/execve.S: Remove file.
61628
61629 * sysdeps/unix/_exit.S: Remove file.
61630
61631 2012-04-23 Andreas Jaeger <aj@suse.de>
61632
61633 [BZ #13739]
61634 * manual/Makefile: Remove make dist support, there's no
61635 need for a stand-alone documentation tar ball.
61636 (TEXI2DVI): Define always, it's not in Makeconfig.
61637 (dist): Removed.
61638 (tar-it): Removed.
61639 (edition): Removed.
61640 (glibc-doc-$(edition).tar): Removed
61641 (%.Z): Removed.
61642 (%.gz): Removed.
61643 (%.uu): Removed.
61644 (ETAGS): Remove, it's in Makeconfig.
61645 (move-if-change): Remove, it's in Makeconfig.
61646
61647 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
61648
61649 [BZ #13970]
61650 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
61651 (strtod, strtof, strtold, strtol, strtoul, strtoq)
61652 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
61653 (strtod_l, strtof_l, strtold_l): Remove __wur.
61654 It is not necessarily an error to ignore strtol's return value.
61655 One can reliably look at the stored endptr to decide whether
61656 the number had valid syntax.
61657
61658 2012-04-21 Andreas Jaeger <aj@suse.de>
61659
61660 [BZ #13739]
61661 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
61662
61663 2012-04-21 Joseph Myers <joseph@codesourcery.com>
61664
61665 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
61666 * sysdeps/unix/sysv/Versions: Remove file.
61667
61668 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
61669
61670 [BZ #13927]
61671 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61672
61673 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
61674
61675 [BZ #7064]
61676 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
61677 version from __vm86.
61678
61679 2012-04-20 Joseph Myers <joseph@codesourcery.com>
61680
61681 * sysdeps/unix/common/lxstat.c: Remove file.
61682 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
61683
61684 * sysdeps/unix/sysv/Makefile: Remove file.
61685
61686 * sysdeps/unix/sysv/direct.h: Remove file.
61687
61688 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
61689 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
61690 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
61691 * sysdeps/unix/sysv/bits/signum.h: Likewise.
61692 * sysdeps/unix/sysv/bits/stat.h: Likewise.
61693 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
61694 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
61695
61696 * sysdeps/unix/sysv/setrlimit.c: Remove file.
61697
61698 * sysdeps/unix/xmknod.c: Remove file.
61699 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
61700
61701 * sysdeps/unix/sysv/settimeofday.c: Remove file.
61702
61703 * sysdeps/unix/sysv/i386/time.S: Remove file.
61704
61705 * sysdeps/unix/fxstat.c: Remove file.
61706 * sysdeps/unix/xstat.c: Likewise.
61707 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
61708
61709 * sysdeps/unix/sysv/sigaction.c: Remove file.
61710
61711 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
61712 (sysdep_headers): Remove variable.
61713 [termio.h not in sysdep_headers] (generated): Likewise.
61714 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
61715 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
61716 * sysdeps/unix/sysv/tcdrain.c: Likewise.
61717 * sysdeps/unix/sysv/tcflow.c: Likewise.
61718 * sysdeps/unix/sysv/tcflush.c: Likewise.
61719 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
61720 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
61721 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
61722 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
61723 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
61724
61725 * sysdeps/unix/siglist.c: Remove file.
61726
61727 * sysdeps/unix/getppid.S: Remove file.
61728
61729 * sysdeps/unix/mkdir.c: Remove file.
61730 * sysdeps/unix/rmdir.c: Likewise.
61731
61732 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
61733
61734 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
61735 ERR_MAX value.
61736 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
61737 errlist-compat value.
61738
61739 2012-04-18 David S. Miller <davem@davemloft.net>
61740
61741 * sysdeps/generic/memcopy.h (reg_char): Delete.
61742 * debug/strcat_chk.c: Use char, not reg_char.
61743 * debug/strcpy_chk.c: Likewise.
61744 * debug/strncat_chk.c: Likewise.
61745 * debug/strncpy_chk.c: Likewise.
61746 * string/memchr.c: Likewise.
61747 * string/memrchr.c: Likewise.
61748 * string/rawmemchr.c: Likewise.
61749 * string/strcat.c: Likewise.
61750 * string/strchr.c: Likewise.
61751 * string/strchrnul.c: Likewise.
61752 * string/strcmp.c: Likewise.
61753 * string/strcpy.c: Likewise.
61754 * string/strncat.c: Likewise.
61755 * string/strncmp.c: Likewise.
61756 * string/strncpy.c: Likewise.
61757
61758 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
61759
61760 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
61761 __builtin_memcopy is called when src and dest ranges are known to not
61762 overlap.
61763
61764 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
61765
61766 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
61767 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
61768 fwd_align_merge macro call.
61769 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
61770 bwd_align_merge macro call.
61771 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61772
61773 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
61774
61775 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
61776 bwd_align_merge macros.
61777 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
61778 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
61779 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61780
61781 2012-04-18 David S. Miller <davem@davemloft.net>
61782
61783 * sysdeps/sparc/sparc64/memcopy.h: Delete.
61784
61785 2012-04-18 Andreas Jaeger <aj@suse.de>
61786
61787 [BZ# 6794]
61788 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
61789 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
61790 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61791
61792 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
61793 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
61794 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61795
61796 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
61797 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
61798 Adjust for changed ldbl-128 files.
61799
61800 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
61801 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
61802 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61803
61804 2012-04-17 David S. Miller <davem@davemloft.net>
61805
61806 * sysdeps/sparc/sparc32/memcopy.h: Delete.
61807
61808 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
61809
61810 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
61811 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
61812 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
61813 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
61814 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61815 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
61816
61817 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61818
61819 [BZ #6794]
61820 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
61821 * math/libm-test.inc: Add ilogb errno and exception tests.
61822 * math/w_ilogb.c: New file: ilogb wrapper.
61823 * math/w_ilogbf.c: New file: ilogbf wrapper.
61824 * math/w_ilogbl.c: New file: ilogbl wrapper.
61825 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
61826 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
61827 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
61828 exception being thrown with 0.0 as argument.
61829 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
61830 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
61831 exception being thrown with 0.0 as argument.
61832 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
61833 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61834 exception being thrown with 0.0 as argument.
61835 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
61836 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61837 exception being thrown with 0.0 as argument.
61838 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
61839 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
61840 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
61841 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
61842 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
61843 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
61844 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
61845 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
61846 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
61847
61848 2012-04-17 Petr Baudis <pasky@ucw.cz>
61849
61850 * include/sys/uio.h: Change __vector to __iovec to avoid clash
61851 with altivec.
61852
61853 2012-04-16 Marek Polacek <polacek@redhat.com>
61854
61855 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
61856
61857 2012-04-16 Marek Polacek <polacek@redhat.com>
61858
61859 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
61860 operands of fdivp instruction.
61861
61862 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
61863
61864 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
61865 * elf/tst-auditmod3b.c: Likewise.
61866 * elf/tst-auditmod4b.c: Likewise.
61867 * elf/tst-auditmod5b.c: Likewise.
61868 * elf/tst-auditmod6b.c: Likewise.
61869 * elf/tst-auditmod6c.c: Likewise.
61870 * elf/tst-auditmod7b.c: Likewise.
61871 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
61872 * sysdeps/x86_64/preconfigure.in: Likewise.
61873 * sysdeps/x86_64/preconfigure: Regenerated.
61874
61875 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
61876
61877 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
61878 __ILP32__.
61879
61880 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
61881
61882 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61883 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
61884
61885 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
61886
61887 [BZ #13973]
61888 * locale/iso-639.def: Fix gl language name. Spotted by
61889 Yaron Shahrabani.
61890
61891 2012-04-12 Roland McGrath <roland@hack.frob.com>
61892
61893 [BZ #2074]
61894 * libio/libio.h (__io_write_fn): Update comment.
61895
61896 2012-04-12 Petr Baudis <pasky@ucw.cz>
61897
61898 [BZ #2074]
61899 * stdio.texi (Hook Functions): The user provided writer function
61900 is not allowed to return -1.
61901
61902 2012-04-11 David S. Miller <davem@davemloft.net>
61903
61904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61905
61906 2012-04-11 Mike Frysinger <vapier@gentoo.org>
61907
61908 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
61909 Add a leading slash to rtkaio.
61910
61911 2012-04-11 Jim Meyering <meyering@redhat.com>
61912
61913 [BZ #11959]
61914 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
61915 It is not necessarily an error to ignore fwrite's return
61916 value. One can reliably use ferror to test for errors after
61917 the fact.
61918
61919 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
61920
61921 * bits/types.h (__snseconds_t): New type.
61922 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
61923
61924 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
61925 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61926 (__SNSECONDS_T_TYPE): Likewise.
61927 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61928 (__SNSECONDS_T_TYPE): Likewise.
61929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61930 (__SNSECONDS_T_TYPE): Likewise.
61931
61932 2012-04-10 Andreas Jaeger <aj@suse.de>
61933
61934 [BZ #2636]
61935 * manual/time.texi (Processor Time): Return type of times is
61936 elapsed real time since an arbitrary point in the past.
61937 (CPU Time): Move CLK_TCK from here...
61938 (Processor Time): ...to here. Correct description.
61939 * manual/conf.texi (Constants for Sysconf): Correct description of
61940 _SC_CLK_TCK.
61941
61942 2012-04-10 David S. Miller <davem@davemloft.net>
61943
61944 [BZ #13967]
61945 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
61946 where the is a gap between DT_REL(A) and DT_JMPREL.
61947
61948 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
61949
61950 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
61951 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61952 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61953
61954 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
61955
61956 * elf/dl-support.c (_dl_inhibit_cache): New variable.
61957 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
61958 (dl_main): Handle --inhibit-cache.
61959 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
61960 _dl_inhibit_cache.
61961 * elf/dl-load.c (_dl_map_object): Use it.
61962 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
61963
61964 2012-04-09 Joseph Myers <joseph@codesourcery.com>
61965
61966 [BZ #13872]
61967 * sysdeps/i386/fpu/e_powl.S (p78): New object.
61968 (__ieee754_powl): Saturate large exponents rather than testing for
61969 overflow of y*log2(x).
61970 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61971 * math/libm-test.inc (pow_test): Do not permit spurious overflow
61972 exceptions.
61973
61974 [BZ #11521]
61975 * math/s_ctan.c: Include <float.h>.
61976 (__ctan): Avoid internal overflow or cancellation in calculating
61977 denominator.
61978 * math/s_ctanf.c: Likewise.
61979 * math/s_ctanl.c: Likewise.
61980 * math/s_ctanh.c: Likewise.
61981 * math/s_ctanhf.c: Likewise.
61982 * math/s_ctanhl.c: Likewise.
61983 * math/libm-test.inc (ctan_test): Add more tests.
61984 (ctanh_test): Likewise.
61985 * sysdeps/i386/fpu/libm-test-ulps: Update.
61986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61987
61988 2012-04-09 Andreas Jaeger <aj@suse.de>
61989
61990 [BZ #6894]
61991 * manual/filesys.texi (Directory Entries): Mention that d_namlen
61992 is an optional BSD extension.
61993
61994 [BZ #10254]
61995 * manual/stdio.texi (Opening Streams): Document additional fopen
61996 parameters.
61997
61998 2012-04-09 Roland McGrath <roland@hack.frob.com>
61999
62000 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
62001 %eax without telling the compiler.
62002
62003 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
62004
62005 [BZ # 13963]
62006 * manual/install.texi: Use sourceware.org.
62007
62008 2012-04-09 Joseph Myers <joseph@codesourcery.com>
62009
62010 [BZ #13873]
62011 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
62012 (__ieee754_pow): Generate overflow and underflow using huge*huge
62013 and tiny*tiny rather than just returning constant infinity or zero
62014 for large exponents.
62015 * math/libm-test.inc (pow_test): Require overflow exceptions for
62016 applicable cases of large exponents.
62017
62018 [BZ #706]
62019 * sysdeps/i386/fpu/e_pow.S (p10): New object.
62020 (__ieee754_pow): Use iterative multiplication algorithm only for
62021 integer exponents with absolute value below 1024. Check for odd
62022 integer exponents when using algorithm for real exponents.
62023 * math/libm-test.inc (pow_test): Add more tests.
62024 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62025
62026 2012-04-08 Joseph Myers <joseph@codesourcery.com>
62027
62028 [BZ #13705]
62029 * math/libm-test.inc (exp_test): Do not allow overflow exception
62030 on underflow test.
62031
62032 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
62033
62034 [BZ #13705]
62035 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
62036 instead of __kernel_standard_f.
62037
62038 2012-04-08 Mike Frysinger <vapier@gentoo.org>
62039
62040 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
62041 * sysdeps/x86_64/memset_chk.S: Likewise.
62042
62043 2012-04-08 Andreas Jaeger <aj@suse.de>
62044
62045 [BZ #10153]
62046 * manual/startup.texi (Environment Access): Describe return value
62047 for putenv and setenv.
62048
62049 [BZ #6895]
62050 * manual/filesys.texi (Directory Entries): Add description for
62051 DT_LNK.
62052
62053 [BZ #6890]
62054 * manual/filesys.texi (Directory Entries): Clarify that it's file
62055 system not operating system in the description of DT_UNKNOWN.
62056
62057 [BZ #6578]
62058 * manual/syslog.texi (closelog): Fix reference, it's openlog.
62059
62060 2012-04-08 Stephen Compall <s11@member.fsf.org>
62061
62062 [BZ #6649]
62063 * manual/llio.texi (Opening and Closing Files): Add cross
62064 reference to explain mode argument.
62065
62066 2012-04-07 Mike Frysinger <vapier@gentoo.org>
62067
62068 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
62069 * sysdeps/x86_64/memset_chk.S: Likewise.
62070
62071 2012-04-07 David S. Miller <davem@davemloft.net>
62072
62073 * elf/elf.h (R_SPARC_WDISP10): Define.
62074 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
62075 R_SPARC_SIZE32.
62076 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
62077 R_SPARC_SIZE64 and R_SPARC_H34.
62078
62079 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
62080
62081 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
62082 conditions and remove no longer applicable assertion.
62083
62084 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
62085
62086 * bits/byteswap.h: Include <features.h>.
62087 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62088 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62089
62090 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
62091
62092 * bits/byteswap.h (__bswap_16): Removed.
62093 Include <bits/byteswap-16.h> to get __bswap_16.
62094 * sysdeps/i386/bits/byteswap.h: Likewise.
62095 * sysdeps/s390/bits/byteswap.h: Likewise.
62096 * sysdeps/x86_64/bits/byteswap.h: Likewise.
62097 * bits/byteswap-16.h: New file.
62098 * sysdeps/i386/bits/byteswap-16.h: Likewise.
62099 * sysdeps/s390/bits/byteswap-16.h: Likewise.
62100 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
62101 * string/Makefile (headers): Add bits/byteswap-16.h.
62102
62103 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
62104
62105 [BZ #13895]
62106 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
62107 extra indirection.
62108 * nss/Makefile (tests-static, tests): Add tst-nss-static.
62109 * nss/tst-nss-static.c: New.
62110
62111 2012-04-06 Robert Millan <rmh@gnu.org>
62112
62113 [BZ #6486]
62114 * manual/llio.texi (File Position Primitive): lseek
62115 refers to WHENCE when it really means OFFSET.
62116
62117 2012-04-06 Andreas Jaeger <aj@suse.de>
62118
62119 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
62120 strncmp declarations.
62121
62122 * abilist/libc.abilist: Add __poll and __ppoll.
62123
62124 2012-04-05 David S. Miller <davem@davemloft.net>
62125
62126 * scripts/check-local-headers.sh: Accept a host triplet in the
62127 path matched by the exclude regexp.
62128
62129 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
62130 definition.
62131 * sysdeps/powerpc/powerpc32/dl-machine.h
62132 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
62133 * sysdeps/s390/s390-32/dl-machine.h
62134 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62135 * sysdeps/sparc/sparc32/dl-machine.h
62136 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62137 * sysdeps/sparc/sparc64/dl-machine.h
62138 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62139
62140 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
62141 lazy binding.
62142 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
62143 undefined symbol errors.
62144
62145 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
62146 DT_NEEDED entries.
62147
62148 2012-04-05 Michael Matz <matz@suse.de>
62149
62150 [BZ #13592]
62151 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
62152
62153 2012-04-05 Andreas Jaeger <aj@suse.de>
62154
62155 [BZ #13908]
62156 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
62157 comment.
62158
62159 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62160
62161 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
62162 which ROUND is no valid rounding mode.
62163
62164 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62165
62166 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
62167 read again.
62168 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
62169
62170 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62171
62172 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
62173 an exception using FPU order intentionally.
62174
62175 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62176
62177 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
62178 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
62179 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
62180 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
62181
62182 2012-04-05 Simon Josefsson <simon@josefsson.org>
62183
62184 [BZ #12340]
62185 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
62186 EINVAL when BUFLEN is too smal.
62187
62188 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
62189
62190 [BZ #13553]
62191 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
62192 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
62193
62194 2012-04-03 Andreas Jaeger <aj@suse.de>
62195
62196 [BZ #13938]
62197 * manual/setjmp.texi (System V contexts): Fix sentence.
62198
62199 [BZ #13926]
62200 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
62201 New macro for this case.
62202 [!__GNUC__] (__bswap_64): New inline function for this case.
62203 * sysdeps/x86_64/bits/byteswap.h: Likewise.
62204 * bits/byteswap.h: Likewise.
62205 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
62206 ull, guard with __GLIBC_HAVE_LONG_LONG.
62207
62208 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
62209 __GLIBC_HAVE_LONG_LONG.
62210
62211 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
62212 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
62213
62214 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62215
62216 [BZ #13691]
62217 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
62218 inptr and inend, rather than using last_ch.
62219
62220 2012-04-02 David S. Miller <davem@davemloft.net>
62221
62222 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
62223 * stdio-common/printf-parse.h (read_int): Change return type to
62224 'int', return -1 on INT_MAX overflow.
62225 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
62226 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
62227 overflows INT_MAX. Check for overflow of in-format-string precision
62228 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
62229 SIZE_MAX not INT_MAX for integer overflow test.
62230 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
62231 skip the construct in the format string but do not record anything.
62232 * stdio-common/bug22.c: Adjust to test both width/prevision
62233 INT_MAX overflow as well as total length INT_MAX overflow. Check
62234 explicitly for proper errno values.
62235
62236 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
62237
62238 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
62239 CHAR_MAX.
62240 * string/test-strcmp.c [! WIDE]: Likewise.
62241 * time/tst-mktime2.c: Likewise for INT_MAX.
62242 * string/test-string.h: #include <sys/param.h> for MIN.
62243
62244 * csu/init-first.c (__libc_init_first): Call __ctype_init.
62245 * sysdeps/i386/init-first.c (init): Likewise.
62246 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
62247 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
62248 * sysdeps/sh/init-first.c (init): Likewise.
62249
62250 2012-04-01 Ulrich Drepper <drepper@gmail.com>
62251
62252 * po/ru.po: Update from translation team.
62253 * po/vi.po: Likewise.
62254
62255 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
62256
62257 * resolv/nss_dns/dns-host.c: Merge copyright years.
62258
62259 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62260
62261 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
62262 Optimize memcpy with prefetch if
62263 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
62264 src, dst pointers have unequal 16 byte alignments.
62265
62266 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
62267
62268 [BZ #13928]
62269 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
62270 from a CNAME entry and return the minimum ttl for the query.
62271 (gaih_getanswer_slice): Likewise.
62272
62273 2012-03-30 Jeff Law <law@redhat.com>
62274
62275 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
62276 due to long keys.
62277 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
62278 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
62279
62280 * resolv/nss_dns/dns-host.c: Update copyright year.
62281
62282 2012-03-30 Ulrich Drepper <drepper@gmail.com>
62283
62284 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
62285 requests to save a system call. Fix check that all bytes are sent.
62286
62287 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
62288 comments for sendmmsg.
62289
62290 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62291
62292 [BZ #13691]
62293 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
62294 with only 1 character between 0x0041 and 0x01b0.
62295 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
62296 * wcsmbs/tst-mbsnrtowcs.c: New file.
62297
62298 2012-03-29 David S. Miller <davem@davemloft.net>
62299
62300 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
62301 small copies by hand.
62302
62303 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62304
62305 [BZ #13761]
62306 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
62307 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
62308 group memberships.
62309
62310 2012-03-28 David S. Miller <davem@davemloft.net>
62311
62312 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
62313 that branches into memcpy.
62314 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62315 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
62316 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62317 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
62318 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
62319 bits.
62320 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
62321 implementation too.
62322 * sysdeps/sparc/mempcpy.S: New file.
62323
62324 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
62325 the IFUNC routine in the libc case.
62326 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62327
62328 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
62329 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
62330 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
62331 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
62332 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
62333 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
62334 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
62335 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
62336
62337 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
62338 loop to 256 bytes instead of 64 bytes and fix test signedness.
62339
62340 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
62341 * sysdeps/sparc/sparc32/Makefile: rather than here...
62342 * sysdeps/sparc/sparc64/Makefile: and here.
62343
62344 2012-03-28 Ulrich Drepper <drepper@gmail.com>
62345
62346 * malloc/mallocbug.c: Avoid warnings about unused variables.
62347
62348 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
62349
62350 [BZ #13760]
62351 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
62352 in the right place. Discard and retry query if response is
62353 larger than input buffer size.
62354
62355 2012-03-28 Joseph Myers <joseph@codesourcery.com>
62356
62357 [BZ #369]
62358 [BZ #2678]
62359 [BZ #3866]
62360 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
62361 x for large integer exponent.
62362 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
62363 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
62364 sign of result as needed afterwards.
62365 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
62366 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
62367 result for underflowing pow the same as for overflow.
62368 (__kernel_standard_l): Handle powl overflow and underflow here
62369 rather than calling __kernel_standard.
62370 * math/libm-test.inc (pow_test): Add more tests.
62371
62372 [BZ #3868]
62373 [BZ #13879]
62374 [BZ #13910]
62375 [BZ #13911]
62376 [BZ #13912]
62377 [BZ #13913]
62378 [BZ #13915]
62379 [BZ #13916]
62380 [BZ #13917]
62381 [BZ #13918]
62382 [BZ #13919]
62383 [BZ #13920]
62384 [BZ #13921]
62385 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
62386 * sysdeps/ieee754/k_standard.c: Include <float.h>.
62387 (__kernel_standard_l): New function.
62388 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
62389 __kernel_standard.
62390 * math/w_acosl.c (__acosl): Likewise.
62391 * math/w_asinl.c (__asinl): Likewise.
62392 * math/w_atan2l.c (__atan2l): Likewise.
62393 * math/w_atanhl.c (__atanhl): Likewise.
62394 * math/w_coshl.c (__coshl): Likewise.
62395 * math/w_exp10l.c (__exp10l): Likewise.
62396 * math/w_exp2l.c (__exp2l): Likewise.
62397 * math/w_fmodl.c (__fmodl): Likewise.
62398 * math/w_hypotl.c (__hypotl): Likewise.
62399 * math/w_j0l.c (__j0l, __y0l): Likewise.
62400 * math/w_j1l.c (__j1l, __y1l): Likewise.
62401 * math/w_jnl.c (__jnl, __ynl): Likewise.
62402 * math/w_lgammal.c (__lgammal): Likewise.
62403 * math/w_log10l.c (__log10l): Likewise.
62404 * math/w_log2l.c (__log2l): Likewise.
62405 * math/w_logl.c (__logl): Likewise.
62406 * math/w_powl.c (__powl): Likewise.
62407 * math/w_remainderl.c (__remainderl): Likewise.
62408 * math/w_scalbl.c (sysv_scalbl): Likewise.
62409 * math/w_sinhl.c (__sinhl): Likewise.
62410 * math/w_sqrtl.c (__sqrtl): Likewise.
62411 * math/w_tgammal.c (__tgammal): Likewise.
62412 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
62413 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
62414 * math/libm-test.inc (acos_test): Add more tests.
62415 (acosh_test): Likewise.
62416 (asin_test): Likewise.
62417 (atanh_test): Likewise.
62418 (exp_test): Likewise.
62419 (exp10_test): Likewise.
62420 (exp2_test): Likewise.
62421 (expm1_test): Likewise.
62422 (lgamma_test): Likewise.
62423 (log_test): Likewise.
62424 (log10_test): Likewise.
62425 (log1p_test): Likewise.
62426 (log2_test): Likewise.
62427 (pow_test): Do not allow some spurious overflow exceptions.
62428 (sqrt_test): Add more tests.
62429 (tgamma_test): Likewise.
62430 (y0_test): Likewise.
62431 (y1_test): Likewise.
62432 (yn_test): Likewise.
62433
62434 2012-03-27 Anton Blanchard <anton@samba.org>
62435
62436 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
62437 MAP_HUGETLB.
62438 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62439 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62440 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62441
62442 2012-03-27 David S. Miller <davem@davemloft.net>
62443
62444 * conform/Makefile: Run run-conformtest.sh using $(BASH).
62445
62446 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
62447 have-as-vis3 check.
62448
62449 2012-03-27 Andreas Jaeger <aj@suse.de>
62450
62451 * sysdeps/x86_64/elf/configure.in: Moved to ...
62452 * sysdeps/x86_64/configure.in: ... here.
62453 * sysdeps/x86_64/elf/start.S: Moved to ...
62454 * sysdeps/x86_64/start.S: ... here.
62455 * sysdeps/x86_64/elf/configure: Delete.
62456
62457 * sysdeps/x86_64/configure.in: Merge contents from
62458 sysdeps/i386/configure.in (without i686 check).
62459
62460 * sysdeps/i386/elf/Versions: Merge into ...
62461 * sysdeps/i386/Versions: ... this.
62462 * sysdeps/i386/elf/Versions: Delete file.
62463 * sysdeps/i386/elf/start.S: Moved to ...
62464 * sysdeps/i386/start.S: ...here.
62465 * sysdeps/i386/elf/configure.in: Merge into...
62466 * sysdeps/i386/configure.in: ...here.
62467 * sysdeps/i386/elf/configure.in: Delete file.
62468 * sysdeps/i386/elf/configure: Delete file.
62469
62470 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
62471 * debug/backtracesyms.c: ... here.
62472 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
62473 * debug/backtracesymsfd.c: ... here.
62474 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
62475 * sysdeps/generic/ifunc-sel.h: ... here.
62476
62477 * sysdeps/unix/i386/start.c: Delete file.
62478 * sysdeps/unix/sparc/start.c: Delete file.
62479 * sysdeps/unix/start.c: Delete file.
62480
62481 * sysdeps/sh/elf/configure.in: Moved to ...
62482 * sysdeps/sh/configure.in: ... here.
62483 * sysdeps/sh/elf/start.S: Moved to ...
62484 * sysdeps/sh/start.S: ... here.
62485 * sysdeps/sh/elf/configure: Delete file.
62486
62487 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
62488 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
62489 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
62490 * sysdeps/powerpc/powerpc64/entry.h: ... here.
62491 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
62492 * sysdeps/powerpc/powerpc64/start.S: here.
62493 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
62494 * sysdeps/powerpc/powerpc64/Makefile: ... this.
62495 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
62496 * sysdeps/powerpc/powerpc64/configure.in: ... this.
62497 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
62498
62499 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
62500 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
62501 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
62502 * sysdeps/powerpc/powerpc32/start.S: ... here.
62503 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
62504 * sysdeps/powerpc/powerpc32/configure.in: ... this.
62505 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
62506
62507 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
62508 * sysdeps/powerpc/ifunc-sel.h: ... here.
62509 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
62510 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
62511
62512 * sysdeps/sparc/elf/configure.in: Moved to ...
62513 * sysdeps/sparc/configure.in: ... here.
62514 * sysdeps/sparc/elf/configure: Delete file.
62515 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
62516 * sysdeps/sparc/sparc32/start.S: ... here.
62517 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
62518 * sysdeps/sparc/sparc64/start.S: ... here.
62519 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
62520 * sysdeps/sparc/sparc32/Makefile: ... this.
62521 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
62522 * sysdeps/sparc/sparc64/Makefile: ... this.
62523
62524 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
62525 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
62526 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
62527 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
62528 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
62529 * sysdeps/s390/s390-32/setjmp.S: ... here.
62530 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
62531 * sysdeps/s390/s390-32/configure.in: ... here.
62532 * sysdeps/s390/s390-32/elf/configure: Delete file.
62533 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
62534 * sysdeps/s390/s390-32/start.S: ... here.
62535
62536 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
62537 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
62538 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
62539 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
62540 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
62541 * sysdeps/s390/s390-64/setjmp.S: ... here.
62542 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
62543 * sysdeps/s390/s390-64/configure.in: ... here
62544 * sysdeps/s390/s390-64/elf/configure: Delete file.
62545 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
62546 * sysdeps/s390/s390-64/start.S: ... here.
62547 * sysdeps/s390/s390-64/elf/configure: Delete.
62548
62549 * configure.in: Remove support for elf directories in sysdeps.
62550
62551 * configure: Regenerated.
62552 * sysdeps/i386/configure: Regenerated.
62553 * sysdeps/powerpc/powerpc32/configure: Regenerated.
62554 * sysdeps/powerpc/powerpc64/configure: Regenerated.
62555 * sysdeps/s390/s390-32/configure: Regenerated.
62556 * sysdeps/s390/s390-64/configure: Regenerated.
62557 * sysdeps/sh/configure: Regenerated.
62558 * sysdeps/sparc/configure: Regenerated.
62559 * sysdeps/x86_64/configure: Regenerated.
62560
62561 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
62562
62563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62564
62565 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
62566 denormal result into account.
62567
62568 2012-03-25 Roland McGrath <roland@hack.frob.com>
62569
62570 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
62571 Reported by Allan McRae <allan@archlinux.org>.
62572
62573 2012-03-23 Jeff Law <law@redhat.com>
62574
62575 * nss/getnssent.c (__nss_getent): Fix typo.
62576
62577 2012-03-23 David S. Miller <davem@davemloft.net>
62578
62579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62580
62581 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
62582
62583 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
62584 to pad to uint64_t for each field.
62585 (dl_tls_index): Replace unsigned long with uint64_t.
62586
62587 2012-03-23 Daniel Jacobowitz <dmj@google.com>
62588 Paul Pluzhnikov <ppluzhnikov@google.com>
62589
62590 [BZ #6528]
62591 * grp/Makefile (otherlibs): Don't set it.
62592 * inet/Makefile (otherlibs): Likewise.
62593 * login/Makefile (otherlibs): Likewise.
62594 * nscd/Makefile (otherlibs): Likewise.
62595 * posix/Makefile (otherlibs): Likewise.
62596 * pwd/Makefile (otherlibs): Likewise.
62597 * rt/Makefile (otherlibs): Likewise.
62598 * sunrpc/Makefile (otherlibs): Likewise.
62599 * nss/Makefile (otherlibs): Likewise.
62600 Add libnss_files to routines and static-only-routines.
62601 ($(objpfx)getent): Remove rule.
62602 * resolv/Makefile: Add libnss_dns and libresolv to routines and
62603 static-only-routines.
62604
62605 2012-03-22 Joseph Myers <joseph@codesourcery.com>
62606
62607 [BZ #13892]
62608 * math/s_cexp.c: Include <float.h>.
62609 (__cexp): Handle exp result overflowing not necessarily
62610 overflowing both real and imaginary parts of result.
62611 * math/s_cexpf.c: Likewise.
62612 * math/s_cexpl.c: Likewise.
62613 * math/libm-test.inc (cexp_test): Add more tests.
62614 * sysdeps/i386/fpu/libm-test-ulps: Update.
62615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62616
62617 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
62618
62619 * include/link.h (ELFW): New macro.
62620 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
62621 Replace ELF64_R_TYPE with ELFW(R_TYPE).
62622
62623 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
62624
62625 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
62626 with uint64_t.
62627
62628 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
62629
62630 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
62631 declaration.
62632 (struct La_x32_retval): Likewise.
62633
62634 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
62635
62636 * sysdeps/x86_64/preconfigure.in: New file.
62637 * sysdeps/x86_64/preconfigure: New generated file.
62638
62639 2012-03-22 Joseph Myers <joseph@codesourcery.com>
62640
62641 [BZ #13824]
62642 * math/e_exp2l.c: Include <float.h>.
62643 (__ieee754_exp2l): Handle overflow and underflow cases
62644 separately. Only pass fractional part of argument to
62645 __ieee754_expl.
62646 * math/libm-test.inc (exp2_test): Add more tests.
62647
62648 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
62649 negating x to take absolute value.
62650 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
62651 Likewise.
62652 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62653 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
62654 Likewise.
62655 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
62656 computing low part if x was negated.
62657 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62658
62659 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
62660
62661 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
62662 la_x32_gnu_pltexit.
62663 (pltexit): Cast int_retval to ptrdiff_t.
62664 * elf/tst-auditmod3b.c: Likewise.
62665 * elf/tst-auditmod4b.c: Likewise.
62666 * elf/tst-auditmod5b.c: Likewise.
62667 * elf/tst-auditmod6b.c: Likewise.
62668 * elf/tst-auditmod6c.c: Likewise.
62669 * elf/tst-auditmod7b.c: Likewise.
62670
62671 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
62672 and x32_gnu_pltexit.
62673
62674 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
62675 __ELF_NATIVE_CLASS.
62676 (La_x32_regs): New macro.
62677 (La_x32_retval): Likewise.
62678 (la_x32_gnu_pltenter): New function prototype.
62679 (la_x32_gnu_pltexit): Likewise.
62680
62681 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
62682
62683 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
62684 exponent.
62685
62686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62687
62688 * configure.in (libc_cv_cc_nofma): Check for option to disable
62689 generation of FMA instructions.
62690 * configure: Regenerate.
62691 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
62692 * sysdeps/ieee754/dbl-64/Makefile: New file.
62693 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
62694 Remove brandred-fma4.
62695 (CFLAGS-brandred-fma4.c): Remove.
62696 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
62697 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
62698 define.
62699 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
62700 define.
62701
62702 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
62703
62704 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62705 LLONG_MAX != LONG_MAX.
62706 (_itoa_word): Use _ITOA_WORD_TYPE on value.
62707 (_fitoa_word): Likewise.
62708 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
62709 LLONG_MAX != LONG_MAX.
62710 * stdio-common/_itowa.h: Include <_itoa.h>.
62711 (_itowa_word): Use _ITOA_WORD_TYPE on value.
62712 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
62713 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
62714 only if not defined.
62715 (_ITOA_WORD_TYPE): Likewise.
62716 (_itoa_word): Use _ITOA_WORD_TYPE on value.
62717 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
62718
62719 2012-03-21 David S. Miller <davem@davemloft.net>
62720
62721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62722
62723 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
62724
62725 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
62726 of x86_64 when setting libc_cv_slibdir, libdir and
62727 libc_cv_localedir.
62728 * sysdeps/unix/sysv/linux/configure: Regenerated.
62729
62730 2012-03-21 Joseph Myers <joseph@codesourcery.com>
62731
62732 * manual/lang.texi (Old Varargs): Remove section.
62733 (How Variadic): Update menu.
62734 (va_start): Do not mention varargs.h.
62735
62736 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
62737 Joseph Myers <joseph@codesourcery.com>
62738
62739 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
62740 link test.
62741 * configure: Regenerated.
62742
62743 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
62744
62745 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
62746 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
62747 conformtest.pl
62748
62749 2012-03-21 Joseph Myers <joseph@codesourcery.com>
62750
62751 * NOTES: Remove.
62752 * Makefile (files-for-dist): Remove NOTES.
62753 (NOTES): Remove rule.
62754 * README: Don't refer to NOTES.
62755 * manual/creature.texi: Don't include macros.texi.
62756 * manual/intro.texi (creature.texi): Remove comment referring to
62757 NOTES.
62758
62759 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
62760 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
62761 * configure: Regenerated.
62762 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
62763 LIBC_TRY_CC_OPTION.
62764 (libc_cv_as_i686): Likewise.
62765 (libc_cv_cc_avx): Likewise.
62766 (libc_cv_cc_sse2avx): Likewise.
62767 (libc_cv_cc_fma4): Likewise.
62768 (libc_cv_cc_novzeroupper): Likewise.
62769 * sysdeps/i386/configure: Regenerated.
62770
62771 [BZ #13883]
62772 * sysdeps/i386/fpu/s_cexp.S: Remove.
62773 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62774 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62775 * math/libm-test.inc (cexp_test): Add more tests.
62776 * sysdeps/i386/fpu/libm-test-ulps: Update.
62777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62778
62779 2012-03-21 Allan McRae <allan@archlinux.org>
62780
62781 * timezone/Makefile: Do not install iso3166.tab and zone.tab
62782
62783 2012-03-21 Joseph Myers <joseph@codesourcery.com>
62784
62785 [BZ #13871]
62786 * math/w_exp2.c: Do not include <float.h>.
62787 (o_threshold, u_threshold): Remove.
62788 (__exp2): Calculate result before checking finiteness and calling
62789 __kernel_standard.
62790 * math/w_exp2f.c: Likewise.
62791 * math/w_exp2l.c: Likewise.
62792 * math/libm-test.inc (exp2_test): Require overflow exception for
62793 1e6 input.
62794
62795 [BZ #3866]
62796 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
62797 range of signed 64-bit integers before using fistpll. Remove
62798 checks for whether integers fit in mantissa bits.
62799 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
62800 the range of signed 32-bit integers before using fistpl. Remove
62801 checks for whether integers fit in mantissa bits.
62802 * sysdeps/i386/fpu/e_powl.S (p64): New object.
62803 (__ieee754_powl): Test for y outside the range of signed 64-bit
62804 integers before using fistpll. Reduce 64-bit values to 63-bit
62805 ones as needed.
62806 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
62807 divide-by-zero is raised for zero to large negative powers.
62808 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
62809 (__ieee754_powl): Test for y outside the range of signed 64-bit
62810 integers before using fistpll. Reduce 64-bit values to 63-bit
62811 ones as needed.
62812 * math/libm-test.inc (pow_test): Add more tests.
62813
62814 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
62815
62816 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
62817 <stdio-common/_itoa.h>.
62818 * debug/segfault.c: Likewise.
62819 * elf/dl-cache.c: Likewise.
62820 * elf/dl-minimal.c: Likewise.
62821 * elf/dl-misc.c: Likewise.
62822 * elf/dl-sysdep.c: Likewise.
62823 * elf/dl-version.c: Likewise.
62824 * elf/rtld.c: Likewise.
62825 * hurd/hurdsock.c: Likewise.
62826 * hurd/lookup-retry.c: Likewise.
62827 * malloc/malloc.c: Likewise.
62828 * malloc/mtrace.c: Likewise.
62829 * nscd/nscd_getgr_r.c: Likewise.
62830 * nscd/nscd_getpw_r.c: Likewise.
62831 * nscd/nscd_getserv_r.c: Likewise.
62832 * posix/getopt_init.c: Likewise.
62833 * posix/wordexp.c: Likewise.
62834 * stdio-common/_itoa.c: Likewise.
62835 * stdio-common/printf_fphex.c: Likewise.
62836 * stdio-common/vfprintf.c: Likewise.
62837 * string/_strerror.c: Likewise.
62838 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
62839 * sysdeps/i386/i686/hp-timing.h: Likewise.
62840 * sysdeps/mach/_strerror.c: Likewise.
62841 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
62842 * sysdeps/mach/hurd/sethostid.c: Likewise.
62843 * sysdeps/mach/hurd/xmknodat.c: Likewise.
62844 * sysdeps/mach/xpg-strerror.c: Likewise.
62845 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62846 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62847 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
62848 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
62849 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62850 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
62851 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
62852 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
62853 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
62854 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
62855 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
62856 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62857 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
62858 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62859 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62860 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
62861 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
62862 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
62863 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
62864 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
62865 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
62866
62867 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
62868
62869 * stdio-common/_itoa.h: Moved to ...
62870 * sysdeps/generic/_itoa.h: Here.
62871
62872 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
62873
62874 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
62875 instead of "_itoa.h" and "_itowa.h".
62876 * stdio-common/vfprintf.: Likewise.
62877
62878 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
62879
62880 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
62881 <bits/wordsize.h>.
62882 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
62883 (__signbit): Likwise.
62884 (llrintf): Likwise.
62885 (llrint): Likwise.
62886
62887 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
62888
62889 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
62890 __WORDSIZE != 64.
62891
62892 2012-03-20 Joseph Myers <joseph@codesourcery.com>
62893
62894 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
62895 OVERFLOW_EXCEPTION_OK.
62896 * math/libm-test.inc ("Philosophy"): Update comment about
62897 exception testing.
62898 (OVERFLOW_EXCEPTION): Define.
62899 (OVERFLOW_EXCEPTION_OK): Likewise.
62900 (INVALID_EXCEPTION_OK): Renumber.
62901 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62902 (IGNORE_ZERO_INF_SIGN): Likewise.
62903 (test_exceptions): Handle FE_OVERFLOW.
62904 (exp10_test): Expect overflow exceptions.
62905 (exp2_test): Likewise.
62906 (expm1_test): Likewise.
62907 (nextafter_test): Likewise.
62908 (pow_test): Likewise.
62909 (scalbn_test): Likewise.
62910 (scalbln_test): Likewise.
62911
62912 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62913
62914 * sysdeps/x86_64/bits/atomic.h
62915 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
62916 64bit integer.
62917 (atomic_exchange_acq): Likewise.
62918 (__arch_exchange_and_add_body): Likewise.
62919 (__arch_add_body): Likewise.
62920 (atomic_add_negative): Likewise.
62921 (atomic_add_zero): Likewise.
62922
62923 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62924
62925 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
62926 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
62927
62928 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62929
62930 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
62931 Check __x86_64__ instead of __WORDSIZE.
62932
62933 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62934
62935 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
62936
62937 2012-03-19 David S. Miller <davem@davemloft.net>
62938
62939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62940
62941 * sysdeps/sparc/fpu/fenv_private.h: New file.
62942 * sysdeps/sparc/fpu/math_private.h: Use it.
62943 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
62944 Remove.
62945 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
62946 (libc_feholdexcept_setroundl): Remove.
62947 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
62948 Remove.
62949 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
62950 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
62951
62952 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62953
62954 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
62955 int64_t instead of long int.
62956 (INSERT_WORDS64): Likwise.
62957
62958 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62959
62960 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
62961 _Unwind_GetCFA return to _Unwind_Ptr first.
62962
62963 2012-03-19 Joseph Myers <joseph@codesourcery.com>
62964
62965 [BZ #13629]
62966 * math/s_clog.c: Include <float.h>.
62967 (__clog): Scale large or subnormal inputs.
62968 * math/s_clogf.c: Likewise.
62969 * math/s_clogl.c: Likewise.
62970 * math/s_clog10.c: Include <float.h>.
62971 (M_LOG10_2): Define.
62972 (__clog10): Scale large or subnormal inputs.
62973 * math/s_clog10f.c: Likewise.
62974 * math/s_clog10l.c: Likewise.
62975 * math/libm-test.inc (clog_test): Add more tests.
62976 (clog10_test): Likewise.
62977 * sysdeps/i386/fpu/libm-test-ulps: Update.
62978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62979
62980 [BZ #11451]
62981 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
62982 x and y.
62983 * math/libm-test.inc (atan2_test): Add another test.
62984
62985 * Makerules (common-objdir-compile): Remove.
62986 * sysdeps/unix/Makefile (config-generated): Do not add
62987 $(unix-generated) to variable.
62988 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
62989 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
62990 Remove rule.
62991 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
62992 Likewise.
62993 [generic bits/local_lim.h] (before-compile): Do not append to
62994 variable.
62995 [generic bits/local_lim.h] (common-generated): Likewise.
62996 [generic sys/param.h] (before-compile): Do not append to variable.
62997 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
62998 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
62999 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
63000 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
63001 include.
63002 [generic sys/param.h] (sys/param.h-includes): Remove variable.
63003 [generic sys/param.h] (sys/param.h-includes): Remove rule.
63004 [generic sys/param.h] ($(addprefix
63005 $(common-objpfx),$(sys/param.h-includes))): Likewise.
63006 [generic sys/param.h] (common-generated): Do not append to
63007 variable.
63008 [generic sys/param.h] (sysdep_headers): Likewise.
63009 [generic bits/errno.h] (before-compile): Do not append to
63010 variable.
63011 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
63012 rule.
63013 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
63014 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
63015 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
63016 [generic bits/errno.h] (common-generated): Do not append to
63017 variable.
63018 [generic bits/ioctls.h] (before-compile): Do not append to
63019 variable.
63020 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
63021 rule.
63022 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
63023 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
63024 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
63025 rule.
63026 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
63027 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
63028 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
63029 [generic bits/ioctls.h] (common-generated): Do not append to
63030 variable.
63031 [generic sys/syscall.h] (syscall.h): Remove variable.
63032 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
63033 rule.
63034 [generic sys/syscall.h] (before-compile): Do not append to
63035 variable.
63036 [generic sys/syscall.h] (common-generated): Likewise.
63037 * sysdeps/unix/errnos-tmpl.c: Remove file.
63038 * sysdeps/unix/errnos.awk: Likewise.
63039 * sysdeps/unix/ioctls-tmpl.c: Likewise.
63040 * sysdeps/unix/ioctls.awk: Likewise.
63041 * sysdeps/unix/mk-local_lim.c: Likewise.
63042 * sysdeps/unix/snarf-ioctls: Likewise.
63043
63044 2012-03-19 Richard Henderson <rth@twiddle.net>
63045
63046 * sysdeps/i386/fpu/fenv_private.h: New file.
63047 * sysdeps/i386/fpu/math_private.h: Use it.
63048 (math_opt_barrier, math_force_eval): Remove.
63049 (libc_feholdexcept_setround_53bit): Remove.
63050 (libc_feupdateenv_53bit): Remove.
63051 * sysdeps/x86_64/fpu/math_private.h: Likewise.
63052 (math_opt_barrier, math_force_eval): Remove.
63053 (libc_feholdexcept): Remove.
63054 (libc_feholdexcept_setround): Remove.
63055 (libc_fetestexcept, libc_fesetenv): Remove.
63056 (libc_feupdateenv_test): Remove.
63057 (libc_feupdateenv, libc_feholdsetround): Remove.
63058 (libc_feresetround): Remove.
63059
63060 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
63061 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
63062
63063 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
63064 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
63065 (libc_feupdateenv_testl): New.
63066 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
63067 (libc_feupdateenv_testf): New.
63068 (libc_feupdateenv): Use libc_feupdateenv_test.
63069 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
63070 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
63071
63072 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
63073 (libc_feholdsetroundf, libc_feholdsetroundl): New.
63074 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
63075 (libc_feresetround_noex): New.
63076 (libc_feresetround_noexf): New.
63077 (libc_feresetround_noexl): New.
63078 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
63079 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
63080 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
63081 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
63082 SET_RESTORE_ROUND.
63083 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63084 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
63085 (__cos): Likewise.
63086 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
63087 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
63088 SET_RESTORE_ROUND_NOEX.
63089 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
63090 SET_RESTORE_ROUND_NOEXF.
63091 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
63092 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
63093 (libc_feholdsetroundf): New.
63094 (libc_feresetround, libc_feresetroundf): New.
63095
63096 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
63097 (libc_feholdexcept_setround_53bit): Convert from macro to function.
63098 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
63099
63100 * sysdeps/generic/math_private.h: Include <fenv.h>.
63101 (default_libc_feholdexcept): New.
63102 (default_libc_feholdexcept_setround): New.
63103 (default_libc_fesetenv, default_libc_feupdateenv): New.
63104 (libc_feholdexcept): Only define if undefined.
63105 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
63106 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
63107 (libc_feholdexcept_setroundl): Likewise.
63108 (libc_feholdexcept_setround_53bit): Likewise.
63109 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
63110 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
63111 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
63112 (libc_feupdateenv_53bit): Likewise.
63113 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
63114 (libc_feholdexcept): Convert from macro to inline function.
63115 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
63116 (libc_fesetenv, libc_feupdateenv): Likewise.
63117
63118 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
63119 not previously defined.
63120 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
63121 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
63122 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
63123 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
63124 * sysdeps/ieee754/flt-32/math_private.h: New file.
63125 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
63126 math_private.h below SET_FLOAT_WORD.
63127 (__isnan, __isinf_ns, __finite): Remove.
63128 (__isnanf, __isinf_nsf, __finitef): Remove.
63129
63130 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
63131
63132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63133
63134 2012-03-17 David S. Miller <davem@davemloft.net>
63135
63136 [BZ #6471]
63137 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
63138 for 2.16.
63139
63140 2012-03-16 David S. Miller <davem@davemloft.net>
63141
63142 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
63143 warnings.
63144
63145 [BZ #6471]
63146 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
63147 properly.
63148 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
63149 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
63150 sysdep_routines when subdir is sysvipc.
63151 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
63152 __getshmlba helper.
63153
63154 * sysdeps/sparc/fpu/libm-test/ulps: Update.
63155
63156 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
63157
63158 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
63159 [__LP64__].
63160
63161 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
63162
63163 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
63164 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
63165 (__lround): Renamed to ...
63166 (__llround): This. Replace long int with long long int.
63167 Define lround functions as aliases of llround functions.
63168 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
63169
63170 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
63171
63172 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
63173 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
63174 adresses to uintptr_t. Replace "long int" and "unsigned long
63175 int" with "greg_t" on va_arg.
63176
63177 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
63178
63179 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
63180 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
63181
63182 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
63183 Move e_machine check before EI_CLASS check. Handle x32
63184 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
63185 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
63186 SKIP_EM_IA_64 and include
63187 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
63188
63189 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
63190 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
63191 (add_system_dir): New macro.
63192
63193 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
63194 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
63195
63196 2012-03-16 Joseph Myers <joseph@codesourcery.com>
63197
63198 [BZ #2551]
63199 [BZ #2552]
63200 [BZ #2553]
63201 [BZ #2554]
63202 [BZ #2562]
63203 [BZ #2563]
63204 [BZ #2565]
63205 [BZ #2566]
63206 [BZ #2576]
63207 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
63208 (y0): Likewise.
63209 * math/w_j0f.c (j0f): Likewise.
63210 (y0f): Likewise.
63211 * math/w_j0l.c (__j0l): Likewise.
63212 (__y0l): Likewise.
63213 * math/w_j1.c (j1): Likewise.
63214 (y1): Likewise.
63215 * math/w_j1f.c (j1f): Likewise.
63216 (y1f): Likewise.
63217 * math/w_j1l.c (__j1l): Likewise.
63218 (__y1l): Likewise.
63219 * math/w_jn.c (jn): Likewise.
63220 (yn): Likewise.
63221 * math/w_jnf.c (jnf): Likewise.
63222 (ynf): Likewise.
63223 * math/w_jnl.c (__jnl): Likewise.
63224 (__ynl): Likewise.
63225 * math/libm-test.inc (j0_test): Add more tests.
63226 (j1_test): Likewise.
63227 (jn_test): Likewise. Add trailing semicolon to existing test.
63228 (y0_test): Likewise.
63229 (y1_test): Likewise.
63230 * sysdeps/i386/fpu/libm-test-ulps: Update.
63231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63232
63233 [BZ #13851]
63234 [BZ #13854]
63235 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
63236 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
63237 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
63238 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
63239 (__tanl): Set errno for infinite argument.
63240 * sysdeps/i386/fpu/mptan.c: Remove.
63241 * sysdeps/i386/fpu/s_tan.S: Likewise.
63242 * sysdeps/i386/fpu/s_tanl.S: Likewise.
63243 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
63244 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
63245 * math/libm-test.inc (tan_test): Add more tests and enable more
63246 tests for double and long double.
63247 * sysdeps/i386/fpu/libm-test-ulps: Update.
63248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63249
63250 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
63251
63252 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
63253 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
63254
63255 2012-03-16 Roland McGrath <roland@hack.frob.com>
63256
63257 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
63258 * configure.in: Use it for both main tree and add-ons.
63259 * configure: Regenerated.
63260
63261 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
63262
63263 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
63264
63265 2012-03-16 Joseph Myers <joseph@codesourcery.com>
63266
63267 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
63268 in comment.
63269
63270 [BZ #13851]
63271 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
63272 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
63273 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
63274 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
63275 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
63276 infinite argument.
63277 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
63278 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
63279 != 0 for prec == 2.
63280 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
63281 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
63282 * sysdeps/i386/fpu/s_cosl.S: Likewise.
63283 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
63284 * sysdeps/i386/fpu/s_sinl.S: Likewise.
63285 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
63286 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
63287 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
63288 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
63289 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
63290 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
63291 * math/libm-test.inc (cos_test): Add more tests and enable more
63292 tests for long double.
63293 (sin_test): Likewise.
63294 (sincos_test): Likewise.
63295 * sysdeps/i386/fpu/libm-test-ulps: Update.
63296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63297
63298 2012-03-16 David S. Miller <davem@davemloft.net>
63299
63300 * sysdeps/sparc/fpu/math_private.h: New file.
63301
63302 2012-03-15 David S. Miller <davem@davemloft.net>
63303
63304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
63305 file.
63306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
63307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
63308 file.
63309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
63310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
63311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
63312 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
63313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
63314 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
63315 sysdep routines.
63316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63317
63318 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
63319 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
63320
63321 * sysdeps/sparc/sparc-ifunc.h: New file.
63322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
63323 sparc-ifunc.h
63324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
63326 Likewise.
63327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
63328 Likewise.
63329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
63330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
63331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63333 Likewise.
63334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
63336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
63338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
63339 Likewise.
63340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
63341 Likewise.
63342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
63344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
63345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
63346 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63347 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63348 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
63349 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
63350 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63351 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
63353 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
63354 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
63355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
63356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
63357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
63358 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
63359 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
63360 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
63361 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
63362 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
63363 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
63364 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
63365 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
63366
63367 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
63368
63369 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
63370 scaling.
63371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63372
63373 2012-03-15 Andreas Jaeger <aj@suse.de>
63374
63375 [BZ #13852]
63376 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
63377 ieee754/flt-32 implementation for sin, cos and sincos.
63378 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
63379 * sysdeps/i386/fpu/s_cosf.S: Likewise.
63380 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
63381 * sysdeps/i386/fpu/s_sinf.S: Likewise.
63382 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
63383 ieee754/flt-32 implementation for tan.
63384
63385 * math/libm-test.inc (cos_test): Enable some large input tests for
63386 float as well
63387 (sin_test): Likewise.
63388 (sincos_test): Likewise.
63389 (tan_test): Add tests for large input.
63390
63391 * sysdeps/i386/fpu/libm-test-ulps: Update.
63392
63393 2012-03-15 Andreas Jaeger <aj@suse.de>
63394
63395 [BZ #13658]
63396 * math/libm-test.inc (cos_test): Add more test cases.
63397 (sin_test): Likewise.
63398 (sincos_test): Likewise.
63399
63400 2012-03-15 Andreas Jaeger <aj@suse.de>
63401
63402 [BZ #13837]
63403 * math/libm-test.inc (cos_test): Add a test case for large input
63404 value.
63405 (sin_test): Likewise.
63406 (sincos_test): Likewise.
63407
63408 2012-03-15 Andreas Jaeger <aj@suse.de>
63409 Joseph Myers <joseph@codesourcery.com>
63410
63411 [BZ #13658]
63412 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
63413 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
63414 * sysdeps/i386/fpu/branred.c: Likewise.
63415 * sysdeps/i386/fpu/dosincos.c: Likewise.
63416 * sysdeps/i386/fpu/mpa.c: Likewise.
63417 * sysdeps/i386/fpu/s_cos.S: Likewise.
63418 * sysdeps/i386/fpu/s_sin.S: Likewise.
63419 * sysdeps/i386/fpu/s_sincos.S: Likewise.
63420 * sysdeps/i386/fpu/sincos32.c: Likewise.
63421
63422 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
63423 Define.
63424 (libc_feupdateenv_53bit): Define.
63425 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
63426 Define.
63427 (libc_feupdateenv_53bit): Define.
63428
63429 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
63430 53 bit (without extend i386 double precision).
63431
63432 * math/libm-test.inc (sincos_test): Add tests for large input.
63433 (sin): Likewise.
63434 (cos): Likewise.
63435
63436 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
63437
63438 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
63439
63440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63441
63442 2012-03-15 David S. Miller <davem@davemloft.net>
63443
63444 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
63445 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
63446 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
63447 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
63448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
63449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
63450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
63451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
63452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
63453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
63454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
63455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
63456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
63457 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
63458 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
63459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
63460 file.
63461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
63462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
63463 file.
63464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
63465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
63466 file.
63467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
63468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
63469 file.
63470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
63471 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
63472 fmin/fmax sysdep routines.
63473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63474
63475 2012-03-14 David S. Miller <davem@davemloft.net>
63476
63477 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
63478 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
63479 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
63480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
63481 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
63482 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
63483 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
63484 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
63485 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
63486 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
63487 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
63488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
63489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
63490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
63491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
63492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
63493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
63494 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
63495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
63496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
63497 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
63498 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
63499 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
63500 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
63501 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
63502 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
63503 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
63504 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
63505 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
63506 routines.
63507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
63508 file.
63509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
63510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
63511 file.
63512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
63513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
63514 file.
63515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
63516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
63517 file.
63518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
63519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
63520 file.
63521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
63522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
63523 file.
63524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
63525 file.
63526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
63527 file.
63528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
63529 file.
63530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
63531 New file.
63532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
63533 file.
63534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
63535 file.
63536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
63537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
63538 file.
63539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
63540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
63541 file.
63542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
63543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
63544 file.
63545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
63546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
63547 VIS3 routines.
63548
63549 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63550 New file.
63551
63552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63553
63554 * sysdeps/sparc/configure.in: New file.
63555 * sysdeps/sparc/configure: Generate.
63556 * configure.in (libc_cv_sparc_as_vis3): Substitute.
63557 * configure: Regenerate.
63558 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
63559 * config.make.in (have-as-vis3): New.
63560 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
63561 available use -Av9d instead of -Av9a.
63562 * sysdeps/sparc/sparc64/Makefile: Likewise.
63563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
63564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
63565 New file.
63566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
63567 file.
63568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
63569 New file.
63570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
63571 file.
63572 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
63573 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
63574 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
63575 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
63576 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
63577
63578 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
63579 fzeros/fnegs to load 0x80000000 into a float register instead of
63580 using the stack.
63581 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
63582
63583 2012-03-14 Joseph Myers <joseph@codesourcery.com>
63584
63585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63586 bits/syscall.h.
63587 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
63588 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
63589 ($(inst_includedir)/bits/syscall.h): Remove rule.
63590 ($(objpfx)bits/syscall.d): Include instead of
63591 $(objpfx)syscall-list.d.
63592 (generated): Change syscall-list.h and syscall-list.d to
63593 bits/syscall.h and bits/syscall.d.
63594
63595 2012-03-14 Roland McGrath <roland@hack.frob.com>
63596
63597 [BZ #13846]
63598 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
63599
63600 2012-03-14 Joseph Myers <joseph@codesourcery.com>
63601
63602 [BZ #13841]
63603 * math/s_csqrt.c: Include <float.h>.
63604 (__csqrt): Scale large or subnormal inputs.
63605 * math/s_csqrtf.c: Likewise.
63606 * math/s_csqrtl.c: Likewise.
63607 * math/libm-test.inc (csqrt_test): Add more tests.
63608 * sysdeps/i386/fpu/libm-test-ulps: Update.
63609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63610
63611 [BZ #13840]
63612 * math/libm-test.inc (hypot_test): Add more tests.
63613
63614 2012-03-13 David S. Miller <davem@davemloft.net>
63615
63616 [BZ #13840]
63617 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
63618 double-precision for the calculation instead of scaling.
63619
63620 2012-03-13 Joseph Myers <joseph@codesourcery.com>
63621
63622 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
63623 manipulate bits before adding and subtracting TWO52[sx].
63624 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
63625 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
63626 Likewise.
63627 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
63628
63629 2012-03-13 David S. Miller <davem@davemloft.net>
63630
63631 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
63632 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
63633 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
63634 rtld-global-offsets.h
63635 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63636
63637 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
63638 large parameters.
63639
63640 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
63641
63642 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
63643 'err' in the ifdef scope in which it is actually used.
63644
63645 * nss/nss_db/db-init.c: Include string.h
63646
63647 2012-03-12 David S. Miller <davem@davemloft.net>
63648
63649 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63650 masking out of the most significant byte of random value used.
63651 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63652 Fix coding style in previous change.
63653
63654 * sysdeps/unix/sysv/linux/kernel-features.h
63655 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
63656 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
63657 expression.
63658 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
63659 later.
63660
63661 2012-03-11 David S. Miller <davem@davemloft.net>
63662
63663 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63664 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
63665 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
63666 for 'resultvar' otherwise things get truncated on 64-bit.
63667
63668 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63669 Fix masking out of the most significant byte of random value used.
63670
63671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63672
63673 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
63674
63675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63676
63677 2012-03-09 David S. Miller <davem@davemloft.net>
63678
63679 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
63680 variables with appropriate CPP guards.
63681 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
63682 from the frame pointer, not the stack pointer. Correct layout
63683 comments. Fix test on resulting framesize and the management of
63684 the outregs buffer for pltexit. Preserve floating point return
63685 values across _dl_call_pltexit call.
63686 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
63687 framesize and the management of the outregs buffer for pltexit.
63688 Preserve floating point return values across _dl_call_pltexit
63689 call.
63690 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
63691 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
63692 (la_sparc64_gnu_pltexit): New functions.
63693 (print_exit): Fix format string for return register value.
63694
63695 2012-03-10 Joseph Myers <joseph@codesourcery.com>
63696
63697 * sunrpc/Makefile (others): Add rpcgen.
63698 ($(objpfx)rpcgen): Remove special build rule and dependency on
63699 libc.
63700 * sunrpc/rpcgen.c: New file.
63701
63702 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
63703
63704 [BZ #13673]
63705 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
63706 * stdio-common/bug-vfprintf-nargs.c: Likewise.
63707 * sysdeps/i386/crti.S: Likewise.
63708 * sysdeps/i386/crtn.S: Likewise.
63709 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
63710 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
63711 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
63712 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
63713 * sysdeps/sh/crti.S: Likewise.
63714 * sysdeps/sh/crtn.S: Likewise.
63715 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63716
63717 [BZ #13673]
63718 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
63719 with URL.
63720 * locale/programs/locfile-kw.gperf: Likewise.
63721 * locale/programs/charmap-kw.h: Regenerated.
63722 * locale/programs/locfile-kw.h: Likewise.
63723
63724 [BZ #13673]
63725 * intl/plural.y: Replace FSF snail mail address with URL.
63726 * intl/plural.c: Regenerated.
63727
63728 2012-03-09 Richard Henderson <rth@twiddle.net>
63729
63730 * include/math_private.h: Remove file.
63731 * math/math_private.h: Move file ...
63732 * sysdeps/generic/math_private.h: ... here.
63733
63734 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
63735 * sysdeps/powerpc/fpu/math_private.h: Likewise.
63736 * sysdeps/x86_64/fpu/math_private.h: Likewise.
63737
63738 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
63739 and <math_private.h>.
63740 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63741 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63742 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63743 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63744 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63745 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
63746 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63747 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63748 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63749 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63750 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63751 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63752 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63753 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63754 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63755 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63756 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63757 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63758 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63759 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63760 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63761 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63762 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63763 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63764 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
63765 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63766 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63767 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63768 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63769 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63770 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63771 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63772 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
63773 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63774 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63775 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63776 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63777 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63778 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63779 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63780 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
63781 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63782 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63783 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
63784 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
63785 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63786 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
63787 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
63788 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63789 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63790 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
63791 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
63792 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
63793 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63794 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
63795 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63796 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63797 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
63798 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63799 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
63800 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63801 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
63802 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63803 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63804 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
63805 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63806 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63807 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63808 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
63809 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
63810 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63811 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63812 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63813 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63814 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
63815 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
63816 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
63817 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63818 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
63819 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
63820 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63821 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
63822 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63823 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63824 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63825 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
63826 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
63827 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
63828 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63829 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63830 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63831 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63832 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63833 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63834 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63835 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63836 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63837 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63838 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63839 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63840 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63841 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63842 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63843 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63844 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63845 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63846 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63847 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63848 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63849 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63850 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63851 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63852 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63853 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63854 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
63855 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63856 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63857 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63858 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63859 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63860 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63861 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63862 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63863 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
63864 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63865 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63866 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63867 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
63868 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63869 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
63870 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
63871 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63872 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63873 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
63874 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
63875 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63876 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63877 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63878 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
63879 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63880 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63881 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63882 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63883 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
63884 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
63885 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63886 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63887 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63888 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
63889 * sysdeps/ieee754/k_standard.c: Likewise.
63890 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63891 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63892 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63893 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63894 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63895 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63896 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63897 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63898 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63899 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63900 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63901 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63902 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63903 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63904 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63905 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63906 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63907 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63908 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63909 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
63910 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
63911 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
63912 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63913 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63914 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63915 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
63916 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63917 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63918 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63919 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63920 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63921 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63922 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63923 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63924 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63925 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63926 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63927 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
63928 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
63929 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63930 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63931 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63932 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63933 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63934 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63935 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63936 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63937 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63938 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63939 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63940 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63941 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63942 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63943 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
63944 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63945 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63946 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
63947 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
63948 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63949 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63950 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63951 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63952 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63953 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63954 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63955 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63956 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63957 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63958 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63959 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63960 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63961 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63962 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63963 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63964 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63965 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63966 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
63967 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63968 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63969 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63970 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63971 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63972 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63973 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63974 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
63975 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63976 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63977 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
63978 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63979 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63980 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
63981 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63982 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
63983 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63984 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63985 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63986 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
63987 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
63988 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
63989 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
63990 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63991 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63992 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63993 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63994 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
63995 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63996 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63997 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
63998 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
63999 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64000 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64001 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64002 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
64003 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64004 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
64005 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64006 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
64007 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64008 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64009 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
64010 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64011 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
64012 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
64013 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
64014 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64015 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
64016 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64017 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64018 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64019 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64020 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64021 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64022 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64023 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
64024 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64025 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64026 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
64027 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
64028 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64029 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
64030 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
64031 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64032 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
64033 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
64034 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64035 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64036 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64037 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64038 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64039 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
64040 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64041 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64042 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64043 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64044 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
64045 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
64046 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64047 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64048 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64049 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
64050 * sysdeps/ieee754/s_lib_version.c: Likewise.
64051 * sysdeps/ieee754/s_matherr.c: Likewise.
64052 * sysdeps/ieee754/s_signgam.c: Likewise.
64053 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64054 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64055 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
64056 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
64057 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
64058 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64059 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
64060 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
64061 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
64062 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
64063 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64064 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
64065 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64066 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64067 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
64068 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64069 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64070 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64071 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64072 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64073 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64074
64075 2012-03-09 Joseph Myers <joseph@codesourcery.com>
64076
64077 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
64078 * sunrpc/rpc_main.c: Likewise.
64079 * sunrpc/rpc_svcout.c: Likewise.
64080
64081 2012-03-09 David S. Miller <davem@davemloft.net>
64082
64083 * include/math_private.h: New file.
64084
64085 2012-03-09 Joseph Myers <joseph@codesourcery.com>
64086
64087 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
64088 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
64089 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
64090 from <bits/socket_type.h>.
64091 (enum __socket_type): Don't define here.
64092 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
64093 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64094 bits/socket_type.h.
64095
64096 [BZ #13566]
64097 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
64098 checking __USE_GNU.
64099
64100 * Makerules ($(inst_includedir)/%.h): New rule.
64101 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
64102 (install-others): Remove variable setting.
64103 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
64104
64105 2012-03-08 Richard Henderson <rth@twiddle.net>
64106
64107 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
64108 from macro to inline function; merge with the
64109 !__LIBC_INTERNAL_MATH_INLINES version.
64110 (__ieee754_sqrtf): Likewise.
64111
64112 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
64113 to inline function.
64114 (__rintf, __floor, __floorf): Likewise.
64115
64116 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
64117 macro to inline function.
64118 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
64119
64120 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
64121 not <math/math_private.h>.
64122
64123 2012-03-08 David S. Miller <davem@davemloft.net>
64124
64125 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
64126 copyright year.
64127 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
64128
64129 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
64130
64131 * resolv/gai_misc.c (handle_requests): Fix struct timespec
64132 normalization.
64133 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
64134 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
64135
64136 2012-03-08 Ulrich Drepper <drepper@gmail.com>
64137
64138 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
64139 be defined individually, they must be defined as a block. Define
64140 S for printing a string instead of hidint the different by using a
64141 macro for adding the 'l'.
64142 * stdio-common/tst-fphex-wide.c: Adjust.
64143
64144 2012-03-07 Marek Polacek <polacek@redhat.com>
64145
64146 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
64147
64148 2012-03-08 Marek Polacek <polacek@redhat.com>
64149
64150 [BZ #13806]
64151 * stdio-common/Makefile (tests): Add tst-fphex-wide.
64152 * stdio-common/tst-fphex.c: Define a few macros to make the
64153 test reusable. Use them.
64154 * stdio-common/tst-fphex-wide.c: New file.
64155
64156 2012-03-08 Joseph Myers <joseph@codesourcery.com>
64157
64158 [BZ #6911]
64159 * manual/macros.texi (gnusystems): New macro.
64160 (nongnusystems): Likewise.
64161 (gnulinuxhurdsystems): Likewise.
64162 (gnuhurdsystems): Likewise..
64163 (gnulinuxsystems): Likewise.
64164 * manual/charset.texi: Use new macros or @theglibc{} to refer to
64165 variants of the GNU system, not "GNU system".
64166 * manual/conf.texi: Likewise.
64167 * manual/errno.texi: Likewise. Update example of errno macro
64168 expansion.
64169 * manual/filesys.texi: Likewise.
64170 (getumask): Document as specific to GNU/Hurd.
64171 * manual/install.texi: Likewise. Reword some references to
64172 GNU/Linux.
64173 * manual/intro.texi: Likewise.
64174 * manual/io.texi: Likewise.
64175 (File Name Portability): Detail which constraints are inapplicable
64176 to all GNU systems and which are only inapplicable to GNU/Hurd.
64177 * manual/job.texi: Likewise.
64178 * manual/llio.texi: Likewise.
64179 (O_NOCTTY): Document as present on GNU/Linux.
64180 * manual/maint.texi: Likewise.
64181 * manual/memory.texi: Likewise.
64182 * manual/pattern.texi: Likewise.
64183 * manual/pipe.texi: Likewise.
64184 * manual/process.texi: Likewise.
64185 * manual/resource.texi: Likewise.
64186 (RUSAGE_CHILDREN): Remove statement about specifying a particular
64187 child on GNU/Hurd.
64188 * manual/setjmp.texi: Likewise.
64189 * manual/signal.texi: Likewise.
64190 * manual/startup.texi: Likewise.
64191 * manual/stdio.texi: Likewise.
64192 * manual/terminal.texi: Likewise.
64193 (ONLCR): Document as POSIX.
64194 (OXTABS): Document availability on GNU/Linux as XTABS.
64195 (ONOEOT): Document availability separately from other bits.
64196 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
64197 * manual/time.texi: Likewise.
64198 * manual/users.texi: Likewise.
64199 * INSTALL: Regenerated.
64200 * sysdeps/gnu/errlist.c: Regenerated.
64201
64202 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
64203 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
64204 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
64205 puts.
64206 * configure: Regenerated.
64207
64208 2012-03-07 Joseph Myers <joseph@codesourcery.com>
64209
64210 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
64211 default includes instead of AC_HEADER_CHECK.
64212 * sysdeps/i386/configure: Regenerated.
64213
64214 [BZ #10716]
64215 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
64216 * math/s_cacoshf.c (__cacoshf): Likewise.
64217 * math/s_cacoshl.c (__cacoshl): Likewise.
64218 * math/s_casinh.c (__casinh): Set signs of result from argument.
64219 * math/s_casinhf.c (__casinhf): Likewise.
64220 * math/s_casinhl.c (__casinhl): Likewise.
64221 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
64222 (casinh_test): Add more tests.
64223 * sysdeps/i386/fpu/libm-test-ulps: Update.
64224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64225
64226 2012-03-07 Ulrich Drepper <drepper@gmail.com>
64227
64228 * po/zh_TW.po: Update from translation team.
64229
64230 * login/Makefile (distribute): Remove variable.
64231 * catgets/Makefile: Likewise.
64232 * mach/Makefile: Likewise.
64233 * malloc/Makefile: Likewise.
64234 * misc/Makefile: Likewise.
64235 * iconv/Makefile: Likewise.
64236 * nscd/Makefile: Likewise.
64237 * hurd/Makefile: Likewise.
64238 * manual/Makefile: Likewise.
64239 * locale/Makefile: Likewise.
64240 * intl/Makefile: Likewise.
64241 * conform/Makefile: Likewise.
64242 * nss/Makefile: Likewise.
64243 * time/Makefile: Likewise.
64244 * soft-fp/Makefile: Likewise.
64245 * dirent/Makefile: Likewise.
64246 * gmon/Makefile: Likewise.
64247 * po/Makefile: Likewise.
64248 * rt/Makefile: Likewise.
64249 * socket/Makefile: Likewise.
64250 * math/Makefile: Likewise.
64251 * signal/Makefile: Likewise.
64252 * debug/Makefile: Likewise.
64253 * elf/Makefile: Likewise.
64254 * timezone/Makefile: Likewise.
64255 * stdlib/Makefile: Likewise.
64256 * iconvdata/Makefile: Likewise.
64257 * sunrpc/Makefile: Likewise.
64258 * io/Makefile: Likewise.
64259 * argp/Makefile: Likewise.
64260 * inet/Makefile: Likewise.
64261 * hesiod/Makefile: Likewise.
64262 * grp/Makefile: Likewise.
64263 * csu/Makefile: Likewise.
64264 * wctype/Makefile: Likewise.
64265 * crypt/Makefile: Likewise.
64266 * libio/Makefile: Likewise.
64267 * string/Makefile: Likewise.
64268 * nis/Makefile: Likewise.
64269 * resolv/Makefile: Likewise.
64270 * stdio-common/Makefile: Likewise.
64271 * wcsmbs/Makefile: Likewise.
64272 * dlfcn/Makefile: Likewise.
64273 * posix/Makefile: Likewise.
64274
64275 [BZ #6959]
64276 * timezone/Makefile: Don't install timezone files, just the programs
64277 and scripts.
64278
64279 2012-03-06 Ulrich Drepper <drepper@gmail.com>
64280
64281 * nss/databases.def: Add missing gshadow entry.
64282
64283 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
64284
64285 2012-03-06 Marek Polacek <polacek@redhat.com>
64286
64287 [BZ #13726]
64288 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
64289 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
64290 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
64291 * stdio-common/tst-long-dbl-fphex.c: New file.
64292
64293 2012-03-06 David S. Miller <davem@davemloft.net>
64294
64295 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64296 (set_obp_int): New function.
64297 (get_obp_int): New function.
64298 (__get_clockfreq_via_dev_openprom): Likewise.
64299 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
64300 Avoid unused variable warnings on 'val' and use builtin_expect.
64301 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
64302 __builtin_expect.
64303 (INLINE_CLONE_SYSCALL): Likewise.
64304
64305 2012-03-05 David S. Miller <davem@davemloft.net>
64306
64307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64308
64309 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
64310
64311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64312
64313 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
64314 only for |x| >= 40.
64315 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64316
64317 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
64318
64319 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
64320 Replace gettimeofday with __vdso_gettimeofday.
64321
64322 * sysdeps/unix/sysv/linux/x86_64/init-first.c
64323 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
64324 __vdso_clock_gettime and __vdso_getcpu.
64325
64326 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
64327 time with __vdso_time.
64328
64329 2012-03-05 Joseph Myers <joseph@codesourcery.com>
64330
64331 * manual/lang.texi (size_t): Note types to which size_t may be
64332 equivalent with the GNU C Library, but do not describe when
64333 differences between them are significant.
64334
64335 2012-03-05 Andreas Jaeger <aj@suse.de>
64336
64337 * sysdeps/i386/fpu/libm-test-ulps: Update.
64338
64339 2012-03-05 Joseph Myers <joseph@codesourcery.com>
64340
64341 [BZ #3976]
64342 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
64343 (__ieee754_pow): Save and restore rounding mode and use
64344 round-to-nearest for main computations.
64345 * math/libm-test.inc (pow_test_tonearest): New function.
64346 (pow_test_towardzero): Likewise.
64347 (pow_test_downward): Likewise.
64348 (pow_test_upward): Likewise.
64349 (main): Call the new functions.
64350 * sysdeps/i386/fpu/libm-test-ulps: Update.
64351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64352
64353 [BZ #3976]
64354 * math/libm-test.inc (cosh_test_tonearest): New function.
64355 (cosh_test_towardzero): Likewise.
64356 (cosh_test_downward): Likewise.
64357 (cosh_test_upward): Likewise.
64358 (sinh_test_tonearest): Likewise.
64359 (sinh_test_towardzero): Likewise.
64360 (sinh_test_downward): Likewise.
64361 (sinh_test_upward): Likewise.
64362 (main): Call the new functions.
64363 * sysdeps/i386/fpu/libm-test-ulps: Update.
64364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64365
64366 2012-03-05 Tom de Vries <tom@codesourcery.com>
64367
64368 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
64369 default stack guard is set in last bytes.
64370 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
64371
64372 2012-03-05 Kees Cook <keescook@chromium.org>
64373
64374 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
64375
64376 [BZ #13656]
64377 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
64378 possibly allocate from heap instead of stack.
64379 * stdio-common/bug-vfprintf-nargs.c: New file.
64380 * stdio-common/Makefile (tests): Add nargs overflow test.
64381
64382 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
64383
64384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64385
64386 2012-03-03 Marek Polacek <polacek@redhat.com>
64387
64388 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
64389 * math/math_private.h: Likewise.
64390 * stdlib/tst-strtod.c: Likewise.
64391 * sysdeps/i386/i486/bits/atomic.h: Likewise.
64392 * sysdeps/x86_64/bits/atomic.h: Likewise.
64393
64394 2012-03-02 David S. Miller <davem@davemloft.net>
64395
64396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
64397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
64398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
64399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
64400 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
64401 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
64402 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
64403 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
64404
64405 2012-03-02 Roland McGrath <roland@hack.frob.com>
64406
64407 [BZ #13792]
64408 * manual/examples/README: New file, says the example source files
64409 can be used under GPL>=2.
64410 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
64411 line containing just "*/".
64412 * manual/examples/add.c: Add copyright header (GPL>=2).
64413 * manual/examples/argp-ex1.c: Likewise.
64414 * manual/examples/argp-ex2.c: Likewise.
64415 * manual/examples/argp-ex3.c: Likewise.
64416 * manual/examples/argp-ex4.c: Likewise.
64417 * manual/examples/atexit.c: Likewise.
64418 * manual/examples/db.c: Likewise.
64419 * manual/examples/dir.c: Likewise.
64420 * manual/examples/dir2.c: Likewise.
64421 * manual/examples/execinfo.c: Likewise.
64422 * manual/examples/filecli.c: Likewise.
64423 * manual/examples/filesrv.c: Likewise.
64424 * manual/examples/fmtmsgexpl.c: Likewise.
64425 * manual/examples/genpass.c: Likewise.
64426 * manual/examples/inetcli.c: Likewise.
64427 * manual/examples/inetsrv.c: Likewise.
64428 * manual/examples/isockad.c: Likewise.
64429 * manual/examples/longopt.c: Likewise.
64430 * manual/examples/memopen.c: Likewise.
64431 * manual/examples/memstrm.c: Likewise.
64432 * manual/examples/mkfsock.c: Likewise.
64433 * manual/examples/mkisock.c: Likewise.
64434 * manual/examples/mygetpass.c: Likewise.
64435 * manual/examples/pipe.c: Likewise.
64436 * manual/examples/popen.c: Likewise.
64437 * manual/examples/rprintf.c: Likewise.
64438 * manual/examples/search.c: Likewise.
64439 * manual/examples/select.c: Likewise.
64440 * manual/examples/setjmp.c: Likewise.
64441 * manual/examples/sigh1.c: Likewise.
64442 * manual/examples/sigusr.c: Likewise.
64443 * manual/examples/stpcpy.c: Likewise.
64444 * manual/examples/strdupa.c: Likewise.
64445 * manual/examples/strftim.c: Likewise.
64446 * manual/examples/strncat.c: Likewise.
64447 * manual/examples/subopt.c: Likewise.
64448 * manual/examples/swapcontext.c: Likewise.
64449 * manual/examples/termios.c: Likewise.
64450 * manual/examples/testopt.c: Likewise.
64451 * manual/examples/testpass.c: Likewise.
64452 * manual/examples/timeval_subtract.c: Likewise.
64453
64454 [BZ #13792]
64455 * manual/time.texi (Elapsed Time): Move timeval_subtract example
64456 function to ...
64457 * manual/timeval_subtract.c.texi: ... here, new file.
64458
64459 2012-03-02 David S. Miller <davem@davemloft.net>
64460
64461 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
64462
64463 2012-03-02 Joseph Myers <joseph@codesourcery.com>
64464
64465 [BZ #3976]
64466 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
64467 (__sin): Save and restore rounding mode and use round-to-nearest
64468 for all computations.
64469 (__cos): Save and restore rounding mode and use round-to-nearest
64470 for all computations.
64471 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
64472 <fenv.h>.
64473 (tan): Save and restore rounding mode and use round-to-nearest for
64474 all computations.
64475 * math/libm-test.inc (cos_test_tonearest): New function.
64476 (cos_test_towardzero): Likewise.
64477 (cos_test_downward): Likewise.
64478 (cos_test_upward): Likewise.
64479 (sin_test_tonearest): Likewise.
64480 (sin_test_towardzero): Likewise.
64481 (sin_test_downward): Likewise.
64482 (sin_test_upward): Likewise.
64483 (tan_test_tonearest): Likewise.
64484 (tan_test_towardzero): Likewise.
64485 (tan_test_downward): Likewise.
64486 (tan_test_upward): Likewise.
64487 (main): Call the new functions.
64488 * sysdeps/i386/fpu/libm-test-ulps: Update.
64489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64490
64491 [BZ #10135]
64492 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
64493 small n, then large n, before computing and testing k+n.
64494 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
64495 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
64496 Likewise.
64497 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
64498 Likewise.
64499 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
64500 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
64501 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
64502 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
64503 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
64504 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
64505 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
64506 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
64507 * math/libm-test.inc (scalbn_test): Add more tests.
64508 (scalbln_test): Likewise.
64509
64510 * manual/filesys.texi (mode_t): Describe constraints on size and
64511 signedness, not exact equivalence to a particular type.
64512 (ino_t): Likewise.
64513 (ino64_t): Likewise.
64514 (dev_t): Likewise.
64515 (nlink_t): Likewise.
64516 (blkcnt_t): Likewise.
64517 (blkcnt64_t): Likewise.
64518 * manual/llio.texi (off_t): Likewise.
64519
64520 [BZ #3976]
64521 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
64522 (__ieee754_exp): Save and restore rounding mode and use
64523 round-to-nearest for all computations.
64524 * math/libm-test.inc (exp_test_tonearest): New function.
64525 (exp_test_towardzero): Likewise.
64526 (exp_test_downward): Likewise.
64527 (exp_test_upward): Likewise.
64528 (main): Call the new functions.
64529 * sysdeps/i386/fpu/libm-test-ulps: Update.
64530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64531
64532 2012-03-01 Chris Demetriou <cgd@google.com>
64533
64534 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
64535 have predictable order.
64536
64537 2012-03-01 David S. Miller <davem@davemloft.net>
64538
64539 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
64540
64541 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
64542 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
64543 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
64544 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
64545
64546 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
64547 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
64548 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
64549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
64550 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
64551 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
64552 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
64553 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
64554 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
64555
64556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64557
64558 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
64559 * sysdeps/sparc/fpu/libm-test-ulps: to here.
64560 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
64561
64562 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
64563 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64564 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64565 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
64566 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
64567 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
64568 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
64569 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64570 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64571 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
64572 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
64573 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64574 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64575 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64576 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64577 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64578 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
64579 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
64580 * sysdeps/sparc/elf/configure: Regenerated.
64581
64582 2012-03-01 Joseph Myers <joseph@codesourcery.com>
64583
64584 * configure.in (AS, LD): Require binutils 2.20 or later.
64585 * configure: Regenerated.
64586 * manual/install.texi (Tools for Compilation): Give binutils 2.20
64587 as required minimum version.
64588 * INSTALL: Regenerated.
64589
64590 [BZ #2541]
64591 [BZ #4108]
64592 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
64593 before squaring exponent.
64594 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
64595 bottom long double and 27 bits of top long double before squaring
64596 exponent.
64597 * math/libm-test.inc (erfc_test): Add more tests.
64598 * sysdeps/i386/fpu/libm-test-ulps: Update.
64599 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64601
64602 2012-03-01 Kai Tietz <ktietz@redhat.com>
64603
64604 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
64605 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
64606 containing bit-fields.
64607 * soft-fp/extended.h (_FP_UNION_E): Likewise.
64608 * soft-fp/single.h (_FP_UNION_S): Likewise.
64609 * soft-fp/double.h (_FP_UNION_D): Likewise.
64610
64611 2012-02-29 Joseph Myers <joseph@codesourcery.com>
64612
64613 [BZ #13786]
64614 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
64615 not include ../strcmp.S.
64616 [USE_AS_STRNCASECMP_L]: Likewise.
64617 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
64618 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
64619 * sysdeps/i386/i686/multiarch/strncase_l-c.c
64620 (__strncasecmp_l_ia32): Define as alias to
64621 __strncasecmp_l_nonascii.
64622
64623 [BZ #5794]
64624 * math/libm-test.inc (expm1_test): Add test for bug 5794.
64625 * sysdeps/i386/fpu/libm-test-ulps: Update.
64626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64627
64628 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
64629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64630
64631 2012-02-29 Jeff Law <law@redhat.com>
64632
64633 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
64634 out of bounds read.
64635
64636 2012-02-29 Marek Polacek <polacek@redhat.com>
64637
64638 [BZ #13706]
64639 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
64640 * elf/Makefile: Add rules to run tst-unused-dep.out.
64641
64642 2012-02-28 David S. Miller <davem@davemloft.net>
64643
64644 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
64645 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
64646 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
64647 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
64648 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
64649 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
64650
64651 2012-02-29 Joseph Myers <joseph@codesourcery.com>
64652
64653 * math/libm-test.inc (llround_test): Move one test from
64654 lround_test. Use TEST_f_L in moved test.
64655 (lround_test): Move misplaced test to llround_test. Add testcase
64656 from bug 2561.
64657
64658 2012-02-28 Ulrich Drepper <drepper@gmail.com>
64659
64660 * sysdeps/x86_64/fpu/e_expf.S: New file.
64661 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
64662
64663 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
64664
64665 [BZ #13637]
64666 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
64667 of remain_len that may cause incomplete multi-byte character and
64668 false match.
64669 * posix/bug-regex33.c: New file.
64670 * posix/Makefile (tests): Add bug-regex33.
64671
64672 2012-02-28 Joseph Myers <joseph@codesourcery.com>
64673
64674 * manual/macros.texi: New file.
64675 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
64676 * manual/libc.texinfo: Include macros.texi.
64677 * manual/creatute.texi: Likewise.
64678 * manual/install.texi: Likewise.
64679 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
64680 @glibcadj{} in references to the GNU C Library.
64681 * manual/charset.texi: Likewise.
64682 * manual/conf.texi: Likewise.
64683 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
64684 when not using those macros.
64685 * manual/creature.texi: Likewise.
64686 * manual/crypt.texi: Likewise.
64687 * manual/errno.texi: Likewise.
64688 * manual/filesys.texi: Likewise.
64689 * manual/header.texi: Likewise.
64690 * manual/install.texi: Likewise.
64691 * manual/intro.texi: Likewise.
64692 * manual/io.texi: Likewise.
64693 * manual/job.texi: Likewise.
64694 * manual/lang.texi: Likewise.
64695 * manual/libc.texiinfo: Likewise.
64696 * manual/llio.texi: Likewise.
64697 * manual/locale.texi: Likewise.
64698 * manual/maint.texi: Likewise.
64699 * manual/math.texi: Likewise.
64700 * manual/memory.texi: Likewise.
64701 * manual/message.texi: Likewise.
64702 * manual/nss.texi: Likewise.
64703 * manual/pattern.texi: Likewise.
64704 * manual/process.texi: Likewise.
64705 * manual/resource.texi: Likewise.
64706 * manual/search.texi: Likewise.
64707 * manual/setjmp.texi: Likewise.
64708 * manual/signal.texi: Likewise.
64709 * manual/socket.texi: Likewise.
64710 * manual/startup.texi: Likewise.
64711 * manual/stdio.texi: Likewise.
64712 * manual/string.texi: Likewise.
64713 * manual/sysinfo.texi: Likewise.
64714 * manual/syslog.texi: Likewise.
64715 * manual/terminal.texi: Likewise.
64716 * manual/time.texi: Likewise.
64717 * manual/users.texi: Likewise.
64718 * INSTALL: Regenerated.
64719 * NOTES: Regenerated.
64720 * sysdeps/gnu/errlist.c: Regenerated.
64721
64722 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
64723
64724 * include/dirent.h: Include <dirstream.h> before
64725 <dirent/dirent.h>.
64726
64727 2012-02-28 David S. Miller <davem@davemloft.net>
64728
64729 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
64730 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
64731 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
64732 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
64733
64734 2012-02-27 David S. Miller <davem@davemloft.net>
64735
64736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
64737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
64738 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
64739 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
64740
64741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
64742 frame pointer instead of stack pointer relative arg slot.
64743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64744 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64745 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64746
64747 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
64748
64749 [BZ #3992]
64750 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
64751
64752 2012-02-27 David S. Miller <davem@davemloft.net>
64753
64754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
64755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
64758 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64759 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64760 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
64761 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
64762
64763 2012-02-27 Joseph Myers <joseph@codesourcery.com>
64764
64765 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
64766 later. Allow versions 5-9.
64767 * configure: Regenerated.
64768 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
64769 required minimum version and 4.6 as recommended version. Do not
64770 mention bugs in GCC 2.7 and 2.8.
64771 * INSTALL: Regenerated.
64772
64773 2012-02-27 David S. Miller <davem@davemloft.net>
64774
64775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
64776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
64777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
64778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
64779 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
64780 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
64781 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
64782 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
64783
64784 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
64785 manipulate bits before adding and subtracting TWO112[sx].
64786 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64787
64788 2012-02-27 Roland McGrath <roland@hack.frob.com>
64789
64790 [BZ #13775]
64791 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
64792 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
64793 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
64794 being in POSIX, because they are in 1003.1-2008.
64795
64796 * rt/tst-aio.c: Include <fcntl.h>.
64797 * rt/tst-aio7.c: Likewise.
64798 * rt/tst-aio64.c: Likewise.
64799
64800 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
64801
64802 2012-02-27 Joseph Myers <joseph@codesourcery.com>
64803
64804 * manual/install.texi (--with-headers): Describe headers as
64805 interface headers, not private headers.
64806 (Specific advice for GNU/Linux systems): Describe use of headers
64807 from "make headers_install", not private headers from older
64808 kernels.
64809 * INSTALL: Regenerated.
64810 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
64811 Change to 2.6.19.
64812 * sysdeps/unix/sysv/linux/configure: Regenerated.
64813
64814 * manual/llio.texi (fclean): Remove documentation.
64815
64816 * manual/Makefile (libc-texi-generated): New variable. Include
64817 version.texi.
64818 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
64819 $(libc-texi-generated), not duplicated list of files.
64820 (version.texi, stamp-version): New rules.
64821 (realclean): Remove $(libc-texi-generated), not individual files
64822 from that list. Do not remove dir-add.texinfo.
64823 * manual/libc.texinfo: Comment out uses of edition numbers and
64824 references to printed manual. Remove last-updated dates.
64825 (EDITION): Comment out.
64826 (ISBN): Likewise.
64827 (VERSION, UPDATED): Remove.
64828 (version.texi): Include.
64829
64830 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
64831
64832 * sysdeps/posix/spawni.c: Include <signal.h>.
64833 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
64834 * sysdeps/pthread/aio_fsync.c: Likewise.
64835
64836 2012-02-26 Ulrich Drepper <drepper@gmail.com>
64837
64838 * conform/Makefile (tests): Run only when not cross-compiling and
64839 when fast-check is not defined.
64840
64841 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
64842 * conform/data/limits.h-data: Fixes for POSIX2008.
64843 * conform/run-conformtest.sh: Run all tests.
64844 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
64845 headers.
64846 * include/bits/dlfcn.h: Likewise.
64847 * include/langinfo.h: Likewise.
64848 * include/monetary.h: Likewise.
64849 * include/sys/poll.h: Likewise.
64850
64851 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
64852 for __USE_GNU.
64853 * posix/spawn.h: Define __need_sigset_t.
64854 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
64855 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
64856 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
64857 to get sigevent_t only.
64858 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
64859 only for __USE_GNU.
64860 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64861 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64862 process_vm_writev only for __USE_GNU.
64863 * termios/termios.h: Declare tcgetsid also for POSIX2008.
64864
64865 * conform/Makefile: For now ignore errors from run-conformtest.
64866 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
64867 POSIX to avoid namespace pollution. Don't prepend headers.
64868 * conform/data/aio.h-data: Fixes for POSIX testing.
64869 * conform/data/fcntl.h-data: Likewise.
64870 * conform/data/glob.h-data: Likewise.
64871 * conform/data/grp.h-data: Likewise.
64872 * conform/data/pthread.h-data: Likewise.
64873 * conform/data/pwd.h-data: Likewise.
64874 * conform/data/signal.h-data: Likewise.
64875 * conform/data/spawn.h-data: Likewise.
64876 * conform/data/stdio.h-data: Likewise.
64877 * conform/data/stdlib.h-data: Likewise.
64878 * conform/data/stropts.h-data: Likewise.
64879 * conform/data/sys/mman.h-data: Likewise.
64880 * conform/data/sys/stat.h-data: Likewise.
64881 * conform/data/sys/types.h-data: Likewise.
64882 * conform/data/sys/wait.h-data: Likewise.
64883 * conform/data/time.h-data: Likewise.
64884 * conform/data/unistd.h-data: Likewise.
64885 * conform/data/utime.h-data: Likewise.
64886
64887 * io/sys/stat.h: fchmod was always in POSIX.
64888 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
64889 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
64890 * rt/aio.h: Define __need_timespec before including <time.h>.
64891 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
64892 struct. Add forward declaration of pthread_attr_t and use it in
64893 sigevent.
64894 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64895 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64896 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
64897 always remove CLK_TCK definition.
64898
64899 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
64900
64901 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
64902
64903 2012-02-25 Ulrich Drepper <drepper@gmail.com>
64904
64905 * conform/run-conformtest.sh: New file.
64906 * conform/Makefile: Run run-conformtest for tests.
64907 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
64908 support.
64909
64910 * conform/data/uchar.h-data: New file.
64911 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
64912 * conform/data/arpa/inet.h-data: Likewise.
64913 * conform/data/assert.h-data: Likewise.
64914 * conform/data/complex.h-data: Likewise.
64915 * conform/data/cpio.h-data: Likewise.
64916 * conform/data/ctype.h-data: Likewise.
64917 * conform/data/dirent.h-data: Likewise.
64918 * conform/data/dlfcn.h-data: Likewise.
64919 * conform/data/errno.h-data: Likewise.
64920 * conform/data/fcntl.h-data: Likewise.
64921 * conform/data/float.h-data: Likewise.
64922 * conform/data/fmtmsg.h-data: Likewise.
64923 * conform/data/fnmatch.h-data: Likewise.
64924 * conform/data/ftw.h-data: Likewise.
64925 * conform/data/glob.h-data: Likewise.
64926 * conform/data/grp.h-data: Likewise.
64927 * conform/data/iconv.h-data: Likewise.
64928 * conform/data/inttypes.h-data: Likewise.
64929 * conform/data/langinfo.h-data: Likewise.
64930 * conform/data/libgen.h-data: Likewise.
64931 * conform/data/limits.h-data: Likewise.
64932 * conform/data/locale.h-data: Likewise.
64933 * conform/data/math.h-data: Likewise.
64934 * conform/data/monetary.h-data: Likewise.
64935 * conform/data/mqueue.h-data: Likewise.
64936 * conform/data/ndbm.h-data: Likewise.
64937 * conform/data/net/if.h-data: Likewise.
64938 * conform/data/netdb.h-data: Likewise.
64939 * conform/data/netinet/in.h-data: Likewise.
64940 * conform/data/nl_types.h-data: Likewise.
64941 * conform/data/poll.h-data: Likewise.
64942 * conform/data/pthread.h-data: Likewise.
64943 * conform/data/pwd.h-data: Likewise.
64944 * conform/data/regex.h-data: Likewise.
64945 * conform/data/sched.h-data: Likewise.
64946 * conform/data/search.h-data: Likewise.
64947 * conform/data/semaphore.h-data: Likewise.
64948 * conform/data/setjmp.h-data: Likewise.
64949 * conform/data/signal.h-data: Likewise.
64950 * conform/data/spawn.h-data: Likewise.
64951 * conform/data/stdarg.h-data: Likewise.
64952 * conform/data/stdio.h-data: Likewise.
64953 * conform/data/stdlib.h-data: Likewise.
64954 * conform/data/string.h-data: Likewise.
64955 * conform/data/strings.h-data: Likewise.
64956 * conform/data/stropts.h-data: Likewise.
64957 * conform/data/sys/ipc.h-data: Likewise.
64958 * conform/data/sys/mman.h-data: Likewise.
64959 * conform/data/sys/msg.h-data: Likewise.
64960 * conform/data/sys/resource.h-data: Likewise.
64961 * conform/data/sys/select.h-data: Likewise.
64962 * conform/data/sys/sem.h-data: Likewise.
64963 * conform/data/sys/shm.h-data: Likewise.
64964 * conform/data/sys/socket.h-data: Likewise.
64965 * conform/data/sys/stat.h-data: Likewise.
64966 * conform/data/sys/statvfs.h-data: Likewise.
64967 * conform/data/sys/time.h-data: Likewise.
64968 * conform/data/sys/timeb.h-data: Likewise.
64969 * conform/data/sys/times.h-data: Likewise.
64970 * conform/data/sys/types.h-data: Likewise.
64971 * conform/data/sys/uio.h-data: Likewise.
64972 * conform/data/sys/un.h-data: Likewise.
64973 * conform/data/sys/utsname.h-data: Likewise.
64974 * conform/data/sys/wait.h-data: Likewise.
64975 * conform/data/syslog.h-data: Likewise.
64976 * conform/data/tar.h-data: Likewise.
64977 * conform/data/termios.h-data: Likewise.
64978 * conform/data/utime.h-data: Likewise.
64979 * conform/data/utmpx.h-data: Likewise.
64980 * conform/data/varargs.h-data: Likewise.
64981 * conform/data/wchar.h-data: Likewise.
64982 * conform/data/wctype.h-data: Likewise.
64983 * conform/data/wordexp.h-data: Likewise.
64984
64985 * include/stropts.h: New file.
64986 * include/uchar.h: New file.
64987 * include/aio.h: Changes to allow conformtest.pl to use the headers.
64988 * include/assert.h: Likewise.
64989 * include/ctype.h: Likewise.
64990 * include/dirent.h: Likewise.
64991 * include/dlfcn.h: Likewise.
64992 * include/fcntl.h: Likewise.
64993 * include/fnmatch.h: Likewise.
64994 * include/glob.h: Likewise.
64995 * include/grp.h: Likewise.
64996 * include/libio.h: Likewise.
64997 * include/locale.h: Likewise.
64998 * include/math.h: Likewise.
64999 * include/net/if.h: Likewise.
65000 * include/netdb.h: Likewise.
65001 * include/netinet/in.h: Likewise.
65002 * include/pthread.h: Likewise.
65003 * include/pwd.h: Likewise.
65004 * include/regex.h: Likewise.
65005 * include/sched.h: Likewise.
65006 * include/search.h: Likewise.
65007 * include/setjmp.h: Likewise.
65008 * include/signal.h: Likewise.
65009 * include/stdio.h: Likewise.
65010 * include/stdlib.h: Likewise.
65011 * include/string.h: Likewise.
65012 * include/sys/cdefs.h: Likewise.
65013 * include/sys/mman.h: Likewise.
65014 * include/sys/msg.h: Likewise.
65015 * include/sys/resource.h: Likewise.
65016 * include/sys/select.h: Likewise.
65017 * include/sys/socket.h: Likewise.
65018 * include/sys/stat.h: Likewise.
65019 * include/sys/statvfs.h: Likewise.
65020 * include/sys/time.h: Likewise.
65021 * include/sys/times.h: Likewise.
65022 * include/sys/uio.h: Likewise.
65023 * include/sys/utsname.h: Likewise.
65024 * include/sys/wait.h: Likewise.
65025 * include/termios.h: Likewise.
65026 * include/time.h: Likewise.
65027 * include/ulimit.h: Likewise.
65028 * include/unistd.h: Likewise.
65029 * include/utime.h: Likewise.
65030 * include/wchar.h: Likewise.
65031 * include/wctype.h: Likewise.
65032 * include/wordexp.h: Likewise.
65033
65034 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
65035
65036 * time/time.h: TIME_UTC must be a macro.
65037 Make timespec_get available for ISO C11 only as well.
65038
65039 2012-02-24 Ulrich Drepper <drepper@gmail.com>
65040
65041 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
65042 Reported by Peng Haitao <penght@cn.fujitsu.com>.
65043
65044 2012-02-24 Joseph Myers <joseph@codesourcery.com>
65045
65046 * configure.in: Use -o not -a in test for unsupported multi-arch.
65047
65048 2012-02-24 Joseph Myers <joseph@codesourcery.com>
65049
65050 * manual/texinfo.tex: Update to version 2012-01-19.16.
65051
65052 2012-02-24 Joseph Myers <joseph@codesourcery.com>
65053
65054 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
65055
65056 2012-02-24 Roland McGrath <roland@hack.frob.com>
65057
65058 [BZ #13738]
65059 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
65060 * manual/fdl-1.3.texi: New file.
65061 * manual/fdl-1.1.texi: File removed.
65062
65063 [BZ #13738]
65064 * manual/libc.texinfo (FDL_VERSION): New @set.
65065 Use it for mention of FDL in cover text.
65066 (Documentation License): Use it in @include file name.
65067
65068 2012-02-22 Joseph Myers <joseph@codesourcery.com>
65069 Roland McGrath <roland@hack.frob.com>
65070
65071 [BZ #5461]
65072 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
65073 (not LONG_LONG_MAX and LONG_LONG_MIN.
65074 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
65075 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
65076 name.
65077 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
65078
65079 2012-02-22 Joseph Myers <joseph@codesourcery.com>
65080
65081 [BZ #2547]
65082 [BZ #11365]
65083 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
65084 manipulate bits before adding and subtracting TWO23[sx].
65085 * math/libm-test.inc (nearbyint_test): Add more tests.
65086
65087 2012-02-22 Joseph Myers <joseph@codesourcery.com>
65088
65089 [BZ #2548]
65090 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
65091 bits before adding and subtracting TWO23[sx].
65092 * math/libm-test.inc (rint_test): Add more tests.
65093 (rint_test_tonearest): Likewise.
65094 (rint_test_towardzero): Likewise.
65095 (rint_test_downward): Likewise.
65096 (rint_test_upward: Likewise.
65097
65098 2012-02-22 Joseph Myers <joseph@codesourcery.com>
65099
65100 [BZ #10110]
65101 * include/stdc-predef.h: New file. Extracted from features.h.
65102 * include/features.h: Include stdc-predef.h.
65103 * Makefile (headers): Add stdc-predef.h.
65104 * CONFORMANCE (Compiler limitations): Update.
65105
65106 2012-02-22 Joseph Myers <joseph@codesourcery.com>
65107
65108 * manual/libc.texinfo (VERSION, UPDATED): Revert.
65109
65110 2012-02-21 David S. Miller <davem@davemloft.net>
65111
65112 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
65113 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65114
65115 2012-02-20 David S. Miller <davem@davemloft.net>
65116
65117 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
65118 using a normal save/restore sequence, rather than allocating a
65119 dummy stack frame just to store a frame pointer and restore.
65120 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65121
65122 2012-02-21 Joseph Myers <joseph@codesourcery.com>
65123
65124 * manual/install.texi: Fix stray word in line-wrapped comment.
65125
65126 2012-02-20 David S. Miller <davem@davemloft.net>
65127
65128 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
65129 both binutils and gcc support GOTDATA.
65130
65131 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
65132 "rd %pc" in the PIC register setup sequences.
65133
65134 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
65135 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
65136 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65137 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
65138 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65139 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65140 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65141 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65142 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
65143 (SYSCALL_ERROR_HANDLER): Likewise.
65144 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65145 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65146 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
65147 (SYSCALL_ERROR_HANDLER): Likewise.
65148
65149 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
65150 (HAVE_GCC_GOTDATA): New.
65151 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
65152 relocation support in both binutils and gcc.
65153 * sysdeps/sparc/elf/configure: Regenerate.
65154
65155 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
65156 * sysdeps/sparc/sparc32/elf/configure: Delete.
65157 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
65158 * sysdeps/sparc/sparc64/elf/configure: Delete.
65159 * sysdeps/sparc/elf/configure.in: New file.
65160 * sysdeps/sparc/elf/configure: Generate.
65161
65162 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
65163 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
65164 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65165 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
65166 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
65167
65168 2012-02-21 Joseph Myers <joseph@codesourcery.com>
65169
65170 * manual/install.texi: Do not mention specific glibc version
65171 numbers.
65172 * manual/libc.texinfo (VERSION, UPDATED): Update.
65173 (@copying): Use @copyright{} and range of years.
65174
65175 2012-02-21 Joseph Myers <joseph@codesourcery.com>
65176
65177 [BZ #13695]
65178 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
65179 [crti.S not in sysdirs] (generated): Do not append.
65180 [crti.S not in sysdirs] (omit-deps): Likewise.
65181 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
65182 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
65183 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
65184 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
65185 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
65186 Likewise.
65187 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
65188 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
65189 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
65190 * csu/defs.awk: Remove file.
65191 * sysdeps/generic/initfini.c: Likewise.
65192 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
65193 variable.
65194 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
65195 Likewise.
65196
65197 2012-02-20 Joseph Myers <joseph@codesourcery.com>
65198
65199 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
65200 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
65201 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
65202 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
65203 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65204 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
65205 <bits/epoll.h>.
65206 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
65207 (__EPOLL_PACKED): Define to empty if not defined by
65208 <bits/epoll.h>.
65209 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
65210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65211 bits/epoll.h.
65212
65213 2012-02-20 Joseph Myers <joseph@codesourcery.com>
65214
65215 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
65216 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
65217 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
65218 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
65219 <bits/timerfd.h>.
65220 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
65221 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65222 bits/timerfd.h.
65223
65224 2012-02-20 Joseph Myers <joseph@codesourcery.com>
65225
65226 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
65227 in C locale.
65228 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65229 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65230 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
65231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65232
65233 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
65234
65235 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65236 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65237
65238 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
65239
65240 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
65241 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
65242 defined.
65243 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
65244 Likewise.
65245 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
65246 entry for 2.16.
65247
65248 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
65249
65250 * math/w_acos.c: Use non-signaling floating-point comparisons.
65251 * math/w_acosf.c: Likewise.
65252 * math/w_acosh.c: Likewise.
65253 * math/w_acoshf.c: Likewise.
65254 * math/w_acoshl.c: Likewise.
65255 * math/w_acosl.c: Likewise.
65256 * math/w_asin.c: Likewise.
65257 * math/w_asinf.c: Likewise.
65258 * math/w_asinl.c: Likewise.
65259 * math/w_atanh.c: Likewise.
65260 * math/w_atanhf.c: Likewise.
65261 * math/w_atanhl.c: Likewise.
65262 * math/w_exp2.c: Likewise.
65263 * math/w_exp2f.c: Likewise.
65264 * math/w_exp2l.c: Likewise.
65265 * math/w_j0.c: Likewise.
65266 * math/w_j0f.c: Likewise.
65267 * math/w_j0l.c: Likewise.
65268 * math/w_j1.c: Likewise.
65269 * math/w_j1f.c: Likewise.
65270 * math/w_j1l.c: Likewise.
65271 * math/w_jn.c: Likewise.
65272 * math/w_jnf.c: Likewise.
65273 * math/w_log.c: Likewise.
65274 * math/w_log10.c: Likewise.
65275 * math/w_log10f.c: Likewise.
65276 * math/w_log10l.c: Likewise.
65277 * math/w_log2.c: Likewise.
65278 * math/w_log2f.c: Likewise.
65279 * math/w_log2l.c: Likewise.
65280 * math/w_logf.c: Likewise.
65281 * math/w_logl.c: Likewise.
65282 * math/w_sqrt.c: Likewise.
65283 * math/w_sqrtf.c: Likewise.
65284 * math/w_sqrtl.c: Likewise.
65285 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65286 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
65287 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65288 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65289 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65290
65291 2012-02-19 Joseph Myers <joseph@codesourcery.com>
65292
65293 [BZ #9739]
65294 * manual/string.texi (strnlen): Use correct parameter name in
65295 equivalent expression.
65296
65297 2012-02-19 Joseph Myers <joseph@codesourcery.com>
65298
65299 [BZ #11174]
65300 * manual/users.texi (seteuid): Consistently use neweuid for
65301 argument name.
65302
65303 2012-02-19 Joseph Myers <joseph@codesourcery.com>
65304
65305 [BZ #13704]
65306 * manual/nss.texi (Services in the NSS configuration): Correct
65307 list of services in example configuration file.
65308
65309 2012-02-19 Nick Bowler <nbowler@draconx.ca>
65310
65311 [BZ #11322]
65312 * manual/arith.texi: Remove statements about negative zero
65313 behaving identically to zero.
65314
65315 2012-02-18 Joseph Myers <joseph@codesourcery.com>
65316
65317 [BZ #5993]
65318 * manual/install.texi: Do not document upgrading from libc5.
65319
65320 2012-02-18 Joseph Myers <joseph@codesourcery.com>
65321
65322 [BZ #4596]
65323 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
65324
65325 2012-02-18 David S. Miller <davem@davemloft.net>
65326
65327 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
65328 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
65329 %o7 across the call.
65330 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
65331 instead.
65332 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
65333 SETUP_PIC_REG_LEAF.
65334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65335 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
65336 * sysdeps/sparc/crtn.S: Likewise.
65337
65338 2012-02-17 Ulrich Drepper <drepper@gmail.com>
65339
65340 * aout/Makefile: Remove.
65341
65342 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
65343
65344 [BZ #13058]
65345 * manual/examples/argp-ex1.c (main): Format definition in GNU
65346 style.
65347 * manual/examples/argp-ex2.c (main): Likewise.
65348 * manual/examples/argp-ex3.c (main): Likewise.
65349 * manual/examples/argp-ex4.c (main): Likewise.
65350 * manual/examples/longopt.c (main): Use new-style prototype
65351 definition.
65352 * manual/examples/strncat.c (main): Specify return type and use
65353 (void) for arguments.
65354 * manual/examples/subopt.c (main): Use char **argv argument.
65355
65356 2012-02-17 Joseph Myers <joseph@codesourcery.com>
65357
65358 [BZ #5077]
65359 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
65360 rounding modes.
65361
65362 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
65363
65364 [BZ #6907]
65365 * manual/string.texi (strchr): Change when strchrnul is
65366 recommended.
65367
65368 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
65369
65370 [BZ #174]
65371 * manual/locale.texi (setlocale): Document LOCPATH.
65372
65373 2012-02-17 Joseph Myers <joseph@codesourcery.com>
65374
65375 [BZ #10210]
65376 * manual/process.texi (execle): Move @dots{} before last argument.
65377
65378 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
65379
65380 [BZ #12047]
65381 * manual/charset.texi (Generic Charset Conversion): Fix typo
65382 (LC_TYPE -> LC_CTYPE).
65383
65384 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
65385
65386 [BZ #5805]
65387 * manual/arith.texi (scalbn): Use @var{} on parameter names.
65388 (scalbnf): Likewise.
65389 (scalbnl): Likewise.
65390 (scalbln): Likewise.
65391 (scalblnf): Likewise.
65392 (scalblnl): Likewise.
65393 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
65394 (vwarnx): Likewise.
65395 (verr): Likewise.
65396 (verrx): Likewise.
65397 * manual/filesys.texi (telldir): Use braces around return type.
65398 * manual/llio.texi (mmap): Add space after comma.
65399 (mmap64): Likewise.
65400 * manual/math.texi (jn): Use @var{} on parameter names.
65401 (jnf): Likewise.
65402 (jnl): Likewise.
65403 (yn): Likewise.
65404 (ynf): Likewise.
65405 (ynl): Likewise.
65406 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
65407 line.
65408 * manual/resource.texi (ulimit): Use @dots{} instead of literal
65409 "...".
65410 (sched_get_priority_min): Remove semicolon on @deftypefun line.
65411 (sched_get_priority_max): Likewise.
65412 * manual/signal.texi (sigvec): Add space after comma.
65413 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
65414 names.
65415 (if_indextoname): Likewise.
65416 (if_freenameindex): Likewise.
65417 (sendto): Use ',' instead of '.' in prototype.
65418 * manual/startup.texi (syscall): Use @dots{} instead of literal
65419 "...".
65420 * manual/stdio.texi (__fpending): Separate initial words of
65421 paragraph from @deftypefun line.
65422 * manual/syslog.texi (syslog): Use @dots{} instead of literal
65423 "...".
65424 (vsyslog): Use @var{} on parameter names.
65425 * manual/terminal.texi (stty): Use @var{} on parameter names.
65426 * manual/users.texi (getutmp): Use @var{} on parameter names.
65427 (getutmpx): Likewise.
65428
65429 2012-02-17 Joseph Myers <joseph@codesourcery.com>
65430
65431 [BZ #6884]
65432 * manual/stdio.texi (fopen): Fix typos in description of
65433 ",ccs=STRING".
65434
65435 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
65436
65437 [BZ #4026]
65438 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
65439 get clock_id definition.
65440
65441 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
65442
65443 [BZ #4822]
65444 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
65445 (madvise): Cast every argument to void on its own.
65446
65447 2012-02-17 Joseph Myers <joseph@codesourcery.com>
65448
65449 [BZ #9902]
65450 * manual/startup.texi (Exit Status): Fix typo.
65451
65452 2012-02-17 Joseph Myers <joseph@codesourcery.com>
65453
65454 [BZ #10140]
65455 * manual/examples/argp-ex1.c: Include <stdlib.h>.
65456 * manual/examples/argp-ex2.c: Likewise.
65457 * manual/examples/argp-ex3.c: Likewise.
65458
65459 2012-02-16 Richard Henderson <rth@redhat.com>
65460
65461 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
65462 * sysdeps/s390/s390-32/initfini.c: Remove.
65463 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
65464 * sysdeps/s390/s390-64/initfini.c: Remove.
65465
65466 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
65467
65468 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
65469 compiler output for sysdeps/generic/initfini.c.
65470 * sysdeps/sh/elf/initfini.c: Remove file.
65471
65472 2012-02-16 David S. Miller <davem@davemloft.net>
65473
65474 [BZ #11494]
65475 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
65476
65477 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
65478 * sysdeps/sparc/crti.S: New file.
65479 * sysdeps/sparc/crtn.S: New file.
65480 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
65481 * sysdeps/sparc/sparc64/Makefile: Likewise.
65482
65483 2012-02-15 Mike Frysinger <vapier@gentoo.org>
65484
65485 [BZ #3335]
65486 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
65487
65488 2012-02-15 Roland McGrath <roland@hack.frob.com>
65489
65490 [BZ #4822]
65491 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
65492
65493 * mach/devstream.c (cookie_io_functions_t): Macro removed.
65494 (write, read, close): Likewise.
65495 Patch by Aurelien Jarno <aurelien@aurel32.net>.
65496
65497 2012-02-15 Joseph Myers <joseph@codesourcery.com>
65498
65499 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
65500 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
65501 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
65502 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
65503 <bits/signalfd.h>.
65504 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
65505 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65506 bits/signalfd.h.
65507
65508 2012-02-14 Marek Polacek <polacek@redhat.com>
65509
65510 * sysdeps/x86_64/crti.S: New file.
65511 * sysdeps/x86_64/crtn.S: New file.
65512 * sysdeps/x86_64/elf/initfini.c: Remove file.
65513
65514 2012-02-13 Joseph Myers <joseph@codesourcery.com>
65515
65516 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
65517 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
65518 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
65519 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
65520 <bits/inotify.h>.
65521 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
65522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65523 bits/inotify.h.
65524
65525 2012-02-13 Joseph Myers <joseph@codesourcery.com>
65526
65527 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
65528 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
65529 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
65530 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
65531 <bits/eventfd.h>.
65532 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
65533 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65534 bits/eventfd.h.
65535
65536 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
65537
65538 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
65539 __feraiseexcept instead of feraiseexcept.
65540
65541 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
65542 nanosleep invocations.
65543 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
65544 strings, and add error checking for a nanosleep invocations.
65545
65546 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
65547
65548 Replace FSF snail mail address with URLs, as per GNU coding standards.
65549 Most of the snail mail addresses were wrong anyway, and omitting
65550 them makes the source code easier to maintain. Almost all of the
65551 changes are to license notices and to locale LC_IDENTIFICATION
65552 addresses, except for this one:
65553 * manual/libc.texinfo: In "Published by", give the FSF's URL,
65554 not its snail mail address.
65555
65556 2012-02-09 Richard Henderson <rth@twiddle.net>
65557
65558 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
65559 of kernel-features.h.
65560
65561 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
65562
65563 2012-02-08 Marek Polacek <polacek@redhat.com>
65564
65565 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
65566 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
65567 * sysdeps/gnu/_G_config.h: Likewise.
65568 * sysdeps/generic/_G_config.h: Likewise.
65569
65570 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
65571
65572 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
65573 tests.
65574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65575
65576 * sysdeps/powerpc/powerpc32/crti.S: New file.
65577 * sysdeps/powerpc/powerpc32/crtn.S: New file.
65578 * sysdeps/powerpc/powerpc64/crti.S: New file.
65579 * sysdeps/powerpc/powerpc64/crtn.S: New file.
65580
65581 * Makeconfig (have-initfini): Don't set.
65582 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
65583 * configure.in (nopic_initfini): Don't substitute.
65584 * config.h.in (HAVE_INITFINI): Don't #undef.
65585 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
65586 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
65587
65588 2012-02-08 Joseph Myers <joseph@codesourcery.com>
65589
65590 Support crti.S and crtn.S provided directly by architectures.
65591 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
65592 [crti.S in sysdirs] (omit-deps): Likewise.
65593 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
65594 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
65595 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
65596 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
65597 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
65598 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
65599 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
65600 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
65601 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
65602 compiler output for sysdeps/generic/initfini.c.
65603 * sysdeps/i386/elf/Makefile: Remove file.
65604 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
65605
65606 2012-02-07 Marek Polacek <polacek@redhat.com>
65607
65608 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
65609 * sysdeps/gnu/_G_config.h: Likewise.
65610 * sysdeps/mach/hurd/_G_config.h: Likewise.
65611
65612 2012-02-07 Marek Polacek <polacek@redhat.com>
65613
65614 * math/Makefile (tests): Add tst-CMPLX2.
65615 * math/tst-CMPLX2.c: New file.
65616
65617 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
65618
65619 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65620
65621 * math/libm-test.inc (jn_test): Add missing L suffix.
65622
65623 2012-02-06 Marek Polacek <polacek@redhat.com>
65624
65625 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
65626 * sysdeps/i386/fpu/e_powf.S: Likewise.
65627 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65628 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65629 * sysdeps/i386/fpu/e_acosh.S: Likewise.
65630 * sysdeps/i386/fpu/e_pow.S: Likewise.
65631 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65632 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65633 * sysdeps/i386/fpu/s_expm1.S: Likewise.
65634 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65635 * sysdeps/i386/fpu/e_log2.S: Likewise.
65636 * sysdeps/i386/fpu/e_log2l.S: Likewise.
65637 * sysdeps/i386/fpu/e_scalb.S: Likewise.
65638 * sysdeps/i386/fpu/e_powl.S: Likewise.
65639 * sysdeps/i386/fpu/s_log1p.S: Likewise.
65640 * sysdeps/i386/fpu/e_log10f.S: Likewise.
65641 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65642 * sysdeps/i386/fpu/e_logl.S: Likewise.
65643 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65644 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
65645 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65646 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65647 * sysdeps/i386/fpu/e_log2f.S: Likewise.
65648 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65649 * sysdeps/i386/fpu/e_log.S: Likewise.
65650 * sysdeps/i386/fpu/s_cexp.S: Likewise.
65651 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65652 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
65653 * sysdeps/i386/fpu/e_logf.S: Likewise.
65654 * sysdeps/i386/fpu/e_log10l.S: Likewise.
65655 * sysdeps/i386/fpu/e_atanh.S: Likewise.
65656 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
65657 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65658 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65659 * sysdeps/i386/fpu/e_log10.S: Likewise.
65660 * sysdeps/i386/fpu/s_frexp.S: Likewise.
65661 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65662 * sysdeps/i386/fpu/s_asinh.S: Likewise.
65663 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65664 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65665 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65666 * sysdeps/i386/asm-syntax.h: Likewise.
65667 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65668 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65669 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65670 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
65671 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
65672 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65673 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65674 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65675 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65676 * sysdeps/powerpc/sysdep.h: Likewise.
65677 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
65678 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65679
65680 2012-02-06 Joseph Myers <joseph@codesourcery.com>
65681
65682 [BZ #411]
65683 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
65684
65685 2012-02-06 Joseph Myers <joseph@codesourcery.com>
65686
65687 * sysdeps/i386/sysdep.h: Include <features.h>.
65688 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
65689 version.
65690
65691 2012-02-05 Joseph Myers <joseph@codesourcery.com>
65692
65693 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
65694 Define.
65695 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
65696 LOAD_PIC_REG_STR.
65697
65698 2012-02-03 Joseph Myers <joseph@codesourcery.com>
65699
65700 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
65701 (SETUP_PIC_REG): Use GET_PC_THUNK.
65702 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
65703 macro.
65704
65705 2012-02-03 Joseph Myers <joseph@codesourcery.com>
65706
65707 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
65708 for non-PIC compilation.
65709 (SETUP_PIC_REG): Add .p2align directive.
65710 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
65711 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
65712 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65713 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65714 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
65715 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65716 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
65717 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
65718 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65719 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65720 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65721 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65722 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65723 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65724 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65725 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
65726 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
65727 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65728 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65729 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65730 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65731 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
65732 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65733 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65734 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
65735 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
65736 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65737 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
65738 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65739 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65740 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65741 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65742 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65743 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65744 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65745 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65746 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65747 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65748 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65749 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65750 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65751
65752 2012-02-03 Joseph Myers <joseph@codesourcery.com>
65753
65754 * math/tst-CMPLX.c: Include <stdio.h>.
65755
65756 2012-01-31 Joseph Myers <joseph@codesourcery.com>
65757
65758 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
65759 float.
65760 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65761 * sysdeps/sparc/bits/mathdef.h: Likewise.
65762
65763 2012-01-31 Marek Polacek <polacek@redhat.com>
65764
65765 * libio/libio.h: Don't define _PARAMS.
65766 * locale/programs/config.h: Don't define PARAMS.
65767 * stdlib/strtol_l.c: Likewise.
65768 (__strtol_l): Remove PARAMS from the prototype.
65769
65770 2012-01-31 Ulrich Drepper <drepper@gmail.com>
65771
65772 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
65773 names. Just use the correct names. Remove unnecessary wrapper
65774 functions.
65775 * malloc/arena.c: Likewise.
65776 * malloc/hooks.c: Likewise.
65777
65778 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
65779 ARENA_TEST says not to. Simplify test for creation of a new arena.
65780 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
65781
65782 2012-01-30 Ulrich Drepper <drepper@gmail.com>
65783
65784 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
65785 into tail calls.
65786 (update_get_addr): New function.
65787 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
65788 GET_ADDR_MODULE parameter.
65789
65790 2012-01-30 Joseph Myers <joseph@codesourcery.com>
65791
65792 * crypt/cert.c: Remove __STDC__ conditionals.
65793 * crypt/crypt-entry.c: Likewise.
65794 * crypt/crypt_util.c: Likewise.
65795 * libio/filedoalloc.c: Likewise.
65796 * libio/fileops.c: Likewise.
65797 * libio/genops.c: Likewise.
65798 * libio/iofclose.c: Likewise.
65799 * libio/iofdopen.c: Likewise.
65800 * libio/iofopen.c: Likewise.
65801 * libio/iofopen64.c: Likewise.
65802 * libio/iogetdelim.c: Likewise.
65803 * libio/iopopen.c: Likewise.
65804 * libio/obprintf.c: Likewise.
65805 * libio/oldfileops.c: Likewise.
65806 * libio/oldiofclose.c: Likewise.
65807 * libio/oldiofdopen.c: Likewise.
65808 * libio/oldiofopen.c: Likewise.
65809 * libio/oldiopopen.c: Likewise.
65810 * libio/wfiledoalloc.c: Likewise.
65811 * libio/wgenops.c: Likewise.
65812 * locale/programs/xmalloc.c: Likewise.
65813 * misc/syslog.c: Likewise.
65814 * stdio-common/xbug.c: Likewise.
65815 * string/memchr.c: Likewise.
65816 * string/memcmp.c: Likewise.
65817 * string/memrchr.c: Likewise.
65818 * string/rawmemchr.c: Likewise.
65819 * sysdeps/posix/getcwd.c: Likewise.
65820 * time/strftime_l.c: Likewise.
65821
65822 2012-01-30 Joseph Myers <joseph@codesourcery.com>
65823
65824 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
65825 * config.make.in (config-cflags-sse2avx): Define.
65826 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
65827 Fix typo.
65828
65829 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
65830
65831 * scripts/config.guess: Update from upstream config git repository.
65832 * scripts/config.sub: Likewise.
65833
65834 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
65835
65836 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
65837 (EM_NUM): Update.
65838 (R_TILEPRO_*, R_TILEGX_*): New macros.
65839
65840 * scripts/firstversions.awk: Fix bug in version range handling.
65841
65842 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
65843
65844 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
65845
65846 * include/sys/epoll.h: New file.
65847 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
65848 libc_hidden_def.
65849
65850 2012-01-28 Ulrich Drepper <drepper@gmail.com>
65851
65852 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
65853 Avoid unnecessary __WORDSIZE == 64 test.
65854 (fmaxf): Use VEX format if possible.
65855 (fmax): Likewise.
65856 (fminf): Likewise.
65857 (fmin): Likewise.
65858
65859 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
65860 * math/math_private.h: Remove libc_fegetround* and
65861 libc_fesetround*.
65862 * sysdeps/i386/configure.in: Check for -msse2avx.
65863 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
65864 also if SSE2AVX is defined.
65865 Remove libc_fegetround* and libc_fesetround*.
65866 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
65867 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
65868 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
65869 of HAS_YMM_USABLE.
65870 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65871 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65872 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65873 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65874 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65875
65876 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
65877
65878 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65879
65880 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
65881 size is not set.
65882 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65883
65884 2012-01-27 Ulrich Drepper <drepper@gmail.com>
65885
65886 [BZ #13618]
65887 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
65888 relocation.
65889 * Makeconfig (libm): Define.
65890 * elf/Makefile: Add rules to build and run tst-relsort1.
65891 * elf/tst-relsort1.c: New file.
65892 * elf/tst-relsort1mod1.c: New file.
65893 * elf/tst-relsort1mod2.c: New file.
65894
65895 2012-01-27 Joseph Myers <joseph@codesourcery.com>
65896
65897 * math/s_ldexp.c: Remove __STDC__ conditionals.
65898 * math/s_ldexpf.c: Likewise.
65899 * math/s_ldexpl.c: Likewise.
65900 * math/s_nextafter.c: Likewise.
65901 * math/s_nexttowardf.c: Likewise.
65902 * math/s_significand.c: Likewise.
65903 * math/s_significandf.c: Likewise.
65904 * math/s_significandl.c: Likewise.
65905 * math/w_jnl.c: Likewise.
65906 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65907 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65908 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65909 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65910 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65911 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65912 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
65913 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65914 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65915 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65916 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65917 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65918 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65919 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65920 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65921 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65922 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65923 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65924 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65925 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65926 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65927 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65928 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65929 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65930 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65931 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65932 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65933 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65934 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65935 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65936 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65937 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65938 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65939 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65940 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65941 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65942 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65943 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65944 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65945 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65946 * sysdeps/ieee754/k_standard.c: Likewise.
65947 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65948 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65949 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65950 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65951 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65952 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65953 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65954 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65955 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65956 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65957 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65958 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65959 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65960 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65961 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65962 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65963 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65964 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65965 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65966 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65967 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65968 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65969 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65970 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65971 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65972 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65973 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65974 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65975 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65976 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65977 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65978 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
65979 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65980 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65981 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65982 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65983 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
65984 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65985 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65986 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
65987 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
65988 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65989 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
65990 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
65991 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65992 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
65993 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65994 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65995 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65996 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
65997 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
65998 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65999 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66000 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66001 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66002 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66003 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
66004 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66005 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66006 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66007 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66008 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66009 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66010 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66011 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66012 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66013 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66014 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66015 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66016 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66017 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66018 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66019 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66020 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66021 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66022 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66023 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66024 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66025 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66026 * sysdeps/ieee754/s_matherr.c: Likewise.
66027 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66028 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66029 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66030 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66031
66032 2012-01-26 Joseph Myers <joseph@codesourcery.com>
66033
66034 * crypt/md5.h: Remove __STDC__ conditionals.
66035 * libio/libioP.h: Likewise.
66036 * locale/programs/config.h: Likewise.
66037 * sysdeps/generic/sysdep.h: Likewise.
66038 * sysdeps/i386/asm-syntax.h: Likewise.
66039 * sysdeps/s390/asm-syntax.h: Likewise.
66040 * sysdeps/unix/sysdep.h: Likewise.
66041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
66042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66043
66044 2012-01-26 Joseph Myers <joseph@codesourcery.com>
66045
66046 * libio/libio.h: Remove __STDC__ conditionals.
66047 * malloc/obstack.h: Likewise.
66048 * math/complex.h: Likewise.
66049 * math/math.h: Likewise.
66050 * sysdeps/generic/_G_config.h: Likewise.
66051 * sysdeps/gnu/_G_config.h: Likewise.
66052 * sysdeps/mach/hurd/_G_config.h: Likewise.
66053 * sysdeps/powerpc/bits/mathdef.h: Likewise.
66054 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66055 * sysdeps/sparc/bits/mathdef.h: Likewise.
66056
66057 2012-01-26 Ulrich Drepper <drepper@gmail.com>
66058
66059 [BZ #13583]
66060 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
66061 Clean up HAS_* macros.
66062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
66063 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
66064 possible.
66065 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
66066 HAS_AVX.
66067 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66068 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66069 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66070 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66071 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66072
66073 2012-01-25 Joseph Myers <joseph@codesourcery.com>
66074
66075 * elf/tst-unique3.cc (gets): Remove declaration.
66076 * elf/tst-unique3lib.cc (gets): Likewise.
66077 * elf/tst-unique3lib2.cc (gets): Likewise.
66078 * elf/tst-unique4.cc (gets): Likewise.
66079
66080 2012-01-24 Ulrich Drepper <drepper@gmail.com>
66081
66082 * include/stdio.h: Add C++ protection. Add gets declarations and
66083 definitions.
66084 * debug/tst-chk1.c: Don't declare gets here.
66085 * stdio-common/tst-gets.c: Likewise.
66086
66087 2012-01-24 Joseph Myers <joseph@codesourcery.com>
66088
66089 * posix/glob: Remove directory.
66090
66091 2012-01-24 Joseph Myers <joseph@codesourcery.com>
66092
66093 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
66094
66095 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
66096
66097 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
66098 of the non-standard EPFNOSUPPORT.
66099
66100 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
66101
66102 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
66103 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
66104 ANYWHERE set to 1 only on KERN_NO_SPACE error.
66105
66106 2012-01-21 Ulrich Drepper <drepper@gmail.com>
66107
66108 * wcsmbs/uchar.h: Test __STDC_VERSION__.
66109
66110 2012-01-20 Ulrich Drepper <drepper@gmail.com>
66111
66112 * nscd/aicache.c (addhstaiX): Do not cache negative results of
66113 transient errors.
66114 * nscd/grpcache.c (cache_addgr): Likewise.
66115 * nscd/hstcache.c (cache_addhst): Likewise.
66116 * nscd/initgrcache.c (addinitgroupsX): Likewise.
66117 * nscd/pwdcache.c (cache_addpw): Likewise.
66118 * nscd/servicescache.c (cache_addserv): Likewise.
66119
66120 2012-01-16 Ulrich Drepper <drepper@gmail.com>
66121
66122 * malloc/malloc.c: Various cleanups.
66123 * malloc/hooks.c: Likewise.
66124
66125 * stdlib/Makefile (tests): Add bug-fmtmsg1.
66126 * stdlib/bug-fmtmsg1.c: New file.
66127
66128 * stdlib/fmtmsg.c (init): Add missing unlock.
66129 Patch by Peng Haitao <penght@cn.fujitsu.com>.
66130
66131 2012-01-12 Marek Polacek <polacek@redhat.com>
66132
66133 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
66134 and _GNU_SOURCE.
66135
66136 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
66137
66138 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
66139 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
66140 macro to ensure uniqueness of label name.
66141 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66142 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66143
66144 2012-01-11 Ulrich Drepper <drepper@gmail.com>
66145
66146 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
66147
66148 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
66149 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66150 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66151 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
66152
66153 2012-01-10 Ulrich Drepper <drepper@gmail.com>
66154
66155 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
66156
66157 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
66158 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66159 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66160
66161 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
66162
66163 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
66164 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66165 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66166 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
66167
66168 * math/bits/math-finite.h: Add ldexp support.
66169
66170 2012-01-10 Marek Polacek <polacek@redhat.com>
66171
66172 * locale/programs/localedef.h (show_archive_content): Add noreturn
66173 attribute.
66174
66175 2012-01-09 Ulrich Drepper <drepper@gmail.com>
66176
66177 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
66178
66179 2012-01-08 Ulrich Drepper <drepper@gmail.com>
66180
66181 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
66182
66183 * io/Makefile (headers): Add bits/poll2.h.
66184
66185 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
66186
66187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
66188 typo #include statement.
66189
66190 2012-01-08 Ulrich Drepper <drepper@gmail.com>
66191
66192 * include/sys/cdefs.h: Define __attribute_alloc_size.
66193 * catgets/gencat.c: Add alloc_size attribute and apply consistently
66194 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
66195 * elf/pldd.c: Likewise.
66196 * iconv/iconv_charmap.c: Likewise.
66197 * iconv/iconvconfig.c: Likewise.
66198 * iconv/strtab.c: Likewise.
66199 * locale/programs/locale.c: Likewise.
66200 * locale/programs/localedef.h: Likewise.
66201 * locale/programs/simple-hash.c: Likewise.
66202 * nscd/nscd.h: Likewise.
66203 * nss/makedb.c: Likewise.
66204 * sysdeps/generic/ldconfig.h: Likewise.
66205 * locale/programs/localedef.c: Remove xmalloc prototype.
66206 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
66207
66208 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
66209
66210 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
66211 appropriate.
66212
66213 2012-01-08 Ulrich Drepper <drepper@gmail.com>
66214
66215 * math/Makefile (tests): Add tst-CMPLX.
66216 * math/tst-CMPLX.c: New file.
66217
66218 * math/complex.h (CMPLXL): Fix typo.
66219
66220 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
66221 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
66222 GLIBC_2.16.
66223 * debug/tst-chk1.c: Add poll and ppoll tests.
66224 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
66225 * include/sys/poll.h: Add hidden proto for ppoll.
66226 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
66227 * sysdeps/mach/hurd/ppoll.c: Likewise.
66228 * io/ppoll.c: Likewise.
66229 * debug/poll_chk.c: New file.
66230 * debug/ppoll_chk.c: New file.
66231 * include/bits/poll2.h: New file.
66232 * io/bits/poll2.h: New file.
66233
66234 [BZ #1350]
66235 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
66236
66237 * configure.in: static is always set to yes. Remove.
66238 * config.make.in: Don't set build-static.
66239 * Makeconfig: Remove use of build-static.
66240 * dlfcn/Makefile: Likewise.
66241 * elf/Makefile: Likewise.
66242 * math/Makefile: Likewise.
66243 * misc/Makefile: Likewise.
66244 * nptl/Makefile: Likewise.
66245 * sysdeps/mach/hurd/Makefile: Likewise.
66246
66247 * configure.in: PWD_P is not used anymore.
66248 * config.make.in: Remove PWD_P entry.
66249
66250 * configure.in: Remove last remnants of RANLIB.
66251 No need to check for signed size_t anymore.
66252 Don't set libc_commonpagesize and libc_relro_required here for Alpha
66253 and IA-64.
66254 Remove __builtin_expect test because we require at least gcc 3.4.
66255 * aclocal.m4: Likewise.
66256
66257 * wcsmbs/mbrtoc16.c: Implement using towc function.
66258 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
66259 * wcsmbs/wcsmbsload.c: Likewise.
66260 * iconv/gconv_simple.c: Likewise.
66261 * iconv/gconv_int.h: Likewise.
66262 * iconv/gconv_builtin.h: Likewise.
66263 * iconv/iconv_prog.c: Remove CHAR16 handling.
66264
66265 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
66266
66267 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
66268
66269 * configure.in: Remove --with-elf and --enable-bounded options.
66270 Dont set base_machine for ia64. More non-ELF conditions removed.
66271 Remove testing and setting of leading underscore information.
66272 * config.make.in (build-bounded): Set to no.
66273 * config.h.in: Remove NO_UNDERSCORES entry.
66274 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
66275 them.
66276 * csu/start.c: Remove !NO_UNDERSCORE code.
66277 * locale/localeinfo.h: Likewise.
66278 * sysdeps/generic/machine-gmon.h: Likewise.
66279 * sysdeps/generic/sysdep.h: Likewise.
66280 * sysdeps/i386/sysdep.h: Likewise.
66281 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66282 * sysdeps/mach/sysdep.h: Likewise.
66283 * sysdeps/s390/s390-32/sysdep.h: Likewise.
66284 * sysdeps/s390/s390-64/sysdep.h: Likewise.
66285 * sysdeps/sh/sysdep.h: Likewise.
66286 * sysdeps/sparc/sparc32/alloca.S: Likewise.
66287 * sysdeps/unix/i386/sysdep.S: Likewise.
66288 * sysdeps/unix/sparc/start.c: Likewise.
66289 * sysdeps/unix/sparc/sysdep.S: Likewise.
66290 * sysdeps/unix/sparc/sysdep.h: Likewise.
66291 * sysdeps/unix/start.c: Likewise.
66292 * sysdeps/unix/x86_64/sysdep.S: Likewise.
66293 * sysdeps/x86_64/sysdep.h: Likewise.
66294
66295 2012-01-07 Ulrich Drepper <drepper@gmail.com>
66296
66297 [BZ #13553]
66298 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
66299 for non-gcc.
66300 * argp/argp-fmtstream.h: Use const instead __const.
66301 * argp/argp.h: Likewise.
66302 * assert/assert.h: Likewise.
66303 * bits/fenv.h: Likewise.
66304 * bits/sched.h: Likewise.
66305 * bits/sigset.h: Likewise.
66306 * bits/sigthread.h: Likewise.
66307 * catgets/nl_types.h: Likewise.
66308 * conform/data/pthread.h-data: Likewise.
66309 * crypt/crypt-private.h: Likewise.
66310 * crypt/crypt.h: Likewise.
66311 * crypt/crypt_util.c: Likewise.
66312 * ctype/ctype.h: Likewise.
66313 * debug/execinfo.h: Likewise.
66314 * debug/mbsnrtowcs_chk.c: Likewise.
66315 * debug/mbsrtowcs_chk.c: Likewise.
66316 * debug/wcsnrtombs_chk.c: Likewise.
66317 * debug/wcsrtombs_chk.c: Likewise.
66318 * debug/wcstombs_chk.c: Likewise.
66319 * dirent/dirent.h: Likewise.
66320 * dlfcn/dlfcn.h: Likewise.
66321 * elf/neededtest4.c: Likewise.
66322 * grp/grp.h: Likewise.
66323 * gshadow/gshadow.h: Likewise.
66324 * iconv/gconv.h: Likewise.
66325 * iconv/gconv_int.h: Likewise.
66326 * iconv/gconv_simple.c: Likewise.
66327 * iconv/iconv.h: Likewise.
66328 * iconv/loop.c: Likewise.
66329 * iconv/skeleton.c: Likewise.
66330 * include/aio.h: Likewise.
66331 * include/aliases.h: Likewise.
66332 * include/argz.h: Likewise.
66333 * include/arpa/inet.h: Likewise.
66334 * include/assert.h: Likewise.
66335 * include/dirent.h: Likewise.
66336 * include/dlfcn.h: Likewise.
66337 * include/execinfo.h: Likewise.
66338 * include/fcntl.h: Likewise.
66339 * include/fenv.h: Likewise.
66340 * include/glob.h: Likewise.
66341 * include/grp.h: Likewise.
66342 * include/libintl.h: Likewise.
66343 * include/mntent.h: Likewise.
66344 * include/netdb.h: Likewise.
66345 * include/pwd.h: Likewise.
66346 * include/rpc/netdb.h: Likewise.
66347 * include/sched.h: Likewise.
66348 * include/search.h: Likewise.
66349 * include/shadow.h: Likewise.
66350 * include/signal.h: Likewise.
66351 * include/stdio.h: Likewise.
66352 * include/stdlib.h: Likewise.
66353 * include/string.h: Likewise.
66354 * include/sys/socket.h: Likewise.
66355 * include/sys/stat.h: Likewise.
66356 * include/sys/statfs.h: Likewise.
66357 * include/sys/statvfs.h: Likewise.
66358 * include/sys/syslog.h: Likewise.
66359 * include/sys/time.h: Likewise.
66360 * include/sys/uio.h: Likewise.
66361 * include/time.h: Likewise.
66362 * include/unistd.h: Likewise.
66363 * include/utmp.h: Likewise.
66364 * include/wchar.h: Likewise.
66365 * include/wctype.h: Likewise.
66366 * inet/aliases.h: Likewise.
66367 * inet/arpa/inet.h: Likewise.
66368 * inet/netinet/ether.h: Likewise.
66369 * inet/netinet/in.h: Likewise.
66370 * intl/libintl.h: Likewise.
66371 * io/bits/fcntl2.h: Likewise.
66372 * io/fcntl.h: Likewise.
66373 * io/ftw.h: Likewise.
66374 * io/sys/poll.h: Likewise.
66375 * io/sys/stat.h: Likewise.
66376 * io/sys/statfs.h: Likewise.
66377 * io/sys/statvfs.h: Likewise.
66378 * io/utime.h: Likewise.
66379 * libio/bits/stdio.h: Likewise.
66380 * libio/bits/stdio2.h: Likewise.
66381 * libio/libio.h: Likewise.
66382 * libio/libioP.h: Likewise.
66383 * libio/stdio.h: Likewise.
66384 * locale/lc-ctype.c: Likewise.
66385 * locale/locale.h: Likewise.
66386 * login/utmp.h: Likewise.
66387 * malloc/arena.c: Likewise.
66388 * malloc/malloc.c: Likewise.
66389 * malloc/malloc.h: Likewise.
66390 * malloc/mcheck.c: Likewise.
66391 * malloc/mtrace.c: Likewise.
66392 * math/bits/mathcalls.h: Likewise.
66393 * math/fenv.h: Likewise.
66394 * math/math_private.h: Likewise.
66395 * misc/bits/error.h: Likewise.
66396 * misc/bits/syslog.h: Likewise.
66397 * misc/err.h: Likewise.
66398 * misc/error.h: Likewise.
66399 * misc/fstab.h: Likewise.
66400 * misc/mntent.h: Likewise.
66401 * misc/regexp.h: Likewise.
66402 * misc/search.h: Likewise.
66403 * misc/sgtty.h: Likewise.
66404 * misc/sys/mman.h: Likewise.
66405 * misc/sys/syslog.h: Likewise.
66406 * misc/sys/uio.h: Likewise.
66407 * misc/sys/xattr.h: Likewise.
66408 * misc/ttyent.h: Likewise.
66409 * nis/rpcsvc/ypclnt.h: Likewise.
66410 * nss/nss.h: Likewise.
66411 * posix/bits/unistd.h: Likewise.
66412 * posix/fnmatch.h: Likewise.
66413 * posix/glob.h: Likewise.
66414 * posix/sched.h: Likewise.
66415 * posix/spawn.h: Likewise.
66416 * posix/sys/wait.h: Likewise.
66417 * posix/unistd.h: Likewise.
66418 * posix/wordexp.h: Likewise.
66419 * pwd/pwd.h: Likewise.
66420 * resolv/netdb.h: Likewise.
66421 * resource/sys/resource.h: Likewise.
66422 * rt/aio.h: Likewise.
66423 * rt/bits/mqueue2.h: Likewise.
66424 * rt/mqueue.h: Likewise.
66425 * shadow/shadow.h: Likewise.
66426 * signal/signal.h: Likewise.
66427 * socket/send.c: Likewise.
66428 * socket/sendto.c: Likewise.
66429 * socket/sys/socket.h: Likewise.
66430 * stdio-common/printf.h: Likewise.
66431 * stdlib/bits/stdlib.h: Likewise.
66432 * stdlib/fmtmsg.h: Likewise.
66433 * stdlib/monetary.h: Likewise.
66434 * stdlib/stdlib.h: Likewise.
66435 * stdlib/ucontext.h: Likewise.
66436 * streams/stropts.h: Likewise.
66437 * string/argz.h: Likewise.
66438 * string/bits/string2.h: Likewise.
66439 * string/string.h: Likewise.
66440 * string/strings.h: Likewise.
66441 * sunrpc/rpc/auth.h: Likewise.
66442 * sunrpc/rpc/auth_des.h: Likewise.
66443 * sunrpc/rpc/clnt.h: Likewise.
66444 * sunrpc/rpc/netdb.h: Likewise.
66445 * sunrpc/rpc/pmap_clnt.h: Likewise.
66446 * sunrpc/rpc/xdr.h: Likewise.
66447 * sysdeps/generic/inttypes.h: Likewise.
66448 * sysdeps/generic/net/if.h: Likewise.
66449 * sysdeps/generic/sys/swap.h: Likewise.
66450 * sysdeps/gnu/net/if.h: Likewise.
66451 * sysdeps/gnu/utmpx.h: Likewise.
66452 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
66453 * sysdeps/i386/i486/bits/string.h: Likewise.
66454 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
66455 * sysdeps/s390/bits/string.h: Likewise.
66456 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
66457 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
66458 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
66459 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
66460 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
66461 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
66462 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
66463 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
66464 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
66465 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
66466 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
66467 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66468 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
66469 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66470 * sysdeps/unix/sysv/linux/readv.c: Likewise.
66471 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
66472 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
66473 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66474 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
66475 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
66476 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66477 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
66478 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
66479 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
66480 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
66481 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
66482 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
66483 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66484 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
66485 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
66486 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
66487 * sysvipc/sys/ipc.h: Likewise.
66488 * sysvipc/sys/msg.h: Likewise.
66489 * sysvipc/sys/sem.h: Likewise.
66490 * sysvipc/sys/shm.h: Likewise.
66491 * termios/termios.h: Likewise.
66492 * time/sys/time.h: Likewise.
66493 * time/time.h: Likewise.
66494 * wcsmbs/bits/wchar2.h: Likewise.
66495 * wcsmbs/uchar.h: Likewise.
66496 * wcsmbs/wchar.h: Likewise.
66497 * wctype/wctype.h: Likewise.
66498
66499 [BZ #13551]
66500 * Makeconfig: Remove all but ELF support including AIX support.
66501 * Makerules: Likewise.
66502 * config.h.in: Likewise.
66503 * config.make.in: Likewise.
66504 * configure: Likewise.
66505 * configure.in: Likewise.
66506 * csu/Makefile: Likewise.
66507 * csu/version.c: Likewise.
66508 * debug/Makefile: Likewise.
66509 * dlfcn/Makefile: Likewise.
66510 * elf/Makefile: Likewise.
66511 * extra-lib.mk: Likewise.
66512 * iconv/Makefile: Likewise.
66513 * include/libc-symbols.h: Likewise.
66514 * include/shlib-compat.h: Likewise.
66515 * resolv/Makefile: Likewise.
66516 * resolv/res_libc.c: Likewise.
66517 * rt/Makefile: Likewise.
66518 * sysdeps/i386/asm-syntax.h: Likewise.
66519 * sysdeps/i386/sysdep.h: Likewise.
66520 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66521 * sysdeps/mach/sysdep.h: Likewise.
66522 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
66523 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
66524 * sysdeps/s390/asm-syntax.h: Likewise.
66525 * sysdeps/s390/s390-32/sysdep.h: Likewise.
66526 * sysdeps/s390/s390-64/sysdep.h: Likewise.
66527 * sysdeps/sh/sysdep.h: Likewise.
66528 * sysdeps/unix/sparc/sysdep.h: Likewise.
66529 * sysdeps/wordsize-32/divdi3.c: Likewise.
66530 * sysdeps/x86_64/sysdep.h: Likewise.
66531
66532 * argp/Versions: Remove _argp_unlock_xxx.
66533
66534 [BZ #13559]
66535 * abilist/ld.abilist: Update. Adjust for removal of tls option.
66536 * abilist/libBrokenLocale.abilist: Likewise.
66537 * abilist/libanl.abilist: Likewise.
66538 * abilist/libc.abilist: Likewise.
66539 * abilist/libcrypt.abilist: Likewise.
66540 * abilist/libdl.abilist: Likewise.
66541 * abilist/libm.abilist: Likewise.
66542 * abilist/libnsl.abilist: Likewise.
66543 * abilist/libpthread.abilist: Likewise.
66544 * abilist/libresolv.abilist: Likewise.
66545 * abilist/librt.abilist: Likewise.
66546 * abilist/libthread_db.abilist: Likewise.
66547 * abilist/libutil.abilist: Likewise.
66548 * abilist/libnss_db.abilist: New file.
66549
66550 * scripts/abilist.awk: Add support for indirect functions.
66551
66552 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
66553
66554 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
66555
66556 * shlib-versions: Remove entries for ports architectures.
66557
66558 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
66559 files in ports.
66560 * elf/stackguard-macros.h: Remove support for IA-64.
66561 * elf/tst-auditmod1.c: Likewise.
66562 * sysdeps/generic/ldsodefs.h: Likewise.
66563
66564 * sysdeps/unix/sysv/linux/configure.in: Ports should define
66565 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
66566 configure files.
66567
66568 [BZ #13552]
66569 * configure.in: Remove --enable-omitfp support.
66570 * FAQ.in: Adjust.
66571 * config.make.in: Likewise.
66572 * Makeconfig: Likewise.
66573 * manual/install.texi: Likewise.
66574
66575 In case anyone cares, the IA-64 architecture could move to ports.
66576 * sysdeps/ia64/*: Removed.
66577 * sysdeps/unix/sysv/linux/ia64/*: Removed.
66578 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
66579
66580 [BZ #13555]
66581 * configure.in: Remove entries for unsupported architectures.
66582
66583 [BZ #13533]
66584 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
66585 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
66586 routines.
66587 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
66588 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
66589 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
66590 fall back to using wcrtomb.
66591 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
66592 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
66593 renaming.
66594 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
66595 * wcsmbs/tst-c16c32-1.c: New file.
66596
66597 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
66598 local variable.
66599
66600 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
66601
66602 * elf/tst-unique3.cc: Add explicit declaration of gets.
66603 * elf/tst-unique3lib.cc: Likewise.
66604 * elf/tst-unique3lib2.cc: Likewise.
66605 * elf/tst-unique4.cc: Likewise.
66606
66607 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
66608
66609 2012-01-06 Joseph Myers <joseph@codesourcery.com>
66610
66611 [BZ #13566]
66612 * assert/assert.h (static_assert): Don't define for C++.
66613 * libio/stdio.h (gets): Do declare for C++ <= C++11.
66614 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
66615
66616 2012-01-03 Ulrich Drepper <drepper@gmail.com>
66617
66618 * iconv/loop.c (single loop): Fix assertion in storing of
66619 remaining bytes.
66620
66621 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
66622
66623 2012-01-01 Ulrich Drepper <drepper@gmail.com>
66624
66625 * posix/getconf.c: Update copyright year.
66626 * nss/getent.c: Likewise.
66627 * nss/makedb.c: Likewise.
66628 * iconv/iconvconfig.c: Likewise.
66629 * iconv/iconv_prog.c: Likewise.
66630 * elf/ldconfig.c: Likewise.
66631 * elf/pldd.c: Likewise.
66632 * elf/sotruss.ksh: Likewise.
66633 * catgets/gencat.c: Likewise.
66634 * csu/version.c: Likewise.
66635 * elf/ldd.bash.in: Likewise.
66636 * elf/sprof.c (print_version): Likewise.
66637 * locale/programs/locale.c: Likewise.
66638 * locale/programs/localedef.c: Likewise.
66639 * login/programs/pt_chown.c: Likewise.
66640 * nscd/nscd.c (print_version): Likewise.
66641 * debug/xtrace.sh: Likewise.
66642 * malloc/memusage.sh: Likewise.
66643 * malloc/mtrace.pl: Likewise.
66644 * debug/catchsegv.sh: Likewise.
66645
66646 2011-12-30 Jakub Jelinek <jakub@redhat.com>
66647
66648 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
66649 pure attribute.
66650
66651 2011-12-24 Ulrich Drepper <drepper@gmail.com>
66652
66653 [BZ #13533]
66654 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
66655 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
66656 transformations.
66657 * iconv/gconv_int.h: Likewise.
66658 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
66659 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
66660 from libc for GLIBC_2.16.
66661 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
66662 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
66663 * wcsmbs/uchar.h: Really define mbstate_t.
66664 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
66665 * wcsmbs/c16rtomb.c: New file.
66666 * wcsmbs/mbrtoc16.c: New file.
66667 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
66668 for C/POSIX locale.
66669 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
66670 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
66671
66672 * wcsmbs/wchar.h: Add missing __restrict.
66673
66674 2011-12-23 Ulrich Drepper <drepper@gmail.com>
66675
66676 [BZ #13532]
66677 * time/Makefile (routines): Add timespec_get.
66678 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
66679 * time/time.h: Define TIME_UTC and declare timespec_get. Define
66680 timespec for ISO C11.
66681 * time/timespec_get.c: New file.
66682 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
66683 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
66684
66685 [BZ #13531]
66686 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
66687 * stdlib/stdlib.h: Declare aligned_alloc.
66688 * Versions.def: Add GLIBC_2.16 for libc.
66689 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
66690
66691 [BZ 13527]
66692 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
66693 ISO C11.
66694
66695 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
66696 code.
66697
66698 [BZ #13528]
66699 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
66700
66701 [BZ #13529]
66702 * assert/assert.h (static_assert): Define.
66703
66704 * version.h: Update for 2.16 development version.
66705
66706 [BZ #13526]
66707 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
66708 _ISOC11_SOURCE.
66709
66710 * version.h (RELEASE): Bump for 2.15 release.
66711 * include/features.h (__GLIBC_MINOR__): Bump to 15.
66712
66713 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
66714 Patch by Marek Polacek <mpolacek@redhat.com>.
66715
66716 * bits/byteswap.h: Protect long long constants with __extension__.
66717 * sysdeps/i386/bits/byteswap.h: Likewise.
66718 * sysdeps/ia64/bits/byteswap.h: Likewise.
66719 * sysdeps/s390/bits/byteswap.h: Likewise.
66720 * sysdeps/x86_64/bits/byteswap.h: Likewise.
66721
66722 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66723
66724 [BZ #13540]
66725 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
66726 destination buffer.
66727 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
66728
66729 2011-12-23 Marek Polacek <polacek@redhat.com>
66730
66731 * elf/dl-addr.c (determine_info): Add inline keyword.
66732 * elf/tst-auditmod4b.c (check_avx): Likewise.
66733 * elf/tst-auditmod6b.c (check_avx): Likewise.
66734 * elf/tst-auditmod6c.c (check_avx): Likewise.
66735 * elf/tst-auditmod7b.c (check_avx): Likewise.
66736
66737 2011-12-23 Ulrich Drepper <drepper@gmail.com>
66738
66739 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
66740 !__SSE_MATH__.
66741
66742 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66743
66744 [BZ #13540]
66745 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
66746 processing for last bytes.
66747
66748 2011-08-06 Bruno Haible <bruno@clisp.org>
66749
66750 [BZ #13061]
66751 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
66752 U+0385, not to U+1FEE.
66753
66754 [BZ #13062]
66755 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
66756 entry for U+00A5 U+0301.
66757
66758 2011-12-22 Ulrich Drepper <drepper@gmail.com>
66759
66760 [BZ #13166]
66761 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
66762 buffer for the output is too small.
66763
66764 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
66765 optimization.
66766
66767 [BZ #13185]
66768 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
66769 SSE flags if possible.
66770
66771 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66772
66773 [BZ #13540]
66774 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
66775 processing for last bytes.
66776
66777 2011-12-22 Joseph Myers <joseph@codesourcery.com>
66778
66779 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
66780 (syscall-list-default-options, syscall-list-default-condition)
66781 (syscall-list-includes): Define.
66782 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
66783 list of ABIs and options and #if conditions for each ABI. Do not
66784 handle common syscalls between ABIs specially.
66785 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
66786 Remove.
66787 (syscall-list-variants, syscall-list-32bit-options)
66788 (syscall-list-32bit-condition, syscall-list-64bit-options)
66789 (syscall-list-64bit-condition): Define.
66790 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
66791 (syscall-list-variants, syscall-list-32bit-options)
66792 (syscall-list-32bit-condition, syscall-list-64bit-options)
66793 (syscall-list-64bit-condition): Define.
66794 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
66795 Remove.
66796 (syscall-list-variants, syscall-list-32bit-options)
66797 (syscall-list-32bit-condition, syscall-list-64bit-options)
66798 (syscall-list-64bit-condition): Define.
66799 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
66800 Remove.
66801 (syscall-list-variants, syscall-list-32bit-options)
66802 (syscall-list-32bit-condition, syscall-list-64bit-options)
66803 (syscall-list-64bit-condition): Define.
66804
66805 2011-12-22 Ulrich Drepper <drepper@gmail.com>
66806
66807 * locale/iso-639.def: Add brx entry.
66808
66809 [BZ #13328]
66810 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
66811 Proposed by Mariusz_Cukr <marcukr@op.pl>.
66812
66813 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
66814 __feraiseexcept_renamed.
66815
66816 2011-12-21 Ulrich Drepper <drepper@gmail.com>
66817
66818 [BZ #13538]
66819 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
66820 EPOLLET with unsigned values.
66821 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66822 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66823
66824 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
66825 to large cancellation.
66826 * math/s_cacoshf.c: Likewise.
66827 * math/s_cacoshl.c: Likewise.
66828
66829 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
66830
66831 [BZ #13305]
66832 [BZ #12786]
66833 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
66834 * math/s_cacoshf.c: Likewise.
66835 * math/s_cacoshl.c: Likewise.
66836
66837 2011-12-21 Ulrich Drepper <drepper@gmail.com>
66838
66839 [BZ #13439]
66840 * iconv/gconv.h: Define __GCONV_SWAP.
66841 * iconvdata/unicode.c: The swap bit must be stored in __flags.
66842 * iconvdata/utf-16.c: Likewise.
66843 * iconvdata/utf-32.c: Likewise.
66844
66845 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
66846
66847 [BZ #13524]
66848 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
66849 numerator after shifting it by one limb.
66850
66851 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
66852
66853 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
66854 under [__USE_EXTERN_INLINES].
66855
66856 2011-12-17 Ulrich Drepper <drepper@gmail.com>
66857
66858 [BZ #13446]
66859 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
66860
66861 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66862
66863 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
66864 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
66865 optimized code.
66866 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
66867 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
66868 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
66869 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
66870 for strncasecmp/strncasecmp_l compilation.
66871 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
66872 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
66873
66874 2011-12-08 Marek Polacek <mpolacek@redhat.com>
66875
66876 [BZ #13484]
66877 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
66878 of __asm__.
66879
66880 2011-12-17 Ulrich Drepper <drepper@gmail.com>
66881
66882 [BZ #13506]
66883 * time/tzfile.c (__tzfile_read): Check values from file header.
66884
66885 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
66886
66887 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
66888 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
66889 * powerpc/powerpc32/dl-start.S: Likewise.
66890 * powerpc/powerpc32/elf/start.S: Likewise.
66891 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
66892 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
66893 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
66894 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
66895 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
66896 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
66897 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
66898 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66899 * powerpc/powerpc32/fpu/s_round.S: Likewise.
66900 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
66901 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
66902 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
66903 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
66904 * powerpc/powerpc32/memset.S: Likewise.
66905 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
66906 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66907 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66908 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66909 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66910 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
66911 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
66912 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
66913 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
66914 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
66915 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
66916 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66917 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66918
66919 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66920
66921 * math/libm-test.inc: Added more nearbyint tests.
66922 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
66923 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
66924 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
66925 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
66926
66927 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
66928
66929 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
66930 FD_CLOEXEC.
66931
66932 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66933
66934 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
66935 Add wcscpy-ssse3 wcscpy-c.
66936 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
66937 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
66938 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
66939 * sysdeps/x86_64/wcschr.S: New file.
66940 * sysdeps/x86_64/wcsrchr.S: New file.
66941 * string/test-strcmp.c: Remove checking of wcscmp function for
66942 wrong alignments.
66943 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
66944 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
66945 wcsrchr-sse2 wcsrchr-c.
66946 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
66947 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
66948 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
66949 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
66950 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
66951 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
66952 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
66953 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
66954 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
66955 * wcsmbc/wcschr.c (WCSCHR): New macro.
66956
66957 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66958
66959 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
66960 * wcsmbs/test-wcsrchr.c: New file.
66961 * string/test-strrchr.c: Add wcsrchr support.
66962 (WIDE): New macro.
66963 * wcsmbs/test-wcscpy.c: New file.
66964 * string/test-strcpy.c: Add wcscpy support.
66965 (WIDE): New macro.
66966
66967 2011-12-10 Ulrich Drepper <drepper@gmail.com>
66968
66969 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
66970 the inner loop.
66971
66972 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
66973
66974 [BZ #13472]
66975 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
66976
66977 2011-12-04 Ulrich Drepper <drepper@gmail.com>
66978
66979 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
66980 Minor optimizations.
66981
66982 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
66983 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
66984 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
66985
66986 2011-12-03 Ulrich Drepper <drepper@gmail.com>
66987
66988 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
66989 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
66990 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
66991 for gcc to avoid warnings.
66992 * inet/Makefile (tests): Add tst-checks.
66993 * inet/tst-checks.c: New file.
66994
66995 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
66996 warning.
66997
66998 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
66999 __wmemcmp_sse2.
67000
67001 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
67002 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
67003
67004 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
67005
67006 2011-12-02 Ulrich Drepper <drepper@gmail.com>
67007
67008 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
67009 problem.
67010
67011 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
67012
67013 2011-11-29 Joseph Myers <joseph@codesourcery.com>
67014
67015 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
67016 conditional on GCC version.
67017 (__arch_compare_and_exchange_val_8_acq)
67018 (__arch_compare_and_exchange_val_16_acq)
67019 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
67020 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
67021 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
67022
67023 2011-12-02 Joseph Myers <joseph@codesourcery.com>
67024
67025 * sysdeps/sh/backtrace.c: New file.
67026
67027 2011-12-02 Andreas Schwab <schwab@redhat.com>
67028
67029 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
67030 parenthesis.
67031
67032 2011-12-01 Andreas Schwab <schwab@redhat.com>
67033
67034 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
67035 falling back to utime.
67036
67037 2011-11-30 Andreas Schwab <schwab@redhat.com>
67038
67039 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
67040 expectations for float.
67041
67042 2011-11-29 Andreas Schwab <schwab@redhat.com>
67043
67044 * locale/weight.h (findidx): Add parameter len.
67045 * locale/weightwc.h (findidx): Likewise.
67046 * posix/fnmatch_loop.c (FCT): Adjust caller.
67047 * posix/regcomp.c (build_equiv_class): Likewise.
67048 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
67049 * posix/regexec.c (check_node_accept_bytes): Likewise.
67050 * string/strcoll_l.c (STRCOLL): Likewise.
67051 * string/strxfrm_l.c (STRXFRM): Likewise.
67052
67053 2011-11-17 Ulrich Drepper <drepper@gmail.com>
67054
67055 * Makefile.in: Remove CVSOPT handling.
67056 * configure.in: Remove use of AC_REVISION.
67057 * iconvdata/Makefile (distribute): No need to filter out CVS.
67058 * scripts/list-sources.sh: Remove CVS, subversion and monotone
67059 handling.
67060
67061 2011-11-16 Andreas Schwab <schwab@redhat.com>
67062
67063 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
67064 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
67065 [USE_AS_STRNCASECMP_L]: Likewise.
67066 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
67067 NO_TLS_DIRECT_SEG_REFS.
67068 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
67069 Fix argument offsets for non-PIC.
67070 [USE_AS_STRNCASECMP_L]: Likewise.
67071 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
67072 NO_TLS_DIRECT_SEG_REFS.
67073
67074 2011-11-15 Ulrich Drepper <drepper@gmail.com>
67075
67076 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
67077 O_CLOEXEC.
67078 * locale/loadlocale.c (_nl_load_locale): Likewise.
67079
67080 2011-11-15 Andreas Schwab <schwab@redhat.com>
67081
67082 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
67083 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
67084 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
67085 (SYSCALL_GETTIME): Set errno on error.
67086
67087 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
67088 count references to noai6ai_cached.
67089
67090 2011-11-15 Ulrich Drepper <drepper@gmail.com>
67091
67092 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
67093
67094 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
67095 FD_CLOEXEC for /proc/self/maps.
67096
67097 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
67098 FD_CLOEXEC for /proc/meminfo.
67099
67100 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
67101 gai.conf.
67102
67103 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
67104 FD_CLOEXEC for given file.
67105
67106 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
67107
67108 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
67109 FD_CLOEXEC for /etc/hosts.
67110 (_gethtent): Likewise.
67111
67112 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
67113
67114 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
67115 cancellation and set FD_CLOEXEC for /etc/netgroup.
67116
67117 * nss/nss_files/files-key.c (search): Don't allow cancellation when
67118 reading /etc/publickey.
67119
67120 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
67121 allow cancellation when reading /etc/group.
67122
67123 * nss/nss_files/files-alias.c (internal_setent): Don't allow
67124 cancellation.
67125 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
67126
67127 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
67128 when using data file.
67129
67130 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
67131
67132 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
67133 (write_nis_obj): Use "c" and "e" in fopen.
67134
67135 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
67136
67137 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
67138
67139 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
67140
67141 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
67142
67143 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
67144 locale.alias.
67145
67146 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
67147
67148 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
67149
67150 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
67151
67152 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
67153 file parsing and set FD_CLOEXEC.
67154
67155 2011-11-14 Ulrich Drepper <drepper@gmail.com>
67156
67157 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
67158
67159 2011-11-14 Andreas Schwab <schwab@redhat.com>
67160
67161 * malloc/arena.c (arena_get2): Don't call reused_arena when
67162 _int_new_arena failed.
67163
67164 2011-11-14 Ulrich Drepper <drepper@gmail.com>
67165
67166 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
67167 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
67168 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
67169 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67170 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67171 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
67172 to compile strcasecmp and strncasecmp.
67173 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
67174 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
67175
67176 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
67177
67178 2011-11-13 Ulrich Drepper <drepper@gmail.com>
67179
67180 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
67181 locale-defines.sym to gen-as-const-headers.
67182 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
67183 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
67184 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
67185 to compile strcasecmp and strncasecmp.
67186 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
67187 strcasecmp_l and strncasecmp_l.
67188 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
67189 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
67190 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
67191 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
67192 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
67193 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
67194 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
67195 * sysdeps/i386/i686/multiarch/strncase.S: New file.
67196 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
67197 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
67198 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
67199
67200 2011-11-12 Ulrich Drepper <drepper@gmail.com>
67201
67202 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
67203 result of SYSDEP_GETTIME_CPU to retval.
67204 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
67205 parameter list to macro. Remove trailing semicolon. Adjust users.
67206
67207 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
67208 variable.
67209
67210 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
67211 mantissa words.
67212 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
67213
67214 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
67215 from unused variable.
67216
67217 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
67218 DWARF definitions.
67219 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
67220 for assembling.
67221
67222 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
67223 over namespaces.
67224
67225 * sunrpc/rpc_prot.c (rejected): Fix case value.
67226
67227 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
67228 unsigned long long int to avoid warnings in shift.
67229
67230 * posix/regex_internal.c (re_string_reconstruct): Actually use result
67231 of use of trans.
67232 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
67233 variable tmp.
67234
67235 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
67236 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
67237 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
67238
67239 * nis/nis_table.c (nis_list): Use variable of correct type for
67240 result of __follow_path call.
67241
67242 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67243
67244 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
67245 of math functions ceil, trunc, floor, round, and sqrt, when
67246 avaliable on the platform.
67247 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
67248 name clash.
67249 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67250 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67251 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67252
67253 2011-10-30 Marek Polacek <mpolacek@redhat.com>
67254
67255 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
67256 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67257
67258 2011-11-11 Roland McGrath <roland@hack.frob.com>
67259
67260 * include/unistd.h: Fix __readlink return type.
67261 Reported by Chris Metcalf <cmetcalf@tilera.com>.
67262
67263 2011-11-11 Ulrich Drepper <drepper@gmail.com>
67264
67265 * stdlib/ucontext.h: Undo last change for makecontext.
67266
67267 2011-11-11 Andreas Schwab <schwab@redhat.com>
67268
67269 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
67270
67271 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
67272 * setjmp/setjmp.h: Mark functions as non-leaf.
67273 * setjmp/bits/setjmp2.h: Likewise.
67274 * stdlib/ucontext.h: Likewise.
67275
67276 2011-11-10 Andreas Schwab <schwab@redhat.com>
67277
67278 * malloc/arena.c (_int_new_arena): Don't increment narenas.
67279 (reused_arena): Don't check arena limit.
67280 (arena_get2): Atomically check arena limit.
67281
67282 2011-11-08 Ulrich Drepper <drepper@gmail.com>
67283
67284 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
67285 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
67286
67287 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
67288 instructions.
67289
67290 2011-11-07 Andreas Schwab <schwab@redhat.com>
67291
67292 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
67293 handler when locking.
67294
67295 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67296 Fix size of allocated buffer.
67297
67298 2011-11-04 Andreas Schwab <schwab@redhat.com>
67299
67300 [BZ #10103]
67301 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
67302 declarations for long double functions.
67303 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
67304
67305 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
67306
67307 2011-11-03 Andreas Schwab <schwab@redhat.com>
67308
67309 * nscd/nscd.c (main): Don't start AVC thread until credentials are
67310 installed.
67311
67312 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
67313 is disabled.
67314
67315 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
67316
67317 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
67318
67319 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
67320
67321 * include/alloca.h (stackinfo_alloca_round): Define.
67322 (extend_alloca): Use it.
67323 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
67324 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
67325 here.
67326
67327 * scripts/check-local-headers.sh: Ignore libaudit.h.
67328
67329 * nscd/Makefile (extra-objs): Make recursively expanded.
67330
67331 2011-11-01 Ulrich Drepper <drepper@gmail.com>
67332
67333 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
67334 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
67335
67336 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
67337 * posix/tst-rfc3484-2.c: Likewise.
67338 * posix/tst-rfc3484-3.c: Likewise.
67339
67340 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67341 process_vm_writev.
67342 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
67343 process_vm_writev.
67344 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
67345 process_vm_writev from libc using GLIBC_2.15 version.
67346
67347 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
67348
67349 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
67350
67351 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
67352 stack usage.
67353
67354 2011-10-31 Ulrich Drepper <drepper@gmail.com>
67355
67356 [BZ #13367]
67357 * nss/getent.c (initgroups_keys): Show error message in case no group
67358 names are given.
67359
67360 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
67361 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
67362 __bump_nl_timestamp.
67363 * nscd/connections (nscd_init): When host database is served open
67364 netlink socket and request notification about configuration changes.
67365 (main_loop_poll): Track netlink file descriptor and bump timestamp
67366 in case data becomes available.
67367 (main_loop_epoll): Likewise.
67368 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
67369 (database_pers_head): Add extra_data fileds.
67370 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
67371 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
67372 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
67373 Adjust caller.
67374 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
67375 in6ai data, call __free_in6ai.
67376 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
67377 Add -DHAVE_NETLINK.
67378 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
67379 interface information. Reuse previous data if netlink timestamp
67380 is not changed.
67381 (__bump_nl_timestamp): New function.
67382 (__free_in6ai): New function.
67383
67384 2011-10-30 Ulrich Drepper <drepper@gmail.com>
67385
67386 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
67387 close_not_cancel_no_status here.
67388 (__check_pf): Reorganize code a bit to not call close twice if OOM.
67389
67390 2011-10-29 Ulrich Drepper <drepper@gmail.com>
67391
67392 [BZ #13276]
67393 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
67394 return value.
67395
67396 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
67397 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
67398 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
67399
67400 2011-07-03 Andreas Jaeger <aj@suse.de>
67401
67402 [BZ #10709]
67403 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
67404 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
67405 * math/libm-test.inc (sin_test): Add test case.
67406
67407 2011-10-29 Ulrich Drepper <drepper@gmail.com>
67408
67409 [BZ #13337]
67410 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
67411 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67412
67413 * elf/chroot_canon.c (chroot_canon): Cleanups.
67414
67415 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
67416
67417 [BZ #13335]
67418 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
67419 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67420
67421 * string/test-strchr.c: Make usable for strchrnul testing.
67422 * string/test-strchrnul.c: New file.
67423 * string/Makefile (strop-tests): Add strchrnul.
67424
67425 * po/it.po: Update from translation team.
67426 * po/es.po: Likewise.
67427
67428 2011-10-28 Ulrich Drepper <drepper@gmail.com>
67429
67430 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
67431 the three constants needed as parameters. Drop the others.
67432 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
67433 __m128i_strloadu_tolower.
67434 Create and initialize variable zero and use it in all the places
67435 where _mm_setzero_si128 was used.
67436
67437 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
67438 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
67439 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
67440 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
67441 anymore.
67442 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
67443 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
67444 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
67445 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
67446 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
67447 __mpranred, __mptan.
67448 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
67449 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
67450 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
67451 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
67452 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
67453 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
67454 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
67455 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
67456 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
67457
67458 2011-10-28 Andreas Schwab <schwab@redhat.com>
67459
67460 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
67461 redefine if SHARED.
67462 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
67463
67464 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
67465 wide char related routines to wcsmbs subdir.
67466
67467 2011-10-27 Andreas Schwab <schwab@redhat.com>
67468
67469 [BZ #13344]
67470 * misc/sys/cdefs.h (__THROWNL): Define.
67471 * posix/unistd.h: Use __THREADNL instead of __THREAD
67472 for memory synchronization functions.
67473
67474 2011-10-26 Roland McGrath <roland@hack.frob.com>
67475
67476 [BZ #13349]
67477 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
67478 doesn't exist.
67479 * manual/stdio.texi (Obstack Streams): Node removed.
67480
67481 2011-10-26 Andreas Schwab <schwab@redhat.com>
67482
67483 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
67484 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67485 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67486
67487 * math/math_private.h (math_force_eval): Allow non-addressable
67488 arguments.
67489 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
67490
67491 2011-10-25 Ulrich Drepper <drepper@gmail.com>
67492
67493 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
67494 file is not needed.
67495
67496 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
67497 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
67498 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67499 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67500 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67501 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67502 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67503 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
67504 Add AVX variants.
67505 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
67506 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
67507 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
67508 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
67509 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
67510 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
67511 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
67512 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
67513 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
67514 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
67515 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
67516 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
67517 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
67518 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
67519 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
67520 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
67521 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
67522 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
67523 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
67524
67525 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
67526 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
67527
67528 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
67529 place. Use VEX encoding when compiling for AVX.
67530
67531 2011-10-25 Andreas Schwab <schwab@redhat.com>
67532
67533 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
67534 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
67535
67536 * string/test-strchr.c (do_test): Don't generate NUL bytes.
67537
67538 2011-10-25 Ulrich Drepper <drepper@gmail.com>
67539
67540 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
67541 useless if() expression.
67542 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67543 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67544 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67545 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67546 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67547 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67548 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67549 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67550 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67551 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67552 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67553 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67554 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67555 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67556 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67557 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67558 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67559 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67560 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67561
67562 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
67563
67564 2011-10-25 Andreas Schwab <schwab@redhat.com>
67565
67566 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
67567 condition.
67568 * elf/dl-fini.c (_dl_sort_fini): Likewise.
67569
67570 2011-10-25 Ulrich Drepper <drepper@gmail.com>
67571
67572 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
67573 .text section. Avoid duplicate constants.
67574 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67575 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67576 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67578 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67580 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67582 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67583 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
67584 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67585 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67586 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67587 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67588 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67589 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67590 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67591 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67592 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67593 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67594 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67595 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67596 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67597 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
67598 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
67599 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
67600 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
67601 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
67602 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
67603 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
67604 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
67605 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
67606 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67607 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
67608 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
67609 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
67610 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
67611 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
67612 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
67613 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
67614 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
67615 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
67616 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
67617 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
67618 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
67619
67620 2011-10-24 Ulrich Drepper <drepper@gmail.com>
67621
67622 * sysdeps/x86_64/dla.h: Move to ...
67623 * sysdeps/x86_64/fpu/dla.h: ...here.
67624 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
67625 situations. Use __builtin_fma only for gcc 4.6 and up.
67626
67627 * config.make.in: Add have-mfma4 entry.
67628 * configure.in: Substitute libc_cv_cc_fma4.
67629 * math/Makefile (dbl-only-routines): Add sincostab.
67630 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
67631 Use __sincostab not sincos.
67632 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
67633 name is a macro.
67634 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67635 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67636 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67637 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
67638 using __copysign.
67639 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
67640 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
67641 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
67642 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
67643 and __inv.
67644 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
67645 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
67646 __copysign.
67647 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
67648 define aliases when function name is a macro.
67649 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
67650 sysdeps/ieee754/dbl-64/sincos.tbl.
67651 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
67652 fma4-enabled routines.
67653 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
67654 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
67655 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
67656 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
67657 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
67658 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
67659 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
67660 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
67661 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
67662 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
67663 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
67664 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
67665 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
67666 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
67667 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
67668 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
67669 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
67670 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
67671 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
67672 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
67673 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
67674 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
67675 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
67676 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
67677 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
67678 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
67679 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
67680 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
67681 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
67682 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
67683
67684 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
67685 rename.
67686 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67687 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67688 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67690 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67691 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67692 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67693 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67694
67695 2011-10-24 Andreas Schwab <schwab@redhat.com>
67696
67697 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
67698
67699 2011-10-23 Ulrich Drepper <drepper@gmail.com>
67700
67701 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
67702
67703 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
67704 prediction.
67705 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
67706
67707 * string/strnlen.c: Don't define STRNLEN, reverse logic.
67708 Remove unused variable magic_bits.
67709 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
67710
67711 * string/strnlen.c: Define and use STRNLEN macro.
67712 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
67713 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
67714 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
67715 * wcsmbs/wcslen.c: Define and use WCSLEN.
67716 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
67717 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
67718 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
67719 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
67720 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
67721 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
67722 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67723
67724 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67725
67726 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67727 strnlen-sse2-no-bsf.
67728 Rename strlen-no-bsf to strlen-sse2-no-bsf.
67729 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
67730 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
67731 Add strnlen support.
67732 (USE_AS_STRNLEN): New macro.
67733 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
67734 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
67735 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
67736 * sysdeps/x86_64/wcslen.S: New file.
67737
67738 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
67739
67740 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67741 XMM-moves are used for copying on small sizes.
67742
67743 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67744
67745 * wcsmbs/Makefile (strop-tests): Add wcschr.
67746 * wcsmbs/test-wcschr.c: New file.
67747 * string/test-strchr.c: Update.
67748 Add wcschr support.
67749 (WIDE): New macro.
67750
67751 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67752
67753 * wcsmbs/Makefile (strop-tests): Add wcslen.
67754 * wcsmbs/test-wcslen.c: New file.
67755 * string/test-strlen.c: Update.
67756 Add wcslen support.
67757 (WIDE): New macro.
67758
67759 2011-10-23 Ulrich Drepper <drepper@gmail.com>
67760
67761 * po/it.po: Update from translation team.
67762
67763 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67764
67765 * sysdeps/x86_64/wcscmp.S: Update.
67766 Fix wrong comparison semantics.
67767 wcscmp shall use signed comparison not unsigned.
67768 Don't use substraction to avoid overflow bug.
67769 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
67770 * wcsmbc/wcscmp.c: Likewise.
67771 * string/test-strcmp.c: Likewise.
67772 Add new tests to check cases with negative values.
67773
67774 2011-10-23 Ulrich Drepper <drepper@gmail.com>
67775
67776 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
67777 * sysdeps/x86_64/dla.h: ...here. New file.
67778 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
67779 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67780 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67781 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67782 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67783 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67784 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67785 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67786 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67787
67788 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
67789
67790 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
67791 __ynl_finite aliases.
67792
67793 2011-10-22 Ulrich Drepper <drepper@gmail.com>
67794
67795 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67796
67797 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
67798 define DLA_FMA.
67799 [DLA_FMA] (EMULV): Use DLA_FMA.
67800 [DLA_FMA] (MUL12): Use EMULV.
67801 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
67802 that are not needed.
67803 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67804 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67805 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67806 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67807 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67808 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67809 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67810
67811 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
67812
67813 * math/s_nan.c: Undef __nan.
67814 * math/s_nanf.c: Undef __nanf.
67815 * math/s_nanl.c: Undef __nanl.
67816 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
67817 "math_private.h".
67818
67819 2011-10-22 Ulrich Drepper <drepper@gmail.com>
67820
67821 * math/s_catan.c: Add branch predictions.
67822 * math/s_catanf.c: Likewise.
67823 * math/s_catanh.c: Likewise.
67824 * math/s_catanhf.c: Likewise.
67825 * math/s_catanhl.c: Likewise.
67826 * math/s_catanl.c: Likewise.
67827 * math/s_cexp.c: Likewise.
67828 * math/s_cexpf.c: Likewise.
67829 * math/s_cexpl.c: Likewise.
67830 * math/s_clog.c: Likewise.
67831 * math/s_clog10.c: Likewise.
67832 * math/s_clog10f.c: Likewise.
67833 * math/s_clog10l.c: Likewise.
67834 * math/s_clogf.c: Likewise.
67835 * math/s_clogl.c: Likewise.
67836 * math/s_csqrt.c: Likewise.
67837 * math/s_csqrtf.c: Likewise.
67838 * math/s_csqrtl.c: Likewise.
67839 * math/s_ctanf.c: Likewise.
67840 * math/s_ctanh.c: Likewise.
67841 * math/s_ctanhf.c: Likewise.
67842 * math/s_ctanhl.c: Likewise.
67843 * math/s_ctanl.c: Likewise.
67844
67845 * math/math_private.h: Define __nan, __nanf, __nanl.
67846 * math/s_cacosh.c: Include <math_private.h>.
67847 * math/s_cacoshl.c: Likewise.
67848 * math/s_casinh.c: Likewise.
67849 * math/s_casinhf.c: Likewise.
67850 * math/s_casinhl.c: Likewise.
67851 * math/s_ccos.c: Rely entire on ccosh.
67852 * math/s_ccosf.c: Rely entire on ccoshf.
67853 * math/s_ccosl.c: Rely entirely on ccoshl.
67854 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
67855 Remove tests for FE_INVALID.
67856 * math/s_ccoshf.c: Likewise.
67857 * math/s_ccoshl.c: Likewise.
67858 * math/s_csin.c: Likewise.
67859 * math/s_csinf.c: Likewise.
67860 * math/s_csinh.c Likewise.
67861 * math/s_csinhf.c: Likewise.
67862 * math/s_csinhl.c: Likewise.
67863 * math/s_csinl.c: Likewise.
67864 * math/s_ctan.c: Likewise.
67865 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
67866 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
67867 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
67868
67869 2011-10-21 Ulrich Drepper <drepper@gmail.com>
67870
67871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
67872 compilation problems.
67873
67874 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
67875 __builtin_expect.
67876
67877 2011-10-20 Ulrich Drepper <drepper@gmail.com>
67878
67879 * sysdeps/i386/configure.in: Test for -mfma4 option.
67880 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
67881 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
67882 COMMON_CPUID_INDEX_80000001.
67883 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
67884 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
67885 use it if FMA3 is not supported.
67886 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
67887
67888 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
67889 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67890
67891 2011-10-20 Andreas Schwab <schwab@redhat.com>
67892
67893 [BZ #12892]
67894 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
67895 it would create a cycle with a link time dependency.
67896
67897 2011-10-19 Ulrich Drepper <drepper@gmail.com>
67898
67899 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
67900 instruction.
67901 * string/Makefile (strop-tests): Add rawmemchr.
67902 * string/test-rawmemchr.c: New file.
67903
67904 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
67905 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
67906 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
67907 when compiling str{,n}casecmp and when AVX is available. Hook up
67908 new optimized code in initializers.
67909
67910 2011-10-19 Andreas Schwab <schwab@redhat.com>
67911
67912 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
67913 __feraiseexcept instead of feraiseexcept.
67914
67915 2011-10-18 Ulrich Drepper <drepper@gmail.com>
67916
67917 * math/math_private.h: Define defaults for libc_fetestexcept and
67918 libc_feupdateenv.
67919 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
67920 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
67921 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67922 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67923 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67924 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67925 libc_fetestexcept and libc_feupdateenv.
67926
67927 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
67928 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
67929 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
67930 * sysdeps/x86_64/fpu/math_private.h: Define special version of
67931 libc_feholdexcept_setround.
67932
67933 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
67934 Add s_nearbyint-c and s_nearbyintf-c.
67935 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
67936 nearbyintf inlines.
67937 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
67938 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
67939 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
67940 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
67941
67942 * math/math_private.h: Define defaults for libc_fegetround,
67943 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
67944 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
67945 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
67946 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
67947 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
67948 standard functions.
67949 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67950 Remove comments and hacks for old compiler versions.
67951 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67952 libc_fegetround, libc_fesetround, libc_feholdexcept, and
67953 libc_feholdexceptl.
67954
67955 2011-10-18 Andreas Schwab <schwab@redhat.com>
67956
67957 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
67958 (__feraiseexcept_renamed): Add __NTH.
67959 (feraiseexcept): Add __NTH. Rename local variables to fix
67960 namespace violations.
67961
67962 2011-10-17 Ulrich Drepper <drepper@gmail.com>
67963
67964 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
67965
67966 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
67967
67968 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
67969 recently added interfaces.
67970 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
67971
67972 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
67973 about macro parameter expansion.
67974
67975 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
67976 __NO_MATH_INLINES is defined. Cleanups.
67977
67978 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
67979 and __floorf is target has SSE4.1.
67980 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
67981 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
67982 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
67983 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
67984
67985 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
67986 name.
67987 (floorf): Likewise.
67988
67989 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
67990
67991 2011-10-17 Andreas Schwab <schwab@redhat.com>
67992
67993 * misc/sys/cdefs.h: Fix last change.
67994
67995 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
67996 database lookup.
67997
67998 2011-10-16 Ulrich Drepper <drepper@gmail.com>
67999
68000 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
68001
68002 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
68003 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68004 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68005 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68006 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68007 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68008 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68009 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68010 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68011 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
68012 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
68013 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
68014 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
68015 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
68016 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
68017 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
68018 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
68019 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
68020 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
68021 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
68022 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
68023 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
68024
68025 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
68026 ceil, ceilf, floor, floorf.
68027
68028 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
68029 Perform IRELATIVE relocations last.
68030
68031 * elf/do-rel.h: Add another parameter nrelative, replacing the
68032 local variable with the same name. Change name of the function
68033 to end in Rel or Rela (uppercase).
68034 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
68035 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
68036 elf_dynamic_do_##reloc function.
68037
68038 2011-10-15 Ulrich Drepper <drepper@gmail.com>
68039
68040 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
68041 is sufficient, at least on modern CPUs.
68042
68043 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
68044
68045 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
68046 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
68047
68048 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
68049 __expl_finite.
68050 * math/bits/math-finite.h: Add entries for exp.
68051 * math/e_expl.c: Add __*_finite alias.
68052 * sysdeps/i386/fpu/e_exp.S: Likewise.
68053 * sysdeps/i386/fpu/e_expf.S: Likewise.
68054 * sysdeps/i386/fpu/e_expl.c: Likewise.
68055 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68056 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68057 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
68058 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
68059 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
68060 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68061 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68062
68063 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
68064 is sufficient, at least on modern CPUs.
68065
68066 * ctype/ctype-info.c (__ctype_init): Define.
68067 * include/ctype.h (__ctype_init): Declare.
68068 (__ctype_b_loc): The variable is always initialized.
68069 (__ctype_toupper_loc): Likewise.
68070 (__ctype_tolower_loc): Likewise.
68071 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
68072 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
68073
68074 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
68075
68076 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
68077
68078 * configure.in: Also look in $cxxmachine/include for C++ system
68079 headers.
68080
68081 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68082
68083 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
68084 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
68085 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
68086 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
68087 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
68088 (USE_AS_WMEMCMP): New macro.
68089 Fixing indents.
68090 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
68091 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
68092 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
68093 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
68094 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68095 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
68096 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
68097 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
68098 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
68099 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
68100 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
68101 (USE_AS_WMEMCMP): New macro.
68102 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
68103 * sysdeps/string/test-memcmp.c: Update.
68104 Fix simple_wmemcmp.
68105 Add new tests.
68106 * wcsmbs/wmemcmp.c: Update.
68107 (WMEMCMP): New macro.
68108 Fix overflow bug.
68109
68110 2011-10-12 Andreas Jaeger <aj@suse.de>
68111
68112 [BZ #13268]
68113 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
68114
68115 2011-10-15 Ulrich Drepper <drepper@gmail.com>
68116
68117 * libio/iofwide.c (do_length): Avoid warning.
68118
68119 * ctype/ctype.h (__isctype_f): Add missing __THROW.
68120
68121 2011-10-14 Ulrich Drepper <drepper@gmail.com>
68122
68123 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
68124
68125 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
68126 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
68127 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
68128 * sysdeps/i386/i686/fpu/e_log.S: New file.
68129 * sysdeps/i386/i686/fpu/e_logf.S: New file.
68130 * sysdeps/i386/i686/fpu/e_logl.S: New file.
68131
68132 * ctype/ctype.h: Add support for inlined isXXX functions when
68133 compiling C++ code.
68134
68135 2011-10-14 Andreas Schwab <schwab@redhat.com>
68136
68137 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68138
68139 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
68140
68141 2011-10-13 Roland McGrath <roland@hack.frob.com>
68142
68143 [BZ #13291]
68144 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
68145
68146 2011-10-13 Andreas Schwab <schwab@redhat.com>
68147
68148 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
68149 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
68150 feraiseexcept.
68151
68152 * sysdeps/x86_64/memrchr.S: Check for zero size.
68153
68154 * string/stratcliff.c: Add memrchr tests.
68155
68156 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68157
68158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68159 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
68160 rawmemchr-sse2 rawmemchr-sse2-bsf.
68161 * sysdeps/i386/i686/multiarch/memchr.S: New file.
68162 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
68163 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
68164 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
68165 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
68166 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
68167 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
68168 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
68169 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
68170 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
68171 * string/memrchr.c (MEMRCHR): New macro.
68172
68173 2011-10-12 Ulrich Drepper <drepper@gmail.com>
68174
68175 Add integration with gcc's -ffinite-math-only and optimize wrapper
68176 functions in libm.
68177 * Versions.def: Define GLIBC_2.15 version for libm.
68178 * math/Makefile (headers): Add bits/math-finite.h.
68179 * math/bits/math-finite.h: New file.
68180 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
68181 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
68182 * math/e_acoshl.c: Add __*_finite alias.
68183 * math/e_acosl.c: Likewise.
68184 * math/e_asinl.c: Likewise.
68185 * math/e_atan2l.c: Likewise.
68186 * math/e_atanhl.c: Likewise.
68187 * math/e_coshl.c: Likewise.
68188 * math/e_exp10.c: Likewise.
68189 * math/e_exp10f.c: Likewise.
68190 * math/e_exp10l.c: Likewise.
68191 * math/e_exp2l.c: Likewise.
68192 * math/e_fmodl.c: Likewise.
68193 * math/e_gammal_r.c: Likewise.
68194 * math/e_hypotl.c: Likewise.
68195 * math/e_j0l.c: Likewise.
68196 * math/e_j1l.c: Likewise.
68197 * math/e_jnl.c: Likewise.
68198 * math/e_lgammal_r.c: Likewise.
68199 * math/e_log10l.c: Likewise.
68200 * math/e_log2l.c: Likewise.
68201 * math/e_logl.c: Likewise.
68202 * math/e_powl.c: Likewise.
68203 * math/e_sinhl.c: Likewise.
68204 * math/e_sqrtl.c: Likewise.
68205 * math/e_scalb.c: Completely rewritten and optimized.
68206 * math/e_scalbf.c: Likewise.
68207 * math/e_scalbl.c: Likewise.
68208 * math/w_acos.c: Likewise.
68209 * math/w_acosf.c: Likewise.
68210 * math/w_acosl.c: Likewise.
68211 * math/w_acosh.c: Likewise.
68212 * math/w_acoshf.c: Likewise.
68213 * math/w_acoshl.c: Likewise.
68214 * math/w_asin.c: Likewise.
68215 * math/w_asinf.c: Likewise.
68216 * math/w_asinl.c: Likewise.
68217 * math/w_atan2.c: Likewise.
68218 * math/w_atan2f.c: Likewise.
68219 * math/w_atan2l.c: Likewise.
68220 * math/w_atanh.c: Likewise.
68221 * math/w_atanhf.c: Likewise.
68222 * math/w_atanhl.c: Likewise.
68223 * math/w_exp10.c: Likewise.
68224 * math/w_exp10f.c: Likewise.
68225 * math/w_exp10l.c: Likewise.
68226 * math/w_fmod.c: Likewise.
68227 * math/w_fmodf.c: Likewise.
68228 * math/w_fmodl.c: Likewise.
68229 * math/w_j0.c: Likewise.
68230 * math/w_j0f.c: Likewise.
68231 * math/w_j0l.c: Likewise.
68232 * math/w_j1.c: Likewise.
68233 * math/w_j1f.c: Likewise.
68234 * math/w_j1l.c: Likewise.
68235 * math/w_jn.c: Likewise.
68236 * math/w_jnf.c: Likewise.
68237 * math/w_log.c: Likewise.
68238 * math/w_logf.c: Likewise.
68239 * math/w_logl.c: Likewise.
68240 * math/w_log10.c: Likewise.
68241 * math/w_log10f.c: Likewise.
68242 * math/w_log10l.c: Likewise.
68243 * math/w_log2.c: Likewise.
68244 * math/w_log2f.c: Likewise.
68245 * math/w_log2l.c: Likewise.
68246 * math/w_pow.c: Likewise.
68247 * math/w_powf.c: Likewise.
68248 * math/w_powl.c: Likewise.
68249 * math/w_remainder.c: Likewise.
68250 * math/w_remainderf.c: Likewise.
68251 * math/w_remainderl.c: Likewise.
68252 * math/w_scalb.c: Likewise.
68253 * math/w_scalbf.c: Likewise.
68254 * math/w_scalbl.c: Likewise.
68255 * math/w_sqrt.c: Likewise.
68256 * math/w_sqrtf.c: Likewise.
68257 * math/w_sqrtl.c: Likewise.
68258 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
68259 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
68260 used.
68261 * math/math_private.h: Declare __kernel_standard_f.
68262 * math/w_cosh.c: Remove cruft and optimize a bit.
68263 * math/w_coshf.c: Likewise.
68264 * math/w_coshl.c: Likewise.
68265 * math/w_exp2.c: Likewise.
68266 * math/w_exp2f.c: Likewise.
68267 * math/w_exp2l.c: Likewise.
68268 * math/w_hypot.c: Likewise.
68269 * math/w_hypotf.c: Likewise.
68270 * math/w_hypotl.c: Likewise.
68271 * math/w_lgamma.c: Likewise.
68272 * math/w_lgamma_r.c: Likewise.
68273 * math/w_lgammaf.c: Likewise.
68274 * math/w_lgammaf_r.c: Likewise.
68275 * math/w_lgammal.c: Likewise.
68276 * math/w_lgammal_r.c: Likewise.
68277 * math/w_sinh.c: Likewise.
68278 * math/w_sinhf.c: Likewise.
68279 * math/w_sinhl.c: Likewise.
68280 * math/w_tgamma.c: Likewise.
68281 * math/w_tgammaf.c: Likewise.
68282 * math/w_tgammal.c: Likewise.
68283 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68284 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68285 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
68286 Minor optimizations. Pretty printing. Remove cruft.
68287 * sysdeps/i386/fpu/e_acosf.S: Likewise.
68288 * sysdeps/i386/fpu/e_acosh.S: Likewise.
68289 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68290 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68291 * sysdeps/i386/fpu/e_acosl.c: Likewise.
68292 * sysdeps/i386/fpu/e_asin.S: Likewise.
68293 * sysdeps/i386/fpu/e_asinf.S: Likewise.
68294 * sysdeps/i386/fpu/e_atan2.S: Likewise.
68295 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
68296 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
68297 * sysdeps/i386/fpu/e_atanh.S: Likewise.
68298 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68299 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68300 * sysdeps/i386/fpu/e_exp10.S: Likewise.
68301 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
68302 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
68303 * sysdeps/i386/fpu/e_exp2.S: Likewise.
68304 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
68305 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
68306 * sysdeps/i386/fpu/e_fmod.S: Likewise.
68307 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
68308 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
68309 * sysdeps/i386/fpu/e_hypot.S: Likewise.
68310 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
68311 * sysdeps/i386/fpu/e_log.S: Likewise.
68312 * sysdeps/i386/fpu/e_log10.S: Likewise.
68313 * sysdeps/i386/fpu/e_log10f.S: Likewise.
68314 * sysdeps/i386/fpu/e_log10l.S: Likewise.
68315 * sysdeps/i386/fpu/e_log2.S: Likewise.
68316 * sysdeps/i386/fpu/e_log2f.S: Likewise.
68317 * sysdeps/i386/fpu/e_log2l.S: Likewise.
68318 * sysdeps/i386/fpu/e_logf.S: Likewise.
68319 * sysdeps/i386/fpu/e_logl.S: Likewise.
68320 * sysdeps/i386/fpu/e_pow.S: Likewise.
68321 * sysdeps/i386/fpu/e_powf.S: Likewise.
68322 * sysdeps/i386/fpu/e_powl.S: Likewise.
68323 * sysdeps/i386/fpu/e_remainder.S: Likewise.
68324 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
68325 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
68326 * sysdeps/i386/fpu/e_scalb.S: Likewise.
68327 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68328 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68329 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
68330 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
68331 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
68332 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68333 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68334 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68335 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68336 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68337 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68338 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
68339 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68340 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68341 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68342 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68343 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68344 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68345 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68346 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68347 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68348 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68349 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68350 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68351 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68352 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68353 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68354 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68355 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68356 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68357 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68358 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68359 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68360 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
68361 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68362 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68363 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68364 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68365 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68366 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68367 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68368 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68369 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68370 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68371 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68372 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68373 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68374 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68375 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68376 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68377 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68378 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68379 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68380 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68381 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
68382 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68383 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68384 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68385 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68386 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68387 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68388 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68389 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68390 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68391 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68392 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68393 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68394 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68395 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68396 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68397 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68398 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68399 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68400 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
68401 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68402 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68403 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68404 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68405 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68406 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68407 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68408 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68409 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68410 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68411 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68412 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68413 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68414 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
68415 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68416 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68417 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68418 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68419 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68420 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68421 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68422 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68423 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68424 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68425 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
68426 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68427 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68428 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68429 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
68430 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
68431 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
68432 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
68433 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
68434 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
68435 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
68436 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68437 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68438 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68439 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68440 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
68441 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68442 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
68443 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
68444 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
68445 (__isnanf): Likewise.
68446 (__isinf_ns): Likewise.
68447 (__isinf_nsf): Likewise.
68448 (__finite): Likewise.
68449 (__finitef): Likewise.
68450 (__ieee754_sqrt): Define as macro.
68451 (__ieee754_sqrtf): Define as macro.
68452 (__ieee754_sqrtl): Define as macro.
68453 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
68454 inlined copy.
68455 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
68456 __FINITE_MATH_ONLY__ consistent.
68457 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
68458
68459 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
68460
68461 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
68462 of rawmemchr.
68463
68464 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
68465
68466 2011-10-09 Ulrich Drepper <drepper@gmail.com>
68467
68468 * po/ja.po: Update from translation team.
68469
68470 2011-10-08 Roland McGrath <roland@hack.frob.com>
68471
68472 * locale/programs/locarchive.c (prepare_address_space): New function.
68473 (create_archive, enlarge_archive, open_archive): Use it.
68474
68475 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
68476 inside [SHARED], where it is used.
68477
68478 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
68479
68480 * nss/getent.c (netgroup_keys): Remove unused variable.
68481 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68482
68483 2011-10-08 Ulrich Drepper <drepper@gmail.com>
68484
68485 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
68486 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
68487 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
68488 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
68489 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
68490 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
68491 * math/Makefile (libm-calls): Add s_isinf_ns.
68492 * math/divtc3.c: Use __isinf_nsl instead of isinf.
68493 * math/multc3.c: Likewise.
68494 * math/s_casin.c: Likewise.
68495 * math/s_casinf.c: Likewise.
68496 * math/s_casinl.c: Likewise.
68497 * math/s_ccos.c: Likewise.
68498 * math/s_ccosf.c: Likewise.
68499 * math/s_ccosl.c: Likewise.
68500 * math/s_ctan.c: Likewise.
68501 * math/s_ctanf.c: Likewise.
68502 * math/s_ctanh.c: Likewise.
68503 * math/s_ctanhf.c: Likewise.
68504 * math/s_ctanhl.c: Likewise.
68505 * math/s_ctanl.c: Likewise.
68506 * math/w_fmod.c: Likewise.
68507 * math/w_fmodf.c: Likewise.
68508 * math/w_fmodl.c: Likewise.
68509 * math/w_remainder.c: Likewise.
68510 * math/w_remainderf.c: Likewise.
68511 * math/w_remainderl.c: Likewise.
68512 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
68513 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
68514 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
68515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
68516 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
68517 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
68518 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
68519 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
68520
68521 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
68522 of the number.
68523 * stdio-common/printf_fphex.c: Likewise.
68524 * stdio-common/printf_size.c: Likewise.
68525
68526 * math/e_exp10.c: Include math_private.h using <...> not "...".
68527 * math/e_exp10f.c: Likewise.
68528 * math/e_exp10l.c: Likewise.
68529 * math/e_exp2l.c: Likewise.
68530 * math/e_j0l.c: Likewise.
68531 * math/e_j1l.c: Likewise.
68532 * math/e_jnl.c: Likewise.
68533 * math/e_lgammal_r.c: Likewise.
68534 * math/e_rem_pio2l.c: Likewise.
68535 * math/e_scalb.c: Likewise.
68536 * math/e_scalbf.c: Likewise.
68537 * math/e_scalbl.c: Likewise.
68538 * math/k_cosl.c: Likewise.
68539 * math/k_sinl.c: Likewise.
68540 * math/k_tanl.c: Likewise.
68541 * math/s_cacoshf.c: Likewise.
68542 * math/s_catan.c: Likewise.
68543 * math/s_catanf.c: Likewise.
68544 * math/s_catanh.c: Likewise.
68545 * math/s_catanhf.c: Likewise.
68546 * math/s_catanhl.c: Likewise.
68547 * math/s_catanl.c: Likewise.
68548 * math/s_ccosh.c: Likewise.
68549 * math/s_ccoshf.c: Likewise.
68550 * math/s_ccoshl.c: Likewise.
68551 * math/s_cexp.c: Likewise.
68552 * math/s_cexpf.c: Likewise.
68553 * math/s_cexpl.c: Likewise.
68554 * math/s_clog.c: Likewise.
68555 * math/s_clog10.c: Likewise.
68556 * math/s_clog10f.c: Likewise.
68557 * math/s_clog10l.c: Likewise.
68558 * math/s_clogf.c: Likewise.
68559 * math/s_clogl.c: Likewise.
68560 * math/s_csin.c: Likewise.
68561 * math/s_csinf.c: Likewise.
68562 * math/s_csinh.c: Likewise.
68563 * math/s_csinhf.c: Likewise.
68564 * math/s_csinhl.c: Likewise.
68565 * math/s_csinl.c: Likewise.
68566 * math/s_csqrt.c: Likewise.
68567 * math/s_csqrtf.c: Likewise.
68568 * math/s_csqrtl.c: Likewise.
68569 * math/s_ctan.c: Likewise.
68570 * math/s_ctanf.c: Likewise.
68571 * math/s_ctanh.c: Likewise.
68572 * math/s_ctanhf.c: Likewise.
68573 * math/s_ctanhl.c: Likewise.
68574 * math/s_ctanl.c: Likewise.
68575 * math/s_ldexp.c: Likewise.
68576 * math/s_ldexpf.c: Likewise.
68577 * math/s_ldexpl.c: Likewise.
68578 * math/s_significand.c: Likewise.
68579 * math/s_significandf.c: Likewise.
68580 * math/s_significandl.c: Likewise.
68581 * math/w_acos.c: Likewise.
68582 * math/w_acosf.c: Likewise.
68583 * math/w_acosh.c: Likewise.
68584 * math/w_acoshf.c: Likewise.
68585 * math/w_acoshl.c: Likewise.
68586 * math/w_acosl.c: Likewise.
68587 * math/w_asin.c: Likewise.
68588 * math/w_asinf.c: Likewise.
68589 * math/w_asinl.c: Likewise.
68590 * math/w_atan2.c: Likewise.
68591 * math/w_atan2f.c: Likewise.
68592 * math/w_atan2l.c: Likewise.
68593 * math/w_atanh.c: Likewise.
68594 * math/w_atanhf.c: Likewise.
68595 * math/w_atanhl.c: Likewise.
68596 * math/w_cosh.c: Likewise.
68597 * math/w_coshf.c: Likewise.
68598 * math/w_coshl.c: Likewise.
68599 * math/w_dremf.c: Likewise.
68600 * math/w_exp10.c: Likewise.
68601 * math/w_exp10f.c: Likewise.
68602 * math/w_exp10l.c: Likewise.
68603 * math/w_exp2.c: Likewise.
68604 * math/w_exp2f.c: Likewise.
68605 * math/w_fmod.c: Likewise.
68606 * math/w_fmodf.c: Likewise.
68607 * math/w_fmodl.c: Likewise.
68608 * math/w_hypot.c: Likewise.
68609 * math/w_hypotf.c: Likewise.
68610 * math/w_hypotl.c: Likewise.
68611 * math/w_j0.c: Likewise.
68612 * math/w_j0f.c: Likewise.
68613 * math/w_j0l.c: Likewise.
68614 * math/w_j1.c: Likewise.
68615 * math/w_j1f.c: Likewise.
68616 * math/w_j1l.c: Likewise.
68617 * math/w_jn.c: Likewise.
68618 * math/w_jnf.c: Likewise.
68619 * math/w_jnl.c: Likewise.
68620 * math/w_lgamma.c: Likewise.
68621 * math/w_lgamma_r.c: Likewise.
68622 * math/w_lgammaf.c: Likewise.
68623 * math/w_lgammaf_r.c: Likewise.
68624 * math/w_lgammal.c: Likewise.
68625 * math/w_lgammal_r.c: Likewise.
68626 * math/w_log.c: Likewise.
68627 * math/w_log10.c: Likewise.
68628 * math/w_log10f.c: Likewise.
68629 * math/w_log10l.c: Likewise.
68630 * math/w_log2.c: Likewise.
68631 * math/w_log2f.c: Likewise.
68632 * math/w_log2l.c: Likewise.
68633 * math/w_logf.c: Likewise.
68634 * math/w_logl.c: Likewise.
68635 * math/w_pow.c: Likewise.
68636 * math/w_powf.c: Likewise.
68637 * math/w_powl.c: Likewise.
68638 * math/w_remainder.c: Likewise.
68639 * math/w_remainderf.c: Likewise.
68640 * math/w_remainderl.c: Likewise.
68641 * math/w_scalb.c: Likewise.
68642 * math/w_scalbf.c: Likewise.
68643 * math/w_scalbl.c: Likewise.
68644 * math/w_sinh.c: Likewise.
68645 * math/w_sinhf.c: Likewise.
68646 * math/w_sinhl.c: Likewise.
68647 * math/w_sqrt.c: Likewise.
68648 * math/w_sqrtf.c: Likewise.
68649 * math/w_sqrtl.c: Likewise.
68650 * math/w_tgamma.c: Likewise.
68651 * math/w_tgammaf.c: Likewise.
68652 * math/w_tgammal.c: Likewise.
68653
68654 * po/ja.po: Update from translation team.
68655
68656 2011-09-29 Andreas Jaeger <aj@suse.de>
68657
68658 [BZ #13179]
68659 * sunrpc/netname.c (netname2host): Fix logic.
68660
68661 [BZ #6779]
68662 [BZ #6783]
68663 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
68664 correctly.
68665 * math/w_remainder.c (__remainder): Likewise.
68666 * math/w_remainderf.c (__remainderf): Likewise.
68667 * math/libm-test.inc (remainder_test): Add test cases.
68668
68669 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68670
68671 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
68672 sdiv_qrnnd.
68673
68674 2011-10-07 Ulrich Drepper <drepper@gmail.com>
68675
68676 * string/test-memcmp.c: Avoid unncessary #defines.
68677 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68678
68679 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68680
68681 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
68682 Use new sse2 version for core i3 - i7 as it's faster
68683 than sse42 version.
68684 (bit_Prefer_PMINUB_for_stringop): New.
68685 * sysdeps/x86_64/rawmemchr.S: Update.
68686 Replace with faster SSE2 version.
68687 * sysdeps/x86_64/memrchr.S: New file.
68688 * sysdeps/x86_64/memchr.S: Update.
68689 Replace with faster SSE2 version.
68690
68691 2011-09-12 Marek Polacek <mpolacek@redhat.com>
68692
68693 * elf/dl-load.c (lose): Add cast to avoid warning.
68694
68695 2011-10-07 Ulrich Drepper <drepper@gmail.com>
68696
68697 * po/ca.po: Update from translation team.
68698
68699 * inet/getnetgrent_r.c: Hook up nscd.
68700 * nscd/Makefile (routines): Add nscd_netgroup.
68701 (nscd-modules): Add netgroupcache.
68702 (CFLAGS-netgroupcache.c): Define.
68703 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
68704 (cache_search): Add const to second parameter.
68705 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
68706 INNETGR.
68707 (dbs): Add netgrdb entry.
68708 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
68709 (verify_persistent_db): Handle netgrdb.
68710 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
68711 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
68712 GETFDNETGR.
68713 (netgroup_response_header): Define.
68714 (innetgroup_response_header): Define.
68715 (datahead): Add netgroup_response_header and innetgroup_response_header
68716 elements.
68717 * nscd/nscd.conf: Add entries for netgroup cache.
68718 * nscd/nscd.h (dbtype): Add netgrdb.
68719 (_PATH_NSCD_NETGROUP_DB): Define.
68720 (netgroup_iov_disabled): Declare.
68721 (xmalloc, xcalloc, xrealloc): Move declarations here.
68722 (cache_search): Adjust prototype.
68723 Add netgroup-related prototypes.
68724 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
68725 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
68726 (__nscd_innetgr): Declare.
68727 * nscd/selinux.c (perms): Use access_vector_t as element type and
68728 add netgroup-related initializers.
68729 * nscd/netgroupcache.c: New file.
68730 * nscd/nscd_netgroup.c: New file.
68731 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
68732 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
68733 For four parameters use innetgr.
68734 * nss/nss_files/files-init.c: Add definition and callback for netgr.
68735 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
68736 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
68737 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
68738
68739 * nscd/connections.c (register_traced_file): Don't register file
68740 for disabled databases.
68741
68742 2011-10-06 Ulrich Drepper <drepper@gmail.com>
68743
68744 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
68745
68746 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
68747 from tree and freeing node.
68748
68749 2011-09-25 Jiri Olsa <jolsa@redhat.com>
68750
68751 * nss/nsswitch.c (__nss_database_lookup): Handle
68752 nss_parse_service_list out of memory case.
68753
68754 2011-09-15 Jiri Olsa <jolsa@redhat.com>
68755
68756 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
68757 out of memory case.
68758
68759 2011-10-04 Andreas Schwab <schwab@redhat.com>
68760
68761 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
68762 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
68763 pass it down.
68764 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
68765 elf_machine_rela, elf_machine_lazy_rel.
68766 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
68767 (ELF_DYNAMIC_DO_REL): Likewise.
68768 (ELF_DYNAMIC_DO_RELA): Likewise.
68769 (ELF_DYNAMIC_RELOCATE): Likewise.
68770 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
68771 to ELF_DYNAMIC_DO_REL.
68772 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
68773 (dl_main): In trace mode always set __RTLD_NOIFUNC.
68774 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
68775 elf_machine_rela.
68776 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
68777 skip_ifunc, don't call ifunc function if non-zero.
68778 (elf_machine_rela): Likewise.
68779 (elf_machine_lazy_rel): Likewise.
68780 (elf_machine_lazy_rela): Likewise.
68781 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
68782 (elf_machine_lazy_rel): Likewise.
68783 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
68784 Likewise.
68785 (elf_machine_lazy_rel): Likewise.
68786 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68787 Likewise.
68788 (elf_machine_lazy_rel): Likewise.
68789 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
68790 (elf_machine_lazy_rel): Likewise.
68791 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
68792 (elf_machine_lazy_rel): Likewise.
68793 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
68794 (elf_machine_lazy_rel): Likewise.
68795 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
68796 (elf_machine_lazy_rel): Likewise.
68797 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
68798 (elf_machine_lazy_rel): Likewise.
68799 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
68800 (elf_machine_lazy_rel): Likewise.
68801
68802 2011-09-28 Ulrich Drepper <drepper@gmail.com>
68803
68804 * nss/nss_files/files-init.c (_nss_files_init): Use static
68805 initialization for all the *_traced_file variables.
68806
68807 2011-09-28 Andreas Schwab <schwab@redhat.com>
68808
68809 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68810
68811 2011-09-27 Roland McGrath <roland@hack.frob.com>
68812
68813 [BZ #13226]
68814 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
68815
68816 2011-09-27 Andreas Schwab <schwab@redhat.com>
68817
68818 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68819 Reread the line before reparsing it.
68820
68821 2011-09-26 Andreas Schwab <schwab@redhat.com>
68822
68823 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
68824
68825 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
68826 Maxim Kuvyrkov <maxim@codesourcery.com>
68827 Joseph Myers <joseph@codesourcery.com>
68828
68829 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
68830 if needed for __stack_chk_guard.
68831
68832 2011-09-19 Roland McGrath <roland@hack.frob.com>
68833
68834 * sysdeps/posix/spawni.c (script_execute): Always define it.
68835 It will be optimized away if unused.
68836 (maybe_script_execute): New function.
68837 (__spawni): Call it.
68838
68839 * Makerules: Don't include tls.make.
68840 (config-tls): Always set to thread.
68841 * tls.make.c: File removed.
68842
68843 2011-09-19 Mike Frysinger <vapier@gentoo.org>
68844
68845 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
68846 * config.make.in (CPPFLAGS-config): New substituted variable.
68847
68848 2011-09-15 Ulrich Drepper <drepper@gmail.com>
68849
68850 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
68851
68852 [BZ #13192]
68853 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
68854 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
68855
68856 2011-09-15 Roland McGrath <roland@hack.frob.com>
68857
68858 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
68859 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
68860 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68861 (CALL_FAIL): Likewise.
68862 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
68863 (CALL_FAIL): Macro removed.
68864 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
68865
68866 2011-09-15 Ulrich Drepper <drepper@gmail.com>
68867
68868 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
68869 for __FINITE_MATH_ONLY__ == 1.
68870
68871 2011-09-15 Andreas Schwab <schwab@redhat.com>
68872
68873 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
68874 __ieee754_sqrt instead of sqrt.
68875 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
68876 __ieee754_sqrtf instead of sqrtf.
68877 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
68878 __floorf instead of floorf.
68879 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
68880 __floorf, __truncf instead of floorf, truncf.
68881
68882 2011-09-14 Ulrich Drepper <drepper@gmail.com>
68883
68884 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
68885
68886 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
68887 __extern_always_inline.
68888 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
68889 32-bit.
68890
68891 2011-09-14 Andreas Schwab <schwab@redhat.com>
68892
68893 * elf/rtld.c (dl_main): Also relocate in dependency order when
68894 doing symbol dependency testing.
68895
68896 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
68897
68898 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68899 Always define `refsym'.
68900
68901 2011-09-13 Andreas Schwab <schwab@redhat.com>
68902
68903 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
68904 (__FD_ELT): Renamed from __FDELT.
68905 * misc/bits/select2.h (__FD_ELT): Likewise.
68906 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
68907 __FD_MASK instead of __FDELT, __FDMASK.
68908 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68909 Likewise.
68910 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68911 Likewise.
68912
68913 * elf/Makefile (gen-ldd): Fix pattern.
68914
68915 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
68916 (init_tls): Likewise.
68917
68918 2011-09-12 Ulrich Drepper <drepper@gmail.com>
68919
68920 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
68921
68922 2011-09-12 Andreas Schwab <schwab@redhat.com>
68923
68924 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
68925 `struct cmsghdr *' instead of `void *'.
68926 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
68927 Likewise.
68928
68929 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
68930
68931 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
68932 if non-absolute.
68933 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
68934 ldd_rewrite_script.
68935
68936 2011-09-11 Ulrich Drepper <drepper@gmail.com>
68937
68938 * configure.in: Remove --with-tls option.
68939 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
68940 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
68941 out in case it is missing.
68942 * sysdeps/ia64/elf/configure.in: Likewise.
68943 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
68944 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
68945 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
68946 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
68947 * sysdeps/sh/elf/configure.in: Likewise.
68948 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
68949 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68950 * sysdeps/x86_64/elf/configure.in: Likewise.
68951 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
68952 * sysdeps/mach/hurd/tls.h: Likewise.
68953
68954 [BZ #13067]
68955 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
68956
68957 [BZ #13090]
68958 * configure.in: Fix use of AC_INIT.
68959
68960 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
68961
68962 2011-09-10 Ulrich Drepper <drepper@gmail.com>
68963
68964 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
68965 __set_errno.
68966 * malloc/hooks.c: Likewise.
68967
68968 [BZ #11929]
68969 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
68970 variables statically.
68971 (narenas): Initialize.
68972 (list_lock): Initialize.
68973 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
68974 initializtion of main_arena and list_lock. Small cleanups.
68975 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
68976 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
68977 Add initializers to main_arena and mp_.
68978 (malloc_state): Remove pagesize member. Change all users to use
68979 GLRO(dl_pagesize).
68980
68981 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
68982 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
68983 is always initialized.
68984
68985 * malloc/malloc.c: Removed unused configurations and dead code.
68986 * malloc/arena.c: Likewise.
68987 * malloc/hooks.c: Likewise.
68988 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
68989
68990 * include/tls.h: Removed. USE___THREAD must always be defined.
68991 * bits/libc-tsd.h: Don't handle !USE___THREAD.
68992 * elf/dl-libc.c: Likewise.
68993 * elf/dl-tsd.c: Likewise.
68994 * include/errno.h: Likewise.
68995 * include/netdb.h: Likewise.
68996 * include/resolv.h: Likewise.
68997 * inet/herrno-loc.c: Likewise.
68998 * inet/herrno.c: Likewise.
68999 * malloc/arena.c: Likewise.
69000 * malloc/hooks.c: Likewise.
69001 * malloc/malloc.c: Likewise.
69002 * resolv/res-state.c: Likewise.
69003 * resolv/res_libc.c: Likewise.
69004 * sysdeps/i386/dl-machine.h: Likewise.
69005 * sysdeps/ia64/dl-machine.h: Likewise.
69006 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
69007 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69008 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
69009 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
69010 * sysdeps/sh/dl-machine.h: Likewise.
69011 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69012 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69013 * sysdeps/unix/i386/sysdep.S: Likewise.
69014 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
69015 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
69016 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
69017 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
69018 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
69019 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
69020 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
69021 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69022 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69023 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
69024 * sysdeps/unix/x86_64/sysdep.S: Likewise.
69025 * sysdeps/x86_64/dl-machine.h: Likewise.
69026 * tls.make.c: Likewise.
69027
69028 * configure.in: Remove --with-__thread option. Make tests for
69029 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
69030 tls_model attribute fail if no support is available. Remove
69031 USE_IN_LIBIO.
69032 * Makeconfig: Adjust for dropped configure option. All features are
69033 now mandatory.
69034 * Makerules: Likewise.
69035 * Versions.def: Likewise.
69036 * argp/argp-fmtstream.c: Likewise.
69037 * argp/argp-fmtstream.h: Likewise.
69038 * argp/argp-help.c: Likewise.
69039 * assert/assert.c: Likewise.
69040 * config.h.in: Likewise.
69041 * config.make.in: Likewise.
69042 * configure: Likewise.
69043 * configure.in: Likewise.
69044 * csu/Versions: Likewise.
69045 * csu/init.c: Likewise.
69046 * elf/tst-audit2.c: Likewise.
69047 * elf/tst-tls10.c: Likewise.
69048 * elf/tst-tls10.h: Likewise.
69049 * elf/tst-tls11.c: Likewise.
69050 * elf/tst-tls12.c: Likewise.
69051 * elf/tst-tls14.c: Likewise.
69052 * elf/tst-tlsmod11.c: Likewise.
69053 * elf/tst-tlsmod12.c: Likewise.
69054 * elf/tst-tlsmod13.c: Likewise.
69055 * elf/tst-tlsmod13a.c: Likewise.
69056 * elf/tst-tlsmod14a.c: Likewise.
69057 * elf/tst-tlsmod15b.c: Likewise.
69058 * elf/tst-tlsmod16a.c: Likewise.
69059 * elf/tst-tlsmod16b.c: Likewise.
69060 * elf/tst-tlsmod7.c: Likewise.
69061 * elf/tst-tlsmod8.c: Likewise.
69062 * elf/tst-tlsmod9.c: Likewise.
69063 * gmon/gmon.c: Likewise.
69064 * grp/fgetgrent_r.c: Likewise.
69065 * grp/putgrent.c: Likewise.
69066 * hurd/fopenport.c: Likewise.
69067 * include/libc-symbols.h: Likewise.
69068 * include/tls.h: Likewise.
69069 * intl/gettextP.h: Likewise.
69070 * intl/loadinfo.h: Likewise.
69071 * locale/global-locale.c: Likewise.
69072 * locale/localeinfo.h: Likewise.
69073 * mach/devstream.c: Likewise.
69074 * malloc/arena.c: Likewise.
69075 * malloc/set-freeres.c: Likewise.
69076 * misc/err.c: Likewise.
69077 * misc/getttyent.c: Likewise.
69078 * misc/mntent_r.c: Likewise.
69079 * posix/getopt.c: Likewise.
69080 * posix/wordexp.c: Likewise.
69081 * pwd/fgetpwent_r.c: Likewise.
69082 * resolv/Versions: Likewise.
69083 * resolv/res_hconf.c: Likewise.
69084 * shadow/fgetspent_r.c: Likewise.
69085 * shadow/putspent.c: Likewise.
69086 * stdio-common/printf_fphex.c: Likewise.
69087 * stdio-common/tmpfile.c: Likewise.
69088 * stdlib/abort.c: Likewise.
69089 * stdlib/fmtmsg.c: Likewise.
69090 * sunrpc/auth_unix.c: Likewise.
69091 * sunrpc/clnt_perr.c: Likewise.
69092 * sunrpc/clnt_tcp.c: Likewise.
69093 * sunrpc/clnt_udp.c: Likewise.
69094 * sunrpc/clnt_unix.c: Likewise.
69095 * sunrpc/openchild.c: Likewise.
69096 * sunrpc/svc_simple.c: Likewise.
69097 * sunrpc/svc_tcp.c: Likewise.
69098 * sunrpc/svc_udp.c: Likewise.
69099 * sunrpc/svc_unix.c: Likewise.
69100 * sunrpc/xdr.c: Likewise.
69101 * sunrpc/xdr_array.c: Likewise.
69102 * sunrpc/xdr_rec.c: Likewise.
69103 * sunrpc/xdr_ref.c: Likewise.
69104 * sunrpc/xdr_stdio.c: Likewise.
69105
69106 2011-09-09 Ulrich Drepper <drepper@gmail.com>
69107
69108 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69109
69110 2011-07-03 Andreas Jaeger <aj@suse.de>
69111
69112 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
69113 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
69114 regenerate with gen-libm-tests.pl.
69115
69116 2010-05-12 Petr Baudis <pasky@suse.cz>
69117
69118 [BZ #11589]
69119 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
69120 around j0() zero points by switching to j1().
69121 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69122 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69123 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69124 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69125
69126 2011-09-09 Ulrich Drepper <drepper@gmail.com>
69127
69128 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
69129 instead of 0.
69130 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
69131 instead of 0.
69132 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69133 Patch in part by Pavel Roskin <proski@gnu.org>.
69134
69135 [BZ #13138]
69136 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
69137 realloc.
69138 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
69139 Free memory block if necessary.
69140
69141 [BZ #12847]
69142 * libio/genops.c (INTDEF): For string streams the _lock pointer can
69143 be NULL. Don't lock in this case.
69144
69145 2011-09-09 Roland McGrath <roland@hack.frob.com>
69146
69147 * elf/elf.h (ELFOSABI_GNU): New macro.
69148 (ELFOSABI_LINUX): Define to that.
69149
69150 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
69151
69152 * string/strncat.c (strncat): Undef the symbol in case it has been
69153 defined in bits/string.h.
69154
69155 2011-09-09 Ulrich Drepper <drepper@gmail.com>
69156
69157 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
69158
69159 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
69160 link map.
69161
69162 2011-08-17 Andreas Jaeger <aj@suse.de>
69163
69164 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
69165
69166 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
69167 Ian Lance Taylor <iant@google.com>
69168
69169 * math/libm-test.inc (lround_test): New testcase.
69170 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
69171
69172 2011-09-08 Ulrich Drepper <drepper@gmail.com>
69173
69174 * Makefile: Remove support for automatic cvs check-ins.
69175 * Makerules: Likewise.
69176 * config.make.in: Likewise.
69177 * configure.in: Likewise.
69178 * intl/Makefile: Likewise.
69179 * locale/Makefile: Likewise.
69180 * po/Makefile: Likewise.
69181 * posix/Makefile: Likewise.
69182 * sysdeps/gnu/Makefile: Likewise.
69183 * sysdeps/mach/hurd/Makefile: Likewise.
69184 * sysdeps/sparc/sparc32/Makefile: Likewise.
69185
69186 [BZ #13118]
69187 * posix/Makefile (bug-regex32-ENV): Define.
69188 Patch by John Stanley <jpsinthemix@verizon.net>.
69189
69190 * misc/Makefile (headers): Add bits/select2.h.
69191 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
69192 * misc/bits/select2.h: New file.
69193 * include/bits/select2.h: New file.
69194 * debug/Makefile (routines): Add fdelt_chk.
69195 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
69196 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
69197 FD_ISSET.
69198 * debug/fdelt_chk.c: New file.
69199
69200 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
69201 * wcsmbs/test-wmemcmp.c: Likewise.
69202 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
69203 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
69204
69205 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69206
69207 * string/Makefile (strop-tests): Add memcmp.
69208 * string/test-wmemcmp.c: New file.
69209 * string/test-memcmp.c: Add wmemcmp support.
69210
69211 2011-09-08 Roland McGrath <roland@hack.frob.com>
69212
69213 [BZ #13153]
69214 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
69215 2011-07-19 change.
69216
69217 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
69218 garbage value in a __mach_port_mod_refs call in the cases of the
69219 task-self and thread-self ports.
69220
69221 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
69222
69223 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
69224
69225 2011-09-08 Andreas Schwab <schwab@redhat.com>
69226
69227 * elf/dl-load.c (lose): Check for non-null L.
69228
69229 2011-09-07 Ulrich Drepper <drepper@gmail.com>
69230
69231 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
69232
69233 * elf/dl-libc.c (dlerror_run): Pass back error code from
69234 dl_catch_error.
69235
69236 [BZ #13123]
69237 * elf/dl-load.c (lose): Free l_origin if it is valid.
69238
69239 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
69240 names.
69241 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
69242 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69243 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69244 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69245 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
69246 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
69247
69248 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69249
69250 * sysdeps/powerpc/fpu/e_hypot.c: New file.
69251 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
69252 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
69253 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
69254 * sysdeps/powerpc/fpu/k_cosf.c: New file.
69255 * sysdeps/powerpc/fpu/k_sinf.c: New file.
69256 * sysdeps/powerpc/fpu/s_cosf.c: New file.
69257 * sysdeps/powerpc/fpu/s_sinf.c: New file.
69258 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
69259 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
69260
69261 2011-08-15 Alan Modra <amodra@gmail.com>
69262
69263 [BZ #13092]
69264 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
69265 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
69266 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
69267 ppc_mcount to static-only-routines.
69268 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
69269 __mcount_internal.
69270 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
69271 __mcount_internal with usual JUMPTARGET. Remove useless nop.
69272
69273 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
69274
69275 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
69276 for finite and infinity parameters.
69277
69278 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
69279
69280 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
69281 and add nop instructions for throughput optimization.
69282 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69283
69284 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
69285
69286 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
69287 aligned copy for power7 with vector-scalar instructions.
69288 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
69289
69290 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
69291
69292 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
69293 AVX check.
69294
69295 2011-09-07 Andreas Schwab <schwab@redhat.com>
69296
69297 [BZ #13144]
69298 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
69299 last change.
69300
69301 2011-09-07 Ulrich Drepper <drepper@gmail.com>
69302
69303 * sysdeps/unix/sysv/linux/x86_64/init-first.c
69304 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
69305 syscall wrapper around clock_gettime in __vdso_clock_gettime.
69306 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
69307 clock_gettime.
69308
69309 2011-09-06 Ulrich Drepper <drepper@gmail.com>
69310
69311 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
69312 Forgot to demangle the pointer.
69313
69314 * sysdeps/i386/sysdep.h: Define atom_text_section.
69315 * sysdeps/x86_64/sysdep.h: Likewise.
69316 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
69317 section with atom_text_section.
69318 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69319 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69320 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
69321 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69322 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
69323
69324 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
69325 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
69326 already be defined. Change to take two parameters and don't assign
69327 result to variable. Adjust all users.
69328 Define INTERNAL_GETTIME if not already defined.
69329 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
69330 call.
69331 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
69332 HAVE_CLOCK_GETTIME_VSYSCALL.
69333 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
69334
69335 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
69336 gettimeofday vsyscall, just use time.
69337
69338 2011-09-06 Andreas Schwab <schwab@redhat.com>
69339
69340 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
69341 <errno.h>.
69342
69343 2011-09-06 Ulrich Drepper <drepper@gmail.com>
69344
69345 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
69346 syscall on x86-64.
69347 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
69348 syscall.
69349 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
69350 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
69351 syscall if possible.
69352
69353 2011-09-05 Ulrich Drepper <drepper@gmail.com>
69354
69355 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
69356 e_ident. Don't pass to find_mapsXX.
69357 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
69358
69359 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69360
69361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69362 strchr-sse2-no-bsf strrchr-sse2-no-bsf
69363 * sysdeps/x86_64/multiarch/strchr.S: Update.
69364 Check bit_slow_BSF bit.
69365 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69366 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
69367 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
69368
69369 2011-09-05 Ulrich Drepper <drepper@gmail.com>
69370
69371 [BZ #13134]
69372 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
69373 before glibc 2.15.
69374 (tryshell): Define.
69375 (__spawni): Change last parameter to be flag. Test
69376 SPAWN_XFLAGS_USE_PATH flag to use path or not.
69377 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
69378 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
69379 * posix/spawni.c: Likewise.
69380 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
69381 * posix/spawnp.c: Likewise. Change normal version to use
69382 SPAWN_XFLAGS_USE_PATH.
69383 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
69384 SPAWN_XFLAGS_TRY_SHELL.
69385
69386 [BZ #13150]
69387 * posix/glob.h: Remove gcc 1.x support.
69388
69389 [BZ #13068]
69390 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
69391
69392 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69393
69394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69395 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
69396 strrchr-sse2-bsf
69397 * sysdeps/i386/i686/multiarch/strchr.S: New file.
69398 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
69399 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
69400 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
69401 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
69402 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
69403
69404 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69405
69406 * sysdeps/x86_64/wcscmp.S: New file.
69407
69408 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
69409 wcscmp-c wcscmp-sse2
69410 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
69411 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
69412 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
69413 * wcsmbs/wcscmp.c: Allow renaming.
69414
69415 2011-09-05 David S. Miller <davem@davemloft.net>
69416
69417 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
69418 stack slot, rather than the struct return pointer slot.
69419 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
69420 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
69421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
69422 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
69423
69424 2011-09-05 Ulrich Drepper <drepper@gmail.com>
69425
69426 * po/ja.po: Update from translation team.
69427
69428 [BZ #13144]
69429 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
69430 kernel in 64-bit binaries.
69431
69432 2011-09-01 David S. Miller <davem@davemloft.net>
69433
69434 * elf/elf.h (HWCAP_SPARC_*): Move to..
69435 * sysdeps/sparc/sysdep.h: this new file and add new values.
69436 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
69437 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
69438 _DL_HWCAP_COUNT to 24.
69439 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69440 entries.
69441 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
69442 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
69443 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
69444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
69445 instead of magic constants.
69446 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69447
69448 2011-08-31 David S. Miller <davem@davemloft.net>
69449
69450 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
69451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
69452 Reimplement to do errno handling inline.
69453 (SYSCALL_ERROR_HANDLER): New macro.
69454 (__SYSCALL_STRING): Do not do errno handling in asm.
69455 (__CLONE_SYSCALL_STRING): Delete.
69456 (__INTERNAL_SYSCALL_STRING): Delete.
69457 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
69458 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
69459 (PSEUDO): Reimplement to do errno handling inline.
69460 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
69461 (SYSCALL_ERROR_HANDLER): New macro.
69462 (__SYSCALL_STRING): Do not do errno handling in asm.
69463 (__CLONE_SYSCALL_STRING): Delete.
69464 (__INTERNAL_SYSCALL_STRING): Delete.
69465 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
69466 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
69467 i386.
69468 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
69469 (inline_syscall*): Add 'err' argument.
69470 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
69471 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
69472 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
69473 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
69474
69475 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
69476 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69477
69478 2011-08-30 Andreas Schwab <schwab@redhat.com>
69479
69480 * elf/rtld.c (dl_main): Relocate objects in dependency order.
69481
69482 2011-08-29 Jiri Olsa <jolsa@redhat.com>
69483
69484 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
69485 directive.
69486
69487 2011-08-24 David S. Miller <davem@davemloft.net>
69488
69489 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
69490
69491 2011-08-24 Andreas Schwab <schwab@redhat.com>
69492
69493 * elf/Makefile: Add rules to build and run unload8 test.
69494 * elf/unload8.c: New file.
69495 * elf/unload8mod1.c: New file.
69496 * elf/unload8mod1x.c: New file.
69497 * elf/unload8mod2.c: New file.
69498 * elf/unload8mod3.c: New file.
69499
69500 * elf/dl-close.c (_dl_close_worker): Reset private search list if
69501 it wasn't used.
69502
69503 2011-08-23 David S. Miller <davem@davemloft.net>
69504
69505 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
69506 subtract stack bias.
69507 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
69508 %sp not %fp in calculations.
69509 (_JMPBUF_UNWINDS_ADJ): Likewise.
69510
69511 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
69512 (aio_suspend): Call it to force an exception region around the
69513 AIO_MISC_WAIT() invocation.
69514
69515 2011-08-23 Andreas Schwab <schwab@redhat.com>
69516
69517 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
69518 backslash.
69519
69520 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
69521
69522 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
69523 protection macro.
69524 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
69525 and <dl-machine.h>.
69526 (Elf64_FuncDesc): Remove.
69527
69528 2011-08-22 David S. Miller <davem@davemloft.net>
69529
69530 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
69531 sigaltstack check, add missing cfi directives.
69532 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
69533 missing cfi directives, and sigaltstack handling.
69534
69535 2011-08-16 Andreas Schwab <schwab@redhat.com>
69536
69537 [BZ #11724]
69538 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
69539 object is seen twice.
69540 * elf/dl-fini.c (_dl_sort_fini): Likewise.
69541
69542 * elf/Makefile (distribute): Add tst-initorder2.c.
69543 (tests): Add tst-initorder2.
69544 (modules-names): Add tst-initorder2a tst-initorder2b
69545 tst-initorder2c tst-initorder2d. Add rules to build them.
69546 ($(objpfx)tst-initorder2.out): New rule.
69547 * elf/tst-initorder2.c: New file.
69548 * elf/tst-initorder2.exp: New file.
69549
69550 2011-08-22 Andreas Schwab <schwab@redhat.com>
69551
69552 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
69553
69554 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
69555 dependencies back to end of function.
69556
69557 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
69558 $(elfobjdir)/ld.so.
69559
69560 2011-08-21 Ulrich Drepper <drepper@gmail.com>
69561
69562 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
69563 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
69564 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
69565 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
69566 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
69567 of __vdso_gettimeofday.
69568 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
69569 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
69570 attribute_hidden.
69571 (_libc_vdso_platform_setup): Remove initialization of
69572 __vdso_gettimeofday and __vdso_time.
69573
69574 2011-08-20 Ulrich Drepper <drepper@gmail.com>
69575
69576 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
69577 and fgetc_unlocked.
69578 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
69579 getc_unlocked.
69580
69581 * elf/dl-open.c (add_to_global): Report additions to the global scope
69582 for LD_DEBUG=scopes.
69583 (dl_open_worker): Also print scope of newly loaded dependencies.
69584 (_dl_show_scope): Indicate if there is no scope.
69585
69586 [BZ #13114]
69587 * stdio-common/Makefile (tests): Add bug24.
69588 * stdio-common/bug24.c: New file.
69589
69590 2011-08-19 Andreas Jaeger <aj@suse.de>
69591
69592 [BZ #13114]
69593 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
69594 non-existant file when using close-on-exec mode.
69595
69596 2011-08-20 Ulrich Drepper <drepper@gmail.com>
69597
69598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
69599 the very first instruction.
69600
69601 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
69602 the CFI state in the end.
69603 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
69604 inclusion of dl-trampoline.h.
69605 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
69606
69607 2011-08-19 Andreas Schwab <schwab@redhat.com>
69608
69609 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
69610 expectations for long double.
69611
69612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
69613 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
69614
69615 2011-08-14 David S. Miller <davem@davemloft.net>
69616
69617 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
69618 artificual limit depends upon the system page size.
69619
69620 2011-08-17 Ulrich Drepper <drepper@gmail.com>
69621
69622 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
69623 * resolv/Makefile: Define CFLAGS-libresolv.
69624
69625 2011-08-17 Andreas Schwab <schwab@redhat.com>
69626
69627 * nss/makedb.c (compute_tables): Make variables used in nested
69628 function static.
69629
69630 2011-08-17 Ulrich Drepper <drepper@gmail.com>
69631
69632 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
69633 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
69634 if buffer was too small.
69635
69636 * elf/pldd.c (main): Attach to all threads in the process.
69637 Rewrite /proc handling to use *at functions.
69638
69639 2011-08-16 Ulrich Drepper <drepper@gmail.com>
69640
69641 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
69642 specifies first scope to show.
69643 (dl_open_worker): Update callers. Move printing scope of new
69644 object to before the relocation.
69645 * elf/rtld.c (dl_main): Update _dl_show_scope call.
69646 * sysdeps/generic/ldsodefs.h: Update declaration.
69647
69648 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
69649 string for the scope number.
69650
69651 2011-08-14 Ulrich Drepper <drepper@gmail.com>
69652
69653 * nscd/servicescache.c (cache_addserv): Make sure written is always
69654 initialized.
69655
69656 2011-08-14 Roland McGrath <roland@hack.frob.com>
69657
69658 * sysdeps/i386/i486/bits/atomic.h
69659 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
69660 statement expression, so as to suppress "set but not used" warning.
69661 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
69662
69663 * string/strncat.c (STRNCAT): Use prototype definition.
69664
69665 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
69666 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
69667 -Iprograms here.
69668 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
69669 (localedef-modules): Add localedef.
69670 (locale-modules): Add locale.
69671
69672 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
69673 * elf/rtld.c (dl_main): Invert order of assignment in last change,
69674 to avoid a warning.
69675
69676 2011-08-14 David S. Miller <davem@davemloft.net>
69677
69678 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
69679 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
69680
69681 2011-08-13 Ulrich Drepper <drepper@gmail.com>
69682
69683 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
69684 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
69685 * elf/rtld.c (dl_main): Set l_name of vDSO.
69686 Call _dl_show_scope when DL_DEBUG_SCOPES.
69687 (process_dl_debug): Recognize scopes flag and also set it for all.
69688 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
69689 Declare _dl_show_scope.
69690
69691 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
69692 (do_dlopen): Pass caller_dlopen to dl_open.
69693 (__libc_dlopen_mode): Initialize caller_dlopen.
69694
69695 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
69696 of libc. Make tolower call locale-independent. Optimize a bit by
69697 using isdigit instead of isalnum.
69698 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
69699
69700 2011-08-12 Ulrich Drepper <drepper@gmail.com>
69701
69702 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
69703 was a dependency or dynamically loaded.
69704
69705 2011-08-11 Ulrich Drepper <drepper@gmail.com>
69706
69707 * intl/l10nflist.c: Allow architecture-specific pop function.
69708 * sysdeps/x86_64/l10nflist.c: New file.
69709
69710 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
69711 classification.
69712
69713 2011-08-10 Andreas Schwab <schwab@redhat.com>
69714
69715 * include/dirent.h: Add libc_hidden_proto for scandirat and
69716 scandirat64. Don't declare __scandirat64.
69717 * dirent/scandirat.c: Add libc_hidden_def.
69718 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
69719 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
69720
69721 2011-08-10 David S. Miller <davem@davemloft.net>
69722
69723 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
69724 enum.
69725 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69726 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69727 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69728
69729 2011-08-09 Ulrich Drepper <drepper@gmail.com>
69730
69731 * Versions.def [libc]: Add GLIBC_2.15.
69732 * dirent/Makefile (routines): Add scandirat and scandirat64.
69733 * dirent/Versions [libc]: Export scandirat and scandirat64 for
69734 GLIBC_2.15.
69735 * dirent/dirent.h: Declare scandirat and scandirat64.
69736 * dirent/scandirat.c: New file.
69737 * dirent/scandirat64.c: New file.
69738 * sysdeps/wordsize-64/scandirat.c: New file.
69739 * sysdeps/wordsize-64/scandirat64.c: New file.
69740 * dirent/opendir.c: Define opendirat.
69741 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
69742 using scandirat.
69743 * dirent/scandir64.c: Adjust for scandir.c change.
69744 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
69745 __scandirat64, and __scandir_cancel_handler.
69746 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
69747 additional parameter and use openat instead of open (outside of ld.so).
69748 Add new __opendir as wrapper around __opendirat.
69749 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
69750 here without requiring old scandirat implementation.
69751
69752 2011-08-08 Ulrich Drepper <drepper@gmail.com>
69753
69754 * dirent/scandir.c (cancel_handler): Renamed to
69755 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
69756 defined. Adjust users.
69757 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
69758 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
69759
69760 2011-08-04 Ulrich Drepper <drepper@gmail.com>
69761
69762 * string/test-string.h (IMPL): Use __STRING to expand name and then
69763 stringify it.
69764
69765 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
69766 of cleanups.
69767
69768 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69769
69770 * string/Makefile: Update.
69771 (strop-tests): Append strncat.
69772 * string/test-wcscmp.c: New file.
69773 New comprehensive test for wcscmp.
69774 * string/test-strcmp.c: Update.
69775 (WIDE): New define.
69776
69777 2011-07-22 Andreas Schwab <schwab@redhat.com>
69778
69779 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
69780 line.
69781
69782 2011-07-26 Andreas Schwab <schwab@redhat.com>
69783
69784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69785 encoding to ACE if AI_IDN.
69786
69787 2011-08-01 Jakub Jelinek <jakub@redhat.com>
69788
69789 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
69790 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
69791
69792 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69793
69794 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
69795 Fix overflow bug in strncat.
69796 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
69797
69798 * string/test-strncat.c: Update.
69799 Add new tests for checking overflow bugs.
69800
69801 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69802
69803 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69804 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
69805 * sysdeps/i386/i686/multiarch/strcat.S: New file.
69806 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
69807 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
69808 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
69809 * sysdeps/i386/i686/multiarch/strncat.S: New file.
69810 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
69811 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
69812
69813 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
69814 (USE_AS_STRCAT): Define.
69815 Add strcat and strncat support.
69816 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69817
69818 2011-07-25 Andreas Schwab <schwab@redhat.com>
69819
69820 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
69821 __n bigger than INT_MAX+1.
69822 (__strncmp_g): Likewise.
69823
69824 2011-07-23 Ulrich Drepper <drepper@gmail.com>
69825
69826 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
69827 * libio/stido.h: Likewise.
69828
69829 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
69830 (AF_NFC): Define.
69831 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
69832 (AF_NFC): Define.
69833
69834 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
69835 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69836 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69837 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
69838 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69839
69840 [BZ #13021]
69841 * scripts/test-installation.pl: Don't expect libnss_test1 to be
69842 installed.
69843
69844 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
69845 typo.
69846 (_dl_x86_64_save_sse): Likewise.
69847
69848 2011-07-22 Ulrich Drepper <drepper@gmail.com>
69849
69850 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
69851 OSXSAVE.
69852 (_dl_x86_64_save_sse): Likewise.
69853
69854 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
69855
69856 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
69857
69858 2011-07-21 Andreas Schwab <schwab@redhat.com>
69859
69860 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
69861 change.
69862 (_dl_x86_64_save_sse): Use correct AVX check.
69863
69864 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69865
69866 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
69867 bug in strncpy/strncat.
69868 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
69869
69870 2011-07-21 Ulrich Drepper <drepper@gmail.com>
69871
69872 * string/tester.c (test_strcat): Add tests for different alignments
69873 of source and destination.
69874 (test_strncat): Likewise.
69875
69876 2011-07-20 Ulrich Drepper <drepper@gmail.com>
69877
69878 [BZ #12852]
69879 * posix/glob.c (glob): Check passed in values before using them in
69880 expressions to avoid some overflows.
69881 (glob_in_dir): Likewise.
69882
69883 [BZ #13007]
69884 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
69885 check for AVX enablement so that we don't crash with old kernels and
69886 new hardware.
69887 * elf/tst-audit4.c: Add same checks here.
69888 * elf/tst-audit6.c: Likewise.
69889
69890 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
69891
69892 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
69893
69894 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
69895
69896 2011-07-20 Ulrich Drepper <drepper@gmail.com>
69897
69898 * po/cs.po: Update from translation team.
69899 * po/bg.po: Likewise.
69900
69901 2011-07-12 Marek Polacek <mpolacek@redhat.com>
69902
69903 * misc/sys/cdefs.h: Add support for const attribute.
69904 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
69905 to gnu_dev_{major,minor,makedev} functions.
69906
69907 2011-07-20 Marek Polacek <mpolacek@redhat.com>
69908
69909 * intl/dcigettext.c (get_output_charset): Add missing bracket.
69910
69911 2011-07-20 Andreas Schwab <schwab@redhat.com>
69912
69913 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
69914 strlen results.
69915
69916 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69917
69918 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
69919 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
69920 register in order to avoid conflicts with the soft frame pointer
69921 being held in r11 when necessary.
69922 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
69923 (INTERNAL_VSYSCALL_NCS): Likewise.
69924
69925 2011-07-14 Marek Polacek <mpolacek@redhat.com>
69926
69927 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
69928 * elf/dl-fini.c (_dl_fini): Adjust caller.
69929 * elf/dl-close.c (_dl_close_worker): Likewise.
69930 * sysdeps/generic/ldsodefs.h: Adjust declaration.
69931
69932 2011-07-15 Marek Polacek <mpolacek@redhat.com>
69933
69934 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
69935 "aux_cache->nlibs < 0".
69936
69937 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
69938 in the reload-count case.
69939
69940 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69941
69942 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69943 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
69944 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
69945 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
69946 * sysdeps/x86_64/multiarch/strcat.S: New file.
69947 * sysdeps/x86_64/multiarch/strncat.S: New file.
69948 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
69949 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
69950 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
69951 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
69952 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
69953 (USE_AS_STRCAT): Define.
69954 Add strcat and strncat support.
69955 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69956 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
69957 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
69958 * string/strncat.c: Update.
69959 (USE_AS_STRNCAT): Define.
69960 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69961 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
69962 and i7.
69963 * sysdeps/x86_64/multiarch/init-arch.h
69964 (bit_Prefer_PMINUB_for_stringop): New.
69965 (index_Prefer_PMINUB_for_stringop): Likewise.
69966 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
69967 bit_Prefer_PMINUB_for_stringop.
69968
69969 2011-07-19 Ulrich Drepper <drepper@gmail.com>
69970
69971 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
69972 buffer64.
69973 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
69974 of casting of buffer.
69975 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
69976 buffer32 and buffer64.
69977 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
69978 writes instead of casting of buffer.
69979 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
69980 buffer32.
69981 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
69982 casting of buffer.
69983
69984 2011-07-19 Andreas Schwab <schwab@redhat.com>
69985
69986 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
69987
69988 2011-07-19 Ulrich Drepper <drepper@gmail.com>
69989
69990 * nscd/nscd.c (termination_handler): Don't do anything for a database
69991 if it has not yet been initialized.
69992
69993 2011-07-18 Ulrich Drepper <drepper@gmail.com>
69994
69995 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69996
69997 2011-07-15 Marek Polacek <mpolacek@redhat.com>
69998
69999 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70000
70001 2011-07-18 Ulrich Drepper <drepper@gmail.com>
70002
70003 * po/nl.po: Update from translation team.
70004 * po/sv.po: Likewise.
70005
70006 2011-07-16 Roland McGrath <roland@hack.frob.com>
70007
70008 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
70009 now disallowed by GCC.
70010
70011 * configure.in (use-default-link): Default to yes if a test -shared
70012 link meets our qualifications.
70013 * configure: Regenerated.
70014
70015 * config.make.in (output-format): New variable.
70016 * configure.in: Check for ld --print-output-format support.
70017 * configure: Regenerated.
70018 * Makerules ($(common-objpfx)format.lds)
70019 [$(output-format) != unknown]: Just use $(output-format),
70020 instead of the linker-script munging.
70021
70022 2011-07-14 Roland McGrath <roland@hack.frob.com>
70023
70024 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
70025 of $(common-objpfx)shlib.lds.
70026 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
70027
70028 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
70029 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
70030
70031 * configure.in (-z relro check): Adjust test code to add a large
70032 writable data section after it.
70033 * configure: Regenerated.
70034
70035 2011-07-11 Roland McGrath <roland@hack.frob.com>
70036
70037 * configure.in (-z relro check): Fix test code to make the variable
70038 truly const.
70039 * configure: Regenerated.
70040
70041 2011-07-11 Ulrich Drepper <drepper@gmail.com>
70042
70043 * nscd/nscd.h (struct traced_file): Define.
70044 (struct database_dyn): Remove inotify_descr, reset_res, and filename
70045 elements. Add traced_files.
70046 (inotify_fd): Declare.
70047 (register_traced_file): Declare.
70048 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
70049 (inotify_fd): Export.
70050 (resolv_conf_descr): Remove.
70051 (nscd_init): Move inotify descriptor creation to main.
70052 Don't register files for notification here.
70053 (register_traced_file): New function.
70054 (invalidate_cache): Don't use reset_res to determine whether to call
70055 res_init, go through the list of registered files.
70056 (main_loop_poll): The inotify descriptors are now stored in the
70057 structures for the traced files.
70058 (main_loop_epoll): Likewise.
70059 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
70060 to __nss_disable_nscd.
70061 * nscd/cache.c (prune_cache): There is no single inotify descriptor
70062 for a database anymore. Check the records for all the registered
70063 files instead.
70064 * nss/Makefile (libnss_files-routines): Add files-init.
70065 (libnss_db-routines): Add db-init.
70066 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
70067 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
70068 * nss/nss_db/db-init.c: New file.
70069 * nss/nss_files/files-init.c: New file.
70070 * nss/nsswitch.c (nss_load_library): New function. Broken out of
70071 __nss_lookup_function.
70072 (__nss_lookup_function): Call nss_load_library.
70073 (nss_load_all_libraries): New function.
70074 (__nss_disable_nscd): Take parameter with callback function for files
70075 to register. Set is_nscd. Load all the DSOs for the NSS modules
70076 used for the cached services.
70077 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
70078 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
70079 options for features to all the files in nscd.
70080
70081 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
70082
70083 2011-07-10 Roland McGrath <roland@hack.frob.com>
70084
70085 * csu/elf-init.c (__libc_csu_init): Comment typo.
70086
70087 2011-07-09 Ulrich Drepper <drepper@gmail.com>
70088
70089 * po/pl.po: Update from translation team.
70090 * po/ja.po: Likewise.
70091 * po/ru.po: Likewise.
70092 * po/ko.po: Likewise.
70093 * po/fr.po: Likewise.
70094
70095 2011-07-09 Roland McGrath <roland@hack.frob.com>
70096
70097 * configure.in (.ctors/.dtors header and trailer check):
70098 Use an empirical test on a built program.
70099 * configure: Regenerated.
70100
70101 * configure.in (-z relro check): Use an empirical test on a built DSO.
70102 Detect, but do not require, on ia64.
70103 * configure: Regenerated.
70104
70105 * configure.in (READELF): Find it with AC_CHECK_TOOL.
70106 Update tests that use readelf to use $READELF instead.
70107 * configure: Regenerated.
70108
70109 2011-07-08 Ulrich Drepper <drepper@gmail.com>
70110
70111 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
70112 if the result is not used.
70113
70114 2011-07-05 Andreas Jaeger <aj@suse.de>
70115
70116 [BZ#9696]
70117 * stdlib/tst-strtod.c: Add testcase.
70118
70119 2011-07-07 Ulrich Drepper <drepper@gmail.com>
70120
70121 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
70122 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
70123 The latter has a higher limit. Take additional parameter to pass to
70124 the new function.
70125 (__pathconf): Pass file to __statfs_link_max.
70126 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
70127 __statfs_link_max.
70128 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
70129 __statfs_link_max.
70130
70131 [BZ #12868]
70132 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
70133 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70134 Handle Lustre.
70135 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
70136 (__statfs_filesize_max): Likewise.
70137 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
70138
70139 2011-07-05 Andreas Jaeger <aj@suse.de>
70140
70141 * resolv/res_comp.c (dn_skipname): Remove unused variable.
70142
70143 2011-07-06 Marek Polacek <mpolacek@redhat.com>
70144
70145 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
70146 `status' variable.
70147 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
70148 Likewise.
70149
70150 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
70151
70152 * Makefile (strop-tests): Add strncat.
70153 * string/test-strncat.c: New file.
70154
70155 2011-06-30 Marek Polacek <mpolacek@redhat.com>
70156
70157 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
70158
70159 2011-06-21 Andreas Jaeger <aj@suse.de>
70160
70161 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
70162 Copy rule from iconvdata/Makefile.
70163
70164 2011-07-06 Ulrich Drepper <drepper@gmail.com>
70165
70166 [BZ #12922]
70167 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
70168 but no long options are defined, just return 'W'.
70169
70170 2011-06-22 Marek Polacek <mpolacek@redhat.com>
70171
70172 [BZ #9696]
70173 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
70174
70175 2011-07-06 Ulrich Drepper <drepper@gmail.com>
70176
70177 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
70178 netgroups to read.
70179 (innetgr): Likewise.
70180
70181 2011-07-05 Roland McGrath <roland@hack.frob.com>
70182
70183 * config.make.in (install_root): Default to $(DESTDIR).
70184
70185 2011-07-05 Ulrich Drepper <drepper@gmail.com>
70186
70187 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
70188
70189 2011-07-02 Roland McGrath <roland@hack.frob.com>
70190
70191 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
70192
70193 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
70194 containing directory rather than embedding absolute directory names.
70195
70196 * scripts/check-local-headers.sh: Rewritten using awk.
70197 Match by word, not by line. Print error messages for matches.
70198 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
70199
70200 * Makerules [shlib-lds-flags empty]:
70201 ($(common-objpfx)libc_pic.opts): New target.
70202 ($(common-objpfx)libc_pic.os.clean): New target.
70203 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
70204
70205 * config.make.in (OBJCOPY): New variable.
70206 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
70207 * configure: Regenerated.
70208
70209 * config.make.in (use-default-link): New variable.
70210 * configure.in (use_default_link): Grok --with-default-link to set it.
70211 * configure: Regenerated.
70212 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
70213 (shlib-lds, shlib-lds-flags): Define to empty.
70214
70215 * Makerules (shlib-lds): New variable.
70216 (shlib-lds-flags): New variable.
70217 (build-shlib, build-moduile, build-module-asneeded): Use it.
70218 ($(common-objpfx)libc.so): Use $(shlib-lds).
70219 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
70220 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
70221
70222 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
70223 DT_FLAGS/DT_FLAGS_1 with zero flags.
70224
70225 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
70226 linker script munging.
70227
70228 2011-07-02 Ulrich Drepper <drepper@gmail.com>
70229
70230 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
70231 as 128-bit value.
70232 * crypt/sha512.c (sha512_process_block): Perform total addition using
70233 128-bit if possible.
70234 (__sha512_finish_ctx): Likewise.
70235 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
70236 as 64-bit value.
70237 * crypt/sha256.c (SWAP64): Define.
70238 (sha256_process_block): Perform total addition using 64-bit if
70239 possible.
70240 (__sha256_finish_ctx): Likewise.
70241
70242 2011-07-01 Ulrich Drepper <drepper@gmail.com>
70243
70244 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
70245 * nscd/initgrcache.c (addinitgroupsX): Likewise.
70246 * nscd/hstcache.c (cache_addhst): Likewise.
70247 * nscd/grpcache.c (cache_addgr): Likewise.
70248 * nscd/aicache.c (addhstaiX): Likewise.
70249 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
70250
70251 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
70252
70253 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
70254 * nscd/initgrcache.c (addinitgroupsX): Likewise.
70255 * nscd/hstcache.c (cache_addhst): Likewise.
70256 * nscd/grpcache.c (cache_addgr): Likewise.
70257 * nscd/aicache.c (addhstaiX): Likewise.
70258
70259 2011-07-01 Andreas Schwab <schwab@redhat.com>
70260
70261 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
70262 domain only when needed.
70263
70264 2011-06-30 Andreas Schwab <schwab@redhat.com>
70265
70266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
70267 is always restored.
70268
70269 2011-06-29 Ulrich Drepper <drepper@gmail.com>
70270
70271 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
70272 are re-adding the entry.
70273 * nscd/servicescache.c (cache_addserv): Likewise.
70274
70275 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
70276
70277 * sysdeps/generic/dl-irel.h: fix protection against multiple
70278 inclusions.
70279 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
70280
70281 2011-06-28 Ulrich Drepper <drepper@gmail.com>
70282
70283 [BZ #12935]
70284 * malloc/memusage.sh: Fix quoting in message.
70285 * debug/xtrace.sh: Likewise.
70286
70287 * configure.in: Remove support for --experimental-malloc option, make
70288 it the default.
70289 * config.make.in: Likewise.
70290 * malloc/Makefile: Likewise.
70291
70292 2011-06-27 Andreas Schwab <schwab@redhat.com>
70293
70294 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
70295 two-byte characters.
70296
70297 2011-06-27 Roland McGrath <roland@hack.frob.com>
70298
70299 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
70300 AC_CACHE_CHECK invocation.
70301 * configure: Regenerated.
70302
70303 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
70304
70305 2011-06-27 Ulrich Drepper <drepper@gmail.com>
70306
70307 [BZ #12350]
70308 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
70309 bit from old_res_options.
70310
70311 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
70312
70313 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
70314 value type for setfct.
70315
70316 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
70317
70318 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70319 __gettimeofday instead of gettimeofday.
70320
70321 2011-06-26 Ulrich Drepper <drepper@gmail.com>
70322
70323 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
70324
70325 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
70326
70327 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
70328
70329 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
70330 info.
70331
70332 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
70333
70334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70335 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70336 strcpy-sse2-unaligned strncpy-sse2-unaligned
70337 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
70338 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
70339 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
70340 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
70341 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
70342 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
70343 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
70344 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
70345 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
70346 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
70347 (STRCPY): Support SSE2 and SSSE3 versions.
70348
70349 2011-06-24 Ulrich Drepper <drepper@gmail.com>
70350
70351 [BZ #12874]
70352 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
70353 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
70354 kernels which artificially limit size of requests.
70355
70356 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
70357
70358 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70359 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70360 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
70361 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
70362 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
70363 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
70364 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
70365 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
70366 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
70367 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
70368 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
70369 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
70370 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
70371 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
70372 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
70373 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70374 Enable unaligned load optimization for Intel Core i3, i5 and i7
70375 processors.
70376 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
70377 Define.
70378 (index_Fast_Unaligned_Load): Define.
70379 (HAS_FAST_UNALIGNED_LOAD): Define.
70380
70381 2011-06-23 Marek Polacek <mpolacek@redhat.com>
70382
70383 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
70384
70385 2011-06-22 Ulrich Drepper <drepper@gmail.com>
70386
70387 [BZ #12907]
70388 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
70389 until it is clear that the information is realy needed.
70390 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
70391
70392 2011-06-22 Andreas Schwab <schwab@redhat.com>
70393
70394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
70395
70396 2011-06-22 Ulrich Drepper <drepper@gmail.com>
70397
70398 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70399 /sys/devices/system/cpu/online if it is usable.
70400
70401 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
70402 reading the information from the /proc filesystem to once a second.
70403
70404 2011-06-21 Andreas Jaeger <aj@suse.de>
70405
70406 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
70407 NULL after inclusion of kernel headers.
70408
70409 2011-06-21 Ulrich Drepper <drepper@gmail.com>
70410
70411 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
70412 calls to internal_setent.
70413
70414 [BZ #12885]
70415 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
70416 addresses using gethostbyname4_r ignore IPv4 addresses.
70417
70418 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
70419 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
70420
70421 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
70422
70423 2011-06-20 David S. Miller <davem@davemloft.net>
70424
70425 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
70426 inclusions.
70427 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
70428
70429 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
70430 (elf_irel): Use it.
70431 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
70432 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
70433 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
70434 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
70435 * sysdeps/x86_64/dl-irel.h: Likewise.
70436
70437 * elf/dl-runtime.c: Use elf_ifunc_invoke.
70438 * elf/dl-sym.c: Likewise.
70439
70440 2011-06-15 Ulrich Drepper <drepper@gmail.com>
70441
70442 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
70443 need to dereference resplen2.
70444
70445 2011-06-14 Andreas Schwab <schwab@redhat.com>
70446
70447 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
70448
70449 2011-06-15 Ulrich Drepper <drepper@gmail.com>
70450
70451 * Makeconfig: Define vardbdir and inst_vardbdir.
70452 * nss/Makefile: Add rules to install db-Makefile.
70453
70454 * nss/nss_db/db-XXX.c: Cleanup.
70455
70456 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
70457 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
70458 GLIBC_PRIVATE.
70459 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
70460 * nss/makedb.c: Implement -g option to specify that value strings
70461 are generated and should not be added to table iterated over for
70462 get*ent calls.
70463 * nss/nss_db/db-initgroups.c: New file.
70464
70465 * nss/getent.c: Add support for initgroups lookups through getgrouplist
70466 interface.
70467
70468 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
70469 (internal_getgrouplist): Adjust to name change.
70470 Update use_initgroups_entry if this is not the first call.
70471 * nss/databases.def: Add initgroups entry.
70472
70473 * nss/makedb.c (compute_tables): Check result of multiple hash table
70474 sizes to minimize maximum chain length.
70475
70476 2011-06-14 Ulrich Drepper <drepper@gmail.com>
70477
70478 * Versions.def: Add entry for libnss_db.
70479 * shlib-versions: Likewise.
70480 * nss/Makefile: Add rules to build libnss_db.
70481 * nss/Versions: Add libnss_db information. Organize libnss_files
70482 entries better.
70483 * nss/db-Makefile: Add gshadow support. Change rules for the new
70484 makedb progra. Some minor improvements to generate smaller files.
70485 * nss/nss_db/nss_db.h: Move NSS database header data structures to
70486 here from...
70487 * nss/makedb.c: ...here.
70488 Improve database format to be smaller and require less memory at
70489 runtime.
70490 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
70491 db anymore.
70492 * nss/nss_db/db-netgrp.c: Likewise.
70493 * nss/nss_db/db-open.c: Likewise.
70494 * nss/nss_files/flies-XXX.x: Adjust comments.
70495 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
70496 * nss/nss_files/files-grp.c: Likewise.
70497 * nss/nss_files/files-hosts.c: Likewise.
70498 * nss/nss_files/files-network.c: Likewise.
70499 * nss/nss_files/files-proto.c: Likewise.
70500 * nss/nss_files/files-pwd.c: Likewise.
70501 * nss/nss_files/files-rpc.c: Likewise.
70502 * nss/nss_files/files-service.c: Likewise.
70503 * nss/nss_files/files-sgrp.c: Likewise.
70504 * nss/nss_files/files-spwd.c: Likewise.
70505 * nss/nss_db/db-alias.c: Removed.
70506 * nss/nss_db/dummy-db.h: Removed.
70507
70508 2011-06-02 Ulrich Drepper <drepper@gmail.com>
70509
70510 * nss/makedb.c: Rewritten to not use database library.
70511 * nss/Makefile: Update to build new makedb program.
70512
70513 2011-06-14 Andreas Jaeger <aj@suse.de>
70514
70515 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
70516 memset declaration.
70517
70518 2011-06-10 Andreas Schwab <schwab@redhat.com>
70519
70520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
70521 tmpbuf.
70522
70523 2011-06-10 Roland McGrath <roland@hack.frob.com>
70524
70525 * Makerules (shlib.lds): Fail if the linker script comes out empty.
70526 * elf/Makefile ($(objpfx)ld.so): Likewise.
70527
70528 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
70529 Don't list ld.so twice in dependencies.
70530
70531 * posix/bug-regex31.c: Include <stdlib.h>.
70532
70533 * nscd/hstcache.c (cache_addhst): Remove unused variable.
70534
70535 * nis/nss_compat/compat-spwd.c
70536 (getspent_next_nss_netgr): Remove unused variable.
70537 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
70538
70539 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
70540 nonmembers" output to use the right array.
70541
70542 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
70543
70544 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
70545
70546 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
70547 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
70548 * catgets/gencat.c (read_input_file): Likewise.
70549 * locale/programs/locarchive.c (enlarge_archive): Likewise.
70550
70551 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
70552 variable definition inside #if's controlling its use.
70553
70554 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
70555
70556 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
70557
70558 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
70559
70560 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
70561 unreachable code.
70562
70563 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
70564
70565 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
70566 * configure: Regenerated.
70567
70568 * Makerules: Revert last change.
70569 * elf/Makefile: Likewise.
70570
70571 2011-06-09 Roland McGrath <roland@hack.frob.com>
70572
70573 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
70574 * elf/Makefile ($(objpfx)librtld.os): Likewise.
70575 (reloc-link): Likewise.
70576
70577 2011-06-09 Ulrich Drepper <drepper@gmail.com>
70578
70579 * elf/Makefile: Add rules to build pldd.
70580 * elf/pldd.c: New file.
70581 * elf/pldd-xx.c: New file.
70582
70583 2011-06-07 Ulrich Drepper <drepper@gmail.com>
70584
70585 * version.h: Update for 2.15 development version.
70586
70587 2011-06-07 David S. Miller <davem@davemloft.net>
70588
70589 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
70590 ifuncs.
70591 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
70592 elf_machine_lazy_rel): Likewise.
70593 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
70594 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
70595 elf_machine_lazy_rel): Likewise.
70596 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
70597 dl_hwcap via passed in argument.
70598 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
70599 Likewise.
70600
70601 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70602
70603 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
70604
70605 2011-06-06 Roland McGrath <roland@hack.frob.com>
70606
70607 [BZ #12849]
70608 * manual/fdl-1.1.texi: New file, verbatim from:
70609 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
70610 * manual/lgpl-2.1.texi: New file, verbatim from:
70611 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
70612 * manual/Makefile (licenses): New variable, list those new file names.
70613 (texis): Use it.
70614 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
70615
70616 * manual/fdl.texi: File removed.
70617 * manual/lesser.texi: File removed.
70618 * manual/libc.texinfo (Copying, Documentation License):
70619 Use new @include file names, put @appendix directive before @include.
70620
70621 2011-06-04 Jakub Jelinek <jakub@redhat.com>
70622
70623 [BZ #12841]
70624 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
70625 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
70626 (mq_open): Add __NTH.
70627
70628 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
70629
70630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70631 Assume Intel Core i3/i5/i7 processor if AVX is available.
70632
70633 2011-05-31 Ulrich Drepper <drepper@gmail.com>
70634
70635 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70636 typo.
70637
70638 2011-05-31 Andreas Schwab <schwab@redhat.com>
70639
70640 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
70641 memory. Use alloca_account. Fix memory leak when retrying.
70642
70643 2011-05-31 Ulrich Drepper <drepper@gmail.com>
70644
70645 * version.h (RELEASE): Bump for 2.14 release.
70646 * include/features.h (__GLIBC_MINOR__): Bump to 14.
70647
70648 * config.make.in (RANLIB): Remove entry.
70649
70650 2011-05-30 Ulrich Drepper <drepper@gmail.com>
70651
70652 * po/Makefile (po-sed-cmd): Add ksh to extensions.
70653 (libc.pot): Work around missing support for .ksh extension in xgettext.
70654
70655 [BZ #12684]
70656 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
70657 if both request failed.
70658 (send_dg): In case of server errors clear resplen or *resplen2.
70659
70660 [BZ #12454]
70661 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
70662 when there are multiple maps.
70663 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
70664 (_dl_fini): Remove test here.
70665
70666 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
70667
70668 2011-05-29 Ulrich Drepper <drepper@gmail.com>
70669
70670 [BZ #12350]
70671 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
70672 bit from old_res_options.
70673 (gaih_inet): Likewise.
70674
70675 [BZ #11099]
70676 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
70677 as signed.
70678
70679 * resolv/res_init.c (res_setoptions): Make the code more compact.
70680
70681 [BZ #11558]
70682 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
70683 set RES_USEVC.
70684
70685 [BZ #11634]
70686 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
70687
70688 * malloc/malloc.h: Mark malloc hook variables as deprecated.
70689
70690 [BZ #11781]
70691 * malloc/malloc.h: Declare malloc hook variables as volatile.
70692
70693 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
70694 in last patch.
70695
70696 [BZ #11799]
70697 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
70698 raise in the comment.
70699 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70700 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70701 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
70702
70703 2011-05-28 Ulrich Drepper <drepper@gmail.com>
70704
70705 [BZ #12811]
70706 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
70707 grow the buffers more if it already has to be sufficient.
70708 (build_wcs_upper_buffer): Likewise.
70709 * posix/regexec.c (check_matching): Likewise.
70710 (clean_state_log_if_needed): Likewise.
70711 (extend_buffers): Don't enlarge buffers beyond size of the input
70712 buffer.
70713 Patches mostly by Emil Wojak <emil@wojak.eu>.
70714 * posix/bug-regex32.c: New file.
70715 * posix/Makefile (tests): Add bug-regex32.
70716
70717 * locale/findlocale.c (_nl_find_locale): Return right away if
70718 _nl_explode_name failed.
70719 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
70720
70721 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
70722
70723 * debug/xtrace.sh: Unify messages.
70724 * malloc/memusage.sh: Likewise.
70725
70726 [BZ #12813]
70727 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
70728 time symbol from vDSO. Substitute with vsyscall if not available.
70729 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
70730 __vdso_time.
70731
70732 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
70733 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
70734 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
70735 Add sendmmsg and internal_sendmmsg.
70736 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
70737 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
70738 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
70739
70740 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
70741 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
70742 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
70743
70744 2011-05-27 Ulrich Drepper <drepper@gmail.com>
70745
70746 [BZ #12813]
70747 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
70748 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
70749 available.
70750 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
70751 __vdso_getcpu.
70752
70753 [BZ #12814]
70754 * iconvdata/Makefile (tests): Add bug-iconv9.
70755 * iconvdata/bug-iconv9.c: New file.
70756
70757 2011-05-27 Andreas Schwab <schwab@redhat.com>
70758
70759 [BZ #12814]
70760 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
70761
70762 2011-05-25 Jakub Jelinek <jakub@redhat.com>
70763
70764 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70765 (struct user_regs_struct): Change intcs field back to cs.
70766
70767 2011-05-25 Ulrich Drepper <drepper@gmail.com>
70768
70769 * po/ja.po: Update from translation team.
70770
70771 2011-05-23 Ulrich Drepper <drepper@gmail.com>
70772
70773 [BZ #12795]
70774 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
70775 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
70776
70777 2011-05-20 Andreas Schwab <schwab@redhat.com>
70778
70779 * stdlib/longlong.h: Update from GCC.
70780
70781 2011-05-23 Andreas Schwab <schwab@redhat.com>
70782
70783 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
70784 parameter name.
70785 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
70786 Add parameter name.
70787 (__sysconf): Pass it down.
70788
70789 2011-05-22 Ulrich Drepper <drepper@gmail.com>
70790
70791 [BZ #12671]
70792 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
70793 some situations.
70794 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
70795 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
70796 add in in __libc_use_alloca calls. Adjust callers.
70797 (glob): Use malloc in some situations.
70798
70799 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
70800 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
70801 pltexit.
70802
70803 2011-05-21 Ulrich Drepper <drepper@gmail.com>
70804
70805 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
70806 and CLOCK_BOOTTIME_ALARM.
70807
70808 [BZ #12782]
70809 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
70810 is returned.
70811
70812 * string/_strerror.c (__strerror_r): Print negative errors as signed
70813 numbers.
70814
70815 [BZ #12777]
70816 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
70817 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
70818 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
70819
70820 * configure.in: Fix typo in redirection and correct removal of test
70821 files in two cases.
70822
70823 [BZ #12788]
70824 * locale/setlocale.c (new_composite_name): Fix test to check for
70825 identical name of all categories.
70826
70827 [BZ #12792]
70828 * libio/filedoalloc.c (local_isatty): New function.
70829 (_IO_file_doallocate): Use local_isatty.
70830 * stdio-common/perror.c (perror): In case a new stream is used
70831 forward the stream error.
70832 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
70833 error flag.
70834
70835 2011-05-20 Ulrich Drepper <drepper@gmail.com>
70836
70837 [BZ #11884]
70838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
70839 alloca.
70840 * include/alloca.h (extend_alloca_account): Define.
70841
70842 [BZ #11857]
70843 * posix/regex.h: Fix comments with documentation of user-accessible
70844 fields after compilation and describe correct free'ing of pattern
70845 after re_compile_pattern.
70846 Patch by Reuben Thomas <rrt@sc3d.org>.
70847
70848 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
70849
70850 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
70851 and -mno-altivec to prevent the compiler from using Altivec and/or
70852 VSX instructions when the corresponding registers are not available.
70853
70854 2011-05-19 Andreas Schwab <schwab@redhat.com>
70855
70856 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
70857
70858 2011-05-19 Ulrich Drepper <drepper@gmail.com>
70859
70860 * libio/freopen.c (freopen): Use __dup2, not dup2.
70861 * libio/freopen64.c (freopen64): Likewise.
70862
70863 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
70864
70865 [BZ #12775]
70866 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
70867 * math/Makefile (tests): Add test-powl.
70868 (CFLAGS-test-powl.c): Define.
70869 * math/test-powl.c: New file.
70870
70871 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
70872
70873 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
70874
70875 2011-05-17 Ulrich Drepper <drepper@gmail.com>
70876
70877 [BZ #11837]
70878 * iconvdata/gb18030.c: Update to GB18020-2005.
70879
70880 2011-05-16 Ulrich Drepper <drepper@gmail.com>
70881
70882 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
70883 RE_SYNTAX_POSIX_AWK): Update to match recent development.
70884 Patch by Aharon Robbins <arnold@skeeve.com>.
70885
70886 [BZ #11892]
70887 * stdlib/putenv.c (putenv): Don't always create copy of the variable
70888 on the stack.
70889
70890 [BZ #11895]
70891 * misc/pselect.c (__pselect): Handle timeout value errors hidden
70892 through underflows.
70893
70894 [BZ #12766]
70895 * misc/error.c (error_at_line): Ensure file_name and old_file_name
70896 point to strings before performing equality test for error_one_per_line
70897 mode.
70898
70899 [BZ #11697]
70900 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
70901
70902 [BZ #11820]
70903 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70904 (struct user_fpregs_struct): Avoid __uint*_t types.
70905
70906 [BZ #6420]
70907 * malloc/mtrace.c (tr_where): Add additional parameter to point to
70908 symbol info. Use it instead of calling _dl_addr locally.
70909 (lock_and_info): New function.
70910 (tr_freehook): Call lock_and_info and pass symbol info as additional
70911 parameter to tr_where.
70912 (tr_mallochook): Likewise.
70913 (tr_reallochook): Likewise.
70914 (tr_memalignhook): Likewise.
70915
70916 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
70917 used and couldn't be at all thread-safe.
70918
70919 2011-05-15 Ulrich Drepper <drepper@gmail.com>
70920
70921 * libio/freopen.c (freopen): Don't close old file descriptor
70922 before the new one is opened. Instead dup the new file descriptor
70923 to the old one after the new stream is created.
70924 * libio/freopen64.c (freopen64): Likewise.
70925 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
70926 * libio/fileops.c (_IO_new_file_close_it): Handle new
70927 _IO_FLAGS2_NOCLOSE flag.
70928 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
70929 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
70930 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
70931 _IO_FLAGS2_NOCLOSE flag.
70932 * include/unistd.h: Add hidden_proto for dup3.
70933 Define __have_dup3.
70934 * io/dup3.c: Define hidden symbol.
70935 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
70936
70937 [BZ #7101]
70938 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
70939 when an incomplete long option is used.
70940 * posix/tst-getopt_long1.c: New file.
70941 * posix/Makefile (tests): Add tst-getopt_long1.
70942
70943 [BZ #10138]
70944 * scripts/config.guess: Update from autoconf-2.68.
70945 * scripts/config.sub: Likewise.
70946
70947 [BZ #10157]
70948 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
70949 tests into ...
70950 (has_cpuclock): ...this. New function.
70951 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
70952 macro here based on has_cpuclock code.
70953
70954 [BZ #10149]
70955 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70956 First byte (not low byte) is now always NUL.
70957 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
70958
70959 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70960 Use non-cancelable interfaces.
70961
70962 [BZ #9809]
70963 * locale/iso-639.def: Add entry for Sorani.
70964
70965 [BZ #11901]
70966 * include/stdlib.h: Move include protection to the right place.
70967 Define abort_msg_s. Declare __abort_msg with it.
70968 * stdlib/abort.c (__abort_msg): Adjust type.
70969 * assert/assert.c (__assert_fail_base): New function. Majority
70970 of code from __assert_fail. Allocate memory for __abort_msg with
70971 mmap.
70972 (__assert_fail): Now call __assert_fail_base.
70973 * assert/assert-perr.c: Remove bulk of implementation. Use
70974 __assert_fail_base.
70975 * include/assert.hL Declare __assert_fail_base.
70976 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
70977 mmap.
70978 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
70979
70980 2011-05-14 Ulrich Drepper <drepper@gmail.com>
70981
70982 [BZ #11952]
70983 [BZ #12453]
70984 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
70985 until all modules are registered in the DTV.
70986 * elf/Makefile: Add rules to build and run tst-tls19.
70987 * elf/tst-tls19.c: New file.
70988 * elf/tst-tls19mod1.c: New file.
70989 * elf/tst-tls19mod2.c: New file.
70990 * elf/tst-tls19mod3.c: New file.
70991 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
70992
70993 [BZ #12083]
70994 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
70995 correctly.
70996
70997 [BZ #12601]
70998 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
70999 two-byte sequence errors.
71000 * iconvdata/Makefile (tests): Add bug-iconv8.
71001 * iconvdata/bug-iconv8.c: New file.
71002
71003 [BZ #12626]
71004 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
71005 buf2 definition.
71006
71007 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
71008
71009 [BZ #12432]
71010 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
71011 (dummy_getcfa): New function.
71012 (init): Get _Unwind_GetCFA address, use dummy if not found.
71013 (backtrace_helper): In recursion check, also check whether CFA changes.
71014 (__backtrace): Completely initialize arg.
71015
71016 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
71017 storing incomplete byte sequence in state object. Avoid testing for
71018 guaranteed too small input if we know there is enough data available.
71019
71020 2011-05-11 Andreas Schwab <schwab@redhat.com>
71021
71022 * Makeconfig (+link-pie): Indent.
71023 * Rules (binaries-pie): Define if $(have-fpie) and
71024 $(build-shared).
71025 (binaries-shared): Also filter out $(binaries-pie).
71026 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
71027 * nscd/Makefile (others-pie): Add nscd.
71028 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
71029 ($(objpfx)nscd): Remove command override.
71030 * login/Makefile (others-pie): Add pt_chown.
71031 ($(objpfx)pt_chown): Remove command override.
71032 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
71033 remove command overrides.
71034
71035 2011-05-13 Ulrich Drepper <drepper@gmail.com>
71036
71037 * libio/tst_putwc.c: Fix error messages.
71038
71039 [BZ #12724]
71040 * libio/fileops.c (_IO_new_file_close_it): Always flush when
71041 currently writing and seek to current position when not.
71042 * libio/Makefile (tests): Add bug-fclose1.
71043 * libio/bug-fclose1.c: New file.
71044
71045 2011-05-12 Ulrich Drepper <drepper@gmail.com>
71046
71047 [BZ #12511]
71048 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
71049 don't set DF_1_NODELETE here.
71050 (do_lookup_x): When entering new entry test for copy relocation
71051 and if necessary set DF_1_NODELETE flag.
71052 * elf/tst-unique4.cc: New file.
71053 * elf/tst-unique4.h: New file.
71054 * elf/tst-unique4lib.cc: New file.
71055 * elf/Makefile: Add rules to build and run tst-unique4.
71056 Patch by Piotr Bury <pbury@goahead.com>.
71057
71058 2011-05-11 Ulrich Drepper <drepper@gmail.com>
71059
71060 [BZ #12052]
71061 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
71062
71063 [BZ #12625]
71064 * misc/mntent_r.c (addmntent): Flush the stream after the output
71065
71066 [BZ #12393]
71067 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
71068 (is_trusted_path_normalize): Skip initial colon. Append slash
71069 to empty buffer. Duplicate is_trusted_path code but allow
71070 constructed patch to be prefix.
71071 (is_dst): Allow $ORIGIN followed by /.
71072 (_dl_dst_substitute): Correct clearing of check_for_trusted.
71073 Correct testing of result of is_trusted_path_normalize
71074 (decompose_rpath): Fix warning.
71075
71076 2011-05-10 Ulrich Drepper <drepper@gmail.com>
71077
71078 [BZ #11257]
71079 * grp/initgroups.c (internal_getgrouplist): When we found the service
71080 list through the initgroups entry in nsswitch.conf do not always
71081 continue on a successful lookup. Don't always use the
71082 __nss_group_database value if it is set.
71083 * nss/nsswitch.conf (initgroups): Change action for successful db
71084 lookup to continue for compatibility.
71085
71086 2011-05-09 Ulrich Drepper <drepper@gmail.com>
71087
71088 [BZ #11532]
71089 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
71090 and CP774 modules.
71091 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
71092 and CP774 modules.
71093 * iconvdata/tst-tables.sh: Likewise.
71094 * iconvdata/cp770.c: New file.
71095 * iconvdata/cp771.c: New file.
71096 * iconvdata/cp772.c: New file.
71097 * iconvdata/cp773.c: New file.
71098 * iconvdata/cp774.c: New file.
71099 * iconvdata/testdata/CP770: New file.
71100 * iconvdata/testdata/CP770..UTF8: New file.
71101 * iconvdata/testdata/CP771: New file.
71102 * iconvdata/testdata/CP771..UTF8: New file.
71103 * iconvdata/testdata/CP772: New file.
71104 * iconvdata/testdata/CP772..UTF8: New file.
71105 * iconvdata/testdata/CP773: New file.
71106 * iconvdata/testdata/CP773..UTF8: New file.
71107 * iconvdata/testdata/CP774: New file.
71108 * iconvdata/testdata/CP774..UTF8: New file.
71109
71110 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
71111 END CHARMAP line.
71112 * iconvdata/gen-8bit-gap.sh: Likewise.
71113 * iconvdata/gen-8bit.sh: Likewise.
71114
71115 * locale/iso-639.def: Add ary entry.
71116
71117 [BZ #11258]
71118 * locale/C-translit.h.in: Add U20A1 transliteration.
71119
71120 [BZ #12178]
71121 * locale/iso-639.def: Add wae entry.
71122 Patch by Kevin Bortis <bortis@translate-wae.ch>.
71123
71124 [BZ #12545]
71125 * locale/programs/localedef.c (construct_output_path): Use ssize_t
71126 for n.
71127
71128 [BZ #12711]
71129 * locale/C-translit.h.in: Add entry for U20B9.
71130 Patch by pravin.d.s@gmail.com.
71131
71132 2011-05-08 Ulrich Drepper <drepper@gmail.com>
71133
71134 [BZ #12713]
71135 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
71136 ENAMETOOLONG use generic getcwd.
71137 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
71138 in rtld. Use *stat64.
71139 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
71140 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
71141 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
71142 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
71143 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
71144 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
71145 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
71146 __fstatat64 macros.
71147 * include/dirent.h: Add libc_hidden_proto for rewinddir.
71148 * dirent/rewinddir.c: Add libc_hidden_def.
71149 * sysdeps/mach/hurd/rewinddir.c: Likewise.
71150 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
71151
71152 * include/dirent.h (__alloc_dir): Add flags parameter.
71153 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
71154 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
71155 __alloc_dir.
71156 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
71157 from fdopendir if O_CLOEXEC is already set.
71158
71159 2011-03-15 Alan Modra <amodra@gmail.com>
71160
71161 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
71162 l_tls_firstbyte_offset non-zero. Save padding offset in
71163 l_tls_firstbyte_offset for later use.
71164 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
71165 freeing static tls block.
71166
71167 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
71168
71169 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
71170 where #ifdef was intended. The intent is to prevent ARG_MAX from
71171 being defined by the kernel headers.
71172
71173 2011-05-07 Ulrich Drepper <drepper@gmail.com>
71174
71175 [BZ #12734]
71176 * resolv/resolv.h: Define RES_NOTLDQUERY.
71177 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
71178 no-tld-query and set RES_NOTLDQUERY.
71179 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
71180 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
71181 modern BIND to search name as TLD unless forbidden.
71182
71183 2011-05-07 Petr Baudis <pasky@suse.cz>
71184 Ulrich Drepper <drepper@gmail.com>
71185
71186 [BZ #12393]
71187 * elf/dl-load.c (fillin_rpath): Move trusted path check...
71188 (is_trusted_path): ...to here.
71189 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
71190 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
71191 using is_trusted_path_normalize() in setuid scripts.
71192
71193 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
71194
71195 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
71196 __BEGIN/__END_DECLS.
71197
71198 2011-05-06 Ulrich Drepper <drepper@gmail.com>
71199
71200 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
71201 NSS_STATUS_NOTFOUND if no record was found.
71202
71203 2011-05-05 Andreas Schwab <schwab@redhat.com>
71204
71205 * sunrpc/Makefile (headers): Add rpc/netdb.h.
71206 (headers-not-in-tirpc): Remove rpc/netdb.h
71207 * resolv/netdb.h: Revert last change.
71208
71209 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
71210
71211 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
71212 circular dependency between libgcc.a and libc.a.
71213
71214 2011-05-05 Andreas Schwab <schwab@redhat.com>
71215
71216 * resolv/netdb.h: Don't include <rpc/netdb.h>.
71217 * nis/Makefile: Don't install rpcsvc/*.
71218 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
71219 instead of <rpc/types.h>.
71220 (MAXHOSTNAMELEN): Define.
71221
71222 2011-05-03 Andreas Schwab <schwab@redhat.com>
71223
71224 * elf/ldconfig.c (add_dir): Don't crash on empty path.
71225
71226 2011-04-28 Maciej Babinski <mbabinski@google.com>
71227
71228 [BZ #12714]
71229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
71230 gethostbyname4_r when IPv6 results are possible.
71231
71232 2011-05-02 Ulrich Drepper <drepper@gmail.com>
71233
71234 [BZ #12723]
71235 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
71236 _PC_PIPE_BUF handling.
71237
71238 2011-04-30 Bruno Haible <bruno@clisp.org>
71239
71240 [BZ #12717]
71241 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
71242 * resolv/netdb.h (getnameinfo): Change type of flags parameter
71243 to 'int'.
71244 * inet/getnameinfo.c (getnameinfo): Likewise.
71245
71246 2011-04-29 Ulrich Drepper <drepper@gmail.com>
71247
71248 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
71249 to groups setting in database lookup.
71250 * nss/nsswitch.conf: Add initgroups entry.
71251
71252 2011-04-22 Ulrich Drepper <drepper@gmail.com>
71253
71254 [BZ #12685]
71255 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
71256 mode string.
71257 Patch by Eric Blake <eblake@redhat.com>.
71258
71259 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
71260
71261 * sunrpc/Makefile (need-export-routines): Add svc_run.
71262 (routines): Remove svc_run.
71263 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
71264 * sunrpc/clnt_perr.c (clnt_perrno): Export.
71265 * sunrpc/svc_run.c (svc_run): Likewise.
71266 * sunrpc/svc_udp.c (svcudp_create): Likewise.
71267
71268 2011-04-21 Ulrich Drepper <drepper@gmail.com>
71269
71270 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
71271 problem in reallocation in last patch.
71272
71273 2011-04-20 Ulrich Drepper <drepper@gmail.com>
71274
71275 * sunrpc/Makefile: Move inclusion of Rules.
71276
71277 2011-04-19 Ulrich Drepper <drepper@gmail.com>
71278
71279 * nss/nss_files/files-initgroups.c: New file.
71280 * nss/Makefile (libnss_files-routines): Add files-initgroups.
71281 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
71282 _nss_files_initgroups_dyn.
71283
71284 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
71285
71286 * elf/elf.h (R_ARM_IRELATIVE): Define.
71287
71288 2011-04-19 Ulrich Drepper <drepper@gmail.com>
71289
71290 * po/ru.po: Update from translation team.
71291
71292 2011-04-17 Ulrich Drepper <drepper@gmail.com>
71293
71294 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
71295 dependencies.
71296
71297 2011-02-06 Mike Frysinger <vapier@gentoo.org>
71298
71299 [BZ #12653]
71300 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
71301 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
71302 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71303 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71304 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71305
71306 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
71307
71308 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
71309 differing bytes.
71310 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71311 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71312 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71313
71314 2011-04-17 Ulrich Drepper <drepper@gmail.com>
71315
71316 [BZ #12420]
71317 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
71318 storing it.
71319 * stdlib/bug-getcontext.c: New file.
71320 * stdlib/Makefile: Add rules to build and run bug-getcontext.
71321
71322 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71323
71324 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
71325 instructions into .machine "z9-109".
71326 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
71327 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
71328
71329 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71330
71331 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
71332 between environment variables and auxiliary vector.
71333
71334 2011-04-16 Ulrich Drepper <drepper@gmail.com>
71335
71336 * Makefile: Add rules to build linkobj/libc.so.
71337 * include/libc-symbols.h: Define libc_hidden_nolink.
71338 * include/rpc/auth.h: Mark functions which are to be hidden.
71339 * include/rpc/auth_des.h: Likewise.
71340 * include/rpc/auth_unix.h: Likewise.
71341 * include/rpc/clnt.h: Likewise.
71342 * include/rpc/des_crypt.h: Likewise.
71343 * include/rpc/key_prot.h: Likewise.
71344 * include/rpc/pmap_clnt.h: Likewise.
71345 * include/rpc/pmap_prot.h: Likewise.
71346 * include/rpc/pmap_rmt.h: Likewise.
71347 * include/rpc/rpc_msg.h: Likewise.
71348 * include/rpc/svc.h: Likewise.
71349 * include/rpc/svc_auth.h: Likewise.
71350 * include/rpc/xdr.h: Likewise.
71351 * nis/Makefile: Link all DSOs against linkobj/libc.so.
71352 * nss/Makefile: Likewise.
71353 * sunrpc/Makefile: Don't install headers. Build library with normal
71354 entry points. Don't build rpcinfo. Link RPC tests appropriately.
71355 * sunrpc/auth_des.c: Hide exported symbols by default, export some
71356 for the compat linking library. Remove use of INTDEF/INTUSE.
71357 * sunrpc/auth_none.c: Likewise.
71358 * sunrpc/auth_unix.c: Likewise.
71359 * sunrpc/authdes_prot.c: Likewise.
71360 * sunrpc/authuxprot.c: Likewise.
71361 * sunrpc/clnt_gen.c: Likewise.
71362 * sunrpc/clnt_perr.c: Likewise.
71363 * sunrpc/clnt_raw.c: Likewise.
71364 * sunrpc/clnt_simp.c: Likewise.
71365 * sunrpc/clnt_tcp.c: Likewise.
71366 * sunrpc/clnt_udp.c: Likewise.
71367 * sunrpc/clnt_unix.c: Likewise.
71368 * sunrpc/des_crypt.c: Likewise.
71369 * sunrpc/des_soft.c: Likewise.
71370 * sunrpc/get_myaddr.c: Likewise.
71371 * sunrpc/key_call.c: Likewise.
71372 * sunrpc/key_prot.c: Likewise.
71373 * sunrpc/netname.c: Likewise.
71374 * sunrpc/pm_getmaps.c: Likewise.
71375 * sunrpc/pm_getport.c: Likewise.
71376 * sunrpc/pmap_clnt.c: Likewise.
71377 * sunrpc/pmap_prot.c: Likewise.
71378 * sunrpc/pmap_prot2.c: Likewise.
71379 * sunrpc/pmap_rmt.c: Likewise.
71380 * sunrpc/publickey.c: Likewise.
71381 * sunrpc/rpc_cmsg.c: Likewise.
71382 * sunrpc/rpc_common.c: Likewise.
71383 * sunrpc/rpc_dtable.c: Likewise.
71384 * sunrpc/rpc_prot.c: Likewise.
71385 * sunrpc/rpc_thread.c: Likewise.
71386 * sunrpc/rtime.c: Likewise.
71387 * sunrpc/svc.c: Likewise.
71388 * sunrpc/svc_auth.c: Likewise.
71389 * sunrpc/svc_authux.c: Likewise.
71390 * sunrpc/svc_raw.c: Likewise.
71391 * sunrpc/svc_run.c: Likewise.
71392 * sunrpc/svc_simple.c: Likewise.
71393 * sunrpc/svc_tcp.c: Likewise.
71394 * sunrpc/svc_udp.c: Likewise.
71395 * sunrpc/svc_unix.c: Likewise.
71396 * sunrpc/svcauth_des.c: Likewise.
71397 * sunrpc/xcrypt.c: Likewise.
71398 * sunrpc/xdr.c: Likewise.
71399 * sunrpc/xdr_array.c: Likewise.
71400 * sunrpc/xdr_float.c: Likewise.
71401 * sunrpc/xdr_intXX_t.c: Likewise.
71402 * sunrpc/xdr_mem.c: Likewise.
71403 * sunrpc/xdr_rec.c: Likewise.
71404 * sunrpc/xdr_ref.c: Likewise.
71405 * sunrpc/xdr_sizeof.c: Likewise.
71406 * sunrpc/xdr_stdio.c: Likewise.
71407
71408 2011-04-10 Ulrich Drepper <drepper@gmail.com>
71409
71410 [BZ #12650]
71411 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
71412 * sysdeps/ia64/dl-tls.h: Likewise.
71413 * sysdeps/powerpc/dl-tls.h: Likewise.
71414 * sysdeps/s390/dl-tls.h: Likewise.
71415 * sysdeps/sh/dl-tls.h: Likewise.
71416 * sysdeps/sparc/dl-tls.h: Likewise.
71417 * sysdeps/x86_64/dl-tls.h: Likewise.
71418 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
71419
71420 2011-03-14 Andreas Schwab <schwab@redhat.com>
71421
71422 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
71423 rpath element also skip the following colon.
71424 (expand_dynamic_string_token): Add is_path parameter and pass
71425 down to DL_DST_REQUIRED and _dl_dst_substitute.
71426 (decompose_rpath): Call expand_dynamic_string_token with
71427 non-zero is_path. Ignore empty rpaths.
71428 (_dl_map_object_from_fd): Call expand_dynamic_string_token
71429 with zero is_path.
71430
71431 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
71432
71433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71434 Make cancelable.
71435
71436 2011-04-09 Ulrich Drepper <drepper@gmail.com>
71437
71438 [BZ #12655]
71439 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
71440 Patch by Filipe David Manana <fdmanana@apache.org>.
71441
71442 2011-04-07 Andreas Schwab <schwab@redhat.com>
71443
71444 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
71445 Maintain aligned stack.
71446 (CHECK_RSP): Remove unused macro.
71447
71448 2011-04-03 Ulrich Drepper <drepper@gmail.com>
71449
71450 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
71451 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
71452
71453 2011-04-02 Ulrich Drepper <drepper@gmail.com>
71454
71455 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
71456
71457 * include/features.h: Mention __USE_XOPEN2K8 in comment.
71458
71459 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
71460
71461 [BZ #12518]
71462 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
71463 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
71464 * sysdeps/x86_64/memmove.c: New file.
71465 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
71466 (memcpy): Renamed to ...
71467 (__new_memcpy): This.
71468 (memcpy): Provide GLIBC_2_14 memcpy.
71469 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
71470 (memcpy): Provide GLIBC_2_2_5 memcpy.
71471
71472 2011-04-01 Ulrich Drepper <drepper@gmail.com>
71473
71474 [BZ #12631]
71475 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
71476
71477 2011-03-30 Andreas Schwab <schwab@redhat.com>
71478
71479 * misc/syncfs.c: New file.
71480 * misc/Makefile (routines): Add syncfs.
71481 * posix/unistd.h: Declare syncfs.
71482 * sysdeps/unix/syscalls.list: Add syncfs.
71483
71484 2011-04-01 Andreas Schwab <schwab@redhat.com>
71485
71486 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
71487 open_by_handle_at.
71488 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71489 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71490 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71491 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71492 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71493 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
71494 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71495
71496 2011-04-01 Ulrich Drepper <drepper@gmail.com>
71497
71498 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
71499 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71500 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
71501 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71502 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71503 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71504 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71505
71506 * io/Makefile: Compile fallocate.c, fallocate64.c, and
71507 sync_file_range.c with -fexceptions.
71508 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
71509 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
71510 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
71511 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
71512 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
71513 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71514 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
71515 sync_file_range as cancellation point
71516 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
71517 now a wrapper around __call_sync_file_range with cancellation handling.
71518 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
71519 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
71520 function name to __call_sync_file_range.
71521 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
71522 Add call_sync_file_range.
71523
71524 2011-04-01 Andreas Schwab <schwab@redhat.com>
71525
71526 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71527 bits/timex.h.
71528
71529 2011-04-01 Ulrich Drepper <drepper@gmail.com>
71530
71531 * iconv/iconv.h: Fix typo in comment.
71532 * io/fcntl.h: Likewise.
71533 * libio/stdio.h: Likewise.
71534 * posix/spawn.h: Likewise.
71535 * posix/unistd.h: Likewise.
71536 * stdlib/stdlib.h: Likewise.
71537 * time/time.h: Likewise.
71538 * wcsmbs/wchar.h: Likewise.
71539
71540 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
71541 open_by_handle): Add.
71542 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
71543 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
71544 Augment a few comments.
71545 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71546 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71547 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71548 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71549 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71550 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
71551 open_by_handle.
71552
71553 * io/fcntl.h (AT_EMPTY_PATH): Define.
71554
71555 2011-03-30 Ulrich Drepper <drepper@gmail.com>
71556
71557 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
71558 * sysdeps/unix/sysv/linux/bits/time.h: New file.
71559 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
71560 to...
71561 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
71562 * Versions.def: Add GLIBC_2.14.
71563 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
71564 Export.
71565
71566 2011-03-22 Ulrich Drepper <drepper@gmail.com>
71567
71568 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
71569 round counter.
71570 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71571
71572 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
71573
71574 [BZ #12597]
71575 * string/test-strncmp.c (do_page_test): New function.
71576 (check2): Likewise.
71577 (test_main): Call check2.
71578 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
71579
71580 2011-03-20 Ulrich Drepper <drepper@gmail.com>
71581
71582 [BZ #12587]
71583 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
71584 Handle cache information in CPU leaf 4.
71585 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71586
71587 2011-03-18 Ulrich Drepper <drepper@gmail.com>
71588
71589 [BZ #12583]
71590 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
71591 character representation.
71592 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
71593
71594 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
71595
71596 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
71597 END(__isnan) to END(__isnanf) to match function entry point/label
71598 EALIGN(__isnanf,...).
71599
71600 2011-03-10 Jakub Jelinek <jakub@redhat.com>
71601
71602 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
71603
71604 2011-03-10 Ulrich Drepper <drepper@gmail.com>
71605
71606 [BZ #12510]
71607 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
71608 copy from the symbol referenced in the relocation to initialize the
71609 used variable.
71610 Patch by Piotr Bury <pbury@goahead.com>.
71611 * elf/Makefile: Add rules to build and tst-unique3.
71612 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
71613 * elf/tst-unique3.cc: New file.
71614 * elf/tst-unique3.h: New file.
71615 * elf/tst-unique3lib.cc: New file.
71616 * elf/tst-unique3lib2.cc: New file.
71617
71618 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
71619
71620 2011-03-10 Mike Frysinger <vapier@gentoo.org>
71621
71622 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
71623 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
71624 to _start.
71625
71626 2011-03-06 Ulrich Drepper <drepper@gmail.com>
71627
71628 * elf/dl-load.c (_dl_map_object): If we are looking for the first
71629 to-be-loaded object along a path to loader is ld.so.
71630
71631 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
71632 Ulrich Drepper <drepper@gmail.com>
71633
71634 * sysdeps/x86_64/memset.S: After aligning destination, code
71635 branches to different locations depending on the value of
71636 misalignment, when multiarch is enabled. Fix this.
71637
71638 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
71639
71640 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
71641 Set _x86_64_preferred_memory_instruction for AMD processsors.
71642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71643 Set bit_Prefer_SSE_for_memop for AMD processors.
71644
71645 2011-03-04 Ulrich Drepper <drepper@gmail.com>
71646
71647 * libio/fmemopen.c (fmemopen): Optimize a bit.
71648
71649 2011-03-03 Andreas Schwab <schwab@redhat.com>
71650
71651 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
71652
71653 2011-03-03 Roland McGrath <roland@redhat.com>
71654
71655 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
71656
71657 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
71658
71659 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
71660 __bzero_ultra1 instead of __memset_ultra1.
71661
71662 2011-02-23 Andreas Schwab <schwab@redhat.com>
71663 Ulrich Drepper <drepper@gmail.com>
71664
71665 [BZ #12509]
71666 * include/link.h (struct link_map): Add l_orig_initfini.
71667 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
71668 returning unsuccessfully.
71669 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
71670 close of a file loaded at startup, restore the original l_initfini
71671 list.
71672 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
71673 list, store the pointer.
71674 * elf/Makefile ($(objpfx)noload-mem): New rule.
71675 (noload-ENV): Define.
71676 (tests): Add $(objpfx)noload-mem.
71677 * elf/noload.c: Include <memcheck.h>.
71678 (main): Call mtrace. Close all opened handles.
71679
71680 2011-02-17 Andreas Schwab <schwab@redhat.com>
71681
71682 [BZ #12454]
71683 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
71684 dependencies are missing.
71685
71686 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
71687
71688 Fix __if_freereq crash: Unlike the generic version which uses free,
71689 Hurd needs munmap.
71690 * sysdeps/mach/hurd/ifreq.h: New file.
71691
71692 2011-01-27 Petr Baudis <pasky@suse.cz>
71693 Ulrich Drepper <drepper@gmail.com>
71694
71695 [BZ 12445]#
71696 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
71697 to extend_alloca().
71698 * stdio-common/bug23.c: New file.
71699 * stdio-common/Makefile (tests): Add bug23.
71700
71701 2010-09-28 Andreas Schwab <schwab@redhat.com>
71702 Ulrich Drepper <drepper@gmail.com>
71703
71704 [BZ #12489]
71705 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
71706 before performing relro protection. At old place add assertion
71707 to make sure nothing changed.
71708
71709 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
71710 Glauber de Oliveira Costa <glommer@gmail.com>
71711
71712 * elf/elf.h: Add new ARM TLS relocs.
71713
71714 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
71715
71716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71717 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
71718 cast from r3.
71719 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
71720 'tests' variable.
71721 * sysdeps/wordsize-64/tst-writev.c: New file.
71722
71723 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
71724
71725 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
71726 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
71727 insns in _dl_start to prevent a TOC reference before relocs are
71728 resolved.
71729
71730 2011-02-15 Ulrich Drepper <drepper@gmail.com>
71731
71732 [BZ #12469]
71733 * Makeconfig: Remove RANLIB definition.
71734 * Makerules: Don't use RANLIB.
71735 * aclocal.m4: Remove ranlib test.
71736 * configure.in: No need to check for ranlib.
71737 * elf/rtld-Rules: Don't use RANLIB.
71738
71739 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
71740
71741 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
71742 protection macro.
71743 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
71744 inclusion protection macro.
71745
71746 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
71747 SIGRTMIN and SIGRTMAX and print information in that case only when
71748 SIGRTMIN is defined.
71749
71750 2011-02-11 Jakub Jelinek <jakub@redhat.com>
71751
71752 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
71753 arginfo fn returning -1.
71754
71755 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
71756 and thousands string is zero terminated.
71757
71758 2011-02-03 Andreas Schwab <schwab@redhat.com>
71759
71760 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
71761 sysdeps/unix/sysv/linux/bits/socket.h.
71762
71763 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
71764
71765 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
71766 (__CPU_COUNT): Remove old macros.
71767 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
71768 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
71769 (__CPU_ALLOC, __CPU_FREE): Add macros.
71770 (__sched_cpualloc, __sched_cpufree): Add declarations.
71771
71772 2011-02-05 Ulrich Drepper <drepper@gmail.com>
71773
71774 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
71775 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
71776 * nscd/aicache.c (addhstaiX): Return timeout of added value.
71777 (readdhstai): Return value of addhstaiX call.
71778 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
71779 (addgrbyX): Return value returned by cache_addgr.
71780 (readdgrbyname): Return value returned by addgrbyX.
71781 (readdgrbygid): Likewise.
71782 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
71783 (addpwbyX): Return value returned by cache_addpw.
71784 (readdpwbyname): Return value returned by addhstbyX.
71785 (readdpwbyuid): Likewise.
71786 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
71787 (addservbyX): Return value returned by cache_addserv.
71788 (readdservbyname): Return value returned by addservbyX:
71789 (readdservbyport): Likewise.
71790 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
71791 (addhstbyX): Return value returned by cache_addhst.
71792 (readdhstbyname): Return value returned by addhstbyX.
71793 (readdhstbyaddr): Likewise.
71794 (readdhstbynamev6): Likewise.
71795 (readdhstbyaddrv6): Likewise.
71796 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
71797 (readdinitgroups): Return value returned by addinitgroupsX.
71798 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
71799 (prune_cache): Keep track of timeout value of re-added entries.
71800 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
71801 * nscd/nscd.h: Adjust prototypes of readd* functions.
71802
71803 2011-02-04 Roland McGrath <roland@redhat.com>
71804
71805 * nis/nis_server.c (nis_servstate): Use the right name for 0.
71806 (nis_stats): Likewise.
71807 * nis/nis_modify.c (nis_modify): Likewise.
71808 * nis/nis_remove.c (nis_remove): Likewise.
71809 * nis/nis_add.c (nis_add): Likewise.
71810
71811 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
71812
71813 * posix/fnmatch_loop.c: Add some consts.
71814
71815 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
71816
71817 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
71818
71819 [BZ #12460]
71820 * config.make.in (config-cflags-novzeroupper): Define.
71821 * configure.in: Substitute libc_cv_cc_novzeroupper.
71822 * elf/Makefile (AVX-CFLAGS): Define.
71823 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
71824 (CFLAGS-tst-auditmod4a.c): Likewise.
71825 (CFLAGS-tst-auditmod4b.c): Likewise.
71826 (CFLAGS-tst-auditmod6b.c): Likewise.
71827 (CFLAGS-tst-auditmod6c.c): Likewise.
71828 (CFLAGS-tst-auditmod7b.c): Likewise.
71829 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
71830
71831 2011-02-02 Ulrich Drepper <drepper@gmail.com>
71832
71833 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
71834 function to the callback.
71835 Patch partly by Jiri Olsa <jolsa@redhat.com>.
71836
71837 2011-02-02 Andreas Schwab <schwab@redhat.com>
71838
71839 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
71840 of errno.
71841
71842 2011-01-19 Ulrich Drepper <drepper@gmail.com>
71843
71844 [BZ #11724]
71845 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
71846 of constructors.
71847 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
71848 of destructors.
71849 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
71850
71851 [BZ #11724]
71852 * elf/Makefile: Add rules to build and run new test.
71853 * elf/tst-initorder.c: New file.
71854 * elf/tst-initorder.exp: New file.
71855 * elf/tst-initordera1.c: New file.
71856 * elf/tst-initordera2.c: New file.
71857 * elf/tst-initordera3.c: New file.
71858 * elf/tst-initordera4.c: New file.
71859 * elf/tst-initorderb1.c: New file.
71860 * elf/tst-initorderb2.c: New file.
71861 * elf/tst-order-a1.c: New file.
71862 * elf/tst-order-a2.c: New file.
71863 * elf/tst-order-a3.c: New file.
71864 * elf/tst-order-a4.c: New file.
71865 * elf/tst-order-b1.c: New file.
71866 * elf/tst-order-b2.c: New file.
71867 * elf/tst-order-main.c: New file.
71868 New test case by George Gensure <werkt0@gmail.com>.
71869
71870 2010-10-01 Andreas Schwab <schwab@redhat.com>
71871
71872 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71873 decoding ACE if AI_CANONIDN.
71874
71875 2011-01-18 Ulrich Drepper <drepper@gmail.com>
71876
71877 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
71878
71879 2011-01-17 Ulrich Drepper <drepper@gmail.com>
71880
71881 * version.h (RELEASE): Bump for 2.13 release.
71882 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
71883
71884 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
71885
71886 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
71887 MADV_NOHUGEPAGE.
71888 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
71889 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
71890 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71891 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71892 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71893 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71894
71895 * posix/getconf.c: Update copyright year.
71896 * catgets/gencat.c: Likewise.
71897 * csu/version.c: Likewise.
71898 * debug/catchsegv.sh: Likewise.
71899 * debug/xtrace.sh: Likewise.
71900 * elf/ldconfig.c: Likewise.
71901 * elf/ldd.bash.in: Likewise.
71902 * elf/sprof.c (print_version): Likewise.
71903 * iconv/iconv_prog.c: Likewise.
71904 * iconv/iconvconfig.c: Likewise.
71905 * locale/programs/locale.c: Likewise.
71906 * locale/programs/localedef.c: Likewise.
71907 * malloc/memusage.sh: Likewise.
71908 * malloc/mtrace.pl: Likewise.
71909 * nscd/nscd.c (print_version): Likewise.
71910 * nss/getent.c: Likewise.
71911
71912 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
71913 PF_CAIF, and PF_ALG.
71914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71915
71916 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
71917
71918 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
71919 (modules-names): Use them.
71920 (ifunc-test-modules, ifunc-pie-tests): Define.
71921 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
71922 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
71923 (test-extras): Likewise.
71924 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
71925 $(compile-command.c).
71926 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
71927 (all-built-dso): Define.
71928 (check-textrel.out, check-execstack.out): Depend on it.
71929
71930 * configure.in: Don't override --enable-multi-arch.
71931
71932 2011-01-15 Ulrich Drepper <drepper@gmail.com>
71933
71934 [BZ #6812]
71935 * nscd/hstcache.c (tryagain): Define.
71936 (cache_addhst): Return tryagain not notfound for temporary errors.
71937 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
71938 failed.
71939
71940 2011-01-14 Ulrich Drepper <drepper@gmail.com>
71941
71942 [BZ #10563]
71943 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
71944 to make the syscall.
71945 * sysdeps/unix/sysv/linux/setgroups.c: New file.
71946
71947 [BZ #12378]
71948 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
71949 and fall back to matching as normal character if the string ends before
71950 the matching ']' is found. This is what POSIX requires.
71951 * posix/testfnm.c: Adjust test result.
71952 * posix/globtest.sh: Adjust test result. Add new test.
71953 * posix/tst-fnmatch.input: Likewise.
71954 * posix/tst-fnmatch2.c: Add new test.
71955
71956 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
71957
71958 * elf/Makefile (check-execstack): Revert last change. Depend on
71959 check-execstack.h.
71960 (check-execstack.h): New target.
71961 (generated): Add check-execstack.h.
71962 * elf/check-execstack.c: Include "check-execstack.h".
71963 (main): Revert last change.
71964 (handle_file): Return zero if GNU_STACK is absent and
71965 DEFAULT_STACK_PERMS doesn't include PF_X.
71966
71967 2011-01-13 Ulrich Drepper <drepper@gmail.com>
71968
71969 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
71970 in child fails because the descriptor is already closed.
71971 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
71972 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
71973 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
71974
71975 [BZ #12397]
71976 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
71977 syscall.
71978
71979 [BZ #10484]
71980 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
71981 temporary buffer used to handle multi lookups locally.
71982 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
71983
71984 2011-01-12 Ulrich Drepper <drepper@gmail.com>
71985
71986 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
71987 loader is ld.so.
71988
71989 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
71990
71991 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
71992 alignment for SSE2.
71993
71994 2011-01-12 Ulrich Drepper <drepper@gmail.com>
71995
71996 [BZ #12394]
71997 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
71998 characters. When rounding increased number of integer digits recompute
71999 number of groups.
72000 * stdio-common/tst-grouping.c: New file.
72001 * stdio-common/Makefile: Add rules to build and run tst-grouping.
72002
72003 2011-01-09 Ulrich Drepper <drepper@gmail.com>
72004
72005 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
72006 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
72007
72008 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
72009 void.
72010 * bits/select.h: Likewise.
72011
72012 2011-01-08 Ulrich Drepper <drepper@gmail.com>
72013
72014 * po/ja.po: Update from translation team.
72015
72016 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
72017
72018 [BZ #11155]
72019 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
72020 implementation just like for lxstat, fxstatat, et al.
72021
72022 2010-12-27 Jim Meyering <meyering@redhat.com>
72023
72024 [BZ #12348]
72025 * posix/regexec.c (build_trtable): Return failure indication upon
72026 calloc failure. Otherwise, re_search_internal could infloop on OOM.
72027
72028 2010-12-25 Ulrich Drepper <drepper@gmail.com>
72029
72030 [BZ #12201]
72031 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
72032 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
72033 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
72034 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
72035
72036 [BZ #12207]
72037 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
72038
72039 [BZ #12204]
72040 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
72041 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
72042
72043 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
72044
72045 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
72046 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
72047 script has SORT_BY_INIT_PRIORITY.
72048 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
72049 NO_CTORS_DTORS_SECTIONS is defined.
72050 * elf/soinit.c: Likewise.
72051 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
72052 NO_CTORS_DTORS_SECTIONS is defined.
72053 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
72054 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
72055 * sysdeps/sh/init-first.c: Likewise.
72056 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
72057
72058 2010-12-24 Ulrich Drepper <drepper@gmail.com>
72059
72060 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
72061 always use the slow path.
72062
72063 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
72064
72065 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
72066 similar rule which adds the sysdep directories to the header search in
72067 order to pick up the correct platform stackinfo.h.
72068 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
72069 perform test if it is, otherwise return successfully without testing.
72070 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
72071 DEFAULT_STACK_PERMS define in stackinfo.h.
72072 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
72073 defined in stackinfo.h.
72074 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
72075 DEFAULT_STACK_PERMS defined in stackinfo.h.
72076 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
72077 * sysdeps/ia64/stackinfo.h: Likewise.
72078 * sysdeps/s390/stackinfo.h: Likewise.
72079 * sysdeps/sh/stackinfo.h: Likewise.
72080 * sysdeps/sparc/stackinfo.h: Likewise.
72081 * sysdeps/x86_64/stackinfo.h: Likewise.
72082 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
72083 PF_X for powerpc64. Retain PF_X for powerpc32.
72084
72085 2010-12-19 Ulrich Drepper <drepper@gmail.com>
72086
72087 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
72088 accurately.
72089 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
72090 GETDENTS_64BIT_ALIGNED.
72091
72092 2010-12-14 Ulrich Drepper <dreper@gmail.com>
72093
72094 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
72095
72096 2010-12-10 Andreas Schwab <schwab@redhat.com>
72097
72098 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
72099 _GNU_SOURCE.
72100
72101 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
72102 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
72103 Remove __restrict.
72104 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
72105 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
72106
72107 2010-12-09 Ulrich Drepper <drepper@gmail.com>
72108
72109 [BZ #11655]
72110 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
72111 are initialized.
72112
72113 2010-12-09 Jakub Jelinek <jakub@redhat.com>
72114
72115 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
72116
72117 2010-12-03 Ulrich Drepper <drepper@gmail.com>
72118
72119 * po/it.po: Update from translation team.
72120
72121 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
72122
72123 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
72124 unused codes.
72125
72126 2010-11-30 Ulrich Drepper <drepper@gmail.com>
72127
72128 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
72129
72130 2010-11-24 Andreas Schwab <schwab@redhat.com>
72131
72132 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
72133 specially.
72134 (gaih_getanswer_slice): Likewise.
72135
72136 2010-10-20 Jakub Jelinek <jakub@redhat.com>
72137
72138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
72139
72140 2010-05-31 Petr Baudis <pasky@suse.cz>
72141
72142 [BZ #11149]
72143 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
72144 silently even in the chroot mode.
72145
72146 2010-11-22 Ulrich Drepper <drepper@gmail.com>
72147
72148 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
72149 last patch a bit. Pretty printing
72150
72151 2010-05-31 Petr Baudis <pasky@suse.cz>
72152
72153 [BZ #10085]
72154 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
72155 initialization of skip_initgroups_dyn.
72156
72157 2010-11-19 Ulrich Drepper <drepper@gmail.com>
72158
72159 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
72160 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72161
72162 2010-11-16 Ulrich Drepper <drepper@gmail.com>
72163
72164 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
72165
72166 2010-11-11 Andreas Schwab <schwab@redhat.com>
72167
72168 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
72169 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
72170 (tst-fnmatch-ENV): Set MALLOC_TRACE.
72171 ($(objpfx)tst-fnmatch-mem): New rule.
72172 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
72173 * posix/tst-fnmatch.c (main): Call mtrace.
72174
72175 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
72176
72177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72178 Support Intel processor model 6 and model 0x2c.
72179
72180 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
72181
72182 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
72183 signed comparison.
72184
72185 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
72186
72187 [BZ #12205]
72188 * string/test-strncasecmp.c (check_result): New function.
72189 (do_one_test): Use it.
72190 (check1): New function.
72191 (test_main): Use it.
72192 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
72193 Support strcasecmp and strncasecmp.
72194
72195 2010-11-08 Ulrich Drepper <drepper@gmail.com>
72196
72197 [BZ #12194]
72198 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
72199 * sysdeps/x86_64/bits/byteswap.h: Likewise.
72200
72201 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
72202
72203 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
72204 IFUNC support.
72205 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72206 memset-x86-64.
72207 * sysdeps/x86_64/multiarch/bzero.S: New file.
72208 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
72209 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
72210 * sysdeps/x86_64/multiarch/memset.S: New file.
72211 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
72212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72213 Set bit_Prefer_SSE_for_memop for Intel processors.
72214 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
72215 Define.
72216 (index_Prefer_SSE_for_memop): Define.
72217 (HAS_PREFER_SSE_FOR_MEMOP): Define.
72218
72219 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
72220
72221 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
72222 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
72223
72224 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
72225
72226 [BZ #12191]
72227 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72228 (__x86_64_raw_data_cache_size_half): Likewise.
72229 (__x86_64_raw_shared_cache_size): Likewise.
72230 (__x86_64_raw_shared_cache_size_half): Likewise.
72231
72232 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72233 (__x86_64_raw_data_cache_size_half): Likewise.
72234 (__x86_64_raw_shared_cache_size): Likewise.
72235 (__x86_64_raw_shared_cache_size_half): Likewise.
72236 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
72237 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
72238 and __x86_64_raw_shared_cache_size_half. Round
72239 __x86_64_data_cache_size_half, __x86_64_data_cache_size
72240 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
72241 to multiple of 256 bytes.
72242
72243 2010-11-03 Ulrich Drepper <drepper@gmail.com>
72244
72245 [BZ #12167]
72246 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
72247 of inacessible symlinks. Verify result of symlink before returning it.
72248 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
72249 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
72250
72251 2010-10-28 Erich Ritz <erichritz@gmail.com>
72252
72253 * math/math.h (isinf): Fix typo in comment.
72254
72255 2010-11-01 Ulrich Drepper <drepper@gmail.com>
72256
72257 * po/da.po: Update from translation team.
72258
72259 2010-10-26 Ulrich Drepper <drepper@gmail.com>
72260
72261 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
72262 is added to the list.
72263
72264 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72265 Ulrich Drepper <drepper@gmail.com>
72266
72267 * elf/dl-object.c (_dl_new_object): Don't append the new object to
72268 the global list here. Move code to...
72269 (_dl_add_to_namespace_list): ...here. New function.
72270 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
72271 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
72272 * elf/dl-load.c (lose): Don't remove the element from the list.
72273 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
72274 (_dl_map_object): Likewise.
72275
72276 2010-10-25 Ulrich Drepper <drepper@gmail.com>
72277
72278 [BZ #12159]
72279 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
72280 into all bytes of SSE register.
72281 Patch by Richard Li <richardpku@gmail.com>.
72282
72283 2010-10-24 Ulrich Drepper <drepper@gmail.com>
72284
72285 [BZ #12140]
72286 * malloc/malloc.c (_int_free): Fill correct number of bytes when
72287 perturbing.
72288
72289 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
72290
72291 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
72292 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
72293 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
72294 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
72296 submachine.
72297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
72298
72299 2010-10-22 Andreas Schwab <schwab@redhat.com>
72300
72301 * include/dlfcn.h (__RTLD_SECURE): Define.
72302 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
72303 mode & __RTLD_SECURE instead.
72304 (open_path): Rename preloaded parameter to secure.
72305 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
72306 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
72307 * elf/dl-deps.c (openaux): Likewise.
72308 * elf/rtld.c (struct map_args): Remove is_preloaded.
72309 (map_doit): Don't use it.
72310 (dl_main): Likewise.
72311 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
72312 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
72313
72314 2010-09-09 Andreas Schwab <schwab@redhat.com>
72315
72316 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
72317 (sysd-rules-targets): Remove duplicates.
72318 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
72319 rtld-%.$o dependency.
72320
72321 2010-10-18 Andreas Schwab <schwab@redhat.com>
72322
72323 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
72324 _dl_map_object do it.
72325
72326 2010-10-19 Ulrich Drepper <drepper@gmail.com>
72327
72328 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
72329 fast fma builtins, define the macros in the C99 standard.
72330 (FP_FAST_FMAF): Likewise.
72331 (FP_FAST_FMAL): Likewise.
72332 * sysdeps/x86_64/bits/mathdef.h: Likewise.
72333
72334 * bits/mathdef.h: Update copyright year.
72335 * sysdeps/powerpc/bits/mathdef.h: Likewise.
72336
72337 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
72338
72339 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
72340 builtins, define the macros in the C99 standard.
72341 (FP_FAST_FMAF): Likewise.
72342 (FP_FAST_FMAL): Likewise.
72343 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
72344 multiply/add.
72345 (FP_FAST_FMAF): Likewise.
72346
72347 2010-10-15 Jakub Jelinek <jakub@redhat.com>
72348
72349 [BZ #3268]
72350 * math/libm-test.inc (fma_test): Some new testcases.
72351 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
72352 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
72353 y and infinite z. Do multiplication by C already in long double.
72354 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
72355 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
72356 y and infinite z. Do bitwise or of inexact bit into u.d.
72357 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
72358 * sysdeps/i386/fpu/s_fmaf.S: Removed.
72359 * sysdeps/i386/fpu/s_fma.S: Removed.
72360 * sysdeps/i386/fpu/s_fmal.S: Removed.
72361
72362 2010-10-16 Jakub Jelinek <jakub@redhat.com>
72363
72364 [BZ #3268]
72365 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
72366 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
72367 computation is not scheduled after fetestexcept. Fix value
72368 of minimum denormal long double.
72369
72370 2010-10-14 Jakub Jelinek <jakub@redhat.com>
72371
72372 [BZ #3268]
72373 * math/libm-test.inc (fma_test): Add some more tests.
72374 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
72375 correctly.
72376
72377 2010-10-15 Andreas Schwab <schwab@redhat.com>
72378
72379 * scripts/data/localplt-s390-linux-gnu.data: New file.
72380 * scripts/data/localplt-s390x-linux-gnu.data: New file.
72381
72382 2010-10-13 Jakub Jelinek <jakub@redhat.com>
72383
72384 [BZ #3268]
72385 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
72386 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
72387 instead of dbl-64.
72388 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
72389 inlines.
72390 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
72391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
72392 if one of x and y is very large and the other is subnormal.
72393 * sysdeps/s390/fpu/s_fmaf.c: New file.
72394 * sysdeps/s390/fpu/s_fma.c: New file.
72395 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
72396 * sysdeps/powerpc/fpu/s_fma.S: New file.
72397 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
72398 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
72399 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
72400
72401 2010-10-12 Jakub Jelinek <jakub@redhat.com>
72402
72403 [BZ #3268]
72404 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
72405 fma tests.
72406 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
72407 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
72408 * sysdeps/i386/i686/multiarch/s_fma.c: Include
72409 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
72410 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
72411 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
72412 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
72413
72414 2010-10-12 Ulrich Drepper <drepper@redhat.com>
72415
72416 [BZ #12078]
72417 * posix/regcomp.c (parse_branch): One more memory leak plugged.
72418 * posix/bug-regex31.input: Add test case.
72419
72420 2010-10-11 Ulrich Drepper <drepper@gmail.com>
72421
72422 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
72423 * posix/bug-regex31.input: New file.
72424
72425 [BZ #12078]
72426 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
72427 (parse_sub_exp): Fix last change, use postorder.
72428
72429 * posix/bug-regex31.c: New file.
72430 * posix/Makefile: Add rules to build and run bug-regex31.
72431
72432 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
72433
72434 [BZ #12078]
72435 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
72436
72437 [BZ #12108]
72438 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
72439 to have entries in sys_siglist.
72440
72441 [BZ #12093]
72442 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
72443 be NULL.
72444
72445 2010-10-07 Jakub Jelinek <jakub@redhat.com>
72446
72447 [BZ #3268]
72448 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
72449 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
72450 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
72451 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
72452 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72453 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
72454 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
72455 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
72456 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
72457 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
72458 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
72459 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
72460 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
72461 * math/ftestexcept.c (fetestexcept): Likewise.
72462 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
72463 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
72464 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
72465 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
72466 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
72467 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
72468 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72469
72470 2010-10-11 Ulrich Drepper <drepper@gmail.com>
72471
72472 [BZ #12107]
72473 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
72474 newline.
72475
72476 2010-10-06 Ulrich Drepper <drepper@gmail.com>
72477
72478 * string/bug-strstr1.c: New file.
72479 * string/Makefile: Add rules to build and run bug-strstr1.
72480
72481 2010-10-05 Eric Blake <eblake@redhat.com>
72482
72483 [BZ #12092]
72484 * string/str-two-way.h (two_way_long_needle): Always clear memory
72485 when skipping input due to the shift table.
72486
72487 2010-10-03 Ulrich Drepper <drepper@gmail.com>
72488
72489 [BZ #12005]
72490 * malloc/mcheck.c: Handle large requests.
72491
72492 [BZ #12077]
72493 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
72494 for strncmp and strncasecmp.
72495 * string/stratcliff.c: Add tests for strcmp and strncmp.
72496 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
72497
72498 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
72499
72500 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
72501 __set_fpscr.
72502
72503 2010-09-30 Andreas Jaeger <aj@suse.de>
72504
72505 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
72506 (CGROUP_SUPER_MAGIC): Define.
72507 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72508 Handle btrfs and cgroup file systems.
72509 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
72510 Likewise.
72511
72512 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
72513
72514 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
72515 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
72516
72517 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72518
72519 [BZ #12067]
72520 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
72521 trying to locate the ELF header.
72522
72523 2010-09-27 Andreas Schwab <schwab@redhat.com>
72524
72525 [BZ #11611]
72526 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
72527 Mask out sign-bit copies when constructing f_fsid.
72528
72529 2010-09-24 Petr Baudis <pasky@suse.cz>
72530
72531 * debug/stack_chk_fail_local.c: Add missing licence exception.
72532 * debug/warning-nop.c: Likewise.
72533
72534 2010-09-15 Joseph Myers <joseph@codesourcery.com>
72535
72536 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
72537 implementing getdents64 using getdents syscall, set d_type if
72538 __ASSUME_GETDENTS32_D_TYPE.
72539
72540 2010-09-16 Andreas Schwab <schwab@redhat.com>
72541
72542 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
72543 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
72544
72545 2010-09-21 Ulrich Drepper <drepper@redhat.com>
72546
72547 [BZ #12037]
72548 * posix/unistd.h: Undo change of feature selection for ftruncate from
72549 2010-01-11.
72550
72551 2010-09-20 Ulrich Drepper <drepper@redhat.com>
72552
72553 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
72554 detection.
72555
72556 2010-09-20 Andreas Schwab <schwab@redhat.com>
72557
72558 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
72559 fanotify_mark.
72560 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72561
72562 2010-09-14 Andreas Schwab <schwab@redhat.com>
72563
72564 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
72565 variables after CHECK_SP call.
72566 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
72567
72568 2010-09-13 Andreas Schwab <schwab@redhat.com>
72569 Ulrich Drepper <drepper@redhat.com>
72570
72571 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
72572 re-relocationg ld.so.
72573 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
72574 _dl_init_paths call.
72575 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
72576 here anymore.
72577
72578 2010-09-14 Ulrich Drepper <drepper@redhat.com>
72579
72580 * resolv/res_init.c (__res_vinit): Count the default server we added.
72581
72582 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
72583 Ulrich Drepper <drepper@redhat.com>
72584
72585 [BZ #11968]
72586 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72587 (____longjmp_chk): Use %ebx for saving value across system call.
72588 Add unwind info.
72589
72590 2010-09-06 Andreas Schwab <schwab@redhat.com>
72591
72592 * manual/Makefile: Don't mix pattern rules with normal rules.
72593
72594 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
72595
72596 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
72597 operation.
72598 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
72599 * libio/iofopncook.c (_IO_cookie_init): Likewise.
72600 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
72601 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
72602 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72603 Likewise.
72604
72605 2010-09-04 Ulrich Drepper <drepper@redhat.com>
72606
72607 [BZ #11979]
72608 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
72609 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
72610
72611 2010-09-02 Ulrich Drepper <drepper@redhat.com>
72612
72613 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
72614 * sysdeps/x86_64/addmul_1.S: Likewise.
72615 * sysdeps/x86_64/lshift.S: Likewise.
72616 * sysdeps/x86_64/mul_1.S: Likewise.
72617 * sysdeps/x86_64/rshift.S: Likewise.
72618 * sysdeps/x86_64/sub_n.S: Likewise.
72619 * sysdeps/x86_64/submul_1.S: Likewise.
72620
72621 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
72622
72623 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
72624 Define __sched_param instead of SCHED_* and sched_param when
72625 <bits/sched.h> is included with __need_schedparam defined.
72626 * bits/sched.h [__need_schedparam]
72627 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
72628 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
72629 (__defined_schedparam): Define to 1.
72630 (__sched_param): New structure, identical to sched_param.
72631 (__need_schedparam): Undefine.
72632
72633 2010-08-31 Mike Frysinger <vapier@gentoo.org>
72634
72635 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
72636 (epoll_create1): Declare.
72637
72638 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
72639
72640 2010-08-31 Andreas Schwab <schwab@redhat.com>
72641
72642 [BZ #7066]
72643 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
72644 shifting retval into place.
72645
72646 2010-09-01 Ulrich Drepper <drepper@redhat.com>
72647
72648 * nis/rpcsvc/nis.h: Update copyright notice.
72649 * nis/rpcsvc/nis.x: Likewise.
72650 * nis/rpcsvc/nis_callback.h: Likewise.
72651 * nis/rpcsvc/nis_callback.x: Likewise.
72652 * nis/rpcsvc/nis_object.x: Likewise.
72653 * nis/rpcsvc/nis_tags.h: Likewise.
72654 * nis/rpcsvc/yp.h: Likewise.
72655 * nis/rpcsvc/yp.x: Likewise.
72656 * nis/rpcsvc/ypupd.h: Likewise.
72657 * nis/yp_xdr.c: Likewise.
72658 * nis/ypupdate_xdr.c: Likewise.
72659
72660 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
72661 mainly the body of pmap_getport. Add parameters to specify timeouts.
72662 (pmap_getport): Use __libc_rpc_getport.
72663 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
72664 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
72665 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
72666
72667 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
72668
72669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
72670 fanotify_mark.
72671
72672 2010-08-27 Roland McGrath <roland@redhat.com>
72673
72674 * sysdeps/i386/i686/multiarch/Makefile
72675 (CFLAGS-varshift.c): New variable.
72676
72677 2010-08-27 Ulrich Drepper <drepper@redhat.com>
72678
72679 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
72680 * sysdeps/i386/i686/multiarch/varshift.c: New file.
72681
72682 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
72683
72684 * sysdeps/x86_64/strlen.S: Minimal code improvement.
72685
72686 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
72687
72688 * sysdeps/x86_64/strlen.S: Unroll the loop.
72689 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72690 strlen-sse2 strlen-sse2-bsf.
72691 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
72692 __strlen_no_bsf if bit_Slow_BSF is set.
72693 (__strlen_sse42): Removed.
72694 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
72695 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
72696
72697 2010-08-25 Roland McGrath <roland@redhat.com>
72698
72699 * sysdeps/x86_64/multiarch/varshift.S: File removed.
72700 * sysdeps/x86_64/multiarch/varshift.c: New file.
72701 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
72702 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
72703 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
72704 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72705
72706 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
72707
72708 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72709 strlen-sse2 strlen-sse2-bsf.
72710 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
72711 __strlen_sse2_bsf if bit_Slow_BSF is unset.
72712 (__strlen_sse2): Removed.
72713 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
72714 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
72715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
72716 bit_Slow_BSF for Atom.
72717 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
72718 (index_Slow_BSF): Define.
72719 (HAS_SLOW_BSF): Define.
72720
72721 2010-08-25 Ulrich Drepper <drepper@redhat.com>
72722
72723 [BZ #10851]
72724 * resolv/res_init.c (__res_vinit): When no server address at all
72725 is given default to loopback.
72726
72727 2010-08-24 Roland McGrath <roland@redhat.com>
72728
72729 * configure.in: Remove config-name.h generation.
72730 * configure: Regenerated.
72731 * config-name.in: File removed.
72732 * scripts/config-uname.sh: New file.
72733 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
72734 ($(objdir)config-name.h): New target.
72735
72736 * sunrpc/rpc_parse.h: Avoid nested comment.
72737
72738 2010-08-24 Richard Henderson <rth@redhat.com>
72739 Ulrich Drepper <drepper@redhat.com>
72740 H.J. Lu <hongjiu.lu@intel.com>
72741
72742 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
72743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
72744 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
72745 Replace _mm_srli_si128 with __m128i_shift_right. Replace
72746 _mm_alignr_epi8 with _mm_loadu_si128.
72747 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
72748 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
72749 (__m128i_shift_right): Removed.
72750 * sysdeps/i386/i686/multiarch/varshift.h: New file.
72751 * sysdeps/i386/i686/multiarch/varshift.S: New file.
72752 * sysdeps/x86_64/multiarch/varshift.h: New file.
72753 * sysdeps/x86_64/multiarch/varshift.S: New file.
72754
72755 2010-08-21 Mike Frysinger <vapier@gentoo.org>
72756
72757 * configure.in: Move assembler checks to before sysdep dir checking.
72758
72759 2010-08-20 Petr Baudis <pasky@suse.cz>
72760
72761 * LICENSES: Sync the sunrpc license.
72762
72763 2010-08-19 Ulrich Drepper <drepper@redhat.com>
72764
72765 * sunrpc/auth_des.c: Update copyright notice once again.
72766 * sunrpc/auth_none.c: Likewise.
72767 * sunrpc/auth_unix.c: Likewise.
72768 * sunrpc/authdes_prot.c: Likewise.
72769 * sunrpc/authuxprot.c: Likewise.
72770 * sunrpc/bindrsvprt.c: Likewise.
72771 * sunrpc/clnt_gen.c: Likewise.
72772 * sunrpc/clnt_perr.c: Likewise.
72773 * sunrpc/clnt_raw.c: Likewise.
72774 * sunrpc/clnt_simp.c: Likewise.
72775 * sunrpc/clnt_tcp.c: Likewise.
72776 * sunrpc/clnt_udp.c: Likewise.
72777 * sunrpc/clnt_unix.c: Likewise.
72778 * sunrpc/des_crypt.c: Likewise.
72779 * sunrpc/des_soft.c: Likewise.
72780 * sunrpc/get_myaddr.c: Likewise.
72781 * sunrpc/getrpcport.c: Likewise.
72782 * sunrpc/key_call.c: Likewise.
72783 * sunrpc/key_prot.c: Likewise.
72784 * sunrpc/openchild.c: Likewise.
72785 * sunrpc/pm_getmaps.c: Likewise.
72786 * sunrpc/pm_getport.c: Likewise.
72787 * sunrpc/pmap_clnt.c: Likewise.
72788 * sunrpc/pmap_prot.c: Likewise.
72789 * sunrpc/pmap_prot2.c: Likewise.
72790 * sunrpc/pmap_rmt.c: Likewise.
72791 * sunrpc/rpc/auth.h: Likewise.
72792 * sunrpc/rpc/auth_unix.h: Likewise.
72793 * sunrpc/rpc/clnt.h: Likewise.
72794 * sunrpc/rpc/des_crypt.h: Likewise.
72795 * sunrpc/rpc/key_prot.h: Likewise.
72796 * sunrpc/rpc/netdb.h: Likewise.
72797 * sunrpc/rpc/pmap_clnt.h: Likewise.
72798 * sunrpc/rpc/pmap_prot.h: Likewise.
72799 * sunrpc/rpc/pmap_rmt.h: Likewise.
72800 * sunrpc/rpc/rpc.h: Likewise.
72801 * sunrpc/rpc/rpc_des.h: Likewise.
72802 * sunrpc/rpc/rpc_msg.h: Likewise.
72803 * sunrpc/rpc/svc.h: Likewise.
72804 * sunrpc/rpc/svc_auth.h: Likewise.
72805 * sunrpc/rpc/types.h: Likewise.
72806 * sunrpc/rpc/xdr.h: Likewise.
72807 * sunrpc/rpc_clntout.c: Likewise.
72808 * sunrpc/rpc_cmsg.c: Likewise.
72809 * sunrpc/rpc_common.c: Likewise.
72810 * sunrpc/rpc_cout.c: Likewise.
72811 * sunrpc/rpc_dtable.c: Likewise.
72812 * sunrpc/rpc_hout.c: Likewise.
72813 * sunrpc/rpc_main.c: Likewise.
72814 * sunrpc/rpc_parse.c: Likewise.
72815 * sunrpc/rpc_parse.h: Likewise.
72816 * sunrpc/rpc_prot.c: Likewise.
72817 * sunrpc/rpc_sample.c: Likewise.
72818 * sunrpc/rpc_scan.c: Likewise.
72819 * sunrpc/rpc_scan.h: Likewise.
72820 * sunrpc/rpc_svcout.c: Likewise.
72821 * sunrpc/rpc_tblout.c: Likewise.
72822 * sunrpc/rpc_util.c: Likewise.
72823 * sunrpc/rpc_util.h: Likewise.
72824 * sunrpc/rpcinfo.c: Likewise.
72825 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
72826 * sunrpc/rpcsvc/key_prot.x: Likewise.
72827 * sunrpc/rpcsvc/klm_prot.x: Likewise.
72828 * sunrpc/rpcsvc/mount.x: Likewise.
72829 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
72830 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
72831 * sunrpc/rpcsvc/rex.x: Likewise.
72832 * sunrpc/rpcsvc/rstat.x: Likewise.
72833 * sunrpc/rpcsvc/rusers.x: Likewise.
72834 * sunrpc/rpcsvc/sm_inter.x: Likewise.
72835 * sunrpc/rpcsvc/spray.x: Likewise.
72836 * sunrpc/rpcsvc/yppasswd.x: Likewise.
72837 * sunrpc/rtime.c: Likewise.
72838 * sunrpc/svc.c: Likewise.
72839 * sunrpc/svc_auth.c: Likewise.
72840 * sunrpc/svc_authux.c: Likewise.
72841 * sunrpc/svc_raw.c: Likewise.
72842 * sunrpc/svc_run.c: Likewise.
72843 * sunrpc/svc_simple.c: Likewise.
72844 * sunrpc/svc_tcp.c: Likewise.
72845 * sunrpc/svc_udp.c: Likewise.
72846 * sunrpc/svc_unix.c: Likewise.
72847 * sunrpc/svcauth_des.c: Likewise.
72848 * sunrpc/xcrypt.c: Likewise.
72849 * sunrpc/xdr.c: Likewise.
72850 * sunrpc/xdr_array.c: Likewise.
72851 * sunrpc/xdr_float.c: Likewise.
72852 * sunrpc/xdr_mem.c: Likewise.
72853 * sunrpc/xdr_rec.c: Likewise.
72854 * sunrpc/xdr_ref.c: Likewise.
72855 * sunrpc/xdr_sizeof.c: Likewise.
72856 * sunrpc/xdr_stdio.c: Likewise.
72857
72858 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
72859 handling.
72860
72861 2010-08-19 Andreas Schwab <schwab@redhat.com>
72862
72863 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
72864
72865 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
72866
72867 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
72868 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
72869 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
72870 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
72871 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
72872 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
72873 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
72874 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
72875 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
72876 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
72877 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
72878 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
72879 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
72880 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
72881
72882 2010-07-26 Anton Blanchard <anton@samba.org>
72883
72884 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
72885 * malloc/arena.c (heap_trim): Likewise.
72886
72887 2010-08-16 Ulrich Drepper <drepper@redhat.com>
72888
72889 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
72890 here. Not...
72891 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
72892 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
72893
72894 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
72895
72896 * sysdeps/i386/elf/Makefile: New file.
72897
72898 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
72899
72900 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
72901 from fanotify_init.
72902 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
72903 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72904
72905 2010-08-15 Ulrich Drepper <drepper@redhat.com>
72906
72907 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
72908 of strncasecmp_l.
72909 * sysdeps/multiarch/strcmp.S: Likewise.
72910
72911 2010-08-14 Ulrich Drepper <drepper@redhat.com>
72912
72913 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72914 strncase_l-nonascii.
72915 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72916 Add strncase_l-ssse3.
72917 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
72918 * sysdeps/x86_64/strcmp.S: Likewise.
72919 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
72920 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
72921 * sysdeps/x86_64/strncase.S: New file.
72922 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
72923 * sysdeps/x86_64/strncase_l.S: New file.
72924 * string/Makefile (strop-tests): Add strncasecmp.
72925 * string/test-strncasecmp.c: New file.
72926
72927 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
72928 warning.
72929
72930 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
72931 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
72932
72933 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
72934
72935 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
72936
72937 2010-08-12 Ulrich Drepper <drepper@redhat.com>
72938
72939 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
72940 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
72941 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
72942
72943 2010-05-01 Alan Modra <amodra@gmail.com>
72944
72945 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
72946 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
72947 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
72948 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
72949 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
72950 tidying. Don't tail-call __sigjmp_save for static lib.
72951 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
72952 save location.
72953 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
72954 (CALL_MCOUNT): Add eh info, and nop after bl.
72955 (TAIL_CALL_SYSCALL_ERROR): New macro.
72956 (PSEUDO_RET): Use it.
72957 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
72958 Correct save location of integer regs and cr.
72959 (_dl_profile_resolve): Correct cr save location. Delete nops
72960 after bl when SHARED. Reduce cfi size a little by better
72961 placement of cfi directives.
72962 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
72963 make a stack frame. Instead use parm save area as a temp.
72964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
72965 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
72966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
72967 Don't make a stack frame for parent, use parm save area.
72968 Increase child stack frame to 112 bytes. Don't save unused reg,
72969 and adjust reg usage. Set up cfi on error recovery and
72970 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
72971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72972 (__makecontext): Add dummy nop after jump to exit.
72973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
72974 Use correct parm save area and cr save, reduce stack frame.
72975 Correct cfi for possible PSEUDO_RET frame setup.
72976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
72977 Branch to local label emitted by PSEUDO_RET rather than
72978 __syscall_error.
72979
72980 2010-08-12 Andreas Schwab <schwab@redhat.com>
72981
72982 [BZ #11904]
72983 * locale/programs/locale.c (print_assignment): New function.
72984 (show_locale_vars): Use it.
72985
72986 2010-08-11 Ulrich Drepper <drepper@redhat.com>
72987
72988 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
72989 field.
72990 (struct statfs64): Likewise.
72991 (_STATFS_F_FLAGS): Define.
72992 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
72993 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72994 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
72995 (ST_VALID): Define locally.
72996 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
72997 __statvfs_getflags, use the provided value.
72998 * sysdeps/unix/sysv/linux/kernel-features.h: Define
72999 __ASSUME_STATFS_F_FLAGS.
73000
73001 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
73002
73003 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
73004 Add sys/fanotify.h.
73005 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
73006 fanotify_mask for GLIBC_2.13.
73007 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
73008 fanotify_init and fanotify_mark.
73009 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73010 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
73011
73012 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
73013 Add prlimit.
73014 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
73015 prlimit64 for GLIBC_2.13.
73016 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
73017 prlimit64.
73018 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
73019 syscall.
73020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
73021 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
73022 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
73023 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
73024 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
73025 add prlimit alias.
73026 * sysdeps/unix/sysv/linux/prlimit.c: New file.
73027
73028 [BZ #11903]
73029 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
73030 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
73031
73032 * nss/Makefile: Add rules to build and run tst-nss-test1.
73033 * shlib-versions: Add entry for libnss_test1.
73034 * nss/nss_test1.c: New file.
73035 * nss/tst-nss-test1.c: New file.
73036
73037 * nss/nsswitch.c (__nss_database_custom): Define new variable.
73038 (__nss_configure_lookup): Set appropriate entry in
73039 __nss_configure_lookup to true.
73040 * nss/nsswitch.h: Define enum with indeces of databases in
73041 databases and __nss_database_custom arrays. Declare
73042 __nss_database_custom.
73043 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
73044 to avoid using nscd when custom rules are installed.
73045 * nss/getXXbyYY_r.c: Likewise.
73046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
73047
73048 * nss/nss_files/files-parse.c: Whitespace fixes.
73049
73050 2010-08-09 Ulrich Drepper <drepper@redhat.com>
73051
73052 [BZ #11883]
73053 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
73054 * posix/fnmatch_loop.c: Likewise.
73055
73056 2010-07-17 Andi Kleen <ak@linux.intel.com>
73057
73058 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
73059 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
73060 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
73061 * Versions.def [GLIBC_2.13]: Add.
73062
73063 2010-08-06 Ulrich Drepper <drepper@redhat.com>
73064
73065 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73066 Also fail if tpwd after pwuid call is NULL.
73067
73068 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
73069
73070 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
73071 when converting to ms.
73072
73073 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
73074
73075 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
73076 EOPNOTSUPP errors with ENOTTY.
73077 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
73078 EOPNOTSUPP errors with ENOTTY.
73079
73080 2010-07-31 Ulrich Drepper <drepper@redhat.com>
73081
73082 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73083 Add strcasecmp_l-ssse3.
73084 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
73085 strcasecmp.
73086 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
73087 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
73088 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
73089
73090 2010-07-30 Ulrich Drepper <drepper@redhat.com>
73091
73092 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
73093
73094 * string/Makefile (strop-tests): Add strcasecmp.
73095 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73096 strcasecmp_l-nonascii.
73097 (gen-as-const-headers): Add locale-defines.sym.
73098 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
73099 * sysdeps/x86_64/strcasecmp.S: New file.
73100 * sysdeps/x86_64/strcasecmp_l.S: New file.
73101 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
73102 * sysdeps/x86_64/locale-defines.sym: New file.
73103 * string/test-strcasecmp.c: New file.
73104
73105 * string/test-strcasestr.c: Test both ends of the range of characters.
73106 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
73107
73108 2010-07-29 Roland McGrath <roland@redhat.com>
73109
73110 [BZ #11856]
73111 * manual/locale.texi (Yes-or-No Questions): Fix example code.
73112
73113 2010-07-27 Ulrich Drepper <drepper@redhat.com>
73114
73115 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
73116 for ld.so.
73117
73118 2010-07-27 Andreas Schwab <schwab@redhat.com>
73119
73120 * manual/memory.texi (Malloc Tunable Parameters): Document
73121 M_PERTURB.
73122
73123 2010-07-26 Roland McGrath <roland@redhat.com>
73124
73125 [BZ #11840]
73126 * configure.in (-fgnu89-inline check): Set and substitute
73127 gnu89_inline, not libc_cv_gnu89_inline.
73128 * configure: Regenerated.
73129 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
73130
73131 2010-07-26 Ulrich Drepper <drepper@redhat.com>
73132
73133 * string/test-strnlen.c: New file.
73134 * string/Makefile (strop-tests): Add strnlen.
73135 * string/tester.c (test_strnlen): Add a few more test cases.
73136 * string/tst-strlen.c: Better error reporting.
73137
73138 * sysdeps/x86_64/strnlen.S: New file.
73139
73140 2010-07-24 Ulrich Drepper <drepper@redhat.com>
73141
73142 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
73143 lower-latency instructions.
73144
73145 2010-07-23 Ulrich Drepper <drepper@redhat.com>
73146
73147 * string/test-strcasestr.c: New file.
73148 * string/test-strstr.c: New file.
73149 * string/Makefile (strop-tests): Add strstr and strcasestr.
73150 * string/str-two-way.h: Don't undefine MAX.
73151 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
73152
73153 2010-07-21 Andreas Schwab <schwab@redhat.com>
73154
73155 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73156 strcasestr-nonascii.
73157 (CFLAGS-strcasestr-nonascii.c): Define.
73158 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
73159 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
73160 Remove unused attribute.
73161
73162 2010-07-20 Roland McGrath <roland@redhat.com>
73163
73164 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
73165 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
73166 ld.so.cache was broken. With it, there is no way to disable dsocaps
73167 like LD_HWCAP_MASK can disable hwcaps.
73168
73169 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
73170
73171 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
73172
73173 2010-07-16 Ulrich Drepper <drepper@redhat.com>
73174
73175 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
73176 call in strcasestr.
73177 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
73178 __strcasestr_sse42_nonascii.
73179 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
73180 strcasestr-nonascii.c.
73181 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
73182
73183 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
73184
73185 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
73186 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
73187 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
73188 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
73189
73190 2010-07-09 Ulrich Drepper <drepper@redhat.com>
73191
73192 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
73193 fcntl.
73194
73195 2010-07-06 Andreas Schwab <schwab@redhat.com>
73196
73197 [BZ #11577]
73198 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
73199 dl_signal_cerror.
73200
73201 2010-07-06 Ulrich Drepper <drepper@redhat.com>
73202
73203 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
73204 _PC_PIPE_BUF using F_GETPIPE_SZ.
73205
73206 2010-07-05 Roland McGrath <roland@redhat.com>
73207
73208 * manual/arith.texi (Rounding Functions): Fix rint description
73209 implicit in round description.
73210
73211 2010-07-02 Ulrich Drepper <drepper@redhat.com>
73212
73213 * elf/Makefile: Fix linking for a few tests to make recent linker
73214 happy.
73215
73216 2010-06-30 Andreas Schwab <schwab@redhat.com>
73217
73218 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73219 $(common-objpfx)libc_nonshared.a.
73220
73221 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
73222
73223 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
73224 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
73225 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73226 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73227 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
73228 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
73229 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73230 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
73232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
73233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
73234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
73236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
73238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
73239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
73240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
73241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
73243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
73245 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
73246 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
73247 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
73248 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
73249 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
73250 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
73251 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
73252 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
73253 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
73254 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
73255 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
73256 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
73257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
73258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
73259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
73260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
73261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
73262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
73263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
73264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
73265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
73266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
73267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
73268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
73269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
73270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
73271
73272 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
73273
73274 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
73275 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
73276 * string/memmove.c (memmove): Renamed to ...
73277 (MEMMOVE): ...this. Default to memmove.
73278 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
73279 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
73280 (END_CHK): Define.
73281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73282 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
73283 mempcpy-ssse3-back memmove-ssse3-back.
73284 * sysdeps/x86_64/multiarch/bcopy.S: New file .
73285 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
73286 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
73287 * sysdeps/x86_64/multiarch/memcpy.S: New file.
73288 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
73289 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
73290 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
73291 * sysdeps/x86_64/multiarch/memmove.c: New file.
73292 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
73293 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
73294 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
73295 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
73296 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
73297 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
73298 Define.
73299 (index_Fast_Copy_Backward): Define.
73300 (HAS_ARCH_FEATURE): Define.
73301 (HAS_FAST_REP_STRING): Define.
73302 (HAS_FAST_COPY_BACKWARD): Define.
73303
73304 2010-06-21 Andreas Schwab <schwab@redhat.com>
73305
73306 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73307 Restore proper fallback handling.
73308
73309 2010-06-19 Ulrich Drepper <drepper@redhat.com>
73310
73311 [BZ #11701]
73312 * posix/group_member.c (__group_member): Correct checking loop.
73313
73314 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
73315 OOM in getpwuid_r correctly. Return error number when the caller
73316 should return, otherwise -1.
73317 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
73318 call returning > 0 value.
73319 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
73320
73321 2010-06-07 Andreas Schwab <schwab@redhat.com>
73322
73323 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
73324 libc_nonshared.a from targets in modules-names.
73325
73326 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
73327
73328 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
73329 requires it.
73330
73331 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
73332
73333 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
73334 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
73335 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
73336 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
73337
73338 2010-06-02 Andreas Schwab <schwab@redhat.com>
73339
73340 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
73341
73342 2010-06-14 Ulrich Drepper <drepper@redhat.com>
73343
73344 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
73345 and F_GETPIPE_SZ.
73346 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73347 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73348 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73349 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73350 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73351 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73352
73353 2010-06-14 Roland McGrath <roland@redhat.com>
73354
73355 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
73356
73357 2010-06-07 Jakub Jelinek <jakub@redhat.com>
73358
73359 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
73360 __REDIRECT followed by __THROW.
73361 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
73362 * posix/getopt.h (getopt): Likewise.
73363
73364 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
73365
73366 * hurd/lookup-at.c (__file_name_lookup_at): Accept
73367 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
73368 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
73369 in AT_FLAGS.
73370 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
73371 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
73372
73373 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
73374
73375 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
73376
73377 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
73378
73379 [BZ #11640]
73380 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73381 Properly check family and model.
73382
73383 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
73384
73385 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
73386
73387 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
73388
73389 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
73390
73391 2010-05-21 Ulrich Drepper <drepper@redhat.com>
73392
73393 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
73394 symbol reference.
73395
73396 2010-05-19 Andreas Schwab <schwab@redhat.com>
73397
73398 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
73399 symbol reference.
73400
73401 2010-05-21 Andreas Schwab <schwab@redhat.com>
73402
73403 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
73404 and internal_recvmmsg.
73405 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
73406 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
73407 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
73408 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
73409
73410 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
73411 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73412 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73413
73414 2010-05-20 Andreas Schwab <schwab@redhat.com>
73415
73416 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
73417
73418 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
73419
73420 POWER7 optimizations.
73421 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
73422 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
73423
73424 2010-05-19 Ulrich Drepper <drepper@redhat.com>
73425
73426 * version.h: Update for 2.13 development version.
73427
73428 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
73429
73430 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
73431 exceptions. Return 0.
73432
73433 2010-05-07 Roland McGrath <roland@redhat.com>
73434
73435 * elf/ldconfig.c (main): Add a const.
73436
73437 2010-05-06 Ulrich Drepper <drepper@redhat.com>
73438
73439 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
73440 (args_options): Add no-idn option.
73441 (ahosts_keys_int): Add idn_flags to ai_flags.
73442 (parse_option): Handle 'i' option to clear idn_flags.
73443
73444 * malloc/malloc.c (_int_free): Possible race in the most recently
73445 added check. Only act on the data if no current modification
73446 happened.
73447
73448 See ChangeLog.17 for earlier changes.