]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
powerpc: Add optimized P8 strspn
[thirdparty/glibc.git] / ChangeLog
1 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4 (sysdep_routines): Add new strspn targets.
5 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6 (__libc_ifunc_impl_list): Add strspn.
7 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
8 New file.
9 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
10 Likewise.
11 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
12 Likewise.
13 * sysdeps/powerpc/powerpc64/power8/strspn.S:
14 Likewise.
15
16 2016-04-07 Florian Weimer <fweimer@redhat.com>
17
18 * misc/hsearch_r.c: Include <limits.h>.
19
20 2016-04-07 Florian Weimer <fweimer@redhat.com>
21
22 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
23
24 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
25
26 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
27 (MEMCPY_SYMBOL): New.
28 (MEMPCPY_SYMBOL): Likewise.
29 (MEMMOVE_CHK_SYMBOL): Likewise.
30 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
31 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
32 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
33 Provide alias for memcpy in libc.a and ld.so.
34
35 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
36
37 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
38 (MEMSET_CHK_SYMBOL): New. Define if not defined.
39 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
40 Disabled fro now.
41 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
42 symbols. Properly check USE_MULTIARCH on __memset symbols.
43
44 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
45
46 * benchtests/Makefile (string-benchset): Add memcpy-large,
47 memmove-large and memset-large.
48 * benchtests/bench-memcpy-large.c: New file.
49 * benchtests/bench-memmove-large.c: Likewise.
50 * benchtests/bench-memmove-large.c: Likewise.
51 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
52
53 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
54
55 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
56 32-bit displacement to avoid long nop between instructions.
57
58 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
59
60 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
61 a comment on VMOVU and VMOVA.
62
63 2016-04-04 Florian Weimer <fweimer@redhat.com>
64
65 [BZ #19633]
66 Use specified locale for number formatting in strfmon_l.
67 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
68 (__nl_lookup_word): New inline functions.
69 * include/printf.h (__print_fp_l): Declare.
70 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
71 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
72 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
73 (___printf_fp): New function.
74 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
75 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
76 * stdlib/tst-strfmon_l.c (do_test): New test.
77 * stdlib/Makefile (tests): Add kt.
78 (LOCALES): Build additional locales.
79 (tst-strfmon_l.out): Require locales.
80
81 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
82
83 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
84 if not in libc.
85 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
86 Likewise.
87 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
88 Likewise.
89 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
90 Likewise.
91
92 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
93
94 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
95 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
96 with unaligned_erms.
97 (__memmove_erms): Skip if source == destination.
98 (__memmove_unaligned_erms): Don't check source == destination
99 first.
100
101 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
102
103 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
104 bit_arch_Fast_Copy_Backward for Intel Core proessors.
105
106 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
107
108 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
109 * string/strspn.c (strspn): Likewise.
110
111 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
112
113 * benchtests/bench-memset.c (do_test): Support 64-byte
114 alignment.
115 (test_main): Test 64-byte alignment.
116
117 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
118
119 * benchtests/bench-memmove.c (test_main): Test 64-byte
120 alignment.
121
122 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
123
124 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
125
126 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
127
128 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
129 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
130 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
131
132 * string/strpbrk.c (strpbrk): Rewrite function.
133 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
134 (__strpbrk_c2): Likewise.
135 (__strpbrk_c3): Likewise.
136 * string/string-inlines.c
137 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
138 Likewise.
139 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
140 Likewise.
141
142 * string/strspn.c (strcspn): Rewrite function.
143 * string/bits/string2.h (strspn): Use __builtin_strcspn.
144 (__strspn_c1): Remove inline function.
145 (__strspn_c2): Likewise.
146 (__strspn_c3): Likewise.
147 * string/string-inlines.c
148 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
149 compatibility symbol.
150 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
151 Likewise.
152 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
153 Likewise.
154 * string/string-inlines.c: Include generic version.
155
156 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
157 Adhemerval Zanella <adhemerval.zanella@linaro.org>
158
159 * string/Version (libc): Add GLIBC_2.24.
160 * string/strcspn.c (strcspn): Rewrite function.
161 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
162 (__strcspn_c1): Remove inline function.
163 (__strcspn_c2): Likewise.
164 (__strcspn_c3): Likewise.
165 * string/string-inline.c
166 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
167 compatibility symbol.
168 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
169 Likewise.
170 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
171 Likewise.
172 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
173
174 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
175
176 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
177 Use ahi instead of aghi to adjust stack pointer.
178
179 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
180
181 [BZ #19853]
182 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
183 TEST to take significant digits as second parameter.
184 [TEST]: Redefine in terms of TEST_N taking 30
185 significant digits.
186 (do_test): Add test case to demonstrate precision
187 failure in the ldbl-128ibm printf.
188 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
189 (__mpn_extract_long_double): Carry 7 extra intermediate
190 bits of precision to aide computing difference when
191 signs differ.
192
193 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
194
195 [BZ #19881]
196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
197 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
198 memset-avx512-unaligned-erms.
199 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
200 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
201 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
202 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
203 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
204 __memset_sse2_unaligned_erms, __memset_erms,
205 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
206 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
207 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
208 file.
209 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
210 Likewise.
211 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
212 Likewise.
213 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
214 Likewise.
215
216 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
217
218 [BZ #19776]
219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
220 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
221 memmove-avx512-unaligned-erms.
222 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
223 (__libc_ifunc_impl_list): Test
224 __memmove_chk_avx512_unaligned_2,
225 __memmove_chk_avx512_unaligned_erms,
226 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
227 __memmove_chk_sse2_unaligned_2,
228 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
229 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
230 __memmove_avx512_unaligned_erms, __memmove_erms,
231 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
232 __memcpy_chk_avx512_unaligned_2,
233 __memcpy_chk_avx512_unaligned_erms,
234 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
235 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
236 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
237 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
238 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
239 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
240 __mempcpy_chk_avx512_unaligned_erms,
241 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
242 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
243 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
244 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
245 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
246 __mempcpy_erms.
247 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
248 file.
249 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
250 Likwise.
251 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
252 Likwise.
253 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
254 Likwise.
255
256 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
257
258 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
259 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
260 (La_s390_64_regs): Likewise.
261 (La_s390_32_retval): Append vector register lrv_v24.
262 (La_s390_64_retval): Likeweise.
263 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
264 Handle extended structs La_s390_32_regs and La_s390_32_retval.
265 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
266 Handle extended structs La_s390_64_regs and La_s390_64_retval.
267
268 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
269
270 [BZ #19916]
271 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
272 to create a non-vector/vector version for _dl_runtime_resolve and
273 _dl_runtime_profile. Move implementation to ...
274 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
275 (_dl_runtime_resolve) Save and restore fpr/vrs.
276 (_dl_runtime_profile) Save and restore vrs and fix some issues
277 if _dl_call_pltexit is called.
278 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
279 Choose the correct resolver function if running on a machine with vx.
280 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
281 to create a non-vector/vector version for _dl_runtime_resolve and
282 _dl_runtime_profile. Move implementation to ...
283 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
284 (_dl_runtime_resolve) Save and restore fpr/vrs.
285 (_dl_runtime_profile) Save and restore vrs and fix some issues
286 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
287 Choose the correct resolver function if running on a machine with vx.
288
289 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
290
291 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
292
293 2016-03-31 Florian Weimer <fweimer@redhat.com>
294
295 [BZ #19509]
296 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
297 skip_map != NULL.
298 * elf/tst-dlsym-error.c: New file.
299 * elf/Makefile (tests): Add tst-dlsym-error.
300 (tst-dlsym-error): Link against libdl.
301
302 2016-03-29 Joseph Myers <joseph@codesourcery.com>
303
304 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
305 (__ASSUME_FUTIMESAT): Remove macro.
306 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
307
308 2016-03-29 Florian Weimer <fweimer@redhat.com>
309
310 [BZ #19879]
311 CVE-2016-3075
312 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
313 copy name.
314
315 2016-03-29 Florian Weimer <fweimer@redhat.com>
316
317 [BZ #19837]
318 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
319 error if parse_line fails.
320
321 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
322
323 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
324 (index_cpu_ERMS): Likewise.
325 (reg_ERMS): Likewise.
326
327 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
328
329 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
330 PER_LINUX_FDPIC): Add.
331
332 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
333
334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
335 memcpy-avx512-no-vzeroupper.
336 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
337 to ...
338 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
339 (MEMCPY): Don't define.
340 (MEMCPY_CHK): Likewise.
341 (MEMPCPY): Likewise.
342 (MEMPCPY_CHK): Likewise.
343 (MEMPCPY_CHK): Renamed to ...
344 (__mempcpy_chk_avx512_no_vzeroupper): This.
345 (MEMPCPY_CHK): Renamed to ...
346 (__mempcpy_chk_avx512_no_vzeroupper): This.
347 (MEMCPY_CHK): Renamed to ...
348 (__memmove_chk_avx512_no_vzeroupper): This.
349 (MEMCPY): Renamed to ...
350 (__memmove_avx512_no_vzeroupper): This.
351 (__memcpy_avx512_no_vzeroupper): New alias.
352 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
353
354 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
355
356 [BZ #18858]
357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
358 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
359 and mempcpy-avx512-no-vzeroupper.
360 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
361 New.
362 (MEMPCPY): Likewise.
363 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
364 (MEMPCPY_CHK): New.
365 (MEMPCPY): Likewise.
366 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
367 (MEMPCPY): Likewise.
368 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
369 (MEMPCPY): Likewise.
370 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
371 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
372 Likewise.
373 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
374 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
375
376 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
377 Amit Pawar <Amit.Pawar@amd.com>
378
379 [BZ #19583]
380 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
381 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
382 processors. Set Fast_Copy_Backward for AMD Excavator
383 processors.
384 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
385 New.
386 (index_arch_Fast_Unaligned_Copy): Likewise.
387 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
388 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
389
390 2016-03-25 Florian Weimer <fweimer@redhat.com>
391
392 [BZ #19791]
393 * resolv/res_send.c (close_and_return_error): New function.
394 (send_dg): Initialize *resplen2 after reopen failure. Call
395 close_and_return_error for error returns. On error paths without
396 __res_iclose, initialze *resplen2 explicitly. Update comment for
397 successful return.
398
399 2016-03-25 Florian Weimer <fweimer@redhat.com>
400
401 [BZ# 19860]
402 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
403 zero if the compiler does not provide the AVX512F bit.
404
405 2016-03-24 Joseph Myers <joseph@codesourcery.com>
406
407 [BZ #19848]
408 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
409 from 8 to 4.
410 (__ieee754_powl): Compare integer exponent against 4 not 8.
411 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
412 from 8 to 4.
413 (__ieee754_powl): Compare integer exponent against 4 not 8.
414 * math/auto-libm-test-in: Add more tests of pow.
415 * math/auto-libm-test-out: Regenerated.
416 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
418
419 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
420
421 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
422 Make code unconditional.
423 [!__NR_utimensat]: Remove conditional code.
424 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
425 Make code unconditional.
426 [!__NR_utimensat]: Remove conditional code.
427 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
428 Make code unconditional.
429 [!__NR_utimensat]: Remove conditional code.
430
431 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
432
433 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
434 Make code unconditional.
435
436 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
437
438 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
439 call-clobbered %eax on retry path.
440 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
441
442 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
443
444 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
445 Don't set %rcx twice before "rep movsb".
446
447 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
448
449 [BZ #19583]
450 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
451 inline. Check family before setting family, model and
452 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
453 bits here.
454 (init_cpu_features): Replace HAS_CPU_FEATURE and
455 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
456 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
457 for Intel processors with usable AVX2. Call get_common_indeces
458 for other processors with family == NULL.
459 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
460 (CPU_FEATURES_ARCH_P): Likewise.
461 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
462 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
463
464 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
465
466 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
467 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
468 $(shared-thread-library) instead of hardcoding the path to libpthread.
469
470 2016-03-22 Joseph Myers <joseph@codesourcery.com>
471
472 * sysdeps/unix/sysv/linux/kernel-features.h
473 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
474 * sysdeps/unix/sysv/linux/getdents.c
475 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
476 [!have_no_getdents64_defined]: Likewise.
477 (__GETDENTS): Remove __have_no_getdents64 conditional.
478
479 2016-03-21 Joseph Myers <joseph@codesourcery.com>
480
481 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
482 Remove macro.
483 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
484 <kernel-features.h>.
485 (signalfd) [__NR_signalfd4]: Make code unconditional.
486 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
487
488 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
489
490 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
491 style.
492
493 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
494
495 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
496 (__pthread_enable_asynccancel): Use JUMPTARGET to call
497 __pthread_unwind.
498 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
499 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
500 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
501 (__condvar_cleanup1): Likewise.
502
503 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
504
505 [BZ #19822]
506 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
507 move it to the final $@ location.
508
509 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
510
511 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
512 access where posix_spawn success and pid argument is null.
513 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
514 success case.
515
516 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
517
518 * sysdeps/mach/hurd/i386/c++-types.data: New file.
519
520 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
521
522 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
523 and __fcntl.
524 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
525 __fcntl only.
526 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
527 adding attribute_hidden to __open and __fcntl.
528
529 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
530 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
531 depend on libc-modules.h,
532 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
533
534 2016-03-17 Joseph Myers <joseph@codesourcery.com>
535
536 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
537 Remove macro.
538 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
539 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
540 entry.
541
542 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
543 Remove macro.
544 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
545 include <kernel-features.h>.
546 [!__ASSUME_FALLOCATE]: Remove conditional code.
547 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
548
549 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
550
551 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
552 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
553 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
554 (_ZGVdN4v_cos_avx2): Likewise.
555 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
556 (_ZGVdN4v_cos): Likewise.
557 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
558 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
559 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
560 (_ZGVdN4v_exp_avx2): Likewise.
561 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
562 (_ZGVdN4v_exp): Likewise.
563 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
564 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
565 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
566 (_ZGVdN4v_log_avx2): Likewise.
567 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
568 (_ZGVdN4v_log): Likewise.
569 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
570 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
571 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
572 (_ZGVdN4vv_pow_avx2): Likewise.
573 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
574 (_ZGVdN4vv_pow): Likewise.
575 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
576 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
577 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
578 (_ZGVdN4v_sin_avx2): Likewise.
579 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
580 (_ZGVdN4v_sin): Likewise.
581 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
582 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
583 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
584 (_ZGVdN4vvv_sincos_avx2): Likewise.
585 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
586 (_ZGVdN4vvv_sincos): Likewise.
587 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
588 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
589 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
590 (_ZGVbN4v_cosf_sse4): Likewise.
591 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
592 (_ZGVdN8v_cosf_avx2): Likewise.
593 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
594 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
595 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
596 (_ZGVbN4v_expf_sse4): Likewise.
597 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
598 (_ZGVdN8v_expf_avx2): Likewise.
599 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
600 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
601 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
602 (_ZGVbN4v_logf_sse4): Likewise.
603 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
604 (_ZGVdN8v_logf_avx2): Likewise.
605 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
606 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
607 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
608 (_ZGVbN4vv_powf_sse4): Likewise.
609 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
610 (_ZGVdN8vv_powf_avx2): Likewise.
611 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
612 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
613 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
614 (_ZGVbN4vvv_sincosf_sse4): Likewise.
615 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
616 (_ZGVdN8vvv_sincosf_avx2): Likewise.
617 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
618 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
619 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
620 (_ZGVbN4v_sinf_sse4): Likewise.
621 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
622 (_ZGVdN8v_sinf_avx2): Likewise.
623 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
624 Use JUMPTARGET to call callee.
625 (WRAPPER_IMPL_SSE2_ff): Likewise.
626 (WRAPPER_IMPL_SSE2_fFF): Likewise.
627 (WRAPPER_IMPL_AVX): Likewise.
628 (WRAPPER_IMPL_AVX_ff): Likewise.
629 (WRAPPER_IMPL_AVX_fFF): Likewise.
630 (WRAPPER_IMPL_AVX512): Likewise.
631 (WRAPPER_IMPL_AVX512_ff): Likewise.
632 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
633 Likewise.
634 (WRAPPER_IMPL_SSE2_ff): Likewise.
635 (WRAPPER_IMPL_SSE2_fFF): Likewise.
636 (WRAPPER_IMPL_AVX): Likewise.
637 (WRAPPER_IMPL_AVX_ff): Likewise.
638 (WRAPPER_IMPL_AVX_fFF): Likewise.
639 (WRAPPER_IMPL_AVX512): Likewise.
640 (WRAPPER_IMPL_AVX512_ff): Likewise.
641 (WRAPPER_IMPL_AVX512_fFF): Likewise.
642
643 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
644
645 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
646 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
647 qualifier.
648 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
649 internal_function qualifiers.
650
651 2016-03-15 Carlos O'Donell <carlos@redhat.com>
652
653 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
654 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
655 * math/atest-exp.c (exp_mpn): Mark chk unused.
656 * math/atest-exp2.c (exp_mpn): Likwise.
657 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
658 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
659
660 2016-03-15 Joseph Myers <joseph@codesourcery.com>
661
662 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
663 Remove macro.
664 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
665 <kernel-features.h>.
666 [__NR_ppoll]: Make code unconditional.
667 [!__ASSUME_PPOLL]: Remove conditional code.
668
669 * sysdeps/unix/sysv/linux/kernel-features.h
670 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
671 (__ASSUME_ACCEPT4): Likewise.
672 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
673 Define.
674 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
675 Likewise.
676 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
677 Likewise.
678 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
679 Likewise.
680 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
681 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
682 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
683 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
684 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
685 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
686 * sysdeps/unix/sysv/linux/arm/kernel-features.h
687 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
688 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
689 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
690 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
691 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
692 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
693 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
694 * sysdeps/unix/sysv/linux/i386/kernel-features.h
695 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
696 Likewise.
697 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
698 Likewise.
699 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
700 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
701 0x040300].
702 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
703 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
704 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
705 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
706 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
707 0x030300].
708 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
709 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
710 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
711 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
712 0x040300].
713 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
714 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
715 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
716 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
717 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
718 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
719 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
720 0x030300].
721 * sysdeps/unix/sysv/linux/mips/kernel-features.h
722 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
723 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
724 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
725 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
726 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
727 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
728 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
729 * sysdeps/unix/sysv/linux/s390/kernel-features.h
730 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
731 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
732 0x040300].
733 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
734 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
735 * sysdeps/unix/sysv/linux/sh/kernel-features.h
736 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
737 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
738 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
739 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
740 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
741 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
742 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
743 * sysdeps/unix/sysv/linux/tile/kernel-features.h
744 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
745 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
746 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
747 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
748 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
749 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
750 Likewise.
751 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
752 Likewise.
753
754 2016-03-15 Andreas Schwab <schwab@suse.de>
755
756 [BZ #19257]
757 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
758 statp->_u._ext.nscount as loop count.
759
760 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
761
762 * math/test-signgam-finite-c99.c: Also #undef
763 __LIBC_INTERNAL_MATH_INLINES.
764 * math/test-signgam-main.c: Likewise.
765
766 2016-03-14 Joseph Myers <joseph@codesourcery.com>
767
768 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
769 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
770 (MADV_FREE): Likewise.
771 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
772 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
773 EPOLLEXCLUSIVE.
774
775 2016-03-14 Carlos O'Donell <carlos@redhat.com>
776
777 * timezone/README: Remove mention of checktab.awk. Mention wiki
778 SharedSourceFiles.
779
780 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
781
782 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
783 WUNTRACED.
784
785 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
786
787 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
788 order to match the type of p when calling atomic_exchange_acq().
789
790 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
791
792 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
793 cfi_offset calls.
794 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
795 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
796 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
797 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
798 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
799
800 2016-03-10 Carlos O'Donell <carlos@redhat.com>
801
802 * timezone/checktab.awk: Removed.
803
804 2016-03-10 Joseph Myers <joseph@codesourcery.com>
805
806 * manual/math.texi (Errors in Math Functions): Document relaxed
807 accuracy goals for IBM long double.
808 * math/libm-test.inc (test_exceptions): Always allow spurious
809 "underflow" and "inexact" exceptions for IBM long double.
810
811 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
812
813 [BZ #19762]
814 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
815 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
816 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
817 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
818 (bit_arch_*): This for feature array.
819 (bit_*): Renamed to ...
820 (bit_cpu_*): This for cpu array.
821 (index_*): Renamed to ...
822 (index_arch_*): This for feature array.
823 (index_*): Renamed to ...
824 (index_cpu_*): This for cpu array.
825 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
826 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
827 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
828 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
829 bit_##name with index_cpu_##name and bit_cpu_##name.
830 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
831 bit_##name with index_arch_##name and bit_arch_##name.
832
833 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
834
835 [BZ #19792]
836 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
837 Terminate FDE before return label.
838
839 2016-03-09 Joseph Myers <joseph@codesourcery.com>
840
841 [BZ #19790]
842 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
843 (rintl): Define as macro.
844 [USE_AS_NEARBYINTL] (__rintl): Likewise.
845 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
846 of fesetround. Ensure results are evaluated before end of scope.
847 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
848 USE_AS_NEARBYINTL and include s_rintl.c.
849 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
850 Disable exception traps in new environment.
851 (libc_feholdsetround_ppc_ctx): Likewise.
852
853 2016-03-08 Roland McGrath <roland@hack.frob.com>
854
855 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
856 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
857 (tst_audit10_aux) [__AVX512F__]: ... here.
858
859 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
860
861 * include/sys/auxv.h: New file.
862
863 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
864
865 [BZ #19759]
866 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
867
868 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
869
870 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
871 operand modifier.
872 (feclearexcept): Likewise.
873
874 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
875
876 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
877 to reflect the entire 32-bit HWCAP.
878 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
879 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
880
881 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
882
883 [BZ #19783]
884 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
885 $(test-via-rtld-prefix).
886 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
887
888 2016-03-08 Florian Weimer <fweimer@redhat.com>
889
890 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
891 union wait. Report any non-zero exit status as error.
892
893 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
894
895 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
896 configured with --enable-hardcoded-path-in-tests.
897
898 2016-03-08 Joseph Myers <joseph@codesourcery.com>
899
900 [BZ #19677]
901 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
902 (__ieee754_remainderl): Put zero low parts in canonical form.
903 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
904 file. Based on
905 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
906 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
907 with wrapper round test-fmodrem-ldbl-128ibm.c.
908 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
909 file.
910 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
911 Likewise.
912 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
913 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
914
915 2016-03-07 Florian Weimer <fweimer@redhat.com>
916
917 [BZ #19610]
918 * elf/ldconfig.c (opt_link): Update comment.
919 (options): Update help string for option -X.
920 (search_dir): Unlink stale symbolic link only if updating symbolic
921 links.
922 * elf/tst-ldconfig-X.sh: New file.
923 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
924 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
925
926 2016-03-07 Andreas Schwab <schwab@suse.de>
927
928 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
929 needed arguments.
930
931 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
932
933 [BZ #15333]
934 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
935 to lstat64.
936
937 2016-03-07 Florian Weimer <fweimer@redhat.com>
938
939 * libio/filedoalloc.c (isatty): Remove.
940 (local_isatty): Add comment. Call __isatty directly.
941 (_IO_file_doallocate): Update comment. Assume _LIBC.
942 * libio/wfiledoalloc.c (isatty): Remove.
943 (_IO_wfile_doallocate): Update comment.
944
945 2016-03-07 Florian Weimer <fweimer@redhat.com>
946
947 [BZ #19269]
948 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
949 tst-audit4-aux.o.
950 (tst-audit10): Depend on tst-audit10-aux.o.
951 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
952 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
953 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
954 instead of inline AVX code.
955 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
956 instead of inline AVX512 code.
957 * sysdeps/x86_64/tst-audit4-aux.c: New file
958 * sysdeps/x86_64/tst-audit10-aux.c: New file
959
960 [BZ #19648]
961 * test-skeleton.c (main): Do not set RLIMIT_DATA.
962
963 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
964
965 [BZ #14750]
966 [BZ #10354]
967 [BZ #18433]
968 * include/sched.h (__clone): Add hidden prototype.
969 (__clone2): Likewise.
970 * include/unistd.h (__dup): Likewise.
971 * posix/Makefile (tests): Add tst-spawn2.
972 * posix/tst-spawn2.c: New file.
973 * sysdeps/posix/dup.c (__dup): Add hidden definition.
974 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
975 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
976 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
977 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
978 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
979 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
980 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
981 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
982 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
983 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
985 Likewise.
986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
987 Likewise.
988 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
989 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
990 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
991 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
992 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
993 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
994 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
995 * sysdeps/unix/sysv/linux/nptl-signals.h
996 (____nptl_is_internal_signal): New function.
997 * sysdeps/unix/sysv/linux/spawni.c: New file.
998
999 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
1000 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
1001 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
1002 * posix/tst-execvp2.c (do_test): Likewise.
1003 * posix/tst-execvp3.c (do_test): Likewise.
1004 * posix/tst-execvp4.c (do_test): Likewise.
1005 * posix/tst-execvpe1.c: New file.
1006 * posix/tst-execvpe2.c: Likewise.
1007 * posix/tst-execvpe3.c: Likewise.
1008 * posix/tst-execvpe4.c: Likewise.
1009 * posix/tst-execvpe5.c: Likewise.
1010 * posix/tst-execvpe6.c: Likewise.
1011
1012 [BZ #19534]
1013 * posix/execl.c (execl): Remove dynamic memory allocation.
1014 * posix/execle.c (execle): Likewise.
1015 * posix/execlp.c (execlp): Likewise.
1016
1017 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1018
1019 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
1020 Replace .text with .text.avx512.
1021 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1022 Likewise.
1023
1024 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
1025
1026 * sysdeps/generic/libnsl.abilist: New file.
1027 * sysdeps/generic/libutil.abilist: New file.
1028
1029 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1030
1031 [BZ #19762]
1032 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
1033 HAS_ARCH_FEATURE with Fast_Rep_String.
1034 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
1035 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
1036 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
1037 Likewise.
1038 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
1039 Likewise.
1040 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
1041 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
1042 Likewise.
1043 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
1044 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
1045 Likewise.
1046
1047 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1048
1049 [BZ #19745]
1050 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
1051 with *%rax in call.
1052
1053 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1054
1055 [BZ #19745]
1056 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
1057 with *__libc_start_main@GOTPCREL(%rip) in call.
1058
1059 2016-03-04 Roland McGrath <roland@hack.frob.com>
1060
1061 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
1062 inside conditional for nonempty $(CXX).
1063
1064 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
1065 nonempty.
1066
1067 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
1068 to test for empty $(CXX) rather than $(CXX) of "no".
1069
1070 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1071
1072 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
1073
1074 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
1075 H.J. Lu <hongjiu.lu@intel.com>
1076
1077 [BZ #18880]
1078 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
1079 instead of Slow_BSF, and also check for Fast_Copy_Backward to
1080 enable __memcpy_ssse3_back.
1081
1082 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
1083
1084 [BZ #19758]
1085 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
1086 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
1087
1088 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
1089
1090 [BZ #19490]
1091 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
1092 (__fentry__): Likewise.
1093
1094 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
1095
1096 * gmon/Makefile (noprof): Add $(sysdep_noprof).
1097 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
1098
1099 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1100
1101 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
1102 __mcount_internal directly.
1103 (C_LABEL(__fentry__)): Likewise.
1104 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
1105 directly.
1106
1107 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1108
1109 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1110 (__start_context): Call __setcontext directly.
1111
1112 2016-02-26 Joseph Myers <joseph@codesourcery.com>
1113
1114 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1115 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1116 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
1117 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1118 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1119 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1120 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
1121 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1122 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1123 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
1124 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1125 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1126 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1127 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1128 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1129 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1130 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
1131 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1132 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1133 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1134 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
1135 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1136 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1137 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1138 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
1139 Remove conditional code.
1140 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1141 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
1142 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1143 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1144 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
1145 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1146 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1147 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1148 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1149 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1150 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1151 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1152
1153 2016-02-24 Marko Myllynen <myllynen@redhat.com>
1154
1155 * NEWS (2.23): Fix typo in bug 19048 text.
1156
1157 2016-02-24 Carlos O'Donell <carlos@redhat.com>
1158
1159 [BZ #14259]
1160 * Makeconfig: Rename msgcatdir to localedir.
1161 Rename inst_msgcatdir to inst_localedir.
1162 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
1163 * config.make.in: Add localedir.
1164 * elf/Makefile ($(objpfx)sotruss): Use localedir.
1165 (ldd-rewrite): Likewise.
1166 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
1167 (install-others): Use inst_localedir.
1168 (CPPFLAGS): Use localedir.
1169 * locale/Makefile (locale-CPPFLAGS): Likewise.
1170 * po/Makefile (mo-installed): Use inst_localedir.
1171
1172 [BZ #19575]
1173 * localedata/charmaps/GB18030: Update comments regarding PAU to
1174 non-PUA mappings.
1175
1176 2016-02-24 Joseph Myers <joseph@codesourcery.com>
1177
1178 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
1179 test for header.
1180 * sysdeps/unix/sysv/linux/configure: Regenerated.
1181 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
1182 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
1183 Remove conditional code.
1184 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
1185
1186 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1187 Define to 3.2.0.
1188 (arch_minimum_kernel): Likewise.
1189 * sysdeps/unix/sysv/linux/configure: Regenerated.
1190 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1191 Define to 2.6.32.
1192 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1193 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1194 (arch_minimum_kernel): Define to 2.6.32.
1195 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1196 * README: Document Linux 3.2 requirement.
1197 * manual/install.texi (Linux): Document Linux 3.2 headers
1198 requirement.
1199 * INSTALL: Regenerated.
1200
1201 2016-02-24 Andreas Schwab <schwab@suse.de>
1202
1203 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
1204 if !NO_LONG_DOUBLE.
1205
1206 2016-02-22 Roland McGrath <roland@hack.frob.com>
1207
1208 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
1209 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
1210
1211 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
1212
1213 [BZ #19512]
1214 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
1215
1216 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
1217
1218 * posix/tst-dir.c: Include libc-internal.h.
1219
1220 2016-02-20 Florian Weimer <fweimer@redhat.com>
1221
1222 [BZ #19056]
1223 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
1224 * manual/filesys.texi (Reading/Closing Directory): Mention
1225 deprecaion.
1226 * posix/tst-dir.c (main): Disable deprecation warning in test.
1227
1228 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
1229
1230 [BZ #19679]
1231 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
1232 Renamed to ...
1233 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
1234 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1235 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
1236 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1237 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1238 * sysdeps/x86_64/dl-trampoline.h
1239 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1240 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1241
1242 2016-02-19 Mark Wielaard <mjw@redhat.com>
1243
1244 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
1245
1246 2016-02-19 Mark Wielaard <mjw@redhat.com>
1247
1248 * elf/elf.h (R_386_GOT32X): New.
1249 (R_386_NUM): Update.
1250 (R_X86_64_GOTPCRELX: New.
1251 (R_X86_64_REX_GOTPCRELX): New.
1252 (R_X86_64_NUM): Update.
1253
1254 2016-02-19 Mike Frysinger <vapier@gentoo.org>
1255
1256 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
1257
1258 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
1259
1260 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
1261 assign attr->stackaddr to it, and adjust it down when
1262 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
1263 [_STACK_GROWS_UP]: Delete assert.
1264 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
1265 Implement stack grows up logic.
1266 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
1267 stack grows up logic.
1268
1269 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1270
1271 * NEWS: Update with 2.24 template.
1272
1273 2016-02-19 Joseph Myers <joseph@codesourcery.com>
1274
1275 [BZ #19678]
1276 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1277 Ensure +0.0 is returned when taking the next value below the least
1278 positive value.
1279
1280 2016-02-19 Florian Weimer <fweimer@redhat.com>
1281
1282 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
1283 available. Do not define NO_THREADS.
1284 * malloc/malloc.c: Do not check NO_THREADS.
1285 * malloc/arena.c: Likewise.
1286
1287 2016-02-19 Florian Weimer <fweimer@redhat.com>
1288
1289 * malloc/malloc.c (__libc_mallinfo): Update comment.
1290 (struct malloc_par): Remove max_total_mem member, it was always 0.
1291 (int_mallinfo): Store 0 into usmblks (no functional change).
1292 * malloc/hooks.c (struct malloc_state): Document that
1293 max_total_mem is always 0.
1294 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
1295 always 0.
1296 * manual/memory.texi (Statistics of Malloc): Likewise.
1297
1298 2016-02-19 Florian Weimer <fweimer@redhat.com>
1299
1300 * malloc/malloc.c (sysmalloc): Do not update arena_max.
1301 * malloc/arena.c (arena_max): Remove.
1302 (heap_trim, _int_new_arena): Do not update arena_max.
1303
1304 2016-02-19 Florian Weimer <fweimer@redhat.com>
1305
1306 * resolv/res_init.c (res_ninit): Update comment.
1307
1308 2016-02-19 Florian Weimer <fweimer@redhat.com>
1309
1310 [BZ #19505]
1311 * posix/spawn_int.h: Add headers and include guard.
1312 (__spawn_valid_fd): New function.
1313 * posix/spawn_faction_addopen.c
1314 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
1315 * posix/spawn_faction_addclose.c
1316 (posix_spawn_file_actions_addclose): Likewise.
1317 * posix/spawn_faction_adddup2.c
1318 (posix_spawn_file_actions_adddup2): Likewise. Add check for
1319 second file descriptor.
1320 * posix/spawn_valid_fd.c: New file.
1321 * posix/tst-posix_spawn-fd.c: New file.
1322 * posix/Makefile (routines): Add spawn_valid_fd.
1323 (tests): Add tst-posix_spawn-fd.
1324
1325 2016-02-19 Florian Weimer <fweimer@redhat.com>
1326
1327 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
1328 (do_test): Limit the number of arenas, so that we can use fewer
1329 outer threads. Limit timeout to 3 seconds, in preparation for a
1330 larger TIMEOUT value.
1331
1332 2016-02-19 Joseph Myers <joseph@codesourcery.com>
1333
1334 [BZ #19674]
1335 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
1336 sign in overflowing and underflowing results when overflow or
1337 underflow is detected early. Include sign in result before rather
1338 than after scaling.
1339
1340 [BZ #19603]
1341 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1342 (__ieee754_remainderl): Adjust sign of integer version of low part
1343 when taking absolute value of high part.
1344 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1345 * math/libm-test.inc (remainder_test_data): Add another test.
1346 (remquo_test_data): Likewise.
1347
1348 2016-02-18 Joseph Myers <joseph@codesourcery.com>
1349
1350 [BZ #19602]
1351 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
1352 equal high parts and both low parts zero specially.
1353 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
1354 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1355 Add test-fmodl-ldbl-128ibm.
1356
1357 [BZ #19595]
1358 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
1359 common logic for all cases of shifting subnormal results. Do not
1360 insert sign bit in shifted mantissa. Always pass -1023 as biased
1361 exponent to ldbl_insert_mantissa in subnormal case.
1362
1363 [BZ #19594]
1364 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
1365 on high and low parts then adjust result and use
1366 ldbl_canonicalize_int if needed.
1367
1368 [BZ #19593]
1369 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
1370 on high part and __floor or __ceil on low part then use
1371 ldbl_canonicalize_int if needed.
1372
1373 [BZ #19592]
1374 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
1375 high and low parts then use ldbl_canonicalize_int if needed.
1376
1377 [BZ #17899]
1378 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1379 New function.
1380 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
1381 on high and low parts then use ldbl_canonicalize_int if needed.
1382
1383 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1384
1385 * configure: Regenerated.
1386
1387 * po/libc.pot: Regenerated.
1388
1389 * po/be.po: Updated translation.
1390 * po/bg.po: Likewise.
1391 * po/ca.po: Likewise.
1392 * po/cs.po: Likewise.
1393 * po/da.po: Likewise.
1394 * po/el.po: Likewise.
1395 * po/eo.po: Likewise.
1396 * po/es.po: Likewise.
1397 * po/fi.po: Likewise.
1398 * po/fr.po: Likewise.
1399 * po/gl.po: Likewise.
1400 * po/hr.po: Likewise.
1401 * po/hu.po: Likewise.
1402 * po/ia.po: Likewise.
1403 * po/id.po: Likewise.
1404 * po/it.po: Likewise.
1405 * po/ja.po: Likewise.
1406 * po/lt.po: Likewise.
1407 * po/nb.po: Likewise.
1408 * po/nl.po: Likewise.
1409 * po/pt_BR.po: Likewise.
1410 * po/rw.po: Likewise.
1411 * po/sk.po: Likewise.
1412 * po/sl.po: Likewise.
1413 * po/sv.po: Likewise.
1414 * po/tr.po: Likewise.
1415 * po/zh_CN.po: Likewise.
1416 * po/zh_TW.po: Likewise.
1417
1418 * version.h (RELEAES): Set to "development".
1419 (VERSION): Set to 2.23.90.
1420
1421 * version.h (RELEASE): Set to "stable".
1422 (VERSION): Set to 2.23.
1423 * include/feature.h (__GLIBC_MINOR__): Set to 23.
1424
1425 * NEWS: Updated fixed bugs.
1426
1427 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1428 Wilco Dijkstra <wdijkstr@arm.com>
1429
1430 [BZ #19462]
1431 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
1432 (_STRING_INLINE_unaligned): This.
1433 * include/string.h: Include <string_private.h>.
1434 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
1435 _STRING_INLINE_unaligned.
1436 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
1437 (_STRING_INLINE_unaligned): New.
1438 * sysdeps/aarch64/string_private.h: New file.
1439 * sysdeps/generic/string_private.h: Likewise.
1440 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
1441 * sysdeps/s390/string_private.h: Likewise.
1442 * sysdeps/x86/string_private.h: Likewise.
1443 * sysdeps/m68k/m680x0/m68020/bits/string.h
1444 (_STRING_ARCH_unaligned): Renamed to ...
1445 (_STRING_INLINE_unaligned): This.
1446 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
1447 to ...
1448 (_STRING_INLINE_unaligned): This.
1449 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
1450 to ...
1451 (_STRING_INLINE_unaligned): This.
1452 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
1453 to ...
1454 (_STRING_INLINE_unaligned): This.
1455
1456 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
1457 H.J. Lu <hongjiu.lu@intel.com>
1458
1459 [BZ #19590]
1460 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
1461 relocation.
1462
1463 2016-02-15 Carlos O'Donell <carlos@redhat.com>
1464
1465 [BZ #18665]
1466 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
1467 *herrno_p.
1468 (gaih_getanswer): Document functional behviour. Return tryagain
1469 if any result is tryagain.
1470 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
1471 when freed.
1472 * resolv/res_send.c: Add copyright text.
1473 (__libc_res_nsend): Document that MAXPACKET is expected.
1474 (send_vc): Document. Remove buffer reuse.
1475 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
1476 size of the buffer. Add Dprint for truncated UDP buffer.
1477
1478 2016-02-14 Carlos O'Donell <carlos@redhat.com>
1479
1480 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
1481 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
1482 * INSTALL: Regenerate.
1483
1484 2016-02-14 Jakub Jelinek <jakub@redhat.com>
1485 Jonathan Wakely <jwakely@redhat.com>
1486 Carlos O'Donell <carlos@redhat.com>
1487
1488 [BZ 19439]
1489 * math/Makefile (tests): Add test-math-isinff.
1490 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
1491 * math/bits/mathcalls.h [__USE_MISC]: Use
1492 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
1493 functions not in C++11 and which don't conflict e.g. isinff,
1494 isinfl etc.
1495 * math/test-math-isinff.cc: New file.
1496
1497 2016-02-12 Florian Weimer <fweimer@redhat.com>
1498
1499 * misc/bug18240.c (do_test): Set RLIMIT_AS.
1500
1501 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1502
1503 [BZ #19529]
1504 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
1505
1506 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1507
1508 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1509
1510 2016-02-01 Joseph Myers <joseph@codesourcery.com>
1511
1512 [BZ #19550]
1513 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
1514 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
1515 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
1516 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
1517 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
1518 New syscall entry.
1519 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
1520 New syscall entry.
1521 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
1522 syscall entry.
1523
1524 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
1525
1526 [BZ #18240]
1527 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
1528 unsigned int wraparound.
1529
1530 2016-01-27 Florian Weimer <fweimer@redhat.com>
1531
1532 [BZ #18240]
1533 * misc/bug18240.c: New test.
1534 * misc/Makefile (tests): Add it.
1535
1536 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
1537 Joseph Myers <joseph@codesourcery.com>
1538
1539 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
1540 load in branch delay slot when less than a word of input left.
1541
1542 2016-01-27 Andreas Schwab <schwab@suse.de>
1543
1544 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
1545 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
1546 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
1547 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
1548
1549 2016-01-26 David S. Miller <davem@davemloft.net>
1550
1551 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
1552
1553 2016-01-25 David S. Miller <davem@davemloft.net>
1554
1555 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
1556 __sqrtl_finite.
1557 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
1558 instead using versioned_symbol.
1559 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
1560 of entries.
1561
1562 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
1563 __sqrtl_finite to GLIBC_2.23
1564
1565 2016-01-25 Ricchard Henderson <rth@redhat.com>
1566
1567 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1568
1569 2016-01-25 Andreas Schwab <schwab@suse.de>
1570
1571 [BZ #17514]
1572 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
1573 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
1574 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
1575 * nptl/tst-mutex-errorcheck.c: New file.
1576
1577 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1578
1579 [BZ #18560]
1580 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
1581 (IPCOP_semop): Likewise.
1582 (IPCOP_semget): Likewise.
1583 (IPCOP_semctl): Likewise.
1584 (IPCOP_msgsnd): Likewise.
1585 (IPCOP_msgrcv): Likewise.
1586 (IPCOP_msgget): Likewise.
1587 (IPCOP_msgctl): Likewise.
1588 (IPCOP_shmat): Likewise.
1589 (IPCOP_shmdt): Likewise.
1590 (IPCOP_shmget): Likewise.
1591 (IPCOP_shmctl): Likewise.
1592
1593 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
1594
1595 * string/tst-endian.c: Include <libc-internal.h>.
1596 (do_test): Ignore tautological-compare warnings around
1597 "htobeXX (beXXtoh (i)) != i" and
1598 "htoleXX (leXXtoh (i)) != i" if-statements.
1599
1600 2016-01-24 David S. Miller <davem@davemloft.net>
1601
1602 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
1603 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
1604 alias.
1605 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1606 __sqrtl_finite.
1607
1608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1609
1610 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
1611
1612 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
1613 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
1614 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1615
1616 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1617
1618 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
1619 (thread_func): Use new function to simplify barrier check.
1620 (do_test): Use new function to simplify checking barrier exit
1621 code, and actually join the child thread.
1622
1623 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1624
1625 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
1626 semicolon.
1627 (__libc_tend): Likewise.
1628 (__libc_tabort): Likewise.
1629
1630 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
1631
1632 * sysdeps/nios2/libm-test-ulps: Update.
1633 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
1634 (__gtsf2): Likewise.
1635 (__unorddf2): Likewise.
1636 (__unordsf2): Likewise.
1637 (__ledf2): Likewise.
1638
1639 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
1640
1641 * nis/nis_table.c (__follow_path): Disable diagnostic for
1642 uninitialized variable that is a false positive for gcc 4.7.
1643 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
1644
1645 2016-01-20 Roland McGrath <roland@hack.frob.com>
1646
1647 * sysdeps/nacl/lowlevellock-futex.h
1648 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
1649 Always evaluate PRIVATE argument.
1650
1651 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
1652
1653 [BZ #19490]
1654 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
1655 (pthread_cond_broadcast): Use ENTRY/END
1656 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
1657 (pthread_cond_signal): Likewise.
1658 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
1659 Likewise.
1660 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
1661 Likewise.
1662 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
1663 Likewise.
1664
1665 2016-01-20 Joseph Myers <joseph@codesourcery.com>
1666
1667 * sysdeps/ieee754/dbl-64/s_finite.c
1668 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
1669 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
1670 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
1671 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
1672 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
1673
1674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1675 (__gtsf2): Add as optional for libc.so.
1676 (__unordsf2): Likewise.
1677 (__signbit): Remove for libc.so.
1678 (__signbitl): Likewise.
1679
1680 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1681
1682 * iconvdata/bug-iconv11.c (test_ibm93x):
1683 Use %zu printf format specifier for size_t argument.
1684
1685 2016-01-19 Joseph Myers <joseph@codesourcery.com>
1686
1687 * math/gen-libm-test.pl (parse_ulps): Do not reduce
1688 already-recorded ulps.
1689 * sysdeps/arm/libm-test-ulps: Regenerated.
1690 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1691 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1692 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1693
1694 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
1695 Paul Pluzhnikov <ppluzhnikov@google.com>
1696
1697 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
1698 assembler not supporting AVX-512.
1699
1700 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
1701
1702 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1703
1704 2016-01-18 Joseph Myers <joseph@codesourcery.com>
1705
1706 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1707 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1708
1709 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1710
1711 * sysdeps/arm/libm-test-ulps: Regenerated.
1712
1713 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1714
1715 [BZ #19451]
1716 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
1717
1718 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
1719
1720 [BZ #19486]
1721 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
1722 * sysdeps/generic/fix-fp-int-convert-overflow.h
1723 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
1724 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
1725 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
1726 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
1727 Likewise.
1728 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
1729 Avoid conversions to long int where inexact exceptions
1730 could be raised.
1731 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
1732 Likewise.
1733 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
1734 Avoid conversions to long long int where inexact exceptions
1735 could be raised.
1736 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
1737 Likewise.
1738
1739 2016-01-17 Mike Frysinger <vapier@gentoo.org>
1740
1741 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
1742 * configure: Regenerated.
1743
1744 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
1745
1746 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
1747
1748 2016-01-16 Mike Frysinger <vapier@gentoo.org>
1749
1750 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
1751 outside of comment.
1752
1753 2016-01-15 Torvald Riegel <triegel@redhat.com>
1754
1755 * nptl/tst-barrier1.c: Add description on first line.
1756 * nptl/tst-barrier2.c: Likewise.
1757 * nptl/tst-barrier3.c: Likewise.
1758 * nptl/tst-barrier4.c: Likewise.
1759 * nptl/tst-barrier5.c: Likewise.
1760
1761 2016-01-15 Torvald Riegel <triegel@redhat.com>
1762
1763 [BZ #18868]
1764 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
1765
1766 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
1767
1768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
1769 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1770 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
1771 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
1772 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
1773 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
1774 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1775 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1776 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1777 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1778 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1779
1780 2016-01-15 Torvald Riegel <triegel@redhat.com>
1781
1782 [BZ #13065]
1783 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
1784 new implementation.
1785 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
1786 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
1787 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
1788 (BARRIER_IN_THRESHOLD): New macro.
1789 * nptl/pthread_barrierattr_setpshared.c
1790 (pthread_barrierattr_setpshared): Clean up.
1791 * nptl/tst-barrier4.c: Correct comment.
1792 * nptl/tst-barrier5.c: New file.
1793 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
1794 (gen-as-const-headers): Remove lowlevelbarrier.sym.
1795 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
1796 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
1797 * nptl/lowlevelbarrier.sym: Remove.
1798 * nptl/DESIGN-barrier.txt: Remove.
1799 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
1800 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
1801 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
1802 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
1803 error.
1804 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
1805 implementation.
1806
1807 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1808
1809 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
1810 (do_child): Mask SIGRTMIN while thr is running.
1811
1812 2016-01-15 Martin Sebor <msebor@redhat.com>
1813
1814 [BZ #19432]
1815 * iconvdata/Makefile: Add bug-iconv11.
1816 * iconvdata/bug-iconv11.c: New test.
1817 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
1818 * iconvdata/ibm933.c: Same.
1819 * iconvdata/ibm935.c: Same.
1820 * iconvdata/ibm937.c: Same.
1821 * iconvdata/ibm939.c: Same.
1822
1823 2016-01-15 Martin Sebor <msebor@redhat.com>
1824
1825 [BZ #19443]
1826 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
1827 [DEBUG] (_ufc_set_bits): Declare used.
1828 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
1829 [DEBUG] (print_all): Declare used.
1830 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
1831 operands of the ternary ?: expression to target type.
1832 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
1833 calling the undeclared abort.
1834 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
1835
1836 2016-01-15 Martin Sebor <msebor@redhat.com>
1837
1838 [BZ #18755]
1839 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
1840 warnings.
1841 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
1842 (__gai_create_helper_thread): Same.
1843 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
1844 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
1845 to suppress -Wmaybe-uninitialized warnings.
1846
1847 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
1848
1849 [BZ #19465]
1850 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
1851 inside if.
1852 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1853 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1854 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1855
1856 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
1857
1858 [BZ #19466]
1859 * time/tst-mktime2.c (time_t_max): Removed.
1860 (time_t_min): Likewise.
1861 (TYPE_SIGNED): New.
1862 (TYPE_MINIMUM): Likewise.
1863 (TYPE_MAXIMUM): Likewise.
1864 (TIME_T_MIN): Likewise.
1865 (TIME_T_MAX): Likewise.
1866 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
1867 and TIME_T_MIN.
1868 (do_test): Likewise.
1869
1870 2016-01-14 Amit Pawar <amit.pawar@amd.com>
1871
1872 [BZ #19467]
1873 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1874 index_Fast_Unaligned_Load flag for Excavator family CPUs.
1875
1876 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
1877
1878 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
1879
1880 2016-01-13 Carlos O'Donell <carlos@redhat.com>
1881
1882 * benchtests/Makefile (PYTHON): Define.
1883 (bench-func): Use $(PYTHON) to run python scripts.
1884 ($(objpfx)bench-%.c): Likewise.
1885
1886 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
1887
1888 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
1889 leading slash when `file_name' is "/".
1890
1891 2016-01-12 Joseph Myers <joseph@codesourcery.com>
1892
1893 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
1894 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
1895 Likewise.
1896 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
1897 Likewise.
1898 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
1899 Likewise.
1900 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
1901 enum constant and macro.
1902 (PTRACE_SETSIGMASK): Likewise.
1903 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1904 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1905 (PTRACE_GETSIGMASK): Likewise.
1906 (PTRACE_SETSIGMASK): Likewise.
1907 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1908 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
1909 Likewise.
1910 (PTRACE_SETSIGMASK): Likewise.
1911 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1912 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1913 (PTRACE_GETSIGMASK): Likewise.
1914 (PTRACE_SETSIGMASK): Likewise.
1915 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1916 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
1917 Likewise.
1918 (PTRACE_SETSIGMASK): Likewise.
1919 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1920 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
1921 Likewise.
1922 (PTRACE_SETSIGMASK): Likewise.
1923 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1924 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
1925 Likewise.
1926 (PTRACE_SETSIGMASK): Likewise.
1927 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1928
1929 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
1930 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1931
1932 [BZ #19439]
1933 * math/bits/mathcalls.h
1934 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
1935 prototype.
1936 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
1937
1938 2016-01-11 Andreas Schwab <schwab@suse.de>
1939
1940 [BZ #19253]
1941 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
1942 cache when TZDEFRULES was used.
1943 * time/tst-tzname.c: New file.
1944 * time/Makefile (test): Add tst-tzname.
1945 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
1946 * timezone/Makefile (test-zones): Add $(posixrules-file).
1947 ($(testdata)/$(posixrules-file)): New rule.
1948
1949 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
1950
1951 Fix doc quoting problems with Texinfo 5
1952 Without this change, in the info file output, Texinfo 5 quotes code
1953 in text with undirected single quotes 'like this' and generates
1954 code examples that with many PDF readers cannot be cut out of PDFs
1955 and pasted into code.
1956 * manual/libc.texinfo: Configure the libc manual like the GNU
1957 Emacs manual, by using @documentencoding and setting
1958 txicodequoteundirected and txicodequotebacktick. This way,
1959 Texinfo 5 quotes code in text with directed single quotes ‘like
1960 this’ and produces examples that can be cut out of PDFs. This
1961 change causes Texinfo 5 to generate info files that contain UTF-8
1962 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
1963 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
1964
1965 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1966
1967 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
1968 __libc_tabort, __libc_tend): New wrappers that enforce compiler
1969 barriers to their respective compiler built-ins.
1970 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
1971 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
1972 * sysdeps/powerpc/sysdep.h: Likewise.
1973 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
1974 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
1975 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
1976
1977 2016-01-08 Marko Myllynen <myllynen@redhat.com>
1978
1979 * scripts/config.guess: Revert previous shebang change.
1980 * scripts/config.sub: Likewise.
1981 * scripts/mkinstalldirs: Likewise.
1982
1983 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1984
1985 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
1986 PPC_FEATURE2_HAS_IEEE128.
1987 * sysdeps/powerpc/dl-procinfo.c:
1988 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
1989
1990 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
1991
1992 [BZ #19415]
1993 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
1994 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
1995 (_dl_lookup_address): Rewrite using function resolver trampoline.
1996 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
1997 two bits in address.
1998
1999 2016-01-07 Mike Frysinger <vapier@gentoo.org>
2000
2001 * longlong.h: Change !__SHMEDIA__ to
2002 (!defined (__SHMEDIA__) || !__SHMEDIA__).
2003 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
2004
2005 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
2006 Joseph Myers <joseph@codesourcery.com>
2007 Mark Shinwell <shinwell@codesourcery.com>
2008 Andrew Stubbs <ams@codesourcery.com>
2009 Rich Felker <dalias@libc.org>
2010
2011 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
2012
2013 2016-01-07 Richard Henderson <rth@redhat.com>
2014
2015 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
2016
2017 2016-01-07 Mike Frysinger <vapier@gentoo.org>
2018
2019 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
2020 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
2021 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2022 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2023 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
2024
2025 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
2026 Joseph Myers <joseph@codesourcery.com>
2027
2028 * timezone/private.h: Update from tzcode 2015g.
2029 * timezone/tzfile.h: Likewise.
2030 * timezone/tzselect.ksh: Likewise.
2031 * timezone/zdump.c: Likewise.
2032 * timezone/zic.c: Likewise.
2033 * timezone/ialloc.c: Remove file.
2034 * timezone/scheck.c: Likewise.
2035 * timezone/Makefile (extra-objs): Remove variable.
2036 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
2037 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
2038 -Wno-maybe-uninitialized.
2039 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
2040 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
2041 (CFLAGS-ialloc.c): Remove variable.
2042 (CFLAGS-scheck.c): Likewise.
2043 * timezone/README: Update list of files from tzcode.
2044
2045 2016-01-07 Khem Raj <raj.khem@gmail.com>
2046
2047 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
2048 instead of __fxprintf when _LIBC is undefined.
2049
2050 2016-01-07 Marko Myllynen <myllynen@redhat.com>
2051
2052 * catgets/test-gencat.sh: Remove space after shebang.
2053 * conform/GlibcConform.pm: Likewise.
2054 * conform/check-header-lists.sh: Likewise.
2055 * conform/conformtest.pl: Likewise.
2056 * conform/linknamespace.pl: Likewise.
2057 * conform/list-header-symbols.pl: Likewise.
2058 * debug/catchsegv.sh: Likewise.
2059 * elf/genrtldtbl.awk: Likewise.
2060 * elf/tst-pathopt.sh: Likewise.
2061 * elf/tst-rtld-load-self.sh: Likewise.
2062 * grp/tst_fgetgrent.sh: Likewise.
2063 * iconvdata/gen-8bit-gap-1.sh: Likewise.
2064 * iconvdata/gen-8bit-gap.sh: Likewise.
2065 * iconvdata/gen-8bit.sh: Likewise.
2066 * iconvdata/run-iconv-test.sh: Likewise.
2067 * intl/tst-gettext.sh: Likewise.
2068 * intl/tst-gettext2.sh: Likewise.
2069 * intl/tst-gettext4.sh: Likewise.
2070 * intl/tst-gettext6.sh: Likewise.
2071 * intl/tst-translit.sh: Likewise.
2072 * io/ftwtest-sh: Likewise.
2073 * libio/test-freopen.sh: Likewise.
2074 * locale/gen-translit.pl: Likewise.
2075 * malloc/tst-mtrace.sh: Likewise.
2076 * manual/check-safety.sh: Likewise.
2077 * manual/libc-texinfo.sh: Likewise.
2078 * manual/tsort.awk: Likewise.
2079 * manual/xtract-typefun.awk: Likewise.
2080 * nptl/tst-cancel-wrappers.sh: Likewise.
2081 * nptl/tst-tls6.sh: Likewise.
2082 * posix/globtest.sh: Likewise.
2083 * posix/tst-getconf.sh: Likewise.
2084 * posix/wordexp-tst.sh: Likewise.
2085 * scripts/check-c++-types.sh: Likewise.
2086 * scripts/check-local-headers.sh: Likewise.
2087 * scripts/config.guess: Likewise.
2088 * scripts/config.sub: Likewise.
2089 * scripts/cpp: Likewise.
2090 * scripts/cross-test-ssh.sh: Likewise.
2091 * scripts/documented.sh: Likewise.
2092 * scripts/evaluate-test.sh: Likewise.
2093 * scripts/gen-libc-abis: Likewise.
2094 * scripts/gen-sorted.awk: Likewise.
2095 * scripts/list-fixed-bugs.py: Likewise.
2096 * scripts/merge-test-results.sh: Likewise.
2097 * scripts/mkinstalldirs: Likewise.
2098 * scripts/rellns-sh: Likewise.
2099 * scripts/test-installation.pl: Likewise.
2100 * scripts/update-copyrights: Likewise.
2101 * stdio-common/tst-printf.sh: Likewise.
2102 * stdio-common/tst-unbputc.sh: Likewise.
2103 * stdlib/tst-fmtmsg.sh: Likewise.
2104 * stdlib/tst-setcontext3.sh: Likewise.
2105 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
2106 * sysdeps/unix/make-syscalls.sh: Likewise.
2107
2108 2016-01-06 John David Anglin <dave.anglin@bell.net>
2109
2110 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
2111 asm stw with atomic_exchange_rel. Add explanatory comment.
2112 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2113 Likewise.
2114
2115 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
2116
2117 [BZ #19122]
2118 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
2119 * sysdeps/generic/dl-unistd.h: New file.
2120 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
2121
2122 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
2123
2124 [BZ #19122]
2125 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
2126 * sysdeps/generic/dl-mman.h: New file.
2127 * sysdeps/mach/hurd/dl-mman.h: Likewise.
2128
2129 2016-01-05 Joseph Myers <joseph@codesourcery.com>
2130
2131 * manual/texinfo.tex: Update to version 2016-01-04.21 with
2132 trailing whitespace removed.
2133 * scripts/config.guess: Update to version 2016-01-01.
2134 * scripts/config.sub: Update to version 2016-01-01.
2135 * scripts/move-if-change: Update from gnulib.
2136
2137 2016-01-04 Anton Blanchard <anton@samba.org>
2138
2139 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
2140 for array indices.
2141 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
2142
2143 2016-01-04 Joseph Myers <joseph@codesourcery.com>
2144
2145 * NEWS: Update copyright dates.
2146 * catgets/gencat.c (print_version): Likewise.
2147 * csu/version.c (banner): Likewise.
2148 * debug/catchsegv.sh: Likewise.
2149 * debug/pcprofiledump.c (print_version): Likewise.
2150 * debug/xtrace.sh (do_version): Likewise.
2151 * elf/ldconfig.c (print_version): Likewise.
2152 * elf/ldd.bash.in: Likewise.
2153 * elf/pldd.c (print_version): Likewise.
2154 * elf/sotruss.sh: Likewise.
2155 * elf/sprof.c (print_version): Likewise.
2156 * iconv/iconv_prog.c (print_version): Likewise.
2157 * iconv/iconvconfig.c (print_version): Likewise.
2158 * locale/programs/locale.c (print_version): Likewise.
2159 * locale/programs/localedef.c (print_version): Likewise.
2160 * login/programs/pt_chown.c (print_version): Likewise.
2161 * malloc/memusage.sh (do_version): Likewise.
2162 * malloc/memusagestat.c (print_version): Likewise.
2163 * malloc/mtrace.pl: Likewise.
2164 * manual/libc.texinfo: Likewise.
2165 * nptl/version.c (banner): Likewise.
2166 * nscd/nscd.c (print_version): Likewise.
2167 * nss/getent.c (print_version): Likewise.
2168 * nss/makedb.c (print_version): Likewise.
2169 * posix/getconf.c (main): Likewise.
2170 * scripts/test-installation.pl: Likewise.
2171 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2172
2173 * All files with FSF copyright notices: Update copyright dates
2174 using scripts/update-copyrights.
2175 * intl/plural.c: Regenerated.
2176 * locale/programs/charmap-kw.h: Likewise.
2177 * locale/programs/locfile-kw.h: Likewise.
2178
2179 2016-01-02 Helge Deller <deller@gmx.de>
2180
2181 [BZ #19285]
2182 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
2183 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
2184 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
2185 (MADV_xxK_PAGES): Remove.
2186
2187 2016-01-01 Mike Frysinger <vapier@gentoo.org>
2188
2189 [BZ #15421]
2190 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
2191 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
2192 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
2193 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
2194
2195 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
2196
2197 [BZ #19408]
2198 * sysdeps/unix/sysv/linux/personality.c: New file.
2199 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
2200 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
2201 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
2202 (sysdep_routines): Add personality.
2203 (tests): Add tst-personality.
2204 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
2205 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
2206 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
2207 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
2208 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
2209 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
2210 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
2211 Likewise.
2212 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
2213 Likewise.
2214 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
2215 Likewise.
2216 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
2217 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
2218 Likewise.
2219
2220 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
2221
2222 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
2223 (PATH_ARM_SYSTYPE): Remove.
2224 (PATH_CPUINFO): Likewise.
2225 (IO_BASE_FOOTBRIDGE): Likewise.
2226 (IO_SHIFT_FOOTBRIDGE): Likewise.
2227 (struct platform): Likewise.
2228 (init_iosys): Remove compatibility code for 2.4 kernels.
2229 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
2230
2231 2015-12-29 Florian Weimer <fweimer@redhat.com>
2232
2233 * malloc/tst-malloc-thread-fail.c: New file.
2234 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
2235 (tst-malloc-thread-fail): Link against libpthread.
2236
2237 2015-12-29 Mike Frysinger <vapier@gentoo.org>
2238
2239 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
2240 (get_parser): New function.
2241 (main): New function.
2242
2243 2015-12-29 Rob Wu <rob@robwu.nl>
2244
2245 [BZ #19369]
2246 * resolv/res_init.c (__res_vinit): Reset defdname before use.
2247
2248 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
2249
2250 [BZ #19270]
2251 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2252
2253 2015-12-28 Mike Frysinger <vapier@gentoo.org>
2254
2255 [BZ #15421]
2256 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
2257
2258 2015-12-23 Torvald Riegel <triegel@redhat.com>
2259
2260 [BZ #13690]
2261 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
2262 after releasing it.
2263 (__lll_robust_unlock): Likewise.
2264 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2265 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
2266 (lll_robust_unlock): Likewise.
2267 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
2268 Prevent warnings in callers.
2269
2270 2015-12-23 Florian Weimer <fweimer@redhat.com>
2271
2272 * malloc/arena.c (list_lock): Update comment.
2273
2274 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2275
2276 * sysdeps/powerpc/hwcapinfo.c: Export symbol
2277 __parse_hwcap_and_convert_at_platform to libc.a.
2278
2279 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2280
2281 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
2282 platform and feature support for POWER9.
2283 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2284 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
2285 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
2286 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
2287 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
2288 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
2289 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
2290 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
2291
2292 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2293
2294 Harmonize generic stdio-lock support with nptl
2295
2296 This fixes build when _IO_funlockfile is a macro, fixes build where
2297 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
2298 stack unwind.
2299
2300 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
2301 _IO_release_lock ): Use cleanup attribute on new
2302 _IO_acquire_lock_file variable instead of assuming that
2303 _IO_release_lock will be called.
2304 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
2305 _IO_acquire_lock_needs_exceptions_enabled.
2306 (_IO_acquire_lock_clear_flags2): New macro.
2307
2308 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2309
2310 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2311
2312 2015-12-21 Florian Weimer <fweimer@redhat.com>
2313
2314 [BZ #19182]
2315 * malloc/arena.c (list_lock): Document lock ordering requirements.
2316 (free_list_lock): New lock.
2317 (ptmalloc_lock_all): Comment on free_list_lock.
2318 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
2319 (detach_arena): Update comment. free_list_lock is now needed.
2320 (_int_new_arena): Use free_list_lock around detach_arena call.
2321 Acquire arena lock after list_lock. Add comment, including FIXME
2322 about incorrect synchronization.
2323 (get_free_list): Switch to free_list_lock.
2324 (reused_arena): Acquire free_list_lock around detach_arena call
2325 and attached threads counter update. Add two FIXMEs about
2326 incorrect synchronization.
2327 (arena_thread_freeres): Switch to free_list_lock.
2328 * malloc/malloc.c (struct malloc_state): Update comments to
2329 mention free_list_lock.
2330
2331 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
2332
2333 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
2334 Remove functions.
2335 (sloww, sloww1): Accept argument to offset quadrant.
2336 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
2337 quadrant.
2338 (__sin, __cos): Consolidate common code into new functions.
2339 (reduce_sincos_1, do_sincos_1): New functions.
2340 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2341
2342 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
2343 code to new functions.
2344 (reduce_sincos_2, do_sincos_2): New functions.
2345 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2346
2347 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
2348 common code for sincos.
2349 (__cos) [!IN_SINCOS]: Likewise.
2350 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
2351 New function.
2352 (__sincos): Use it.
2353
2354 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
2355
2356 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
2357 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
2358 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2359
2360 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
2361
2362 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
2363 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
2364 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2365 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
2366 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2367 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
2368 index_Prefer_No_VZEROUPPER): New feature.
2369 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
2370 Prefer_No_VZEROUPPER for Knights Landing.
2371
2372 015-12-18 Torvald Riegel <triegel@redhat.com>
2373
2374 * math/atest-exp2.c (mp_exp_m1): Remove.
2375
2376 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2377
2378 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
2379 syscalls.
2380 (__SYSCALL0): New macro.
2381 (__SYSCALL1): Likewise.
2382 (__SYSCALL2): Likewise.
2383 (__SYSCALL3): Likewise.
2384 (__SYSCALL4): Likewise.
2385 (__SYSCALL5): Likewise.
2386 (__SYSCALL6): Likewise.
2387 (__SYSCALL_CONCAT_X): Likewise.
2388 (__SYSCALL_CONCAT): Likewise.
2389 (__SYSCALL_DIST): Likewise.
2390 (__SYSCALL_CALL): Likewise.
2391
2392 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
2393
2394 [BZ #19363]
2395 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
2396
2397 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2398
2399 [BZ #19375]
2400 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
2401 negative subnormals.
2402
2403 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
2404
2405 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2406 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
2407 (INTERNAL_SYSCALL_NCS): Use it.
2408 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2409
2410 2015-12-16 Florian Weimer <fweimer@redhat.com>
2411
2412 [BZ #19243]
2413 * malloc/arena.c (get_free_list): Remove assert and adjust
2414 reference count handling. Add comment about reused_arena
2415 interaction.
2416 (reused_arena): Add comments abount get_free_list interaction.
2417 * malloc/tst-malloc-thread-exit.c: New file.
2418 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
2419 (tst-malloc-thread-exit): Link against libpthread.
2420
2421 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
2422
2423 [BZ #19367]
2424 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
2425 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
2426 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2427 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
2428 (index_Prefer_MAP_32BIT_EXEC): Likewise.
2429
2430 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
2431
2432 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
2433 Silvermont optimizations for Knights Landing.
2434
2435 2015-12-15 Andreas Schwab <schwab@suse.de>
2436
2437 [BZ #17197]
2438 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
2439 immediately after emitting SI.
2440 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
2441 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
2442 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
2443 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
2444 * iconvdata/bug-iconv10.c: New file.
2445 * iconvdata/Makefile (tests): Add bug-iconv10.
2446 ($(objpfx)bug-iconv10.out): New rule.
2447
2448 2015-12-15 Florian Weimer <fweimer@redhat.com>
2449
2450 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
2451 aliasing violation.
2452
2453 2015-12-14 Joseph Myers <joseph@codesourcery.com>
2454
2455 [BZ #18472]
2456 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
2457 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
2458 conditionals for them.
2459 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
2460 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
2461 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2462 sys/kdaemon.h.
2463 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
2464 compat-only syscall, obsoleted in glibc 2.23.
2465 (create_module): Likewise.
2466 (get_kernel_syms): Likewise.
2467 (query_module): Likewise.
2468 (uselib): Likewise.
2469 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
2470
2471 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
2472
2473 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
2474 <linux/version.h>.
2475 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
2476 conditional code.
2477 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
2478 and ioshift_name initialization.
2479
2480 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
2481
2482 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2483 Fix indentation.
2484
2485 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
2486
2487 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
2488
2489 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
2490
2491 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
2492
2493 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
2494 Jakub Wilk <jwilk@debian.org>
2495
2496 [BZ #19347]
2497 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
2498 to change the group of the device to the tty group.
2499
2500 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
2501
2502 Split large string section; add truncation advice
2503 * manual/examples/strncat.c: Remove.
2504 This example was misleading, as the code would have undefined
2505 behavior if "hello" was longer than SIZE. Anyway, the manual
2506 shouldn't encourage strncpy+strncat for this sort of thing.
2507 * manual/string.texi (Copying Strings and Arrays): Split into
2508 three sections Copying Strings and Arrays, Concatenating Strings,
2509 and Truncating Strings, as this section was way too long. All
2510 cross-referenced changed. Add advice about string-truncation
2511 functions. Remove misleading strncat example.
2512
2513 2015-12-10 Carlos O'Donell <carlos@redhat.com>
2514
2515 * manual/nss.texi (NSS Modules Interface): Document
2516 NSS_STATUS_NOTFOUND and SUCCESS.
2517
2518 2015-12-09 Mike FABIAN <mfabian@redhat.com>
2519
2520 [BZ 18568]
2521 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2522 201505L, for Unicode 8.
2523
2524 2015-12-09 Carlos O'Donell <carlos@redhat.com>
2525
2526 * locale/C-translit.h: Regenerate.
2527
2528 2015-12-09 Mike FABIAN <mfabian@redhat.com>
2529
2530 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
2531 and U+0153.
2532
2533 2015-12-09 Joseph Myers <joseph@codesourcery.com>
2534
2535 [BZ #19351]
2536 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
2537 expanding log(1+z), compare z rather than its square with epsilon
2538 to determine when to avoid evaluating the expansion.
2539
2540 [BZ #19350]
2541 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2542 Increase overflow threshold.
2543
2544 [BZ #19349]
2545 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
2546 when small.
2547
2548 * sysdeps/unix/sysv/linux/i386/kernel-features.h
2549 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2550 New macro.
2551 [__LINUX_KERNEL_VERSION >= 0x040300]
2552 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2553 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2554 Likewise.
2555 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2556 Likewise.
2557 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2558 Likewise.
2559 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2560 Likewise.
2561 [__LINUX_KERNEL_VERSION >= 0x040300]
2562 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2563 [__LINUX_KERNEL_VERSION >= 0x040300]
2564 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2565 [__LINUX_KERNEL_VERSION >= 0x040300]
2566 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2567 [__LINUX_KERNEL_VERSION >= 0x040300]
2568 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2569 [__LINUX_KERNEL_VERSION >= 0x040300]
2570 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2571 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2572 Likewise.
2573 [__LINUX_KERNEL_VERSION >= 0x040300]
2574 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2575 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2576 Likewise.
2577 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2578 Likewise.
2579 [__LINUX_KERNEL_VERSION >= 0x040300]
2580 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2581 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2582 Likewise.
2583 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2584 Likewise.
2585 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2586 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
2587 Likewise.
2588 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
2589 Likewise.
2590 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2591 Likewise.
2592 [__LINUX_KERNEL_VERSION >= 0x040300]
2593 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2594 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2595 Likewise.
2596 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2597 Likewise.
2598 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2599 Likewise.
2600 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2601 Likewise.
2602 [__LINUX_KERNEL_VERSION >= 0x040300]
2603 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2604 [__LINUX_KERNEL_VERSION >= 0x040300]
2605 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2606 [__LINUX_KERNEL_VERSION >= 0x040300]
2607 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2608 [__LINUX_KERNEL_VERSION >= 0x040300]
2609 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2610 [__LINUX_KERNEL_VERSION >= 0x040300]
2611 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2612 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2613 Likewise.
2614 [__LINUX_KERNEL_VERSION >= 0x040300]
2615 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2616 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2617 Likewise.
2618 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2619 Likewise.
2620 [__LINUX_KERNEL_VERSION >= 0x040300]
2621 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2622 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2623 Likewise.
2624 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2625 Likewise.
2626 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2627 (__ASSUME_SOCKET_SYSCALL): Likewise.
2628 (__ASSUME_BIND_SYSCALL): Likewise.
2629 (__ASSUME_CONNECT_SYSCALL): Likewise.
2630 (__ASSUME_LISTEN_SYSCALL): Likewise.
2631 (__ASSUME_ACCEPT_SYSCALL): Likewise.
2632 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2633 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2634 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2635 (__ASSUME_SEND_SYSCALL): Likewise.
2636 (__ASSUME_SENDTO_SYSCALL): Likewise.
2637 (__ASSUME_RECV_SYSCALL): Likewise.
2638 (__ASSUME_RECVFROM_SYSCALL): Likewise.
2639 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
2640 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2641 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2642 (__ASSUME_SENDMSG_SYSCALL): Likewise.
2643 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2644 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2645 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
2646 Likewise.
2647 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
2648 Likewise.
2649 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
2650 Likewise.
2651 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
2652 Likewise.
2653 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
2654 Likewise.
2655 [__LINUX_KERNEL_VERSION >= 0x020625]
2656 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2657 [__LINUX_KERNEL_VERSION >= 0x020625]
2658 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2659 [__LINUX_KERNEL_VERSION >= 0x020625]
2660 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2661 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
2662 Likewise.
2663 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
2664 Likewise.
2665 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
2666 Likewise.
2667 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
2668 Likewise.
2669 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
2670 Likewise.
2671 [__LINUX_KERNEL_VERSION >= 0x020625]
2672 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2673 [__LINUX_KERNEL_VERSION >= 0x020625]
2674 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2675 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
2676 Likewise.
2677 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
2678 Likewise.
2679
2680 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
2681
2682 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
2683 record the current if the current ABI and CPU support the FP64
2684 extension.
2685 (has-modd-spreg): Define to record the current if the current ABI and
2686 CPU support 32-bit floating point values in odd FPU registers.
2687 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2688 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
2689 $(has-modd-spreg) equals yes.
2690 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
2691 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
2692 $(has-modd-spreg) equal yes.
2693
2694 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
2695
2696 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
2697 basename.
2698
2699 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
2700
2701 * benchtests/Makefile (bench-math): Move ffs and ffsll...
2702 (bench-string): ... here.
2703 (bench): Add bench-string.
2704 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
2705 to *-benchset to reflect what they are.
2706 (benchset): Adjust.
2707
2708 * benchtests/sincos-inputs: Add inputs from sin-inputs and
2709 cos-inputs.
2710
2711 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
2712
2713 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
2714 __attribute__ ((__simd__)) for vector math function declarations.
2715
2716 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
2717
2718 Fix typo in strncat, wcsncat manual entries
2719 * manual/string.texi (Copying and Concatenation): Fix typos in
2720 sample implementations of strncat and wcsncat, by having them use
2721 the old value of the destination length, not the new one.
2722
2723 2015-12-04 Joseph Myers <joseph@codesourcery.com>
2724
2725 [BZ #16961]
2726 [BZ #16962]
2727 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
2728 string on the stack for strtod.
2729 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
2730 a string on the stack for strtof.
2731 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
2732 constructing a string on the stack for strtold.
2733 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
2734 __strtold_nan to GLIBC_PRIVATE.
2735 * math/test-nan-overflow.c: New file.
2736 * math/test-nan-payload.c: Likewise.
2737 * math/Makefile (tests): Add test-nan-overflow and
2738 test-nan-payload.
2739
2740 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
2741
2742 Consistency about byte vs character in string.texi
2743 * manual/string.texi (String and Array Utilities):
2744 Distinguish more carefully among bytes, multibyte characters,
2745 and wide characters. Use "byte" when talking about C 'char',
2746 to distinguish it more clearly from multibyte characters.
2747 Say "wide character" or "multibyte character" instead of
2748 "character", when a wide or multibyte character is intended.
2749 Similarly for "multibyte string" versus "string".
2750 Define these terms more carefully.
2751
2752 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
2753
2754 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
2755 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
2756 Likewise.
2757 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2758 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2759 * sysdeps/sh/math_private.h: New file.
2760 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
2761 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
2762 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
2763 long double function name.
2764 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2765 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2766 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2767 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2768 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2770 Remove __finitel, __isinfl, and __isnanl.
2771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2772 Likewise.
2773 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2775 Remove __finitel.
2776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2777 Likewise.
2778 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2779
2780 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
2781
2782 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
2783 installed libmvec_nonshared.a.
2784
2785 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2786
2787 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
2788 (sysdep_routines): Likewise.
2789 (sysdep-rtld-routines): Likewise.
2790 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
2791 [$(subdir) = nptl](tests-static): test-get_hwcap-static
2792 * sysdeps/powerpc/Versions: Added new
2793 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
2794 * sysdeps/powerpc/hwcapinfo.c: New file.
2795 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
2796 and parse hwcap, hwcap2 and platform number information.
2797 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
2798 to store HWCAP+HWCAP2 and platform number.
2799 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
2800 for HWCAP+HWCAP2 and platform number in the TCB.
2801 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
2802 the HWCAP, HWCAP2 and platform number in the TCB.
2803 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
2804 (TLS_INIT_TP): Included calls to add the hwcap and
2805 at_platform values in the TCB in TP initialization.
2806 (TLS_DEFINE_INIT_TP): Likewise.
2807 (THREAD_GET_HWCAP): New macro.
2808 (THREAD_SET_HWCAP): Likewise.
2809 (THREAD_GET_AT_PLATFORM): Likewise.
2810 (THREAD_SET_AT_PLATFORM): Likewise.
2811 * sysdeps/powerpc/powerpc32/dl-machine.h:
2812 (dl_platform_init): New function that calls
2813 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
2814 powerpc32.
2815 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
2816 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
2817 this functionality, static linking case.
2818 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
2819 linking case.
2820 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
2821 __parse_hwcap_and_convert_at_platform for the static linking case.
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
2823 Included the new __parse_hwcap_and_convert_at_platform symbol in the
2824 ABI list for GLIBC 2.23.
2825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
2826 Likewise.
2827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
2828 Likewise.
2829
2830 2015-12-02 Ludovic Courtès <ludo@gnu.org>
2831
2832 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
2833 * configure: Regenerate.
2834 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
2835 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
2836
2837 2015-12-02 Carlos O'Donell <carlos@redhat.com>
2838
2839 * iconvdata/ibm930.c: Add comment explaining encoding uses.
2840 * iconvdata/ibm933.c: Likewise.
2841 * iconvdata/ibm935.c: Likewise.
2842 * iconvdata/ibm937.c: Likewise.
2843 * iconvdata/ibm939.c: Likewise.
2844
2845 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2846
2847 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
2848 pthread_join.
2849 * nptl/tst-cancel21.c (tf): Likewise.
2850
2851 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
2852
2853 [BZ #19313]
2854 * bits/typesizes.h (__CPU_MASK_TYPE): New.
2855 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2856 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2857 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
2858 Likewise.
2859 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
2860 Likewise.
2861 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
2862 Likewise.
2863 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
2864 Likewise.
2865 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
2866 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
2867 unsigned long int with __CPU_MASK_TYPE.
2868
2869 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2870
2871 * sysdeps/aarch64/libm-test-ulps: Regenerated.
2872
2873 2015-12-01 Joseph Myers <joseph@codesourcery.com>
2874
2875 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
2876 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
2877 t512.x.
2878 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
2879
2880 2015-11-30 Amit Pawar <amit.pawar@amd.com>
2881
2882 [BZ #19214]
2883 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
2884 argument to return extended model. Update family and model
2885 with extended family and model when family == 0x0f.
2886 (init_cpu_features): Updated.
2887
2888 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2889
2890 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
2891 signed off_t, so 32bit bigger than 2GiB values are fine actually.
2892
2893 * sysdeps/mach/hurd/mmap64.c: New file.
2894
2895 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
2896
2897 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
2898 rights for its main user thread in NEWTASK.
2899
2900 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
2901
2902 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
2903 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
2904
2905 2015-11-27 Carlos O'Donell <carlos@redhat.com>
2906
2907 [BZ #14259]
2908 * Makeconfig: Rename localedir to complocaledir.
2909 Rename inst_localedir to inst_complocaledir.
2910 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
2911 * config.make.in: Use complocaledir and libc_cv_complocaledir.
2912 * configure.ac: Use libc_cv_complocaledir.
2913 * configure: Regenerate.
2914 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
2915 -DCOMPLOCALEDIR.
2916 * locale/findlocale.c: Use COMPLOCALEDIR.
2917 * locale/loadarchive.c: Likewise.
2918 * locale/programs/locale.c: Likewise.
2919 * locale/programs/localedef.c: Likewise.
2920 * locale/programs/locarchive.c: Likewise.
2921 * localedata/Makefile: Use inst_complocaledir.
2922 * sysdeps/gnu/configure: Regenerate.
2923 * sysdeps/hppa/configure: Regenerate.
2924 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
2925 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2927 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
2928 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
2929 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
2930 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
2931
2932 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
2933
2934 [BZ #19058]
2935 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
2936 AS_NEEDED.
2937 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
2938 workaround.
2939 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
2940 libmvec-static-only-routines): Added new file.
2941 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
2942
2943 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
2944
2945 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
2946 of interrupted RPC instead of restoring it.
2947
2948 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
2949 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
2950 libc_hidden_def.
2951 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
2952 into initialized data instead of common. Define rtld_hidden_data_def.
2953 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
2954 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
2955 libc_hidden_def.
2956 (if_freenameindex): Add libc_hidden_weak.
2957 (if_nameindex): Add libc_hidden_weak.
2958 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
2959 __open64.
2960 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
2961 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
2962 * sysdeps/mach/nanosleep.c: Include <time.h>
2963 (__nanosleep): Rename to __libc_nanosleep.
2964 (__nanosleep): Add weak_alias.
2965 (nanosleep): Update alias.
2966
2967 2015-11-24 Joseph Myers <joseph@codesourcery.com>
2968
2969 * stdlib/strtod_nan.c: New file.
2970 * stdlib/strtod_nan_double.h: Likewise.
2971 * stdlib/strtod_nan_float.h: Likewise.
2972 * stdlib/strtod_nan_main.c: Likewise.
2973 * stdlib/strtod_nan_narrow.h: Likewise.
2974 * stdlib/strtod_nan_wide.h: Likewise.
2975 * stdlib/strtof_nan.c: Likewise.
2976 * stdlib/strtold_nan.c: Likewise.
2977 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
2978 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
2979 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
2980 * wcsmbs/wcstod_nan.c: Likewise.
2981 * wcsmbs/wcstof_nan.c: Likewise.
2982 * wcsmbs/wcstold_nan.c: Likewise.
2983 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
2984 strtold_nan.
2985 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
2986 wcstof_nan.
2987 * include/stdlib.h (__strtof_nan): Declare and use
2988 libc_hidden_proto.
2989 (__strtod_nan): Likewise.
2990 (__strtold_nan): Likewise.
2991 (__wcstof_nan): Likewise.
2992 (__wcstod_nan): Likewise.
2993 (__wcstold_nan): Likewise.
2994 * include/wchar.h (____wcstoull_l_internal): Declare.
2995 * stdlib/strtod_l.c: Do not include <ieee754.h>.
2996 (____strtoull_l_internal): Remove declaration.
2997 (STRTOF_NAN): Define macro.
2998 (SET_MANTISSA): Remove macro.
2999 (STRTOULL): Likewise.
3000 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
3001 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
3002 (STRTOF_NAN): Define macro.
3003 (SET_MANTISSA): Remove macro.
3004 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
3005 (SET_MANTISSA): Remove macro.
3006 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
3007 macro.
3008 (SET_MANTISSA): Remove macro.
3009 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
3010 macro.
3011 (SET_MANTISSA): Remove macro.
3012 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
3013 (SET_MANTISSA): Remove macro.
3014 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
3015 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
3016 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
3017
3018 [BZ #19266]
3019 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
3020 upper case and lower case letters inside NAN(), not using TOLOWER.
3021 * stdlib/tst-strtod-nan-locale-main.c: New file.
3022 * stdlib/tst-strtod-nan-locale.c: Likewise.
3023 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
3024 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
3025 Depend on $(gen-locales).
3026 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
3027 * wcsmbs/tst-wcstod-nan-locale.c: New file.
3028 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
3029 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
3030 Depend on $(gen-locales).
3031 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
3032
3033 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
3034
3035 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
3036
3037 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
3039 __finitel, __isinfl, and __isnanl.
3040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3041 Likewise.
3042 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
3044 __finitel.
3045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3046 Likewise.
3047 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3048
3049 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
3050
3051 * malloc/memusage.c (me): Remove redundant getenv call.
3052
3053 2015-10-24 Florian Weimer <fweimer@redhat.com>
3054
3055 [BZ #19143]
3056 [BZ #19164]
3057 * nptl/check-cpuset.h: Remove.
3058 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
3059 Remove CPU set size check.
3060 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
3061 Likewise.
3062 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
3063 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3064 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
3065 (__pthread_setaffinity_new): Remove CPU set size check.
3066 * sysdeps/unix/sysv/linux/sched_setaffinity.c
3067 (__kernel_cpumask_size): Remove.
3068 (__sched_setaffinity_new): Remove CPU set size check.
3069 * manual/threads.texi (Default Thread Attributes): Remove stale
3070 reference to check_cpuset_attr, determine_cpumask_size in comment.
3071 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
3072 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
3073 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
3074 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
3075 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
3076 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
3077 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
3078 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
3079 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
3080 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
3081 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
3082 skeleton test file.
3083 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
3084 tst-affinity-pid.
3085
3086 2015-11-24 Florian Weimer <fweimer@redhat.com>
3087
3088 * scripts/update-abilist.sh: New file.
3089 * Makefile (+subdir_targets): Add subdir_update-all-abi.
3090 * Makerules (update-all-abi-%, update-all-abi)
3091 (subdir_update-all-abi): New targets.
3092 * elf/Makefile (update-all-abi): New target.
3093
3094 2015-11-24 Florian Weimer <fweimer@redhat.com>
3095
3096 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
3097 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
3098 (__libc_lock_define_initialized): Use it.
3099 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
3100 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
3101 * malloc/malloc.c (main_arena): Likewise.
3102 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3103 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3104
3105 2015-11-23 Joseph Myers <joseph@codesourcery.com>
3106
3107 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3108 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
3109 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3110 (PTRACE_O_MASK): Update value.
3111 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
3112 New value in enum __ptrace_setoptions.
3113 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3114 (PTRACE_O_MASK): Update value.
3115 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3116 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3117 (PTRACE_O_MASK): Update value.
3118 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
3119 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3120 (PTRACE_O_MASK): Update value.
3121 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
3122 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3123 (PTRACE_O_MASK): Update value.
3124 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
3125 New value in enum __ptrace_setoptions.
3126 (PTRACE_O_MASK): Update value.
3127 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
3128 New value in enum __ptrace_setoptions.
3129 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3130 (PTRACE_O_MASK): Update value.
3131
3132 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
3133 New macro.
3134 (PACKET_AUXDATA): Likewise.
3135 (PACKET_ORIGDEV): Likewise.
3136 (PACKET_VERSION): Likewise.
3137 (PACKET_HDRLEN): Likewise.
3138 (PACKET_RESERVE): Likewise.
3139 (PACKET_TX_RING): Likewise.
3140 (PACKET_LOSS): Likewise.
3141 (PACKET_VNET_HDR): Likewise.
3142 (PACKET_TX_TIMESTAMP): Likewise.
3143 (PACKET_TIMESTAMP): Likewise.
3144 (PACKET_FANOUT): Likewise.
3145 (PACKET_TX_HAS_OFF): Likewise.
3146 (PACKET_QDISC_BYPASS): Likewise.
3147 (PACKET_ROLLOVER_STATS): Likewise.
3148 (PACKET_FANOUT_DATA): Likewise.
3149 (PACKET_MR_UNICAST): Likewise.
3150
3151 [BZ #19242]
3152 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
3153 (TOUPPER): Likewise.
3154 * stdlib/tst-strtol-locale-main.c: New file.
3155 * stdlib/tst-strtol-locale.c: Likewise.
3156 * stdlib/Makefile (tests): Add tst-strtol-locale.
3157 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
3158 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
3159 Depend on $(gen-locales).
3160 * wcsmbs/tst-wcstol-locale.c: New file.
3161 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
3162 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
3163 tr_TR.ISO-8859-9.
3164 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
3165 Depend on $(gen-locales).
3166
3167 2015-11-20 Roland McGrath <roland@hack.frob.com>
3168
3169 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
3170 __glibc_likely instead of __builtin_expect. After falling back to
3171 dyncode_create in a non-ET_DYN case, use the allocate_code_data
3172 system interface to register the code pages as occupied.
3173
3174 2015-11-20 Joseph Myers <joseph@codesourcery.com>
3175
3176 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3177 [!ARM_MATH_PRIVATE_H].
3178 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
3179 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3180 [!HPPA_MATH_PRIVATE_H].
3181 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
3182 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
3183 to [!I386_MATH_PRIVATE_H].
3184 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
3185 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
3186 Change guard to [!M68K_MATH_PRIVATE_H].
3187 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
3188 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
3189 guard to [!MICROBLAZE_MATH_PRIVATE_H].
3190 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
3191 macro.
3192 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3193 [!MIPS_MATH_PRIVATE_H].
3194 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
3195 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3196 [!NIO2_MATH_PRIVATE_H].
3197 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
3198 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3199 [!TILE_MATH_PRIVATE_H].
3200 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
3201
3202 [BZ #15421]
3203 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
3204 initialize with 0 and define as weak alias of __signgam.
3205 * include/math.h [!_ISOMAC] (__signgam): Declare.
3206 * math/Makefile (libm-calls): Add w_lgamma_compat.
3207 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
3208 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
3209 test-signgam-ullong-init.
3210 (tests-static): Add test-signgam-uchar-static,
3211 test-signgam-uchar-init-static, test-signgam-uint-static,
3212 test-signgam-uint-init-static, test-signgam-ullong-static and
3213 test-signgam-ullong-init-static.
3214 (CFLAGS-test-signgam-uchar.c): New variable.
3215 (CFLAGS-test-signgam-uchar-init.c): Likewise.
3216 (CFLAGS-test-signgam-uchar-static.c): Likewise.
3217 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
3218 (CFLAGS-test-signgam-uint.c): Likewise.
3219 (CFLAGS-test-signgam-uint-init.c): Likewise.
3220 (CFLAGS-test-signgam-uint-static.c): Likewise.
3221 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
3222 (CFLAGS-test-signgam-ullong.c): Likewise.
3223 (CFLAGS-test-signgam-ullong-init.c): Likewise.
3224 (CFLAGS-test-signgam-ullong-static.c): Likewise.
3225 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
3226 * math/Versions (libm): Add GLIBC_2.23.
3227 * math/lgamma-compat.h: New file.
3228 * math/test-signgam-main.c: Likewise.
3229 * math/test-signgam-uchar-init-static.c: Likewise.
3230 * math/test-signgam-uchar-init.c: Likewise.
3231 * math/test-signgam-uchar-static.c: Likewise.
3232 * math/test-signgam-uchar.c: Likewise.
3233 * math/test-signgam-uint-init-static.c: Likewise.
3234 * math/test-signgam-uint-init.c: Likewise.
3235 * math/test-signgam-uint-static.c: Likewise.
3236 * math/test-signgam-uint.c: Likewise.
3237 * math/test-signgam-ullong-init-static.c: Likewise.
3238 * math/test-signgam-ullong-init.c: Likewise.
3239 * math/test-signgam-ullong-static.c: Likewise.
3240 * math/test-signgam-ullong.c: Likewise.
3241 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
3242 wrapper of w_lgamma_main.c.
3243 * math/w_lgamma_compat.c: New file.
3244 * math/w_lgamma_compatf.c: Likewise.
3245 * math/w_lgamma_compatl.c: Likewise.
3246 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
3247 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
3248 defining compatibility symbols.
3249 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
3250 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
3251 wrapper of w_lgammaf_main.c.
3252 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
3253 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
3254 defining compatibility symbols.
3255 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
3256 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
3257 wrapper of w_lgammal_main.c.
3258 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
3259 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
3260 defining compatibility symbols.
3261 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
3262 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
3263 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
3264 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
3265 <lgamma-compat.h>.
3266 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
3267 (__ieee754_gamma): Define as alias.
3268 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
3269 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
3270 <lgamma-compat.h>.
3271 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
3272 (__ieee754_gammaf): Define as alias.
3273 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
3274 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
3275 <lgamma-compat.h>.
3276 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
3277 (__ieee754_gammal): Define as alias.
3278 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
3279 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
3280 <math/w_lgamma_compat.c>.
3281 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
3282 Define as alias of __lgamma_compat and use in defining lgammal.
3283 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
3284 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
3285 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
3286 (USE_AS_COMPAT): New macro.
3287 (LGAMMA_OLD_VER): Undefine and redefine.
3288 (lgammal): Do not define here.
3289 (gammal): Only define here if [GAMMA_ALIAS].
3290 * conform/linknamespace.pl (@whitelist): Remove signgam.
3291 * sysdeps/nacl/libm.abilist: Update.
3292 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3293 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3294 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3295 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3296 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3297 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3298 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3299 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3300 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3301 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3302 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3303 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3305 Likewise.
3306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3307 Likewise.
3308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3309 Likewise.
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3311 Likewise.
3312 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3313 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3314 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3315 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3316 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3318 Likewise.
3319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3320 Likewise.
3321 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3322 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3323 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3324
3325 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3326
3327 [BZ #16364]
3328 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
3329 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
3330
3331 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3332
3333 * sysdeps/s390/fpu/bits/mathinline.h:
3334 Use __asm__ [__volatile__] instead of asm [volatile].
3335 * sysdeps/s390/abort-instr.h: Likewise.
3336 * sysdeps/s390/atomic-machine.h: Likewise.
3337 * sysdeps/s390/bits/string.h: Likewise.
3338 * sysdeps/s390/dl-tls.h: Likewise.
3339 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3340 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3341 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3342 * sysdeps/s390/fpu/fesetround.c: Likewise.
3343 * sysdeps/s390/fpu/fpu_control.h: Likewise.
3344 * sysdeps/s390/fpu/s_fma.c: Likewise.
3345 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
3346 * sysdeps/s390/memusage.h: Likewise.
3347 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
3348 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3349 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3350 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3351 * sysdeps/s390/nptl/tls.h: Likewise.
3352 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
3353 * sysdeps/s390/s390-32/backtrace.c: Likewise.
3354 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3355 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3356 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3357 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3358 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
3359 * sysdeps/s390/s390-64/backtrace.c: Likewise.
3360 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3361 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
3362 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3363 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3364 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3365 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
3366 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3367 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3368 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
3369 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3370 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
3371 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3372 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
3373 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3374 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
3375
3376 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3377 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3378
3379 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3380 Add lwarx hint, and use macro for acquire instruction.
3381 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3382 Likewise.
3383 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
3384 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
3385 update to use new atomic macros.
3386
3387 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3388
3389 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3390 (__lll_trylock_elision): Fix setting of adapt_count.
3391 * sysdeps/unix/sysv/linux/powerpc/htm.h
3392 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
3393 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
3394 (_ABORT_SYSCALL): Renumber, and clarify definition.
3395 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
3396
3397 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3398
3399 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
3400 after system headers to prevent MIN/MAX redefinition. Define
3401 HAVE_ALLOCA to preserve builtin alloca usage.
3402
3403 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
3404
3405 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
3406 static and don't set or restore rounding.
3407 (__cos)[IN_SINCOS]: Likewise.
3408 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
3409 (__sincos): Set and restore rounding mode. Remove check for infinite
3410 or NaN input.
3411
3412 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
3413
3414 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
3415 as used.
3416
3417 2015-11-16 Florian Weimer <fweimer@redhat.com>
3418
3419 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
3420
3421 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
3422
3423 * config.make.in (have-glob-dat-reloc): New.
3424 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
3425 target supports GLOB_DAT relocaton. AC_SUBST.
3426 * configure: Regenerated.
3427 * elf/Makefile (tests): Add tst-prelink.
3428 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3429 (tst-prelink-ENV): New.
3430 ($(objpfx)tst-prelink-conflict.out): Likewise.
3431 ($(objpfx)tst-prelink-cmp.out): Likewise.
3432 * sysdeps/x86/tst-prelink.c: Moved to ...
3433 * elf/tst-prelink.c: Here.
3434 * sysdeps/x86/tst-prelink.exp: Moved to ...
3435 * elf/tst-prelink.exp: Here.
3436 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
3437 (tst-prelink-ENV): Removed.
3438 ($(objpfx)tst-prelink-conflict.out): Likewise.
3439 ($(objpfx)tst-prelink-cmp.out): Likewise.
3440 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
3441
3442 2015-11-13 Joseph Myers <joseph@codesourcery.com>
3443
3444 [BZ #14551]
3445 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
3446 (__mpn_construct_long_double): If high part overflows to infinity,
3447 set errno and recompute overflowed result of the correct sign.
3448 * sysdeps/ieee754/ldbl-128ibm/Makefile
3449 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
3450 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
3451 $(libm).
3452 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
3453
3454 2015-11-12 Joseph Myers <joseph@codesourcery.com>
3455
3456 [BZ #15479]
3457 [BZ #19238]
3458 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
3459 floating-point state after first operation on input. Restore full
3460 state rather than just rounding mode.
3461 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3462 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3463 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3464
3465 [BZ #19235]
3466 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
3467 add 0.5 to integer arguments.
3468 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
3469 Likewise.
3470 (.LC2): New object.
3471
3472 2015-11-11 Mike Frysinger <vapier@gentoo.org>
3473
3474 * scripts/pylintrc (reports): Set to no.
3475
3476 2015-11-10 Roland McGrath <roland@hack.frob.com>
3477
3478 * elf/dl-load.c (open_verify): Take new argument FD.
3479 Skip __open call if passed FD is not -1.
3480 (_dl_map_object, open_path): Update callers.
3481 * elf/dl-sysdep-open.h: New file.
3482 * elf/dl-load.c: Include it.
3483 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
3484 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
3485 * sysdeps/nacl/dl-sysdep-open.h: New file.
3486 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
3487 from libc to rtld.
3488
3489 2015-11-10 Joseph Myers <joseph@codesourcery.com>
3490
3491 [BZ #19228]
3492 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
3493 and restore full floating-point state.
3494 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3495 Likewise.
3496 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3497 Likewise.
3498 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3499 Likewise.
3500 * math/test-nearbyint-except-2.c: New file.
3501 * math/Makefile (tests): Add test-nearbyint-except-2.
3502
3503 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
3504
3505 [BZ #19178]
3506 * sysdeps/x86/Makefile (tests): Add tst-prelink.
3507 (tst-prelink-ENV): New.
3508 ($(objpfx)tst-prelink-conflict.out): Likewise.
3509 ($(objpfx)tst-prelink-cmp.out): Likewise.
3510 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3511 * sysdeps/x86/tst-prelink.c: New file.
3512 * sysdeps/x86/tst-prelink.exp: Likewise.
3513
3514 2015-11-10 Joseph Myers <joseph@codesourcery.com>
3515
3516 * math/auto-libm-test-in: Add another test of pow.
3517 * math/auto-libm-test-out: Regenerated.
3518 * math/libm-test.inc (pow_test_data): Add another test.
3519
3520 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3521
3522 [BZ #19219]
3523 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
3524 weak_alias to nearbyintl.
3525
3526 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
3527
3528 * sysdeps/aarch64/bits/string.h: New file.
3529 (_STRING_ARCH_unaligned): Define.
3530
3531 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
3532
3533 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
3534 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3535 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3536 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
3537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
3538
3539 2015-11-09 Ulrich Drepper <drepper@gmail.com>
3540
3541 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
3542 for original name of the DSO. Add it to the name list of the DSO
3543 if it is actually given.
3544 (_dl_map_object): Keep track of whether an audit module rewrote
3545 the file name. If yes, pass the original name to
3546 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
3547 debugging is enabled, log the change of the file name.
3548 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
3549 _dl_map_object_from_fd.
3550 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
3551 * elf/tst-audit11.c: New file
3552 * elf/tst-auditmod11.c: New file.
3553 * elf/tst-audit11mod1.c: New file.
3554 * elf/tst-audit11mod2.c: New file.
3555 * elf/tst-audit11mod2.map: New file.
3556 * elf/tst-audit12.c: New file
3557 * elf/tst-auditmod12.c: New file.
3558 * elf/tst-audit12mod1.c: New file.
3559 * elf/tst-audit12mod2.c: New file.
3560 * elf/tst-audit12mod2.map: New file.
3561 * elf/tst-audit12mod3.c: New file.
3562
3563 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
3564
3565 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
3566 Don't create weak aliases,
3567 because versioned symbols are created later.
3568 * sysdeps/s390/s390-32/setjmp.S
3569 (setjmp, _setjmp): Remove weak and rename to an unique name
3570 in SHARED case due to existing versioned symbols.
3571 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3572 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
3573 (getcontext): Create weak alias only in non SHARED case.
3574 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3575
3576 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
3577
3578 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
3579 (__ASSUME_*_SYSCALL) Define new macros.
3580 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
3581 Remove socketcall syscalls.
3582 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
3583 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
3584 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
3585 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
3586 * sysdeps/unix/sysv/linux/send.c (__libc_send):
3587 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
3588
3589 2015-11-09 Florian Weimer <fweimer@redhat.com>
3590
3591 [BZ #12926]
3592 Terminate process on invalid netlink response.
3593 * sysdeps/unix/sysv/linux/netlinkaccess.h
3594 (__netlink_assert_response): Declare.
3595 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
3596 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
3597 (sysdep_routines): Add netlink_assert_response.
3598 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
3599 __netlink_assert_response.
3600 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3601 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3602 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
3603 __netlink_assert_response.
3604
3605 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
3606
3607 [BZ #19178]
3608 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
3609 (RTYPE_CLASS_PLT): Likewise.
3610 (RTYPE_CLASS_COPY): Likewise.
3611 (RTYPE_CLASS_TLS): Likewise.
3612 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
3613 to set relocation type class for DL_DEBUG_PRELINK. Keep only
3614 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
3615 DL_DEBUG_PRELINK.
3616
3617 2015-11-06 Joseph Myers <joseph@codesourcery.com>
3618
3619 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
3620 calls with argument -0.5.
3621 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
3622
3623 * configure.ac (libc_cv_z_nodelete): Remove configure test.
3624 (libc_cv_z_nodlopen): Likewise.
3625 (libc_cv_z_initfirst): Likewise.
3626 * configure: Regenerated.
3627
3628 2015-11-06 Florian Weimer <fweimer@redhat.com>
3629
3630 Simplify abilist format to be line-based.
3631 * scripts/abilist.awk: Collect descriptors in the descs variable.
3632 (emit): Write descs variable and sort it
3633 externally, with sort.
3634 * sysdeps/**/*.abilist: Convert to new format.
3635
3636 2015-11-06 Mark Wielaard <mjw@redhat.com>
3637
3638 [BZ #11460]
3639 * io/Makefile (routines): Add fts64.
3640 (tests): Add tst-fts and tst-fts-lfs.
3641 (CFLAGS-fts64.c): New.
3642 * io/Versions (GLIBC_2.23): New.
3643 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
3644 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
3645 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
3646 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
3647 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
3648 (FTSENT64): Likewise.
3649 (fts64_children): Likewise.
3650 (fts64_close): Likewise.
3651 (fts64_open): Likewise.
3652 (fts64_read): Likewise.
3653 (fts64_set): Likewise.
3654 * io/fts64.c: New file.
3655 * io/tst-fts.c: New test.
3656 * io/tst-fts-lfs.c: Likewise.
3657 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
3658 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
3659 fts64_set.
3660 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3661 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3662 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3663 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3664 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3665 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3666 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3667 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3668 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3669 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3670 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3671 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3672 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3674 Likewise.
3675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3676 Likewise.
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3679 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3680 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3681 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3682 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3683 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3686 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3687 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3688 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3689 * sysdeps/wordsize-64/fts.c: New file.
3690 * sysdeps/wordsize-64/fts64.c: Likewise.
3691 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
3692 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
3693 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
3694 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
3695
3696 2015-11-05 Joseph Myers <joseph@codesourcery.com>
3697
3698 * math/libm-test.inc (NON_FINITE): New macro.
3699 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
3700 * math/gen-libm-test.pl (show_exceptions): Add argument
3701 $non_finite.
3702 (parse_args): Update call to show_exceptions.
3703 * math/test-math-finite.h: New file.
3704 * math/test-math-no-finite.h: Likewise.
3705 * math/test-double-finite.c: Likewise.
3706 * math/test-float-finite.c: Likewise.
3707 * math/test-ldouble-finite.c: Likewise.
3708 * math/test-double.c: Include "test-math-no-finite.h".
3709 * math/test-float.c: Include "test-math-no-finite.h".
3710 * math/test-ldouble.c: Include "test-math-no-finite.h".
3711 * math/test-math-inline.h (TEST_FINITE): New macro.
3712 * math/test-math-vector.h (TEST_FINITE): Likewise.
3713 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
3714 (libm-tests): Add test-float-finite and test-double-finite.
3715 ($(objpfx)test-float-finite.o): New dependency on
3716 $(objpfx)libm-test.stmp.
3717 ($(objpfx)test-double-finite.o): Likewise.
3718 ($(objpfx)test-ldouble-finite.o): Likewise.
3719 (libm-test-no-inline-cflags): New variable.
3720 (libm-test-finite-cflags): Likewise.
3721 (CFLAGS-test-float-finite.c): Likewise.
3722 (CFLAGS-test-double-finite.c): Likewise.
3723 (CFLAGS-test-ldouble-finite.c): Likewise.
3724 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
3725 (CFLAGS-test-double.c): Likewise.
3726 (CFLAGS-test-ldouble.c): Likewise.
3727
3728 2015-11-05 Roland McGrath <roland@hack.frob.com>
3729
3730 * io/fcntl.c (__fcntl): Add ... to prototype.
3731 * misc/ioctl.c (__ioctl): Likewise.
3732 * misc/syscall.c (syscall): Likewise.
3733
3734 2015-11-05 Joseph Myers <joseph@codesourcery.com>
3735
3736 * scripts/list-fixed-bugs.py: New file.
3737
3738 [BZ #19213]
3739 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
3740 returned for argument 1.
3741 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
3742 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
3743 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
3744 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
3745 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
3746 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
3747
3748 [BZ #19211]
3749 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
3750 __USE_XOPEN], not if [!__USE_ISOC99].
3751 (lgammaf): Likewise.
3752 (lgammal): Likewise.
3753 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
3754 (gammaf): Likewise.
3755 (gammal): Likewise.
3756 * math/test-signgam-finite-c11.c: New file.
3757 * math/test-signgam-finite-c99.c: Likewise.
3758 * math/test-signgam-finite.c: Likewise.
3759 * math/Makefile (tests): Add test-signgam-finite,
3760 test-signgam-finite-c99 and test-signgam-finite-c11.
3761 (CFLAGS-test-signgam-finite.c): New variable.
3762 (CFLAGS-test-signgam-finite-c99.c): Likewise.
3763 (CFLAGS-test-signgam-finite-c11.c): Likewise.
3764
3765 [BZ #19212]
3766 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
3767 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
3768 500].
3769 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
3770 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
3771 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
3772 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
3773 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
3774 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
3775 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
3776 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
3777 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
3778 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
3779
3780 [BZ #19209]
3781 * math/bits/math-finite.h (ldexp): Remove declaration.
3782 (ldexpf): Likewise.
3783 (ldexpl): Likewise.
3784
3785 [BZ #19205]
3786 * math/bits/math-finite.h (acosf): Condition declaration on
3787 [__USE_ISOC99].
3788 (acosl): Likewise.
3789 (acoshf): Likewise.
3790 (acoshl): Likewise.
3791 (asinf): Likewise.
3792 (asinl): Likewise.
3793 (atan2f): Likewise.
3794 (atan2l): Likewise.
3795 (atanhf): Likewise.
3796 (atanhl): Likewise.
3797 (coshf): Likewise.
3798 (coshl): Likewise.
3799 (expf): Likewise.
3800 (expl): Likewise.
3801 (fmodf): Likewise.
3802 (fmodl): Likewise.
3803 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
3804 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
3805 (j0l): Likewise.
3806 (y0f): Likewise.
3807 (y0l): Likewise.
3808 (j1f): Likewise.
3809 (j1l): Likewise.
3810 (y1f): Likewise.
3811 (y1l): Likewise.
3812 (jnf): Likewise.
3813 (jnl): Likewise.
3814 (ynf): Likewise.
3815 (ynl): Likewise.
3816 (lgammaf_r): Condition declaration on [__USE_ISOC99].
3817 (lgammal_r): Likewise.
3818 (__lgamma_r_finite): New declaration.
3819 (__lgammaf_r_finite): Likewise.
3820 (__lgammal_r_finite): Likewise.
3821 (lgamma): Use __lgamma_r_finite.
3822 (lgammaf): Condition definition on [__USE_ISOC99]. Use
3823 __lgammaf_r_finite.
3824 (lgammal): Condition definition on [__USE_ISOC99]. Use
3825 __lgammal_r_finite.
3826 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
3827 __lgamma_r_finite.
3828 (gammaf): Condition definition on [__USE_ISOC99]. Use
3829 __lgammaf_r_finite.
3830 (gammal): Condition definition on [__USE_ISOC99]. Use
3831 __lgammal_r_finite.
3832 (logf): Condition declaration on [__USE_ISOC99].
3833 (logl): Likewise.
3834 (log10f): Likewise.
3835 (log10l): Likewise.
3836 (ldexpf): Likewise.
3837 (ldexpl): Likewise.
3838 (powf): Likewise.
3839 (powl): Likewise.
3840 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
3841 __USE_ISOC99].
3842 (remainderf): Condition declaration on [__USE_ISOC99].
3843 (remainderl): Likewise.
3844 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
3845 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
3846 (scalbl): Likewise.
3847 (sinhf): Condition declaration on [__USE_ISOC99].
3848 (sinhl): Likewise.
3849 (sqrtf): Likewise.
3850 (sqrtl): Likewise.
3851
3852 2015-11-04 Joseph Myers <joseph@codesourcery.com>
3853
3854 * sysdeps/arm/atomic-machine.h
3855 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3856 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3857 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
3858 Remove conditional code.
3859 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3860 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3861 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
3862 Change conditional to [__ASSEMBLER__].
3863 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3864 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
3865 [!__ASSEMBLER__].
3866 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
3867 code.
3868 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
3869 conditional macro definitions.
3870 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
3871 (__arch_compare_and_exchange_val_16_acq): Likewise.
3872 (__arch_compare_and_exchange_val_32_acq): Likewise.
3873 (atomic_exchange_and_add): Likewise.
3874 (atomic_add): Likewise.
3875 (atomic_add_negative): Likewise.
3876 (atomic_add_zero): Likewise.
3877 (atomic_bit_set): Likewise.
3878 (atomic_bit_test_set): Likewise.
3879 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
3880 code unconditional.
3881 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3882
3883 * math/test-math-errno.h: New file.
3884 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
3885 empty.
3886 (TEST_ERRNO): New macro.
3887 (TEST_EXCEPTIONS): Likewise.
3888 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
3889 (TEST_EXCEPTIONS): Likewise.
3890 * math/test-math-vector.h (TEST_ERRNO): Likewise.
3891 * math/test-double.c: Include "test-math-errno.h".
3892 * math/test-float.c: Likewise.
3893 * math/test-ldouble.c: Likewise.
3894 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
3895 code unconditional.
3896 (test_exceptions): Only run code if TEST_EXCEPTIONS.
3897 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
3898 unconditional.
3899 (test_errno): Only run code if TEST_ERRNO.
3900 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
3901
3902 2015-11-04 Florian Weimer <fweimer@redhat.com>
3903
3904 * nptl/tst-once5.cc: Remove attribution.
3905
3906 2015-11-04 Joseph Myers <joseph@codesourcery.com>
3907
3908 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
3909 sqrt, tan, tanh, y0, y1 and yn.
3910 * math/auto-libm-test-out: Regenerated.
3911 * math/libm-test.inc (scalb_test_data): Add more tests.
3912 (scalbn_test_data): Likewise.
3913 (scalbln_test_data): Likewise.
3914 (signbit_test_data): Likewise.
3915 (sin_test_data): Likewise.
3916 (sincos_test_data): Likewise.
3917 (sinh_test_data): Likewise.
3918 (sqrt_test_data): Likewise.
3919 (tan_test_data): Likewise.
3920 (tanh_test_data): Likewise.
3921 (tgamma_test_data): Likewise.
3922 (y0_test_data): Likewise.
3923 (y1_test_data): Likewise.
3924 (yn_test_data): Likewise.
3925 (significand_test_data): Likewise.
3926 * sysdeps/i386/fpu/libm-test-ulps: Update.
3927
3928 2015-11-03 David Kastrup <dak@gnu.org>
3929
3930 [BZ #18604]
3931 * assert/assert.h (assert): Don't macro-expand failed assertion
3932 expression in error message.
3933 * malloc/malloc.c (assert): Likewise.
3934
3935 2015-11-03 Joseph Myers <joseph@codesourcery.com>
3936
3937 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
3938 test.
3939 * configure: Regenerated.
3940
3941 2015-11-02 Joseph Myers <joseph@codesourcery.com>
3942
3943 * math/libm-test.inc (modf_test_data): Add more tests.
3944 (nearbyint_test_data): Likewise.
3945 (nextafter_test_data): Likewise.
3946 (nexttoward_test_data): Likewise.
3947 (pow_test_data): Likewise.
3948 (remainder_test_data): Likewise.
3949 (remquo_test_data): Likewise.
3950 (rint_test_data): Likewise.
3951
3952 [BZ #19201]
3953 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3954 Check for zero remainder in case of large exponents and ensure
3955 correct sign of result in that case.
3956 * math/libm-test.inc (remainder_test_data): Add more tests.
3957
3958 [BZ #6799]
3959 * math/s_nextafter.c: Include <errno.h>.
3960 (__nextafter): Set errno on overflow and underflow.
3961 * math/s_nexttowardf.c: Include <errno.h>.
3962 (__nexttowardf): Set errno on overflow and underflow.
3963 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
3964 (__nextafterl): Set errno on overflow and underflow.
3965 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
3966 (__nexttoward): Set errno on overflow and underflow.
3967 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
3968 (__nexttowardf): Set errno on overflow and underflow.
3969 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
3970 (__nextafterf): Set errno on overflow and underflow.
3971 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
3972 (__nextafterl): Set errno on overflow and underflow.
3973 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
3974 (__nexttoward): Set errno on overflow and underflow.
3975 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
3976 (__nexttowardf): Set errno on overflow and underflow.
3977 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
3978 (__nextafterl): Set errno on overflow and underflow.
3979 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
3980 (__nexttoward): Set errno on overflow and underflow.
3981 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
3982 (__nexttowardf): Set errno on overflow and underflow.
3983 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
3984 (__nexttoward): Set errno on overflow and underflow.
3985 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
3986 (__nexttowardf): Set errno on overflow and underflow.
3987 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
3988 (__nldbl_nexttowardf): Set errno on overflow and underflow.
3989 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
3990 (__nextafterl): Set errno on overflow and underflow.
3991 * math/libm-test.inc (nextafter_test_data): Do not allow errno
3992 setting to be missing on overflow. Add more tests.
3993 (nexttoward_test_data): Likewise.
3994
3995 * configure.ac (libc_cv_initfini_array): Remove configure test.
3996 * configure: Regenerated.
3997
3998 2015-10-29 Joseph Myers <joseph@codesourcery.com>
3999
4000 [BZ #19189]
4001 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
4002 non-finite argument handle arguments with negative sign.
4003
4004 * math/libm-test.inc (j0_test_data): Do not test sign of zero
4005 result from infinite argument.
4006 (j1_test_data): Likewise.
4007 (jn_test_data): Likewise.
4008 (y0_test_data): Likewise.
4009 (y1_test_data): Likewise.
4010 (yn_test_data): Likewise.
4011
4012 [BZ #16171]
4013 * math/w_remainder.c (drem): Define as weak alias of __remainder.
4014 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
4015 * math/w_remainderf.c (dremf): Define as weak alias of
4016 __remainderf.
4017 * math/w_remainderl.c (dreml): Define as weak alias of
4018 __remainderl.
4019 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
4020 __remainder.
4021 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
4022 __remainderf.
4023 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
4024 __remainderl.
4025 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
4026 weak alias of remainderl.
4027 * sysdeps/ieee754/ldbl-opt/w_remainder.c
4028 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
4029 alias of __remainder.
4030 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
4031 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
4032 strong alias of __remainderl.
4033 (dreml): Use long_double_symbol.
4034 * math/Makefile (libm-calls): Remove w_drem.
4035 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
4036 (CFLAGS-nldbl-drem.c): Remove variable.
4037 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
4038 * math/w_drem.c: Remove file.
4039 * math/w_dremf.c: Likewise.
4040 * math/w_dreml.c: Likewise.
4041 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
4042 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
4043 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
4044
4045 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
4046 * sysdeps/i386/configure: Regenerated.
4047 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
4048 * sysdeps/x86_64/configure: Regenerated.
4049
4050 * configure.ac (libc_cv_asm_protected_directive): Remove configure
4051 test.
4052 (libc_cv_visibility_attribute): Likewise.
4053 (libc_cv_protected_data): Test unconditionally.
4054 (libc_cv_broken_visibility_attribute): Remove configure test.
4055 (libc_cv_have_sdata_section): Test unconditionally.
4056 * configure: Regenerated.
4057
4058 * include/libc-internal.h (libc_max_align_t): Remove typedef.
4059 * include/scratch_buffer.h: Include <stddef.h> instead of
4060 <libc-internal.h>.
4061 (struct scratch_buffer): Use max_align_t instead of
4062 libc_max_align_t.
4063
4064 2015-10-29 Florian Weimer <fweimer@redhat.com>
4065
4066 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
4067 instead of extend_alloca. Change control flow to avoid a goto.
4068 Remove assert which is trivially always true.
4069
4070 2015-10-28 Joseph Myers <joseph@codesourcery.com>
4071
4072 [BZ #16068]
4073 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
4074 (FE_ALL_EXCEPT_X86): New macro.
4075 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4076 FE_ALL_EXCEPT. Ensure precision control is included in
4077 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4078 handle "denormal operand exception" and clear FZ and DAZ bits.
4079 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
4080 (FE_ALL_EXCEPT_X86): New macro.
4081 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4082 FE_ALL_EXCEPT. Ensure precision control is included in
4083 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4084 handle "denormal operand exception" and clear FZ and DAZ bits.
4085 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
4086 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
4087 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4088 test-fenv-x87 and test-fenv-sse-2.
4089 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
4090
4091 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
4092 * math/test-double.h (BUILD_COMPLEX): New macro.
4093 * math/test-float.h (BUILD_COMPLEX): Likewise.
4094 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
4095
4096 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
4097 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
4098 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
4099 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
4100 instead of DBL_DENORM_MIN in comment.
4101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
4102 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4103 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
4104 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
4105 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
4106 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4107
4108 2015-10-28 Florian Weimer <fweimer@redhat.com>
4109
4110 [BZ# 19048]
4111 * malloc/malloc.c (struct malloc_state): Update comment. Add
4112 attached_threads member.
4113 (main_arena): Initialize attached_threads.
4114 * malloc/arena.c (list_lock): Update comment.
4115 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
4116 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
4117 (deattach_arena): New function.
4118 (_int_new_arena): Initialize arena reference count and deattach
4119 replaced arena.
4120 (get_free_list, reused_arena): Update reference count and deattach
4121 replaced arena.
4122 (arena_thread_freeres): Update arena reference count and only put
4123 unreferenced arenas on the free list.
4124
4125 2015-10-28 Joseph Myers <joseph@codesourcery.com>
4126
4127 [BZ #19181]
4128 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
4129 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
4130 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
4131 * math/test-fenv-clear-main.c: New file.
4132 * math/test-fenv-clear.c: Likewise.
4133 * math/Makefile (tests): Add test-fenv-clear.
4134 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
4135 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4136 test-fenv-clear-sse.
4137 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
4138
4139 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
4140 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
4141 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
4142
4143 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
4144
4145 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
4146 static libc.
4147
4148 2015-10-28 Joseph Myers <joseph@codesourcery.com>
4149
4150 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
4151 test.
4152 * sysdeps/i386/configure: Regenerated.
4153 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
4154 test.
4155 * sysdeps/x86_64/configure: Regenerated.
4156 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
4157 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4158 memset-avx2 unconditionally instead of conditionally on
4159 [$(config-cflags-avx2) = yes].
4160 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4161 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
4162 unconditional.
4163 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
4164 * sysdeps/x86_64/multiarch/memset_chk.S
4165 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
4166 to [IS_IN (libc) && SHARED].
4167
4168 2015-10-27 Joseph Myers <joseph@codesourcery.com>
4169
4170 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
4171 configure test.
4172 * sysdeps/arm/configure: Regenerated.
4173 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
4174 Define variable if not already defined.
4175
4176 [BZ #17404]
4177 * sysdeps/mips/atomic-machine.h
4178 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
4179 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
4180 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4181
4182 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
4183 unconditional.
4184 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
4185 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4186 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
4187 unconditional.
4188 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4189 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
4190 unconditional.
4191 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4192 * stdlib/setenv.c
4193 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
4194 code unconditional.
4195 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
4196 Remove conditional code.
4197 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4198 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
4199 unconditional.
4200 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4201 code.
4202 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4203 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
4204 unconditional.
4205 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4206 code.
4207 * sysdeps/ieee754/ldbl-128/k_tanl.c
4208 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4209 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4210 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4211 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4212 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4213 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4214 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
4215 unconditional.
4216 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4217 code.
4218 * sysdeps/ieee754/ldbl-96/k_tanl.c
4219 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4220 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4221
4222 * nptl/tst-initializers1-c11.c: New file.
4223 * nptl/tst-initializers1-gnu11.c: Likewise.
4224 * nptl/Makefile (tests): Add these new tests.
4225 (CFLAGS-tst-initializers1-c11.c): New variable.
4226 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
4227
4228 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
4229 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
4230 instead of -std=gnu99.
4231 * configure.ac (systemtap): Test with -std=gnu11 instead of
4232 -std=gnu99.
4233 * configure: Regenerated.
4234 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
4235 in compilation command in comment.
4236
4237 * sysdeps/nptl/configure.ac: Remove file.
4238 * sysdeps/nptl/configure: Remove generated file.
4239 * configure.ac (libc_cv_forced_unwind): Do not substitute.
4240 * configure: Regenerated.
4241 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
4242 * config.make.in (have-forced-unwind): Remove variable.
4243 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4244 unconditional.
4245 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
4246 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
4247 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
4248 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
4249 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4250 unconditional.
4251
4252 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4253
4254 [BZ #19174]
4255 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
4256 .skip_lock_out_of_tbegin_retries.
4257 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4258 (__lll_lock_elision): Likewise, and respect a value of
4259 try_tbegin <= 0.
4260
4261 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
4262
4263 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
4264 statement.
4265
4266 2015-10-27 Joseph Myers <joseph@codesourcery.com>
4267
4268 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
4269 variable.
4270 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4271 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4272
4273 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
4274 of -std=c1x -D_ISOC11_SOURCE.
4275
4276 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
4277 * configure: Regenerated.
4278 * manual/install.texi (Tools for Compilation): Document
4279 requirement for GCC 4.7 or later.
4280 * INSTALL: Regenerated.
4281
4282 2015-10-27 Ludovic Courtès <ludo@gnu.org>
4283
4284 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
4285 on CNT to a conditional jump to 'puntdata'.
4286
4287 2015-10-27 Joseph Myers <joseph@codesourcery.com>
4288
4289 * configure.ac (libc_cv_gcc___thread): Remove configure test.
4290 (libc_cv_gcc_tls_model_attr): Likewise.
4291 * configure: Regenerated.
4292
4293 * configure.ac (libc_cv_need_minus_P): Remove configure test.
4294 * configure: Regenerated.
4295 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
4296
4297 2015-10-26 Joseph Myers <joseph@codesourcery.com>
4298
4299 * configure.ac (old_glibc_headers): Remove configure test.
4300 * configure: Regenerated.
4301 * config.make.in (old-glibc-headers): Remove variable.
4302 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
4303 (install): Remove dependency on remove-old-headers.
4304 (headers2_0): Remove variable.
4305 (remove-old-headers): Remove rule.
4306
4307 * configure.ac (libc_cv_dot_text): Remove configure test.
4308 (libc_cv_asm_set_directive): Use .text instead of
4309 ${libc_cv_dot_text} in configure test.
4310 * configure: Regenerated.
4311
4312 2015-10-26 Florian Weimer <fweimer@redhat.com>
4313
4314 [BZ #19168]
4315 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4316
4317 2015-10-26 Florian Weimer <fweimer@redhat.com>
4318
4319 * configure.ac (CXX): Clear the variable if the C++ toolchain does
4320 not support static linking.
4321 * configure: Regenerate.
4322
4323 2015-10-23 Joseph Myers <joseph@codesourcery.com>
4324
4325 * math/libm-test.inc (check_float_internal): Do not special-case
4326 errors up to 0.5 ulp.
4327
4328 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4329 log2.
4330 * math/auto-libm-test-out: Regenerated.
4331 * math/libm-test.inc (MAX_EXP): New macro.
4332 (ilogb_test_data): Add more tests.
4333 (isfinite_test_data): Likewise.
4334 (isgreater_test_data): Likewise.
4335 (isgreaterequal_test_data): Likewise.
4336 (isinf_test_data): Likewise.
4337 (isless_test_data): Likewise.
4338 (islessequal_test_data): Likewise.
4339 (islessgreater_test_data): Likewise.
4340 (isnan_test_data): Likewise.
4341 (isnormal_test_data): Likewise.
4342 (issignaling_test_data): Likewise.
4343 (isunordered_test_data): Likewise.
4344 (j0_test_data): Likewise.
4345 (j1_test_data): Likewise.
4346 (jn_test_data): Likewise.
4347 (lgamma_test_data): Likewise.
4348 (log_test_data): Likewise.
4349 (log10_test_data): Likewise.
4350 (log1p_test_data): Likewise.
4351 (log2_test_data): Likewise.
4352 (logb_test_data): Likewise.
4353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4354
4355 [BZ #18611]
4356 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
4357 avoid excess range and precision on underflow.
4358 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4359 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
4360 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4361 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
4362 underflow.
4363 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4364 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4365 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4366 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4367 * math/auto-libm-test-in: Do not allow missing errno setting for
4368 tests of j1 and jn.
4369 * math/auto-libm-test-out: Regenerated.
4370
4371 2015-10-22 Joseph Myers <joseph@codesourcery.com>
4372
4373 [BZ #15491]
4374 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
4375 floating-point environment instead of clearing all exceptions.
4376 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4377 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
4378 merging in "invalid" exceptions from frndint.
4379 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4380 * math/test-nearbyint-except.c: New file.
4381 * math/Makefile (tests): Add test-nearbyint-except.
4382
4383 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
4384
4385 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
4386
4387 * sysdeps/tile/libm-test-ulps: Regenerated.
4388
4389 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4390
4391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
4392 (__NR_sync_file_range2): Assume it is always defined.
4393 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4394 (__NR_sync_file_range): Assume it is always defined.
4395
4396 2015-10-22 Andreas Schwab <schwab@suse.de>
4397
4398 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4399 INTERNAL_SYSCALL_ERRNO.
4400 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4401 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4402 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4403 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4404 Likewise.
4405 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4406
4407 2015-10-21 Joseph Myers <joseph@codesourcery.com>
4408
4409 * io/tst-fcntl.c (fd): New static variable.
4410 (do_prepare): Open temporary file here....
4411 (do_test): ...not here.
4412
4413 * io/ftwtest-sh: Also trap on exit to remove temporary files.
4414
4415 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
4416
4417 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
4418 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4419 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4420 Moved before "#ifdef __ASSEMBLER__".
4421
4422 2015-10-21 Joseph Myers <joseph@codesourcery.com>
4423
4424 [BZ #19156]
4425 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
4426 arguments very close to 0.
4427
4428 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
4429
4430 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
4431 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
4432
4433 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
4434
4435 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4436 New. Defined for GCC 5 and above when not compiling for
4437 profiling.
4438 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4439
4440 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4441 Renamed to ...
4442 (CFLAGS-epoll_pwait.o): This.
4443 (CFLAGS-mmap.c): Renamed to ...
4444 (CFLAGS-mmap.o): This.
4445 (CFLAGS-mmap64.c): Renamed to ...
4446 (CFLAGS-mmap64.o): This.
4447 (CFLAGS-epoll_pwait.os): New.
4448 (CFLAGS-mmap.os): Likewise.
4449 (CFLAGS-mmap64.os): Likewise.
4450 (CFLAGS-semtimedop.os): Likewise.
4451 (CFLAGS-semtimedop.c): Renamed to ...
4452 (CFLAGS-semtimedop.o): This.
4453
4454 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4455
4456 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
4457 warning message.
4458
4459 2015-10-21 Joseph Myers <joseph@codesourcery.com>
4460
4461 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
4462 * Makefile ($(objpfx)c++-types-check.out): Filter out
4463 $(+gccwarn-c) instead of -Wstrict-prototypes.
4464
4465 * io/fts.c (fts_open): Convert to prototype-style function
4466 definition.
4467 * malloc/mcheck.c (mcheck): Likewise.
4468 (mcheck_pedantic): Likewise.
4469 * posix/regexec.c (re_search_2_stub): Likewise. Use
4470 internal_function.
4471 (re_search_internal): Likewise.
4472 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
4473 prototype-style function definition.
4474 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4475 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4476 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
4477 (xdr_utmpptr): Likewise.
4478 (xdr_utmparr): Likewise.
4479 (xdr_utmpidle): Likewise.
4480 (xdr_utmpidleptr): Likewise.
4481 (xdr_utmpidlearr): Likewise.
4482
4483 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
4484 log, log10 and log2.
4485 * math/auto-libm-test-out: Regenerated.
4486 * math/libm-test.inc (fmod_test_data): Add more tests.
4487 (fpclassify_test_data): Likewise.
4488 (frexp_test_data): Likewise.
4489 (hypot_test_data): Likewise.
4490 (ilogb_test_data): Likewise.
4491
4492 2015-10-20 Joseph Myers <joseph@codesourcery.com>
4493
4494 * debug/fortify_fail.c (__fortify_fail): Convert to
4495 prototype-style function definition. Use internal_function.
4496 * libio/genops.c (save_for_backup): Convert to prototype-style
4497 function definition.
4498 * libio/wgenops.c (save_for_wbackup): Likewise.
4499 * login/grantpt.c (grantpt): Likewise.
4500 * login/ptsname.c (ptsname): Likewise.
4501 (__ptsname_r): Likewise.
4502 * login/unlockpt.c (unlockpt): Likewise.
4503 * mach/msgserver.c (__mach_msg_server): Likewise.
4504 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
4505 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
4506 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
4507 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
4508 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
4509 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
4510 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
4511 Likewise.
4512 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
4513 internal_function.
4514 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
4515 prototype-style function definition.
4516 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
4517 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
4518 (__pthread_create_2_0): Likewise.
4519 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
4520 * nptl/register-atfork.c (__register_atfork): Likewise.
4521 * posix/glob.c (glob): Likewise.
4522 * posix/regcomp.c (re_comp): Likewise.
4523 * posix/regexec.c (re_exec): Likewise.
4524 * stdlib/add_n.c [__STDC__]: Make code unconditional.
4525 [!__STDC__]: Remove conditional code.
4526 * stdlib/cmp.c [__STDC__]: Make code unconditional.
4527 [!__STDC__]: Remove conditional code.
4528 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
4529 [!__STDC__]: Remove conditional code.
4530 * stdlib/divrem.c [__STDC__]: Make code unconditional.
4531 [!__STDC__]: Remove conditional code.
4532 * stdlib/lshift.c [__STDC__]: Make code unconditional.
4533 [!__STDC__]: Remove conditional code.
4534 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
4535 [!__STDC__]: Remove conditional code.
4536 * stdlib/mul.c [__STDC__]: Make code unconditional.
4537 [!__STDC__]: Remove conditional code.
4538 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
4539 [!__STDC__]: Remove conditional code.
4540 * stdlib/rshift.c [__STDC__]: Make code unconditional.
4541 [!__STDC__]: Remove conditional code.
4542 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
4543 function definition.
4544 (STRTOF): Likewise.
4545 * stdlib/strtod_l.c (__STRTOF): Likewise.
4546 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
4547 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
4548 (__strtol_l): Likewise.
4549 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
4550 [!__STDC__]: Remove conditional code.
4551 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
4552 definition.
4553 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4554 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4555 type.
4556 (__strcasecmp): Convert to prototype-style function definition.
4557 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
4558 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4559 type.
4560 (__strncasecmp): Convert to prototype-style function definition.
4561 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
4562 * sunrpc/xdr.c (xdr_union): Likewise.
4563 * sunrpc/xdr_array.c (xdr_array): Likewise.
4564 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
4565 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
4566 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
4567 Likewise.
4568 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
4569 Likewise.
4570 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
4571 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4572 Likewise.
4573 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
4574 (LOCALE_PARAM_PROTO): Likewise.
4575 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
4576 argument type.
4577 (ut_argument_spec): Remove macro.
4578 (ut_argument_spec_iso): Rename to ut_argument_spec.
4579 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
4580 prototype-style function definition.
4581 (memcpy_uppcase): Likewise.
4582 (__strftime_internal): Likewise.
4583 (my_strftime): Likewise.
4584 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
4585 (LOCALE_PARAM_DECL): Likewise.
4586 [_LIBC] (LOCALE_PARAM): Include argument type.
4587 (__strptime_internal): Convert to prototype-style function
4588 definition.
4589 (strptime): Likewise.
4590 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4591 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4592 type.
4593 (__wcscasecmp): Convert to prototype-style function definition.
4594 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
4595 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4596 type.
4597 (__wcsncasecmp): Convert to prototype-style function definition.
4598
4599 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
4600 function definition.
4601 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4602 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4603 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
4604 * elf/dl-minimal.c (_itoa): Likewise.
4605 * hurd/hurdmalloc.c (malloc): Likewise.
4606 (free): Likewise.
4607 (realloc): Likewise.
4608 * inet/inet6_option.c (inet6_option_space): Likewise.
4609 (inet6_option_init): Likewise.
4610 (inet6_option_append): Likewise.
4611 (inet6_option_alloc): Likewise.
4612 (inet6_option_next): Likewise.
4613 (inet6_option_find): Likewise.
4614 * io/ftw.c (FTW_NAME): Likewise.
4615 (NFTW_NAME): Likewise.
4616 (NFTW_NEW_NAME): Likewise.
4617 (NFTW_OLD_NAME): Likewise.
4618 * libio/iofwide.c (_IO_fwide): Likewise.
4619 * libio/strops.c (_IO_str_init_static_internal): Likewise.
4620 (_IO_str_init_static): Likewise.
4621 (_IO_str_init_readonly): Likewise.
4622 (_IO_str_overflow): Likewise.
4623 (_IO_str_underflow): Likewise.
4624 (_IO_str_count): Likewise.
4625 (_IO_str_seekoff): Likewise.
4626 (_IO_str_pbackfail): Likewise.
4627 (_IO_str_finish): Likewise.
4628 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
4629 (_IO_wstr_overflow): Likewise.
4630 (_IO_wstr_underflow): Likewise.
4631 (_IO_wstr_count): Likewise.
4632 (_IO_wstr_seekoff): Likewise.
4633 (_IO_wstr_pbackfail): Likewise.
4634 (_IO_wstr_finish): Likewise.
4635 * locale/programs/localedef.c (normalize_codeset): Likewise.
4636 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4637 (add_locales_to_archive): Likewise.
4638 (delete_locales_from_archive): Likewise.
4639 * malloc/malloc.c (__libc_mallinfo): Likewise.
4640 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
4641 * misc/tsearch.c (__tfind): Likewise.
4642 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
4643 * nptl/pthread_attr_getdetachstate.c
4644 (__pthread_attr_getdetachstate): Likewise.
4645 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
4646 Likewise.
4647 * nptl/pthread_attr_getinheritsched.c
4648 (__pthread_attr_getinheritsched): Likewise.
4649 * nptl/pthread_attr_getschedparam.c
4650 (__pthread_attr_getschedparam): Likewise.
4651 * nptl/pthread_attr_getschedpolicy.c
4652 (__pthread_attr_getschedpolicy): Likewise.
4653 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
4654 Likewise.
4655 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
4656 Likewise.
4657 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
4658 Likewise.
4659 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
4660 Likewise.
4661 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
4662 (__pthread_attr_init_2_0): Likewise.
4663 * nptl/pthread_attr_setdetachstate.c
4664 (__pthread_attr_setdetachstate): Likewise.
4665 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
4666 Likewise.
4667 * nptl/pthread_attr_setinheritsched.c
4668 (__pthread_attr_setinheritsched): Likewise.
4669 * nptl/pthread_attr_setschedparam.c
4670 (__pthread_attr_setschedparam): Likewise.
4671 * nptl/pthread_attr_setschedpolicy.c
4672 (__pthread_attr_setschedpolicy): Likewise.
4673 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
4674 Likewise.
4675 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
4676 Likewise.
4677 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
4678 Likewise.
4679 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
4680 Likewise.
4681 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
4682 Likewise.
4683 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
4684 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
4685 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
4686 use internal_function.
4687 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
4688 prototype-style function definition.
4689 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
4690 (__pthread_mutex_cond_lock_adjust): Likewise. Use
4691 internal_function.
4692 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
4693 Convert to prototype-style function definition.
4694 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4695 Likewise.
4696 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4697 Likewise.
4698 (__pthread_mutex_unlock): Likewise.
4699 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
4700 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
4701 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
4702 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
4703 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
4704 * nss/makedb.c (process_input): Likewise.
4705 * posix/fnmatch.c (__strchrnul): Likewise.
4706 (__wcschrnul): Likewise.
4707 (fnmatch): Likewise.
4708 * posix/fnmatch_loop.c (FCT): Likewise.
4709 * posix/glob.c (globfree): Likewise.
4710 (__glob_pattern_type): Likewise.
4711 (__glob_pattern_p): Likewise.
4712 * posix/regcomp.c (re_compile_pattern): Likewise.
4713 (re_set_syntax): Likewise.
4714 (re_compile_fastmap): Likewise.
4715 (regcomp): Likewise.
4716 (regerror): Likewise.
4717 (regfree): Likewise.
4718 * posix/regexec.c (regexec): Likewise.
4719 (re_match): Likewise.
4720 (re_search): Likewise.
4721 (re_match_2): Likewise.
4722 (re_search_2): Likewise.
4723 (re_search_stub): Likewise. Use internal_function
4724 (re_copy_regs): Likewise.
4725 (re_set_registers): Convert to prototype-style function
4726 definition.
4727 (prune_impossible_nodes): Likewise. Use internal_function.
4728 * resolv/inet_net_pton.c (inet_net_pton): Convert to
4729 prototype-style function definition.
4730 (inet_net_pton_ipv4): Likewise.
4731 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4732 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
4733 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
4734 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
4735 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4736 Make variadic.
4737 * time/strptime_l.c (localtime_r): Convert to prototype-style
4738 function definition.
4739 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4740 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4741 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4742 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4743
4744 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
4745 definition.
4746 (_ufc_doit_r): Likewise.
4747 * crypt/crypt_util.c (_ufc_copymem): Likewise.
4748 (_ufc_output_conversion_r): Likewise.
4749 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
4750 * inet/rcmd.c (rcmd_af): Likewise.
4751 (rcmd): Likewise.
4752 (ruserok_af): Likewise.
4753 (ruserok): Likewise.
4754 (ruserok2_sa): Likewise.
4755 (ruserok_sa): Likewise.
4756 (iruserok_af): Likewise.
4757 (iruserok): Likewise.
4758 (__ivaliduser): Likewise.
4759 (__validuser2_sa): Likewise.
4760 * inet/rexec.c (rexec_af): Likewise.
4761 (rexec): Likewise.
4762 * inet/ruserpass.c (ruserpass): Likewise.
4763 * locale/programs/xmalloc.c (xcalloc): Likewise.
4764 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
4765 * math/w_drem.c (__drem): Likewise.
4766 * math/w_dremf.c (__dremf): Likewise.
4767 * math/w_dreml.c (__dreml): Likewise.
4768 * misc/daemon.c (daemon): Likewise.
4769 * resolv/res_debug.c (p_fqnname): Likewise.
4770 * stdlib/div.c (div): Likewise.
4771 * string/memcmp.c (memcmp_bytes): Likewise.
4772 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
4773 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
4774
4775 * crypt/cert.c (main): Convert to prototype-style function
4776 definition.
4777 * io/pipe.c (__pipe): Likewise.
4778 * io/pipe2.c (__pipe2): Likewise.
4779 * misc/futimesat.c (futimesat): Likewise.
4780 * misc/utimes.c (__utimes): Likewise.
4781 * posix/execve.c (__execve): Likewise.
4782 * posix/execvp.c (execvp): Likewise.
4783 * posix/execvpe.c (__execvpe): Likewise.
4784 * posix/fexecve.c (fexecve): Likewise.
4785 * socket/socketpair.c (socketpair): Likewise.
4786 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4787 * stdlib/erand48.c (erand48): Likewise.
4788 * stdlib/erand48_r.c (__erand48_r): Likewise.
4789 * stdlib/jrand48.c (jrand48): Likewise.
4790 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
4791 * stdlib/lcong48.c (lcong48): Likewise.
4792 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
4793 * stdlib/nrand48.c (nrand48): Likewise.
4794 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
4795 * stdlib/seed48.c (seed48): Likewise.
4796 * stdlib/seed48_r.c (__seed48_r): Likewise.
4797 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
4798 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
4799 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
4800
4801 2015-10-19 Joseph Myers <joseph@codesourcery.com>
4802
4803 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
4804 * configure: Regenerated.
4805 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
4806 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
4807 unconditional.
4808 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4809 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4810 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4811 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
4812 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
4813 unconditional.
4814 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4815
4816 * posix/Makefile (CFLAGS-regex.c): Remove variable.
4817 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
4818
4819 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4820 function definition.
4821 * crypt/crypt_util.c (__encrypt_r): Likewise.
4822 * libio/genops.c (_IO_no_init): Likewise.
4823 * libio/iofopncook.c (_IO_fopencookie): Likewise.
4824 (_IO_old_fopencookie): Likewise.
4825 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4826 * libio/iogetline.c (_IO_getline): Likewise.
4827 (_IO_getline_info): Likewise.
4828 * libio/iogetwline.c (_IO_getwline): Likewise.
4829 (_IO_getwline_info): Likewise.
4830 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4831 * libio/vswprintf.c (_IO_vswprintf): Likewise.
4832 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
4833 (find_entry): Likewise.
4834 (iterate_table): Likewise.
4835 (lookup): Likewise.
4836 * login/forkpty.c (forkpty): Likewise.
4837 * misc/hsearch_r.c (__hsearch_r): Likewise.
4838 * misc/select.c (__select): Likewise.
4839 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
4840 Likewise.
4841 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
4842 Likewise.
4843 * nptl/old_pthread_cond_timedwait.c
4844 (__pthread_cond_timedwait_2_0): Likewise.
4845 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4846 * nptl/pthread_barrierattr_getpshared.c
4847 (pthread_barrierattr_getpshared): Likewise.
4848 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4849 Likewise.
4850 * nptl/pthread_mutex_setprioceiling.c
4851 (pthread_mutex_setprioceiling): Likewise.
4852 * nptl/pthread_mutexattr_getprioceiling.c
4853 (pthread_mutexattr_getprioceiling): Likewise.
4854 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4855 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4856 Likewise.
4857 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4858 Likewise.
4859 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
4860 Likewise.
4861 * socket/recvfrom.c (__recvfrom): Likewise.
4862 * socket/sendto.c (__sendto): Likewise.
4863 * socket/setsockopt.c (__setsockopt): Likewise.
4864 * stdio-common/_itoa.c (_itoa): Likewise.
4865 * stdio-common/_itowa.c (_itowa): Likewise.
4866 * stdio-common/reg-printf.c (__register_printf_specifier):
4867 Likewise.
4868 (__register_printf_function): Likewise.
4869 * stdio-common/tempname.c (__path_search): Likewise.
4870 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
4871 * stdlib/mul_1.c (mpn_mul_1): Likewise.
4872 * stdlib/random_r.c (__initstate_r): Likewise.
4873 * stdlib/setenv.c (__add_to_environ): Likewise.
4874 * stdlib/submul_1.c (mpn_submul_1): Likewise.
4875 * streams/getpmsg.c (getpmsg): Likewise.
4876 * streams/putmsg.c (putmsg): Likewise.
4877 * streams/putpmsg.c (putpmsg): Likewise.
4878 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
4879 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4880 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
4881 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4882 * sunrpc/pm_getport.c (pmap_getport): Likewise.
4883 * sunrpc/svc_udp.c (cache_get): Likewise.
4884 * sunrpc/xdr_array.c (xdr_vector): Likewise.
4885 * sysdeps/mach/hurd/getcwd.c
4886 (__canonicalize_directory_name_internal): Likewise.
4887 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
4888 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
4889 * sysdeps/mach/hurd/select.c (__select): Likewise.
4890 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4891 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
4892 * sysdeps/sparc/nptl/pthread_barrier_init.c
4893 (__pthread_barrier_init): Likewise.
4894 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
4895 (__pthread_cond_timedwait): Likewise.
4896 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
4897 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
4898 Likewise.
4899 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
4900 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
4901 Likewise.
4902 * sysvipc/semtimedop.c (semtimedop): Likewise.
4903 * time/setitimer.c (__setitimer): Likewise.
4904 * time/strftime_l.c (emacs_strftime): Likewise.
4905
4906 2015-10-19 Mike Frysinger <vapier@gentoo.org>
4907
4908 * config.make.in (have-ssp): Delete.
4909 (stack-protector): New variable.
4910 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
4911 cache test for -fstack-protector-strong. Export stack_protector to
4912 the best ssp flag.
4913 * configure: Regenerated.
4914 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
4915 * nscd/Makefile (CFLAGS-nscd): Likewise.
4916 * resolv/Makefile (CFLAGS-libresolv): Likewise.
4917
4918 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
4919
4920 [BZ #19122]
4921 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
4922 attribute_hidden.
4923
4924 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4925
4926 [BZ #18743]
4927 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
4928 code to...
4929 (ELIDE_LOCK): ...here.
4930 (__get_new_count): New function with part of the code from
4931 __elide_lock that updates the value of adapt_count after a
4932 transaction abort.
4933 (__elided_trylock): Moved this code to...
4934 (ELIDE_TRYLOCK): ...here.
4935
4936 2015-10-19 Mike Frysinger <vapier@gentoo.org>
4937
4938 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
4939 * configure: Regenerate.
4940 * INSTALL: Regenerate.
4941 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
4942 and tweak grammar.
4943
4944 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
4945
4946 * login/programs/pt_chown.c: Include signal.h
4947 (main): Clear any signal mask from the parent process.
4948
4949 2015-10-19 Joseph Myers <joseph@codesourcery.com>
4950
4951 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
4952 * configure: Regenerated.
4953 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
4954 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
4955 $(gnu89-inline-CFLAGS).
4956
4957 * configure.ac (libc_cv_asm_weak_directive): Remove configure
4958 test.
4959 (libc_cv_asm_weakext_directive): Likewise.
4960 * configure: Regenerated.
4961 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
4962 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
4963 * include/libc-symbols.h
4964 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
4965 #error.
4966 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
4967 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
4968
4969 * sysdeps/arm/backtrace.c (__backtrace): Convert to
4970 prototype-style function definition.
4971 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
4972 * sysdeps/i386/ffs.c (__ffs): Likewise.
4973 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4974 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
4975 Likewise.
4976 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4977 Likewise.
4978 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4979 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4980 Likewise.
4981 * sysdeps/m68k/ffs.c (__ffs): Likewise.
4982 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
4983 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
4984 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
4985 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
4986 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
4987 * sysdeps/mach/hurd/access.c (__access): Likewise.
4988 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
4989 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
4990 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4991 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
4992 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
4993 (cthread_getspecific): Likewise.
4994 (cthread_setspecific): Likewise.
4995 (__libc_getspecific): Likewise.
4996 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
4997 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
4998 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
4999 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
5000 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
5001 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
5002 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
5003 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
5004 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
5005 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
5006 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
5007 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
5008 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
5009 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
5010 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
5011 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
5012 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
5013 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
5014 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
5015 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
5016 * sysdeps/mach/hurd/link.c (__link): Likewise.
5017 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
5018 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
5019 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
5020 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
5021 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5022 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
5023 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
5024 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
5025 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5026 * sysdeps/mach/hurd/rename.c (rename): Likewise.
5027 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
5028 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
5029 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
5030 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
5031 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
5032 * sysdeps/mach/hurd/send.c (__send): Likewise.
5033 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
5034 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
5035 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
5036 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
5037 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
5038 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
5039 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
5040 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
5041 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
5042 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
5043 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
5044 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
5045 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
5046 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
5047 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5048 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5049 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
5050 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
5051 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
5052 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5053 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
5054 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
5055 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
5056 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
5057 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
5058 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
5059 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
5060 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5061 * sysdeps/posix/alarm.c (alarm): Likewise.
5062 * sysdeps/posix/cuserid.c (cuserid): Likewise.
5063 * sysdeps/posix/dirfd.c (dirfd): Likewise.
5064 * sysdeps/posix/dup.c (__dup): Likewise.
5065 * sysdeps/posix/dup2.c (__dup2): Likewise.
5066 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
5067 (main): Likewise.
5068 * sysdeps/posix/flock.c (__flock): Likewise.
5069 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5070 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5071 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
5072 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
5073 * sysdeps/posix/isatty.c (__isatty): Likewise.
5074 * sysdeps/posix/killpg.c (killpg): Likewise.
5075 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5076 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
5077 * sysdeps/posix/raise.c (raise): Likewise.
5078 * sysdeps/posix/remove.c (remove): Likewise.
5079 * sysdeps/posix/rename.c (rename): Likewise.
5080 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
5081 * sysdeps/posix/seekdir.c (seekdir): Likewise.
5082 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5083 * sysdeps/posix/sigignore.c (sigignore): Likewise.
5084 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
5085 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
5086 * sysdeps/posix/sigset.c (sigset): Likewise.
5087 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
5088 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5089 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
5090 * sysdeps/posix/time.c (time): Likewise.
5091 * sysdeps/posix/ttyname.c (getttyname): Likewise.
5092 (ttyname): Likewise.
5093 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
5094 * sysdeps/posix/utime.c (utime): Likewise.
5095 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
5096 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5097 Likewise.
5098 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
5099 (pthread_spin_trylock): Likewise.
5100 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
5101 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
5102 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
5103 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
5104 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
5105 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
5106 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
5107 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
5108 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
5109 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
5110 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
5111 * sysdeps/s390/ffs.c (__ffs): Likewise.
5112 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
5113 Likewise.
5114 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5115 Likewise.
5116 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
5117 Likewise.
5118 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
5119 (pthread_barrier_destroy): Likewise.
5120 * sysdeps/sparc/nptl/pthread_barrier_wait.c
5121 (__pthread_barrier_wait): Likewise.
5122 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
5123 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5124 (__pthread_barrier_wait): Likewise.
5125 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
5126 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
5127 (memcmp_not_common_alignment): Likewise.
5128 (MEMCMP): Likewise.
5129 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
5130 (_wordcopy_fwd_dest_aligned): Likewise.
5131 (_wordcopy_bwd_aligned): Likewise.
5132 (_wordcopy_bwd_dest_aligned): Likewise.
5133 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
5134 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
5135 * sysdeps/unix/bsd/stty.c (stty): Likewise.
5136 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
5137 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
5138 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
5139 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
5140 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
5141 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
5142 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
5143 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
5144 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5145 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
5146 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
5147 * sysdeps/unix/stime.c (stime): Likewise.
5148 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
5149 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
5150 Likewise. Use internal_function.
5151 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
5152 Convert to prototype-style function definition.
5153 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5154 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5155 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
5156 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5157 Likewise. Use internal_function.
5158 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
5159 prototype-style function definition
5160 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5161 Likewise.
5162 (__getlogin_r): Likewise.
5163 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
5164 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
5165 (__pthread_cond_broadcast): Likewise.
5166 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
5167 (__pthread_cond_destroy): Likewise.
5168 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
5169 (__pthread_cond_init): Likewise.
5170 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
5171 (__pthread_cond_signal): Likewise.
5172 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5173 (__pthread_cond_wait): Likewise.
5174 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
5175 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5176 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
5177 Likewise.
5178 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
5179 Likewise.
5180 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
5181 Likewise.
5182 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
5183 Likewise.
5184 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
5185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
5186 (__ftruncate64): Likewise.
5187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
5188 (truncate64): Likewise.
5189 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
5190 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
5191 (pthread_getcpuclockid): Likewise.
5192 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5193 Likewise.
5194 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5195 Likewise.
5196 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
5197 Likewise.
5198 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5199 Likewise.
5200 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
5201 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
5202 (__libc_sigaction): Likewise.
5203 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
5204 Likewise.
5205 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
5206 (__sigprocmask): Likewise.
5207 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
5208 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
5209 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
5210 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5211 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5212 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
5213 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5214 Likewise.
5215 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
5216 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
5217 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5218 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
5219 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
5220 Likewise.
5221 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
5222 (__sigprocmask): Likewise.
5223 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
5224 (cfgetispeed): Likewise.
5225 (cfsetospeed): Likewise.
5226 (cfsetispeed): Likewise.
5227 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
5228 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
5229 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5230 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5231 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
5232 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
5233 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
5234 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
5235 Likewise.
5236 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
5237 Likewise.
5238 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
5239 Likewise.
5240 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
5241 Likewise.
5242 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5243
5244 2015-10-17 Florian Weimer <fweimer@redhat.com>
5245
5246 sunrpc: Rewrite with explicit TLS access using __thread.
5247 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
5248 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
5249 directly.
5250 (__rpc_thread_variables): Access thread_rpc_vars directly.
5251 Eliminate redundant assignment of the tvp variable.
5252
5253 2015-10-17 Florian Weimer <fweimer@redhat.com>
5254
5255 malloc: Rewrite with explicit TLS access using __thread.
5256 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
5257 (tsd_setspecific, tsd_getspecific): Remove.
5258 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
5259 (tsd_setspecific, tsd_getspecific): Likewise.
5260 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
5261 (tsd_setspecific, tsd_getspecific): Likewise.
5262 * malloc/arena.c (thread_arena): New TLS variable.
5263 (arena_key): Remove variable.
5264 (arena_get): Use thread_arena.
5265 (arena_lookup): Remove macro.
5266 (malloc_atfork, free_atfork, ptmalloc_lock_all)
5267 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
5268 (_int_new_arena, get_free_list, reused_arena)
5269 (arena_thread_freeres): Use thread_arena.
5270 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
5271 tsd_getspecific, tsd_setspecific from safety annotations.
5272 (Allocating Cleared Space): Remove arena_lookup from safety
5273 annotations.
5274
5275 2015-10-17 Florian Weimer <fweimer@redhat.com>
5276
5277 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
5278 struct scratch_buffer instead of extend_alloca.
5279
5280 2015-10-17 Florian Weimer <fweimer@redhat.com>
5281
5282 * sysdeps/unix/sysv/linux/kernel-features.h
5283 (__ASSUME_SOCK_CLOEXEC): Remove.
5284 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
5285 (__have_paccept): Remove unused macro.
5286 * include/unistd.h (__have_sock_cloexec): Remove declaration.
5287 * misc/syslog.c (openlog_internal): Remove fallback code for
5288 !__ASSUME_SOCK_CLOEXEC.
5289 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
5290 missing SOCK_CLOEXEC.
5291 * nscd/connections.c (have_sock_cloexec): Remove definition.
5292 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5293 * nscd/nscd_helper.c (open_socket): Remove fallback code for
5294 !__ASSUME_SOCK_CLOEXEC.
5295 * resolv/res_send.c (__have_o_nonblock): Remove definition.
5296 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5297 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
5298 definition.
5299 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
5300 code for !__ASSUME_SOCK_CLOEXEC.
5301
5302 2015-10-17 Florian Weimer <fweimer@redhat.com>
5303
5304 [BZ #18982]
5305 * manual/stdio.texi (Variable Arguments Output): Add portability
5306 note, explaining that vfprintf clobbers the va_list pointer.
5307
5308 2015-10-16 Joseph Myers <joseph@codesourcery.com>
5309
5310 * math/libm-test.inc (fabs_test_data): Add more tests.
5311 (fdim_test_data): Likewise.
5312 (fma_test_data): Likewise.
5313 (fmax_test_data): Likewise.
5314 (fmin_test_data): Likewise.
5315 (fmod_test_data): Likewise.
5316
5317 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
5318
5319 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
5320 data.
5321
5322 2015-10-16 Joseph Myers <joseph@codesourcery.com>
5323
5324 * math/libm-test.inc (ceil_test_data): Add more tests and more
5325 expectations for "inexact".
5326 (floor_test_data): Add more tests.
5327 (round_test_data): Likewise.
5328 (trunc_test_data): Likewise.
5329
5330 * crypt/cert.c (good_bye): Convert to prototype-style function
5331 definition.
5332 (get8): Likewise.
5333 (put8): Likewise.
5334 * crypt/crypt-entry.c (crypt): Likewise.
5335 (__fcrypt): Likewise.
5336 * crypt/crypt_util.c (_ufc_prbits): Likewise.
5337 (_ufc_set_bits): Likewise.
5338 (_ufc_clearmem): Likewise.
5339 (__init_des_r): Likewise.
5340 (shuffle_sb): Likewise.
5341 (shuffle_sb): Likewise.
5342 (_ufc_setup_salt_r): Likewise.
5343 (_ufc_mk_keytab_r): Likewise.
5344 (_ufc_dofinalperm_r): Likewise.
5345 (encrypt): Likewise.
5346 (__setkey_r): Likewise.
5347 (setkey): Likewise.
5348 * crypt/md5.c (md5_init_ctx): Likewise.
5349 (md5_read_ctx): Likewise.
5350 (md5_finish_ctx): Likewise.
5351 (md5_stream): Likewise.
5352 (md5_buffer): Likewise.
5353 (md5_process_bytes): Likewise.
5354 * crypt/sha256.c (__sha256_init_ctx): Likewise.
5355 (__sha256_finish_ctx): Likewise.
5356 (__sha256_process_bytes): Likewise.
5357 * crypt/sha512.c (__sha512_init_ctx): Likewise.
5358 (__sha512_finish_ctx): Likewise.
5359 (__sha512_process_bytes): Likewise.
5360 * ctype/isctype.c (__isctype): Likewise.
5361 * debug/backtrace.c (__backtrace): Likewise.
5362 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
5363 * debug/fgets_chk.c (__fgets_chk): Likewise.
5364 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
5365 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
5366 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
5367 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
5368 * debug/memset_chk.c (__memset_chk): Likewise.
5369 * debug/strcat_chk.c (__strcat_chk): Likewise.
5370 * debug/strncat_chk.c (__strncat_chk): Likewise.
5371 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
5372 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
5373 * dirent/dirfd.c (dirfd): Likewise.
5374 * dirent/getdents.c (__getdirentries): Likewise.
5375 * dirent/getdents64.c (getdirentries64): Likewise.
5376 * dirent/rewinddir.c (__rewinddir): Likewise.
5377 * dirent/seekdir.c (seekdir): Likewise.
5378 * dirent/telldir.c (telldir): Likewise.
5379 * elf/sln.c (makesymlinks): Likewise.
5380 (makesymlink): Likewise.
5381 * gmon/gmon.c (__moncontrol): Likewise.
5382 (__monstartup): Likewise.
5383 (write_hist): Likewise.
5384 (write_call_graph): Likewise.
5385 (write_bb_counts): Likewise.
5386 * grp/setgroups.c (setgroups): Likewise.
5387 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5388 * inet/inet_net.c (inet_network): Likewise.
5389 * inet/inet_netof.c (inet_netof): Likewise.
5390 * inet/rcmd.c (rresvport_af): Likewise.
5391 (rresvport): Likewise.
5392 * io/access.c (__access): Likewise.
5393 * io/chdir.c (__chdir): Likewise.
5394 * io/chmod.c (__chmod): Likewise.
5395 * io/chown.c (__chown): Likewise.
5396 * io/close.c (__close): Likewise.
5397 * io/creat.c (creat): Likewise.
5398 * io/creat64.c (creat64): Likewise.
5399 * io/dup.c (__dup): Likewise.
5400 * io/dup2.c (__dup2): Likewise.
5401 * io/dup3.c (__dup3): Likewise.
5402 * io/euidaccess.c (__euidaccess): Likewise.
5403 * io/faccessat.c (faccessat): Likewise.
5404 * io/fchmod.c (__fchmod): Likewise.
5405 * io/fchmodat.c (fchmodat): Likewise.
5406 * io/fchown.c (__fchown): Likewise.
5407 * io/fchownat.c (fchownat): Likewise.
5408 * io/fcntl.c (__fcntl): Likewise.
5409 * io/flock.c (__flock): Likewise.
5410 * io/fts.c (fts_load): Likewise.
5411 (fts_close): Likewise.
5412 (fts_read): Likewise.
5413 (fts_set): Likewise.
5414 (fts_children): Likewise.
5415 (fts_build): Likewise.
5416 (fts_stat): Likewise.
5417 (fts_sort): Likewise.
5418 (fts_alloc): Likewise.
5419 (fts_lfree): Likewise.
5420 (fts_palloc): Likewise.
5421 (fts_padjust): Likewise.
5422 (fts_maxarglen): Likewise.
5423 (fts_safe_changedir): Likewise.
5424 * io/getwd.c (getwd): Likewise.
5425 * io/isatty.c (__isatty): Likewise.
5426 * io/lchown.c (__lchown): Likewise.
5427 * io/link.c (__link): Likewise.
5428 * io/linkat.c (linkat): Likewise.
5429 * io/lseek.c (__libc_lseek): Likewise.
5430 * io/mkdir.c (__mkdir): Likewise.
5431 * io/mkdirat.c (mkdirat): Likewise.
5432 * io/mkfifo.c (mkfifo): Likewise.
5433 * io/mkfifoat.c (mkfifoat): Likewise.
5434 * io/open.c (__libc_open): Likewise.
5435 * io/open64.c (__libc_open64): Likewise.
5436 * io/readlink.c (__readlink): Likewise.
5437 * io/readlinkat.c (readlinkat): Likewise.
5438 * io/rmdir.c (__rmdir): Likewise.
5439 * io/symlink.c (__symlink): Likewise.
5440 * io/symlinkat.c (symlinkat): Likewise.
5441 * io/ttyname.c (ttyname): Likewise.
5442 * io/ttyname_r.c (__ttyname_r): Likewise.
5443 * io/umask.c (__umask): Likewise.
5444 * io/unlink.c (__unlink): Likewise.
5445 * io/unlinkat.c (unlinkat): Likewise.
5446 * io/utime.c (utime): Likewise.
5447 * libio/clearerr.c (clearerr): Likewise.
5448 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
5449 * libio/feof.c (_IO_feof): Likewise.
5450 * libio/feof_u.c (feof_unlocked): Likewise.
5451 * libio/ferror.c (_IO_ferror): Likewise.
5452 * libio/ferror_u.c (ferror_unlocked): Likewise.
5453 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5454 * libio/fileno.c (__fileno): Likewise.
5455 * libio/fputc.c (fputc): Likewise.
5456 * libio/fputc_u.c (fputc_unlocked): Likewise.
5457 * libio/fputwc.c (fputwc): Likewise.
5458 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
5459 * libio/freopen.c (freopen): Likewise.
5460 * libio/freopen64.c (freopen64): Likewise.
5461 * libio/fseek.c (fseek): Likewise.
5462 * libio/fseeko.c (fseeko): Likewise.
5463 * libio/fseeko64.c (fseeko64): Likewise.
5464 * libio/ftello.c (__ftello): Likewise.
5465 * libio/ftello64.c (ftello64): Likewise.
5466 * libio/fwide.c (fwide): Likewise.
5467 * libio/genops.c (_IO_un_link): Likewise.
5468 (_IO_link_in): Likewise.
5469 (_IO_least_marker): Likewise.
5470 (_IO_switch_to_main_get_area): Likewise.
5471 (_IO_switch_to_backup_area): Likewise.
5472 (_IO_switch_to_get_mode): Likewise.
5473 (_IO_free_backup_area): Likewise.
5474 (_IO_switch_to_put_mode): Likewise.
5475 (__overflow): Likewise.
5476 (__underflow): Likewise.
5477 (__uflow): Likewise.
5478 (_IO_setb): Likewise.
5479 (_IO_doallocbuf): Likewise.
5480 (_IO_default_underflow): Likewise.
5481 (_IO_default_uflow): Likewise.
5482 (_IO_default_xsputn): Likewise.
5483 (_IO_sgetn): Likewise.
5484 (_IO_default_xsgetn): Likewise.
5485 (_IO_sync): Likewise.
5486 (_IO_default_setbuf): Likewise.
5487 (_IO_default_seekpos): Likewise.
5488 (_IO_default_doallocate): Likewise.
5489 (_IO_init): Likewise.
5490 (_IO_old_init): Likewise.
5491 (_IO_default_sync): Likewise.
5492 (_IO_default_finish): Likewise.
5493 (_IO_default_seekoff): Likewise.
5494 (_IO_sputbackc): Likewise.
5495 (_IO_sungetc): Likewise.
5496 (_IO_set_column): Likewise.
5497 (_IO_set_column): Likewise.
5498 (_IO_adjust_column): Likewise.
5499 (_IO_get_column): Likewise.
5500 (_IO_init_marker): Likewise.
5501 (_IO_remove_marker): Likewise.
5502 (_IO_marker_difference): Likewise.
5503 (_IO_marker_delta): Likewise.
5504 (_IO_seekmark): Likewise.
5505 (_IO_unsave_markers): Likewise.
5506 (_IO_nobackup_pbackfail): Likewise.
5507 (_IO_default_pbackfail): Likewise.
5508 (_IO_default_seek): Likewise.
5509 (_IO_default_stat): Likewise.
5510 (_IO_default_read): Likewise.
5511 (_IO_default_write): Likewise.
5512 (_IO_default_showmanyc): Likewise.
5513 (_IO_default_imbue): Likewise.
5514 (_IO_iter_next): Likewise.
5515 (_IO_iter_file): Likewise.
5516 * libio/getc.c (_IO_getc): Likewise.
5517 * libio/getwc.c (_IO_getwc): Likewise.
5518 * libio/iofclose.c (_IO_new_fclose): Likewise.
5519 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
5520 * libio/iofflush.c (_IO_fflush): Likewise.
5521 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
5522 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
5523 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
5524 * libio/iofgets.c (_IO_fgets): Likewise.
5525 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
5526 * libio/iofgetws.c (fgetws): Likewise.
5527 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5528 * libio/iofopen64.c (_IO_fopen64): Likewise.
5529 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5530 (_IO_cookie_write): Likewise.
5531 (_IO_cookie_seek): Likewise.
5532 (_IO_cookie_close): Likewise.
5533 (_IO_cookie_seekoff): Likewise.
5534 (_IO_old_cookie_seek): Likewise.
5535 * libio/iofputs.c (_IO_fputs): Likewise.
5536 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
5537 * libio/iofputws.c (fputws): Likewise.
5538 * libio/iofputws_u.c (fputws_unlocked): Likewise.
5539 * libio/iofread.c (_IO_fread): Likewise.
5540 * libio/iofread_u.c (__fread_unlocked): Likewise.
5541 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
5542 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5543 * libio/ioftell.c (_IO_ftell): Likewise.
5544 * libio/iofwrite.c (_IO_fwrite): Likewise.
5545 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5546 * libio/iogets.c (_IO_gets): Likewise.
5547 * libio/iopadn.c (_IO_padn): Likewise.
5548 * libio/iopopen.c (_IO_new_proc_open): Likewise.
5549 (_IO_new_popen): Likewise.
5550 (_IO_new_proc_close): Likewise.
5551 * libio/ioputs.c (_IO_puts): Likewise.
5552 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
5553 (_IO_seekoff): Likewise.
5554 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
5555 (_IO_seekpos): Likewise.
5556 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5557 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5558 * libio/ioungetc.c (_IO_ungetc): Likewise.
5559 * libio/ioungetwc.c (ungetwc): Likewise.
5560 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5561 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5562 * libio/iowpadn.c (_IO_wpadn): Likewise.
5563 * libio/libc_fatal.c (__libc_fatal): Likewise.
5564 * libio/memstream.c (__open_memstream): Likewise.
5565 (_IO_mem_sync): Likewise.
5566 (_IO_mem_finish): Likewise.
5567 * libio/oldfileops.c (_IO_old_file_init): Likewise.
5568 (_IO_old_file_close_it): Likewise.
5569 (_IO_old_file_finish): Likewise.
5570 (_IO_old_file_fopen): Likewise.
5571 (_IO_old_file_attach): Likewise.
5572 (_IO_old_file_setbuf): Likewise.
5573 (_IO_old_do_write): Likewise.
5574 (old_do_write): Likewise.
5575 (_IO_old_file_underflow): Likewise.
5576 (_IO_old_file_overflow): Likewise.
5577 (_IO_old_file_sync): Likewise.
5578 (_IO_old_file_seekoff): Likewise.
5579 (_IO_old_file_write): Likewise.
5580 (_IO_old_file_xsputn): Likewise.
5581 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5582 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5583 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
5584 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
5585 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5586 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
5587 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
5588 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5589 (_IO_old_popen): Likewise.
5590 (_IO_old_proc_close): Likewise.
5591 * libio/oldpclose.c (__old_pclose): Likewise.
5592 * libio/pclose.c (__new_pclose): Likewise.
5593 * libio/peekc.c (_IO_peekc_locked): Likewise.
5594 * libio/putc.c (_IO_putc): Likewise.
5595 * libio/putc_u.c (putc_unlocked): Likewise.
5596 * libio/putchar.c (putchar): Likewise.
5597 * libio/putchar_u.c (putchar_unlocked): Likewise.
5598 * libio/putwc.c (putwc): Likewise.
5599 * libio/putwc_u.c (putwc_unlocked): Likewise.
5600 * libio/putwchar.c (putwchar): Likewise.
5601 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5602 * libio/rewind.c (rewind): Likewise.
5603 * libio/setbuf.c (setbuf): Likewise.
5604 * libio/setlinebuf.c (setlinebuf): Likewise.
5605 * libio/vasprintf.c (_IO_vasprintf): Likewise.
5606 * libio/vscanf.c (_IO_vscanf): Likewise.
5607 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
5608 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
5609 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5610 * libio/wgenops.c (_IO_least_wmarker): Likewise.
5611 (_IO_switch_to_main_wget_area): Likewise.
5612 (_IO_switch_to_wbackup_area): Likewise.
5613 (_IO_wsetb): Likewise.
5614 (_IO_wdefault_pbackfail): Likewise.
5615 (_IO_wdefault_finish): Likewise.
5616 (_IO_wdefault_uflow): Likewise.
5617 (__woverflow): Likewise.
5618 (__wuflow): Likewise.
5619 (__wunderflow): Likewise.
5620 (_IO_wdefault_xsputn): Likewise.
5621 (_IO_wdefault_xsgetn): Likewise.
5622 (_IO_wdoallocbuf): Likewise.
5623 (_IO_wdefault_doallocate): Likewise.
5624 (_IO_switch_to_wget_mode): Likewise.
5625 (_IO_free_wbackup_area): Likewise.
5626 (_IO_switch_to_wput_mode): Likewise.
5627 (_IO_sputbackwc): Likewise.
5628 (_IO_sungetwc): Likewise.
5629 (_IO_adjust_wcolumn): Likewise.
5630 (_IO_init_wmarker): Likewise.
5631 (_IO_wmarker_delta): Likewise.
5632 (_IO_seekwmark): Likewise.
5633 (_IO_unsave_wmarkers): Likewise.
5634 * libio/wmemstream.c (open_wmemstream): Likewise.
5635 (_IO_wmem_sync): Likewise.
5636 (_IO_wmem_finish): Likewise.
5637 * locale/nl_langinfo.c (nl_langinfo): Likewise.
5638 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
5639 * locale/programs/simple-hash.c (init_hash): Likewise.
5640 (delete_hash): Likewise.
5641 (insert_entry): Likewise.
5642 (set_entry): Likewise.
5643 (next_prime): Likewise.
5644 (is_prime): Likewise.
5645 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
5646 (xmalloc): Likewise.
5647 (xrealloc): Likewise.
5648 * locale/programs/xstrdup.c (xstrdup): Likewise.
5649 * localedata/collate-test.c (xstrcoll): Likewise.
5650 * localedata/xfrm-test.c (xstrcmp): Likewise.
5651 * login/getlogin_r.c (__getlogin_r): Likewise.
5652 * login/getpt.c (__posix_openpt): Likewise.
5653 * login/login_tty.c (login_tty): Likewise.
5654 * login/setlogin.c (setlogin): Likewise.
5655 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
5656 (mach_msg_destroy_port): Likewise.
5657 (mach_msg_destroy_memory): Likewise.
5658 * malloc/mcheck.c (flood): Likewise.
5659 * misc/acct.c (acct): Likewise.
5660 * misc/brk.c (__brk): Likewise.
5661 * misc/chflags.c (chflags): Likewise.
5662 * misc/chroot.c (chroot): Likewise.
5663 * misc/fchflags.c (fchflags): Likewise.
5664 * misc/fstab.c (getfsspec): Likewise.
5665 (getfsfile): Likewise.
5666 * misc/fsync.c (fsync): Likewise.
5667 * misc/ftruncate.c (__ftruncate): Likewise.
5668 * misc/ftruncate64.c (__ftruncate64): Likewise.
5669 * misc/getdomain.c (getdomainname): Likewise.
5670 (getdomainname): Likewise.
5671 * misc/gethostname.c (__gethostname): Likewise.
5672 * misc/getpass.c (getpass): Likewise.
5673 * misc/getttyent.c (skip): Likewise.
5674 (value): Likewise.
5675 * misc/gtty.c (gtty): Likewise.
5676 * misc/hsearch.c (hsearch): Likewise.
5677 (hcreate): Likewise.
5678 * misc/hsearch_r.c (__hcreate_r): Likewise.
5679 (__hdestroy_r): Likewise.
5680 * misc/ioctl.c (__ioctl): Likewise.
5681 * misc/mkdtemp.c (mkdtemp): Likewise.
5682 * misc/mkostemp.c (mkostemp): Likewise.
5683 * misc/mkostemp64.c (mkostemp64): Likewise.
5684 * misc/mkostemps.c (mkostemps): Likewise.
5685 * misc/mkostemps64.c (mkostemps64): Likewise.
5686 * misc/mkstemp.c (mkstemp): Likewise.
5687 * misc/mkstemp64.c (mkstemp64): Likewise.
5688 * misc/mkstemps.c (mkstemps): Likewise.
5689 * misc/mkstemps64.c (mkstemps64): Likewise.
5690 * misc/mktemp.c (__mktemp): Likewise.
5691 * misc/preadv.c (preadv): Likewise.
5692 * misc/preadv64.c (preadv64): Likewise.
5693 * misc/pwritev.c (pwritev): Likewise.
5694 * misc/pwritev64.c (pwritev64): Likewise.
5695 * misc/readv.c (__readv): Likewise.
5696 * misc/revoke.c (revoke): Likewise.
5697 * misc/setdomain.c (setdomainname): Likewise.
5698 * misc/setegid.c (setegid): Likewise.
5699 * misc/seteuid.c (seteuid): Likewise.
5700 * misc/sethostid.c (sethostid): Likewise.
5701 * misc/sethostname.c (sethostname): Likewise.
5702 * misc/setregid.c (__setregid): Likewise.
5703 * misc/setreuid.c (__setreuid): Likewise.
5704 * misc/sstk.c (sstk): Likewise.
5705 * misc/stty.c (stty): Likewise.
5706 * misc/syscall.c (syscall): Likewise.
5707 * misc/syslog.c (setlogmask): Likewise.
5708 * misc/truncate.c (__truncate): Likewise.
5709 * misc/truncate64.c (truncate64): Likewise.
5710 * misc/ualarm.c (ualarm): Likewise.
5711 * misc/usleep.c (usleep): Likewise.
5712 * misc/ustat.c (ustat): Likewise.
5713 * misc/writev.c (__writev): Likewise.
5714 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
5715 * nptl/old_pthread_cond_broadcast.c
5716 (__pthread_cond_broadcast_2_0): Likewise.
5717 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
5718 Likewise.
5719 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
5720 Likewise.
5721 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
5722 Likewise.
5723 * nptl/pt-raise.c (raise): Likewise.
5724 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
5725 Likewise.
5726 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
5727 * nptl/pthread_barrierattr_destroy.c
5728 (pthread_barrierattr_destroy): Likewise.
5729 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
5730 Likewise.
5731 * nptl/pthread_barrierattr_setpshared.c
5732 (pthread_barrierattr_setpshared): Likewise.
5733 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5734 Likewise.
5735 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5736 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5737 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5738 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
5739 Likewise.
5740 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
5741 Likewise.
5742 * nptl/pthread_condattr_getpshared.c
5743 (pthread_condattr_getpshared): Likewise.
5744 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
5745 Likewise.
5746 * nptl/pthread_condattr_setpshared.c
5747 (pthread_condattr_setpshared): Likewise.
5748 * nptl/pthread_detach.c (pthread_detach): Likewise.
5749 * nptl/pthread_equal.c (__pthread_equal): Likewise.
5750 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
5751 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
5752 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
5753 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
5754 Likewise.
5755 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5756 Likewise.
5757 * nptl/pthread_mutex_getprioceiling.c
5758 (pthread_mutex_getprioceiling): Likewise.
5759 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
5760 Likewise.
5761 * nptl/pthread_mutexattr_getprotocol.c
5762 (pthread_mutexattr_getprotocol): Likewise.
5763 * nptl/pthread_mutexattr_getpshared.c
5764 (pthread_mutexattr_getpshared): Likewise.
5765 * nptl/pthread_mutexattr_getrobust.c
5766 (pthread_mutexattr_getrobust): Likewise.
5767 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5768 Likewise.
5769 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
5770 Likewise.
5771 * nptl/pthread_mutexattr_setprioceiling.c
5772 (pthread_mutexattr_setprioceiling): Likewise.
5773 * nptl/pthread_mutexattr_setprotocol.c
5774 (pthread_mutexattr_setprotocol): Likewise.
5775 * nptl/pthread_mutexattr_setpshared.c
5776 (pthread_mutexattr_setpshared): Likewise.
5777 * nptl/pthread_mutexattr_setrobust.c
5778 (pthread_mutexattr_setrobust): Likewise.
5779 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
5780 Likewise.
5781 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
5782 Likewise.
5783 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
5784 Likewise.
5785 * nptl/pthread_rwlockattr_getkind_np.c
5786 (pthread_rwlockattr_getkind_np): Likewise.
5787 * nptl/pthread_rwlockattr_getpshared.c
5788 (pthread_rwlockattr_getpshared): Likewise.
5789 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
5790 Likewise.
5791 * nptl/pthread_rwlockattr_setkind_np.c
5792 (pthread_rwlockattr_setkind_np): Likewise.
5793 * nptl/pthread_rwlockattr_setpshared.c
5794 (pthread_rwlockattr_setpshared): Likewise.
5795 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
5796 Likewise.
5797 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
5798 Likewise.
5799 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
5800 Likewise.
5801 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5802 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
5803 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
5804 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
5805 * nptl/sem_close.c (sem_close): Likewise.
5806 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
5807 * nptl/sem_init.c (__old_sem_init): Likewise.
5808 * nptl/sigaction.c (__sigaction): Likewise.
5809 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5810 * posix/_exit.c (_exit): Likewise.
5811 * posix/alarm.c (alarm): Likewise.
5812 * posix/confstr.c (confstr): Likewise.
5813 * posix/fpathconf.c (__fpathconf): Likewise.
5814 * posix/getgroups.c (__getgroups): Likewise.
5815 * posix/getpgid.c (__getpgid): Likewise.
5816 * posix/group_member.c (__group_member): Likewise.
5817 * posix/pathconf.c (__pathconf): Likewise.
5818 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
5819 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
5820 * posix/setgid.c (__setgid): Likewise.
5821 * posix/setpgid.c (__setpgid): Likewise.
5822 * posix/setuid.c (__setuid): Likewise.
5823 * posix/sleep.c (__sleep): Likewise.
5824 * posix/sysconf.c (__sysconf): Likewise.
5825 * posix/times.c (__times): Likewise.
5826 * posix/uname.c (__uname): Likewise.
5827 * posix/waitid.c (__waitid): Likewise.
5828 * pwd/getpw.c (__getpw): Likewise.
5829 * resolv/base64.c (b64_pton): Likewise.
5830 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5831 * resolv/gethnamaddr.c (Dprintf): Likewise.
5832 (gethostbyname): Likewise.
5833 (gethostbyname2): Likewise.
5834 (gethostbyaddr): Likewise.
5835 (_sethtent): Likewise.
5836 (_gethtbyname): Likewise.
5837 (_gethtbyname2): Likewise.
5838 (_gethtbyaddr): Likewise.
5839 (map_v4v6_address): Likewise.
5840 (map_v4v6_hostent): Likewise.
5841 (addrsort): Likewise.
5842 (ht_sethostent): Likewise.
5843 (ht_gethostbyname): Likewise.
5844 (ht_gethostbyaddr): Likewise.
5845 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
5846 (inet_net_ntop_ipv4): Likewise.
5847 * resolv/inet_neta.c (inet_neta): Likewise.
5848 * resolv/inet_ntop.c (inet_ntop): Likewise.
5849 (inet_ntop4): Likewise.
5850 (inet_ntop6): Likewise.
5851 * resolv/inet_pton.c (__inet_pton): Likewise.
5852 (inet_pton4): Likewise.
5853 (inet_pton6): Likewise.
5854 * resolv/res_debug.c (loc_aton): Likewise.
5855 (loc_ntoa): Likewise.
5856 * resource/getpriority.c (__getpriority): Likewise.
5857 * resource/getrusage.c (__getrusage): Likewise.
5858 * resource/nice.c (nice): Likewise.
5859 * resource/setpriority.c (__setpriority): Likewise.
5860 * resource/setrlimit64.c (setrlimit64): Likewise.
5861 * resource/vlimit.c (vlimit): Likewise.
5862 * resource/vtimes.c (vtimes): Likewise.
5863 * rt/aio_error.c (aio_error): Likewise.
5864 * rt/aio_return.c (aio_return): Likewise.
5865 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
5866 * signal/kill.c (__kill): Likewise.
5867 * signal/killpg.c (killpg): Likewise.
5868 * signal/raise.c (raise): Likewise.
5869 * signal/sigaction.c (__sigaction): Likewise.
5870 * signal/sigaddset.c (sigaddset): Likewise.
5871 * signal/sigaltstack.c (sigaltstack): Likewise.
5872 * signal/sigandset.c (sigandset): Likewise.
5873 * signal/sigblock.c (__sigblock): Likewise.
5874 * signal/sigdelset.c (sigdelset): Likewise.
5875 * signal/sigempty.c (sigemptyset): Likewise.
5876 * signal/sigfillset.c (sigfillset): Likewise.
5877 * signal/sighold.c (sighold): Likewise.
5878 * signal/sigignore.c (sigignore): Likewise.
5879 * signal/sigintr.c (siginterrupt): Likewise.
5880 * signal/sigisempty.c (sigisemptyset): Likewise.
5881 * signal/sigismem.c (sigismember): Likewise.
5882 * signal/signal.c (signal): Likewise.
5883 * signal/sigorset.c (sigorset): Likewise.
5884 * signal/sigpause.c (__sigpause): Likewise.
5885 * signal/sigpending.c (sigpending): Likewise.
5886 * signal/sigprocmask.c (__sigprocmask): Likewise.
5887 * signal/sigrelse.c (sigrelse): Likewise.
5888 * signal/sigreturn.c (__sigreturn): Likewise.
5889 * signal/sigset.c (sigset): Likewise.
5890 * signal/sigsetmask.c (__sigsetmask): Likewise.
5891 * signal/sigstack.c (sigstack): Likewise.
5892 * signal/sigsuspend.c (__sigsuspend): Likewise.
5893 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
5894 * signal/sysv_signal.c (__sysv_signal): Likewise.
5895 * socket/accept.c (accept): Likewise.
5896 * socket/accept4.c (__libc_accept4): Likewise.
5897 * socket/bind.c (__bind): Likewise.
5898 * socket/connect.c (__connect): Likewise.
5899 * socket/getpeername.c (getpeername): Likewise.
5900 * socket/getsockname.c (__getsockname): Likewise.
5901 * socket/getsockopt.c (getsockopt): Likewise.
5902 * socket/listen.c (__listen): Likewise.
5903 * socket/recv.c (__recv): Likewise.
5904 * socket/recvmsg.c (__recvmsg): Likewise.
5905 * socket/send.c (__send): Likewise.
5906 * socket/sendmsg.c (__sendmsg): Likewise.
5907 * socket/shutdown.c (shutdown): Likewise.
5908 * socket/sockatmark.c (sockatmark): Likewise.
5909 * socket/socket.c (__socket): Likewise.
5910 * stdio-common/ctermid.c (ctermid): Likewise.
5911 * stdio-common/cuserid.c (cuserid): Likewise.
5912 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
5913 * stdio-common/remove.c (remove): Likewise.
5914 * stdio-common/rename.c (rename): Likewise.
5915 * stdio-common/renameat.c (renameat): Likewise.
5916 * stdio-common/tempname.c (__gen_tempname): Likewise.
5917 * stdio-common/xbug.c (InitBuffer): Likewise.
5918 (AppendToBuffer): Likewise.
5919 (ReadFile): Likewise.
5920 * stdlib/a64l.c (a64l): Likewise.
5921 * stdlib/drand48_r.c (drand48_r): Likewise.
5922 * stdlib/getcontext.c (getcontext): Likewise.
5923 * stdlib/getenv.c (getenv): Likewise.
5924 * stdlib/l64a.c (l64a): Likewise.
5925 * stdlib/llabs.c (llabs): Likewise.
5926 * stdlib/lldiv.c (lldiv): Likewise.
5927 * stdlib/lrand48_r.c (lrand48_r): Likewise.
5928 * stdlib/mrand48_r.c (mrand48_r): Likewise.
5929 * stdlib/putenv.c (putenv): Likewise.
5930 * stdlib/random.c (__srandom): Likewise.
5931 (__initstate): Likewise.
5932 (__setstate): Likewise.
5933 * stdlib/random_r.c (__srandom_r): Likewise.
5934 (__setstate_r): Likewise.
5935 (__random_r): Likewise.
5936 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
5937 * stdlib/setcontext.c (setcontext): Likewise.
5938 * stdlib/setenv.c (setenv): Likewise.
5939 (unsetenv): Likewise.
5940 * stdlib/srand48.c (srand48): Likewise.
5941 * stdlib/srand48_r.c (__srand48_r): Likewise.
5942 * stdlib/swapcontext.c (swapcontext): Likewise.
5943 * stdlib/system.c (__libc_system): Likewise.
5944 * stdlib/tst-strtod.c (expand): Likewise.
5945 * stdlib/tst-strtol.c (expand): Likewise.
5946 * stdlib/tst-strtoll.c (expand): Likewise.
5947 * streams/fattach.c (fattach): Likewise.
5948 * streams/fdetach.c (fdetach): Likewise.
5949 * streams/getmsg.c (getmsg): Likewise.
5950 * streams/isastream.c (isastream): Likewise.
5951 * string/ffs.c (__ffs): Likewise.
5952 * string/ffsll.c (ffsll): Likewise.
5953 * string/memcmp.c (memcmp_common_alignment): Likewise.
5954 (memcmp_not_common_alignment): Likewise.
5955 (MEMCMP): Likewise.
5956 * string/memcpy.c (memcpy): Likewise.
5957 * string/memmove.c (MEMMOVE): Likewise.
5958 * string/memset.c (memset): Likewise.
5959 * string/rawmemchr.c (RAWMEMCHR): Likewise.
5960 * string/strchrnul.c (STRCHRNUL): Likewise.
5961 * string/strerror.c (strerror): Likewise.
5962 * string/strndup.c (__strndup): Likewise.
5963 * string/strverscmp.c (__strverscmp): Likewise.
5964 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
5965 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
5966 (clnttcp_freeres): Likewise.
5967 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
5968 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
5969 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
5970 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
5971 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
5972 (xdr_callhdr): Likewise.
5973 * sunrpc/rpcinfo.c (udpping): Likewise.
5974 (tcpping): Likewise.
5975 (pstatus): Likewise.
5976 (pmapdump): Likewise.
5977 (brdcst): Likewise.
5978 (deletereg): Likewise.
5979 (getprognum): Likewise.
5980 (getvers): Likewise.
5981 (get_inet_address): Likewise.
5982 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
5983 * sunrpc/svc_udp.c (svcudp_create): Likewise.
5984 (svcudp_stat): Likewise.
5985 (svcudp_recv): Likewise.
5986 (svcudp_reply): Likewise.
5987 (svcudp_getargs): Likewise.
5988 (svcudp_freeargs): Likewise.
5989 (svcudp_destroy): Likewise.
5990 * sunrpc/xdr.c (xdr_bytes): Likewise.
5991 (xdr_netobj): Likewise.
5992 (xdr_string): Likewise.
5993 (xdr_wrapstring): Likewise.
5994 * sunrpc/xdr_float.c (xdr_float): Likewise.
5995 (xdr_double): Likewise.
5996 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
5997 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
5998 * sysvipc/ftok.c (ftok): Likewise.
5999 * sysvipc/msgctl.c (msgctl): Likewise.
6000 * sysvipc/msgget.c (msgget): Likewise.
6001 * sysvipc/msgrcv.c (msgrcv): Likewise.
6002 * sysvipc/msgsnd.c (msgsnd): Likewise.
6003 * sysvipc/semget.c (semget): Likewise.
6004 * sysvipc/semop.c (semop): Likewise.
6005 * sysvipc/shmat.c (shmat): Likewise.
6006 * sysvipc/shmctl.c (shmctl): Likewise.
6007 * sysvipc/shmdt.c (shmdt): Likewise.
6008 * sysvipc/shmget.c (shmget): Likewise.
6009 * termios/cfmakeraw.c (cfmakeraw): Likewise.
6010 * termios/speed.c (cfgetospeed): Likewise.
6011 (cfgetispeed): Likewise.
6012 (cfsetospeed): Likewise.
6013 (cfsetispeed): Likewise.
6014 * termios/tcflow.c (tcflow): Likewise.
6015 * termios/tcflush.c (tcflush): Likewise.
6016 * termios/tcgetattr.c (__tcgetattr): Likewise.
6017 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
6018 * termios/tcgetsid.c (tcgetsid): Likewise.
6019 * termios/tcsendbrk.c (tcsendbreak): Likewise.
6020 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
6021 * time/adjtime.c (__adjtime): Likewise.
6022 * time/dysize.c (dysize): Likewise.
6023 * time/ftime.c (ftime): Likewise.
6024 * time/getitimer.c (__getitimer): Likewise.
6025 * time/gettimeofday.c (__gettimeofday): Likewise.
6026 * time/gmtime.c (__gmtime_r): Likewise.
6027 (gmtime): Likewise.
6028 * time/localtime.c (__localtime_r): Likewise.
6029 (localtime): Likewise.
6030 * time/offtime.c (__offtime): Likewise.
6031 * time/settimeofday.c (__settimeofday): Likewise.
6032 * time/stime.c (stime): Likewise.
6033 * time/strftime_l.c (tm_diff): Likewise.
6034 (iso_week_days): Likewise.
6035 * time/strptime.c (strptime): Likewise.
6036 * time/time.c (time): Likewise.
6037 * time/timespec_get.c (timespec_get): Likewise.
6038 * time/tzset.c (tzset_internal): Likewise.
6039 (compute_change): Likewise.
6040 (__tz_compute): Likewise.
6041 * wcsmbs/btowc.c (__btowc): Likewise.
6042 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
6043 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
6044 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
6045 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
6046 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
6047 * wcsmbs/wcscat.c (__wcscat): Likewise.
6048 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6049 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
6050 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
6051 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6052 * wcsmbs/wcsdup.c (wcsdup): Likewise.
6053 * wcsmbs/wcslen.c (__wcslen): Likewise.
6054 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
6055 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
6056 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
6057 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
6058 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6059 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
6060 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6061 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6062 * wcsmbs/wcstok.c (wcstok): Likewise.
6063 * wcsmbs/wctob.c (wctob): Likewise.
6064 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
6065 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6066 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
6067 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
6068 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
6069 * wcsmbs/wmemset.c (__wmemset): Likewise.
6070 * wctype/wcfuncs.c (__towlower): Likewise.
6071 (__towupper): Likewise.
6072
6073 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
6074 (lll_unlock_elision): Add adapt_count parameter.
6075
6076 2015-10-15 Joseph Myers <joseph@codesourcery.com>
6077
6078 * sysdeps/nptl/configure.ac: Do not give errors based on the
6079 results of top-level configure tests.
6080 * sysdeps/nptl/configure: Regenerated.
6081
6082 * configure.ac (libc_cv_Bgroup): Remove configure test.
6083 * configure: Regenerated.
6084 * config.make.in (have-Bgroup): Remove variable.
6085
6086 * configure.ac (sizeof_long_double): Remove configure test.
6087 * configure: Regenerated.
6088 * config.make.in (sizeof-long-double): Remove variable.
6089
6090 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
6091 * configure: Regenerated.
6092 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
6093 variable.
6094 (exceptions): Likewise.
6095 * sysdeps/arm/configure: Regenerated.
6096 * config.make.in (exceptions): Remove variable.
6097 * Makeconfig (uses-callbacks): Use -fexceptions instead of
6098 $(exceptions).
6099 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
6100 (CFLAGS-vdprintf_chk.c): Likewise.
6101 (CFLAGS-printf_chk.c): Likewise.
6102 (CFLAGS-fprintf_chk.c): Likewise.
6103 (CFLAGS-vprintf_chk.c): Likewise.
6104 (CFLAGS-vfprintf_chk.c): Likewise.
6105 (CFLAGS-gets_chk.c): Likewise.
6106 (CFLAGS-fgets_chk.c): Likewise.
6107 (CFLAGS-fgets_u_chk.c): Likewise.
6108 (CFLAGS-fread_chk.c): Likewise.
6109 (CFLAGS-fread_u_chk.c): Likewise.
6110 (CFLAGS-wprintf_chk.c): Likewise.
6111 (CFLAGS-fwprintf_chk.c): Likewise.
6112 (CFLAGS-vwprintf_chk.c): Likewise.
6113 (CFLAGS-vfwprintf_chk.c): Likewise.
6114 (CFLAGS-fgetws_chk.c): Likewise.
6115 (CFLAGS-fgetws_u_chk.c): Likewise.
6116 * libio/Makefile (CFLAGS-fileops.c): Likewise.
6117 (CFLAGS-fputc.c): Likewise.
6118 (CFLAGS-fputwc.c): Likewise.
6119 (CFLAGS-freopen64.c): Likewise.
6120 (CFLAGS-freopen.c): Likewise.
6121 (CFLAGS-fseek.c): Likewise.
6122 (CFLAGS-fseeko64.c): Likewise.
6123 (CFLAGS-fseeko.c): Likewise.
6124 (CFLAGS-ftello64.c): Likewise.
6125 (CFLAGS-ftello.c): Likewise.
6126 (CFLAGS-fwide.c): Likewise.
6127 (CFLAGS-genops.c): Likewise.
6128 (CFLAGS-getc.c): Likewise.
6129 (CFLAGS-getchar.c): Likewise.
6130 (CFLAGS-getwc.c): Likewise.
6131 (CFLAGS-getwchar.c): Likewise.
6132 (CFLAGS-iofclose.c): Likewise.
6133 (CFLAGS-iofflush.c): Likewise.
6134 (CFLAGS-iofgetpos64.c): Likewise.
6135 (CFLAGS-iofgetpos.c): Likewise.
6136 (CFLAGS-iofgets.c): Likewise.
6137 (CFLAGS-iofgetws.c): Likewise.
6138 (CFLAGS-iofputs.c): Likewise.
6139 (CFLAGS-iofputws.c): Likewise.
6140 (CFLAGS-iofread.c): Likewise.
6141 (CFLAGS-iofsetpos64.c): Likewise.
6142 (CFLAGS-iofsetpos.c): Likewise.
6143 (CFLAGS-ioftell.c): Likewise.
6144 (CFLAGS-iofwrite.c): Likewise.
6145 (CFLAGS-iogetdelim.c): Likewise.
6146 (CFLAGS-iogetline.c): Likewise.
6147 (CFLAGS-iogets.c): Likewise.
6148 (CFLAGS-iogetwline.c): Likewise.
6149 (CFLAGS-ioputs.c): Likewise.
6150 (CFLAGS-ioseekoff.c): Likewise.
6151 (CFLAGS-ioseekpos.c): Likewise.
6152 (CFLAGS-iosetbuffer.c): Likewise.
6153 (CFLAGS-iosetvbuf.c): Likewise.
6154 (CFLAGS-ioungetc.c): Likewise.
6155 (CFLAGS-ioungetwc.c): Likewise.
6156 (CFLAGS-oldfileops.c): Likewise.
6157 (CFLAGS-oldiofclose.c): Likewise.
6158 (CFLAGS-oldiofgetpos64.c): Likewise.
6159 (CFLAGS-oldiofgetpos.c): Likewise.
6160 (CFLAGS-oldiofsetpos64.c): Likewise.
6161 (CFLAGS-oldiofsetpos.c): Likewise.
6162 (CFLAGS-peekc.c): Likewise.
6163 (CFLAGS-putc.c): Likewise.
6164 (CFLAGS-putchar.c): Likewise.
6165 (CFLAGS-putwc.c): Likewise.
6166 (CFLAGS-putwchar.c): Likewise.
6167 (CFLAGS-rewind.c): Likewise.
6168 (CFLAGS-wfileops.c): Likewise.
6169 (CFLAGS-wgenops.c): Likewise.
6170 (CFLAGS-oldiofopen.c): Likewise.
6171 (CFLAGS-iofopen.c): Likewise.
6172 (CFLAGS-iofopen64.c): Likewise.
6173 (CFLAGS-oldtmpfile.c): Likewise.
6174 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
6175 (CFLAGS-fprintf.c): Likewise.
6176 (CFLAGS-printf.c): Likewise.
6177 (CFLAGS-vfwprintf.c): Likewise.
6178 (CFLAGS-vfscanf.c): Likewise.
6179 (CFLAGS-vfwscanf.c): Likewise.
6180 (CFLAGS-fscanf.c): Likewise.
6181 (CFLAGS-scanf.c): Likewise.
6182 (CFLAGS-isoc99_vfscanf.c): Likewise.
6183 (CFLAGS-isoc99_vscanf.c): Likewise.
6184 (CFLAGS-isoc99_fscanf.c): Likewise.
6185 (CFLAGS-isoc99_scanf.c): Likewise.
6186 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
6187 (CFLAGS-isoc99_fwscanf.c): Likewise.
6188 (CFLAGS-isoc99_vwscanf.c): Likewise.
6189 (CFLAGS-isoc99_vfwscanf.c): Likewise.
6190
6191 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
6192 after mkstemp64.
6193 * login/tst-utmp.c (do_prepare): Likewise.
6194 * rt/tst-aio.c (do_prepare): Likewise.
6195 * rt/tst-aio64.c (do_prepare): Likewise.
6196
6197 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6198
6199 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6200 (__lll_lock_elision): Remove adapt_count decrement...
6201 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6202 (__lll_trylock_elision): Likewise.
6203 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6204 (__lll_unlock_elision): ... to here. And utilize
6205 new adapt_count parameter.
6206 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6207 (__lll_unlock_elision): Update to include adapt_count
6208 parameter.
6209 (lll_unlock_elision): Pass pointer to adapt_count
6210 variable.
6211
6212 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6213
6214 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
6215 Add elision adapt_count parameter to list of arguments.
6216 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6217 (lll_unlock_elision): Update with new parameter list
6218 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6219 (lll_unlock_elision): Likewise.
6220 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
6221 (lll_unlock_elision): Likewise.
6222
6223 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
6224
6225 [BZ #19122]
6226 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
6227 attribute_hidden.
6228
6229 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
6230 attribute_hidden.
6231 [IS_IN (rtld)] (__strdup): Likewise.
6232 [IS_IN (rtld)] (__strerror_r): Likewise.
6233 [IS_IN (rtld)] (__strsep_g): Likewise.
6234 [IS_IN (rtld)] (memchr): Likewise.
6235 [IS_IN (rtld)] (memcmp): Likewise.
6236 [IS_IN (rtld)] (memcpy): Likewise.
6237 [IS_IN (rtld)] (memmove): Likewise.
6238 [IS_IN (rtld)] (memset): Likewise.
6239 [IS_IN (rtld)] (rawmemchr): Likewise.
6240 [IS_IN (rtld)] (stpcpy): Likewise.
6241 [IS_IN (rtld)] (strchr): Likewise.
6242 [IS_IN (rtld)] (strcmp): Likewise.
6243 [IS_IN (rtld)] (strlen): Likewise.
6244 [IS_IN (rtld)] (strnlen): Likewise.
6245 [IS_IN (rtld)] (strsep): Likewise.
6246
6247 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
6248 attribute_hidden.
6249 [IS_IN (rtld)] (__strtoul_internal): Likewise.
6250
6251 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
6252 attribute_hidden.
6253 [IS_IN (rtld)] (__libc_sigaction): Likewise.
6254
6255 * include/setjmp.h (__longjmp): Add attribute_hidden.
6256 [IS_IN (rtld)] (__sigsetjmp): Likewise.
6257
6258 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
6259 Add attribute_hidden.
6260
6261 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
6262 [IS_IN (rtld)] (__open): Likewise.
6263 [IS_IN (rtld)] (__fcntl): Likewise.
6264
6265 * include/dirent.h (__opendirat): Add attribute_hidden.
6266 (__getdents): Likewise.
6267 (__getdents64): Likewise.
6268 (__alloc_dir): Likewise.
6269 [IS_IN (rtld)] (__closedir): Likewise.
6270 [IS_IN (rtld)] (__fdopendir): Likewise.
6271 [IS_IN (rtld)] (__readdir): Likewise.
6272 [IS_IN (rtld)] (__readdir64): Likewise.
6273 [IS_IN (rtld)] (__rewinddir): Likewise.
6274
6275 * include/dlfcn.h (_dl_catch_error): Moved to ...
6276 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
6277 attribute_hidden.
6278
6279 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
6280 (_itoa_word): Likewise.
6281
6282 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
6283 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
6284 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
6285 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
6286 (_dl_higher_prime_number): Likewise.
6287 (_dl_debug_printf_c): Likewise.
6288 (_dl_signal_cerror): Likewise.
6289 (_dl_receive_error): Likewise.
6290 (_dl_reloc_bad_type): Likewise.
6291 (_dl_resolve_conflicts): Likewise.
6292 (_dl_check_all_versions): Likewise.
6293 (_dl_check_map_versions): Likewise.
6294 (_dl_sort_fini): Likewise.
6295 (_dl_debug_initialize): Likewise.
6296 (_dl_init_paths): Likewise.
6297 (_dl_show_auxv): Likewise.
6298 (_dl_next_ld_env_entry): Likewise.
6299 (_dl_important_hwcaps): Likewise.
6300 (_dl_load_cache_lookup): Likewise.
6301 (_dl_update_slotinfo): Likewise.
6302 (_dl_show_scope): Likewise.
6303
6304 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
6305 attribute_hidden.
6306 (_wordcopy_fwd_dest_aligned): Likewise.
6307 (_wordcopy_bwd_aligned): Likewise.
6308 (_wordcopy_bwd_dest_aligned): Likewise.
6309
6310 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6311 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6312 Likewise.
6313 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6314 Likewise.
6315 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
6316
6317 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
6318
6319 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
6320 GCC 5 requirement.
6321
6322 2015-10-15 Joseph Myers <joseph@codesourcery.com>
6323
6324 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
6325 test.
6326 * sysdeps/i386/configure: Regenerated.
6327 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
6328 code unconditional.
6329
6330 * configure.ac (libc_cv_asm_previous_directive): Remove configure
6331 test.
6332 (libc_cv_asm_popsection_directive): Likewise.
6333 * configure: Regenerated.
6334 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
6335 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
6336 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
6337 (__make_section_unallocated): Make definition unconditional.
6338 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
6339 Remove conditional definition.
6340 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
6341 (__make_section_unallocated): Likewise.
6342
6343 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
6344 * configure: Regenerated.
6345 * config.make.in (static-libgcc): Remove variable.
6346 * Makerules (build-shlib-helper): Use -static-libgcc instead of
6347 $(static-libgcc).
6348 (build-module-helper): Likewise.
6349
6350 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
6351 * configure: Regenerated.
6352
6353 2015-10-15 Florian Weimer <fweimer@redhat.com>
6354
6355 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
6356 (struct char_buffer): New type.
6357 (char_buffer_start, char_buffer_size, char_buffer_error)
6358 (char_buffer_rewind, char_buffer_add): New functions.
6359 (ADDW): Remove macro, replaced by the char_buffer_add function.
6360 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
6361 of extend_alloca. Make control flow more explicit.
6362
6363 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
6364
6365 [BZ #19137]
6366 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6367 Add -fomit-frame-pointer.
6368 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
6369
6370 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
6371
6372 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
6373 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
6374 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
6375 only if !__GNUC_PREREQ (5,0).
6376 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
6377 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
6378 (INTERNAL_SYSCALL_NCS): Likewise.
6379 (LOADREGS_0): New macro for GCC 5.
6380 (ASMARGS_0): Likewise.
6381 (LOADREGS_1): Likewise.
6382 (ASMARGS_1): Likewise.
6383 (LOADREGS_2): Likewise.
6384 (ASMARGS_2): Likewise.
6385 (LOADREGS_3): Likewise.
6386 (ASMARGS_3): Likewise.
6387 (LOADREGS_4): Likewise.
6388 (ASMARGS_4): Likewise.
6389 (LOADREGS_5): Likewise.
6390 (ASMARGS_5): Likewise.
6391 (LOADREGS_6): Likewise.
6392 (ASMARGS_6): Likewise.
6393
6394 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
6395
6396 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
6397 -fomit-frame-pointer.
6398 (CFLAGS-mmap64.c): Likewise.
6399 (CFLAGS-semtimedop.c): Likewise.
6400 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
6401 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
6402 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6403 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6404
6405 2015-10-15 Florian Weimer <fweimer@redhat.com>
6406
6407 [BZ #18928]
6408 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
6409 _dl_pointer_guard member.
6410 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
6411 initializer.
6412 (security_init): Always set up pointer guard.
6413 (process_envvars): Do not process LD_POINTER_GUARD.
6414
6415 2015-10-14 Joseph Myers <joseph@codesourcery.com>
6416
6417 [BZ #19134]
6418 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
6419 (.LC2): Likewise.
6420 (.LC3): Likewise.
6421 (__lround): Do not add 0.5 to integer or out-of-range arguments.
6422
6423 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
6424
6425 [BZ #19129]
6426 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
6427 r0 and r1.
6428
6429 2015-10-14 Namhyung Kim <namhyung@gmail.com>
6430
6431 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
6432
6433 2015-10-14 Carlos O'Donell <carlos@redhat.com>
6434
6435 * include/stap-probe.h: Fix macro definition formatting.
6436
6437 2015-10-14 Florian Weimer <fweimer@redhat.com>
6438
6439 [BZ #19074]
6440 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
6441 load and store num_ifs.
6442
6443 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
6444
6445 [BZ #18822]
6446 * sysdeps/unix/sysv/linux/sched_getaffinity.c
6447 (__sched_getaffinity_new): Add libc_hidden_proto and
6448 libc_hidden_def.
6449
6450 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
6451
6452 [BZ #19007]
6453 * scripts/localplt.awk: Also allow GOT references.
6454 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
6455 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
6456 with "+ REL R_386_GLOB_DAT".
6457 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
6458 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
6459
6460 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
6461
6462 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
6463 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6464 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
6465 Likewise.
6466 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6467 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
6468 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6469 INTERNAL_SYSCALLINTERNAL_SYSCALL and
6470 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6471 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6472 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6473 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6474 Likewise.
6475 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6476
6477 2015-10-13 Joseph Myers <joseph@codesourcery.com>
6478
6479 [BZ #19125]
6480 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
6481 <math_private.h> and <stdint.h>.
6482 (__llround): Avoid conversions to and from long long int, and
6483 subtractions, where those might raise spurious exceptions.
6484 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
6485 <math_private.h> and <stdint.h>.
6486 (__llroundf): Avoid conversions to and from long long int, and
6487 subtractions, where those might raise spurious exceptions.
6488
6489 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
6490
6491 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
6492 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6493 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6494 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
6495 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6496 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6497 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
6498 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
6499 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
6500 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6501 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6502 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6503 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
6504 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6505 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6506 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
6507 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
6508 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6509 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
6510 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
6511 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6512 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
6513 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
6514 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6515 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
6516 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6517 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
6518 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6519 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6520 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
6521 (__xstat64_conv): Likewise.
6522 (__xstat32_conv): Likewise.
6523
6524 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
6525
6526 * sysdeps/unix/sysv/linux/sysdep.h: New file.
6527 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
6528 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
6529 <sysdeps/unix/sysv/linux/sysdep.h>.
6530 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6531 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
6532 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
6533 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6534 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6535 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
6536 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
6537 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6538 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6541 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6542 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6543 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6544 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6545 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6546 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
6547 (sysdep-dl-routines): Add sysdep.
6548 [$(subdir) == nptl] (libpthread-routines): Likewise.
6549 [$(subdir) == rt] (librt-routines): Likewise.
6550 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
6551 PIC when branching to SYSCALL_ERROR_LABEL.
6552 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
6553 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
6554 <sysdeps/unix/sysv/linux/sysdep.h>.
6555 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
6556 (SYSCALL_ERROR_ERRNO): Removed.
6557 (SYSCALL_ERROR_HANDLER): Changed to empty.
6558 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
6559 (__syscall_error): New prototype.
6560 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
6561 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
6562
6563 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
6564
6565 [BZ #19124]
6566 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
6567 (_dl_runtime_resolve_avx512): Make it a hidden alias of
6568 _dl_runtime_resolve_avx.
6569 (_dl_runtime_profile_avx512): Make it a hidden alias of
6570 _dl_runtime_profile_avx.
6571
6572 2015-10-13 Joseph Myers <joseph@codesourcery.com>
6573
6574 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
6575 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
6576 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
6577 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
6578
6579 [BZ #16422]
6580 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
6581 New configure test.
6582 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
6583 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
6584 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
6585 <math_private.h> and <stdint.h>.
6586 (__llrint): Avoid conversions to long long int where those might
6587 raise spurious exceptions.
6588 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
6589 <math_private.h> and <stdint.h>.
6590 (__llrintf): Avoid conversions to long long int where those might
6591 raise spurious exceptions.
6592
6593 2015-10-12 Andreas Schwab <schwab@suse.de>
6594
6595 [BZ #18969]
6596 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
6597 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
6598 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
6599 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
6600 $(gen-locales).
6601 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
6602 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
6603 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
6604 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
6605 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
6606 $(gen-locales).
6607 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
6608 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
6609 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
6610 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
6611 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
6612 ($(objpfx)tst-ftell-active-handler.out)
6613 ($(objpfx)tst-ftell-append.out)
6614 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
6615 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
6616 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
6617 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
6618 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
6619 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
6620 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
6621 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
6622 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
6623 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
6624 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
6625 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
6626 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
6627 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
6628 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
6629 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
6630 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
6631 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
6632 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
6633 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
6634 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
6635 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
6636 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
6637 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
6638 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
6639 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
6640 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
6641 $(gen-locales).
6642 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
6643 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
6644 $(gen-locales).
6645 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
6646 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
6647 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
6648 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
6649 $(gen-locales).
6650 * libio/tst_wprintf2.c (main): Use explicit locale.
6651 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
6652
6653 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6654
6655 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
6656 __msg_sig_post.
6657 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
6658
6659 2015-10-09 Joseph Myers <joseph@codesourcery.com>
6660
6661 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6662 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6663
6664 * sysdeps/arm/libm-test-ulps: Regenerated.
6665
6666 [BZ #15470]
6667 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
6668
6669 [BZ #16399]
6670 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
6671 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
6672 and <fix-fp-int-convert-overflow.h>.
6673 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6674 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6675 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
6676 and <fix-fp-int-convert-overflow.h>.
6677 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
6678 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6679 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
6680 <fix-fp-int-convert-overflow.h>.
6681 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6682 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6683 * sysdeps/ieee754/dbl-64/s_lround.c: Include
6684 <fix-fp-int-convert-overflow.h>.
6685 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
6686 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6687 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
6688 and <fix-fp-int-convert-overflow.h>.
6689 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6690 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6691 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
6692 <limits.h> and <fix-fp-int-convert-overflow.h>.
6693 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6694 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6695 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
6696 and <fix-fp-int-convert-overflow.h>.
6697 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6698 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6699 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
6700 and <fix-fp-int-convert-overflow.h>.
6701 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6702 FIX_DBL_LLONG_CONVERT_OVERFLOW.
6703 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
6704
6705 2015-10-09 Carlos O'Donell <carlos@redhat.com>
6706
6707 [BZ #18589]
6708 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
6709 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
6710 $(gen-locales).
6711
6712 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6713 Phil Blundell <pb@pbcl.net>
6714
6715 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
6716 * nptl/tst-cancel26.c: New file.
6717 * nptl/tst-cancel27.c: Likewise.
6718
6719 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
6720
6721 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
6722 __ILP32__ isn't defined.
6723 (lrint): Likewise.
6724 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
6725 (lrintf): Likewise.
6726 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
6727 (lrintl): Likewise.
6728 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
6729 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
6730 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
6731
6732 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6733
6734 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6735 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6736
6737 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
6738 file.
6739 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
6740 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6741
6742 2015-10-09 Joseph Myers <joseph@codesourcery.com>
6743
6744 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
6745 configure test.
6746 * sysdeps/i386/configure: Regenerated.
6747 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
6748 configure test.
6749 * sysdeps/x86_64/configure: Regenerated.
6750 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
6751 Make code unconditional.
6752
6753 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
6754 test.
6755 * sysdeps/i386/configure: Regenerated.
6756 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
6757 test.
6758 * sysdeps/x86_64/configure: Regenerated.
6759 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
6760 Make code unconditional.
6761 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6762 Likewise.
6763 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
6764 Likewise.
6765 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6766 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
6767 code unconditional.
6768 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6769 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
6770 code unconditional.
6771 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6772 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
6773 code unconditional.
6774 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
6775 code unconditional.
6776 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6777 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
6778 code unconditional.
6779 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6780 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
6781 code unconditional.
6782 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6783 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
6784 code unconditional.
6785 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6786 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
6787 code unconditional.
6788 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6789 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
6790
6791 [BZ #19095]
6792 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
6793 mantissa to long int before shifting left.
6794
6795 2015-10-08 Joseph Myers <joseph@codesourcery.com>
6796
6797 [BZ #19094]
6798 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
6799 <limits.h>.
6800 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6801 when result overflows but exception would not result from cast.
6802 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
6803 <limits.h>.
6804 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6805 when result overflows but exception would not result from cast.
6806 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
6807 <limits.h>.
6808 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6809 when result overflows but exception would not result from cast.
6810 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
6811 <limits.h>.
6812 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6813 when result overflows but exception would not result from cast.
6814 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
6815 <limits.h>.
6816 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6817 when result overflows but exception would not result from cast.
6818 * math/libm-test.inc (lrint_test_data): Add more tests.
6819 (llrint_test_data): Likewise.
6820
6821 2015-10-08 Roland McGrath <roland@hack.frob.com>
6822
6823 [BZ #18872]
6824 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
6825 Move out from under [$(run-built-tests) = yes] conditional.
6826 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
6827 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
6828
6829 2015-10-08 Carlos O'Donell <carlos@redhat.com>
6830
6831 [BZ #18589]
6832 * string/Makefile (tests): Add bug-strcoll2.
6833 (LOCALES): Add cs_CZ.UTF-8.
6834 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
6835
6836 [BZ #18589]
6837 * string/bug-strcoll2.c: New file.
6838 * locale/categories.def: Revert commit
6839 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
6840 * locale/langinfo.h: Likewise.
6841 * locale/localeinfo.h: Likewise.
6842 * locale/C-collate.c: Likewise.
6843 * locale/programs/ld-collate.c (collate_output): Likewise.
6844 * string/strcoll_l.c (STRDIFF): Likewise.
6845 (STRCOLL): Likewise.
6846 * wcsmbs/wcscoll_l.c: Likewise.
6847
6848 2015-10-08 Joseph Myers <joseph@codesourcery.com>
6849
6850 * math/libm-test.inc (lround_test_data): Do not expect the absence
6851 of "inexact" for some tests with non-integer arguments.
6852 (llround_test_data): Likewise.
6853
6854 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
6855 test.
6856 (libc_cv_cc_sse2avx): Likewise.
6857 * sysdeps/i386/configure: Regenerated.
6858 * sysdeps/i386/i686/multiarch/Makefile
6859 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
6860 [$(subdir) = math].
6861 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
6862 code unconditional.
6863 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6864 Likewise.
6865 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
6866 Likewise.
6867 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6868 Likewise.
6869 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
6870 test.
6871 (libc_cv_cc_sse2avx): Likewise.
6872 * sysdeps/x86_64/configure: Regenerated.
6873 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
6874 unconditional.
6875 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
6876 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
6877 unconditional.
6878 (_dl_runtime_profile)
6879 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
6880 conditional code.
6881 * sysdeps/x86_64/fpu/multiarch/Makefile
6882 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
6883 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6884 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6885 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6886 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6887 * sysdeps/x86_64/fpu/multiarch/e_log.c
6888 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6889 * sysdeps/x86_64/fpu/multiarch/s_atan.c
6890 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6891 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6892 Likewise.
6893 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6894 Likewise.
6895 * sysdeps/x86_64/fpu/multiarch/s_sin.c
6896 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6897 * sysdeps/x86_64/fpu/multiarch/s_tan.c
6898 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6899 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
6900 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
6901 (HAVE_SSE2AVX_SUPPORT): Likewise.
6902
6903 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
6904
6905 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
6906 instead of #pragma optimize.
6907
6908 2015-10-07 Carlos O'Donell <carlos@redhat.com>
6909
6910 [BZ #17195]
6911 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
6912 as is similarly done in systrim and _int_free already.
6913
6914 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6915
6916 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
6917
6918 2015-10-07 Joseph Myers <joseph@codesourcery.com>
6919
6920 [BZ #19088]
6921 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
6922 <limits.h>.
6923 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6924 overflows but exception would not result from cast.
6925 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
6926 and <limits.h>.
6927 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6928 overflows but exception would not result from cast.
6929 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
6930 <limits.h>.
6931 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6932 overflows but exception would not result from cast.
6933 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
6934 <limits.h>.
6935 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6936 overflows but exception would not result from cast.
6937 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
6938 <limits.h>.
6939 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6940 overflows but exception would not result from cast.
6941 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
6942 <limits.h>.
6943 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6944 overflows but exception would not result from cast.
6945 * math/libm-test.inc (lround_test_data): Add more tests.
6946 (llround_test_data): Likewise.
6947
6948 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
6949
6950 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
6951 (CFLAGS-ialloc.c): Ditto.
6952 (CFLAGS-scheck.c): Ditto.
6953
6954 2015-10-07 Carlos O'Donell <carlos@redhat.com>
6955
6956 [BZ #19086]
6957 * manual/filesys.texi (Storage Allocation): Fix argument order for
6958 posix_fallocate64.
6959
6960 2015-10-07 Joseph Myers <joseph@codesourcery.com>
6961
6962 [BZ #19085]
6963 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
6964 exponent below 48 inside case for non-overflowing exponent.
6965 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
6966
6967 2015-10-07 Florian Weimer <fweimer@redhat.com>
6968
6969 * iconvdata/cp737.h (from_idx): Add const.
6970 * iconvdata/cp775.h (from_idx): Likewise.
6971
6972 2015-10-07 Joseph Myers <joseph@codesourcery.com>
6973
6974 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
6975 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
6976 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
6977
6978 [BZ #19079]
6979 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
6980 file, conditioned on [!_LP64].
6981 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
6982 [!_LP64] (__lround): Do not define as function or alias.
6983 [!_LP64] (lround): Likewise.
6984 [!_LP64] (__lroundl): Likewise.
6985 [!_LP64] (lroundl): Likewise.
6986 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
6987 macro.
6988 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6989 Likewise.
6990
6991 2015-10-06 Joseph Myers <joseph@codesourcery.com>
6992
6993 * math/libm-test.inc (lrint_test_data): Add more tests.
6994 (llrint_test_data): Likewise.
6995 (lround_test_data): Likewise.
6996 (llround_test_data): Likewise.
6997
6998 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
6999 (llrint_test_data): Add tests used for lrint.
7000
7001 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
7002 test.
7003 * sysdeps/i386/configure: Regenerated.
7004 * sysdeps/i386/i686/multiarch/Makefile
7005 [$(config-cflags-sse4) = yes]: Make code unconditional.
7006 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7007 Likewise.
7008 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
7009 Likewise.
7010 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
7011 test.
7012 * sysdeps/x86_64/configure: Regenerated.
7013 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
7014 Make code unconditional.
7015 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7016 Likewise.
7017 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
7018 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
7019
7020 * scripts/rpm2dynsym.sh: Remove file.
7021
7022 2015-10-06 Florian Weimer <fweimer@redhat.com>
7023
7024 * configure.ac (libc_cv_cxx_thread_local): Define.
7025 * configure: Regenerate.
7026 * config.make.in (have-cxx-thread_local): Define.
7027 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
7028 (LDLIBS-tst-thread_local1): Define.
7029 (tests): Add tst-thread_local1.
7030 [have-cxx-thread_local != yes] (tests-unsupported): Add
7031 tst-thread_local1.
7032 * nptl/tst-thread_local1.cc: New file.
7033
7034 2015-10-06 Joseph Myers <joseph@codesourcery.com>
7035
7036 [BZ #19078]
7037 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
7038 (u_thres): Likewise.
7039 (__expl): Determine whether to call __kernel_standard_l based on
7040 value of result, not argument.
7041
7042 * math/libm-test.inc (scalb_test_data): Add more expectations for
7043 the "inexact" exception.
7044
7045 [BZ #19077]
7046 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
7047 0.0L for argument 1.0L.
7048
7049 [BZ #19076]
7050 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
7051 constant 0.0L when computing infinite result.
7052
7053 2015-10-06 Florian Weimer <fweimer@redhat.com>
7054
7055 [BZ #10432]
7056 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
7057 malloc_usable_size.
7058
7059 2015-10-06 Florian Weimer <fweimer@redhat.com>
7060
7061 [BZ #19018]
7062 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7063 Mangle function pointer before storing it.
7064 (__call_tls_dtors): Demangle function pointer before calling it.
7065
7066 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7067
7068 [BZ #19012]
7069 * iconv/gconv_db.c (gen_steps): Check for additional errors.
7070 Clean up on failure.
7071
7072 2015-10-05 Joseph Myers <joseph@codesourcery.com>
7073
7074 [BZ #19071]
7075 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
7076 long int variable to store possibly incremented high part of
7077 mantissa.
7078 * math/libm-test.inc (lround_test_data): Add tests used for
7079 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
7080 for tests requiring 64-bit long. Do not condition tests on
7081 [TEST_FLOAT] unnecessarily.
7082 (llround_test_data): Add tests used for lround. Add another
7083 expectation for the "inexact" exception. Do not condition tests
7084 on [TEST_FLOAT] unnecessarily.
7085
7086 [BZ #887]
7087 [BZ #19049]
7088 [BZ #19050]
7089 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
7090 * sysdeps/ieee754/dbl-64/e_log10.c: Include
7091 <fix-int-fp-convert-zero.h>.
7092 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7093 * sysdeps/ieee754/dbl-64/e_log2.c: Include
7094 <fix-int-fp-convert-zero.h>.
7095 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7096 * sysdeps/ieee754/dbl-64/s_erf.c: Include
7097 <fix-int-fp-convert-zero.h>.
7098 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7099 * sysdeps/ieee754/dbl-64/s_logb.c: Include
7100 <fix-int-fp-convert-zero.h>.
7101 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7102 * sysdeps/ieee754/flt-32/e_log10f.c: Include
7103 <fix-int-fp-convert-zero.h>.
7104 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7105 * sysdeps/ieee754/flt-32/e_log2f.c: Include
7106 <fix-int-fp-convert-zero.h>.
7107 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7108 * sysdeps/ieee754/flt-32/s_erff.c: Include
7109 <fix-int-fp-convert-zero.h>.
7110 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7111 * sysdeps/ieee754/flt-32/s_logbf.c: Include
7112 <fix-int-fp-convert-zero.h>.
7113 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7114 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
7115 <fix-int-fp-convert-zero.h>.
7116 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7117 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
7118 <fix-int-fp-convert-zero.h>.
7119 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7120 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
7121 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
7122 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
7123 file.
7124 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
7125
7126 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7127
7128 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7129
7130 2015-10-02 Joseph Myers <joseph@codesourcery.com>
7131
7132 [BZ #19059]
7133 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
7134 overflowing computation.
7135 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7136 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7137 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7138 Likewise.
7139 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7140 Likewise.
7141 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7142 Likewise.
7143 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7144 Likewise.
7145 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7146 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7147 Likewise.
7148 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7149 Likewise.
7150 * math/libm-test.inc (nexttoward_test_data): Add more tests.
7151
7152 * nss/rewrite_field.c (__nss_rewrite_field): Use
7153 internal_function.
7154 * nss/valid_field.c (__nss_valid_field): Likewise.
7155 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7156
7157 2015-10-02 Florian Weimer <fweimer@redhat.com>
7158
7159 [BZ #18724]
7160 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
7161 (__nss_invalid_field_characters, __nss_valid_field)
7162 (__nss_valid_list_field, __nss_rewrite_field): Declare.
7163 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
7164 tst-field.c: New file.
7165 * nss/Makefile (routines): Add valid_field, rewrite_field.
7166 (tests-static): Define unconditionally.
7167 (tests): Include tests-static.
7168 [build-static-nss] (tests-static): Use append.
7169 [build-static-nss] (tests): Remove modification.
7170 * nss/getent.c (print_group): Call putgrent. Report error.
7171 (print_gshadow): Call putsgent. Report error.
7172 (print_passwd): Call putpwent. Report error.
7173 (print_shadow): Call putspent. Report error.
7174 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
7175 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
7176 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
7177 name, password, directory, shell fields for valid syntax. Rewrite
7178 GECOS field to match syntax.
7179 * pwd/Makefile (tests): Add tst-putpwent.
7180 * pwd/tst-putpwent.c: New file.
7181 * grp/putgrent.c (putgrent): Convert to ISO function definition.
7182 Check grName, grpasswd, gr_mem fields for valid syntax.
7183 Change loop variable i to size_t.
7184 * grp/Makefile (tests): Add tst-putgrent.
7185 * grp/tst-putgrent.c: New file.
7186 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
7187 valid syntax.
7188 * shadow/Makefile (tests): Add tst-putspent.
7189 * shadow/tst-putspent.c: New file.
7190 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
7191 sg_mem fields for valid syntax.
7192 * gshadow/Makefile (tests): Add tst-putsgent.
7193 * gshadow/tst-putsgent.c: New file.
7194
7195 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7196
7197 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
7198 assembly instructions.
7199
7200 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7201
7202 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
7203 prefix from operands.
7204
7205 2015-10-01 Joseph Myers <joseph@codesourcery.com>
7206
7207 [BZ #16347]
7208 [BZ #19046]
7209 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
7210 <libc-internal.h>.
7211 (MAXLGM): Do not use diagnostic control macros.
7212 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
7213 threshold for ldbl-128ibm.
7214 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
7215 instead of multiplying by log then subtracting.
7216 * math/auto-libm-test-in: Add more tests of lgamma.
7217 * math/auto-libm-test-out: Regenerated.
7218
7219 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
7220 (TYPE_HEX_DIG): Likewise.
7221 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
7222 precisions when printing floating-point numbers.
7223 (check_float_internal): Likewise.
7224
7225 2015-09-30 Joseph Myers <joseph@codesourcery.com>
7226
7227 [BZ #16620]
7228 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
7229 of log (10) rounded downward to 48 bits.
7230 (log10_low): Use corresponding low part of log (10).
7231
7232 [BZ #19032]
7233 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
7234 compute result as (x - x) / (x - x) not as 0 / 0.
7235 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7236 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
7237
7238 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7239 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
7240 and expm1.
7241 * math/auto-libm-test-out: Regenerated.
7242 * math/libm-test.inc (acos_test_data): Add more tests.
7243 (asin_test_data): Likewise.
7244 (asinh_test_data): Likewise.
7245 (atan_test_data): Likewise.
7246 (atanh_test_data): Likewise.
7247 (atan2_test_data): Likewise.
7248 (cbrt_test_data): Likewise.
7249 (ceil_test_data): Likewise.
7250 (copysign_test_data): Likewise.
7251 (cos_test_data): Likewise.
7252 (cosh_test_data): Likewise.
7253 (erf_test_data): Likewise.
7254 (erfc_test_data): Likewise.
7255 (exp_test_data): Likewise.
7256 (exp10_test_data): Likewise.
7257 (exp2_test_data): Likewise.
7258 (expm1_test_data): Likewise.
7259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7260
7261 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
7262
7263 [BZ #19006]
7264 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
7265 to ...
7266 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
7267 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
7268 to ...
7269 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
7270 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
7271 to ...
7272 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
7273 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
7274 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
7275 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
7276 to ...
7277 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
7278 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7279 Moved to ...
7280 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
7281 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7282 Moved to ...
7283 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
7284 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
7285 to ...
7286 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
7287 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7288 Moved to ...
7289 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
7290 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
7291 to ...
7292 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
7293 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
7294 Removed.
7295 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
7296 Likewise.
7297 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
7298 Likewise.
7299 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
7300 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
7301 Likewise.
7302 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7303 Likewise.
7304 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7305 Likewise.
7306 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7307 Likewise.
7308 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7309 Likewise.
7310 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
7311 Likewise.
7312 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
7313 Likewise.
7314 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
7315 Likewise.
7316 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
7317 Likewise.
7318 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
7319 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
7320 Likewise.
7321 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7322 Likewise.
7323 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7324 Likewise.
7325 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7326 Likewise.
7327 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
7328 Likewise.
7329 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7330 Replace ../i486/pthread_cond_timedwait.S with
7331 ../pthread_cond_timedwait.S.
7332
7333 2015-09-30 Joseph Myers <joseph@codesourcery.com>
7334
7335 * math/libm-test.inc (acos_test_data): Refine expectations for
7336 errno and "inexact" exceptions.
7337 (acosh_test_data): Likewise.
7338 (asin_test_data): Likewise.
7339 (asinh_test_data): Likewise.
7340 (atan_test_data): Likewise.
7341 (atanh_test_data): Likewise.
7342 (atan2_test_data): Likewise.
7343 (cbrt_test_data): Likewise.
7344 (ceil_test_data): Likewise.
7345 (copysign_test_data): Likewise.
7346 (cosh_test_data): Likewise.
7347 (erf_test_data): Likewise.
7348 (erfc_test_data): Likewise.
7349 (exp_test_data): Likewise.
7350 (exp10_test_data): Likewise.
7351 (exp2_test_data): Likewise.
7352 (expm1_test_data): Likewise.
7353 (fabs_test_data): Likewise.
7354 (floor_test_data): Likewise.
7355 (fma_test_data): Likewise.
7356 (fmax_test_data): Likewise.
7357 (fmin_test_data): Likewise.
7358 (fmod_test_data): Likewise.
7359 (fpclassify_test_data): Likewise.
7360 (frexp_test_data): Likewise.
7361 (hypot_test_data): Likewise.
7362 (ilogb_test_data): Likewise.
7363 (isgreater_test_data): Likewise.
7364 (isgreaterequal_test_data): Likewise.
7365 (isinf_test_data): Likewise.
7366 (isless_test_data): Likewise.
7367 (islessequal_test_data): Likewise.
7368 (islessgreater_test_data): Likewise.
7369 (isnan_test_data): Likewise.
7370 (isnormal_test_data): Likewise.
7371 (issignaling_test_data): Likewise.
7372 (isunordered_test_data): Likewise.
7373 (j0_test_data): Likewise.
7374 (j1_test_data): Likewise.
7375 (jn_test_data): Likewise.
7376 (lgamma_test_data): Likewise.
7377 (lrint_test_data): Likewise.
7378 (llrint_test_data): Likewise.
7379 (log_test_data): Likewise.
7380 (log10_test_data): Likewise.
7381 (log1p_test_data): Likewise.
7382 (log2_test_data): Likewise.
7383 (logb_test_data): Likewise.
7384 (lround_test_data): Likewise.
7385 (llround_test_data): Likewise.
7386 (modf_test_data): Likewise.
7387 (nearbyint_test_data): Likewise.
7388 (nextafter_test_data): Likewise.
7389 (nexttoward_test_data): Likewise.
7390 (pow_test_data): Likewise.
7391 (remainder_test_data): Likewise.
7392 (remquo_test_data): Likewise.
7393 (rint_test_data): Likewise.
7394 (round_test_data): Likewise.
7395 (signbit_test_data): Likewise.
7396 (sinh_test_data): Likewise.
7397 (sqrt_test_data): Likewise.
7398 (tanh_test_data): Likewise.
7399 (tgamma_test_data): Likewise.
7400 (trunc_test_data): Likewise.
7401 (y0_test_data): Likewise.
7402 (y1_test_data): Likewise.
7403 (yn_test_data): Likewise.
7404 (significand_test_data): Likewise.
7405
7406 2015-09-29 Carlos O'Donell <carlos@redhat.com>
7407
7408 * manual/filesys.texi (Storage Allocation): Document that
7409 posix_fallocate emulation fails when fd is open with O_WRONLY.
7410
7411 2015-09-28 Joseph Myers <joseph@codesourcery.com>
7412
7413 [BZ #19016]
7414 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
7415 allow more cases with X^2 + Y^2 >= 0.5.
7416 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
7417 normal element in sum instead of special-casing based on values of
7418 arguments.
7419 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
7420 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
7421 -1 as normal element in sum instead of special-casing based on
7422 values of arguments.
7423 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
7424 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
7425 (__x2y2m1): Update comment.
7426 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
7427 as normal element in sum instead of special-casing based on values
7428 of arguments.
7429 * math/s_clog.c (__clog): Handle more cases using log1p without
7430 hypot.
7431 * math/s_clog10.c (__clog10): Likewise.
7432 * math/s_clog10f.c (__clog10f): Likewise.
7433 * math/s_clog10l.c (__clog10l): Likewise.
7434 * math/s_clogf.c (__clogf): Likewise.
7435 * math/s_clogl.c (__clogl): Likewise.
7436 * math/auto-libm-test-in: Add more tests of clog and clog10.
7437 * math/auto-libm-test-out: Regenerated.
7438 * sysdeps/i386/fpu/libm-test-ulps: Update.
7439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7440
7441 2015-09-28 Martin Sebor <msebor@redhat.com>
7442
7443 [BZ #18969]
7444 * string/Makefile (LOCALES): Define.
7445 (gen-locales.mk): Include.
7446 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
7447 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
7448 * string/tst-strxfrm2.c (do_test): Print the name of the locale
7449 on setlocale failure.
7450
7451 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7452
7453 [BZ #18985]
7454 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
7455 (__strftime_internal): Likewise.
7456 * time/tst-strftime.c (do_bz18985): New test.
7457 (do_test): Call it.
7458
7459 2015-09-26 Joseph Myers <joseph@codesourcery.com>
7460
7461 [BZ #18956]
7462 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
7463 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
7464 extracting high part.
7465 * math/auto-libm-test-in: Add another test of pow.
7466 * math/auto-libm-test-out: Regenerated.
7467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7468
7469 2015-09-25 Joseph Myers <joseph@codesourcery.com>
7470
7471 [BZ #18825]
7472 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
7473 New macro.
7474 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
7475 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7476 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
7477 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
7478 DBL_NARROW_EVAL, reloading the PIC register as needed.
7479 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
7480 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
7481 FLT_NARROW_EVAL. Use separate return path for case when first
7482 argument is NaN.
7483 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
7484 DEFINE_LDBL_MIN.
7485 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
7486 PIC register.
7487 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
7488 math_check_force_underflow_nonneg.
7489 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
7490 underflow for subnormal result.
7491 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7492 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
7493 math_check_force_underflow_nonneg.
7494 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
7495 math_check_force_underflow.
7496 * sysdeps/x86_64/fpu/x86_64-math-asm.h
7497 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
7498 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
7499 DEFINE_LDBL_MIN.
7500 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
7501 * math/auto-libm-test-in: Add more tests of pow.
7502 * math/auto-libm-test-out: Regenerated.
7503
7504 2015-09-25 Florian Weimer <fweimer@redhat.com>
7505
7506 * nss/bug17079.c (init_test_items): Add diagnostic for
7507 inconsistent entries.
7508 (test_buffer_size): Skip inconsistent entries.
7509
7510 2015-09-25 Joseph Myers <joseph@codesourcery.com>
7511
7512 [BZ #13304]
7513 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
7514 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
7515 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
7516
7517 [BZ #13304]
7518 * sysdeps/microblaze/s_fma.c: New file.
7519 * sysdeps/microblaze/s_fmaf.c: Likewise.
7520 * sysdeps/microblaze/sfp-machine.h: Likewise.
7521
7522 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
7523
7524 [BZ #17250]
7525 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
7526 member.
7527
7528 2015-09-24 Joseph Myers <joseph@codesourcery.com>
7529
7530 [BZ #18803]
7531 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
7532 (MO): New macro.
7533 (__ieee754_hypot) [PIC]: Load PIC register.
7534 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
7535 DBL_NARROW_EVAL.
7536 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
7537 math_check_force_underflow_nonneg in case where result might be
7538 tiny.
7539 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7540 Likewise.
7541 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7542 Likewise.
7543 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7544 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
7545 * math/auto-libm-test-in: Add more tests of hypot.
7546 * math/auto-libm-test-out: Regenerated.
7547
7548 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
7549
7550 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
7551
7552 2015-09-24 Joseph Myers <joseph@codesourcery.com>
7553
7554 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
7555 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
7556 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7557 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7558 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
7559 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7560 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7561
7562 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
7563 LOAD_PIC_REG.
7564
7565 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
7566 (FLT_CHECK_FORCE_UFLOW): Likewise.
7567 (DBL_CHECK_FORCE_UFLOW): Likewise.
7568 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
7569 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
7570 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
7571 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7572 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7573 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7574 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7575 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7576 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
7577 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7578 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
7579 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
7580 (flt_min): Replace with use of DEFINE_FLT_MIN.
7581 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
7582 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
7583 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7584 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
7585 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
7586 (flt_min): Replace with use of DEFINE_FLT_MIN.
7587 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
7588 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
7589 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7590 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
7591 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
7592 (flt_min): Replace with use of DEFINE_FLT_MIN.
7593 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
7594 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
7595 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7596 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7597 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
7598 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7599 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7600 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
7601 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7602 (__atan): Use DBL_CHECK_FORCE_UFLOW.
7603 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
7604 (flt_min): Replace with use of DEFINE_FLT_MIN.
7605 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
7606 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
7607 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7608 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
7609 main computation.
7610 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
7611 (flt_min): Replace with use of DEFINE_FLT_MIN.
7612 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
7613 main computation.
7614 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
7615 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7616 (MO): New macro.
7617 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
7618 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
7619 (flt_min): Replace with use of DEFINE_FLT_MIN.
7620 (MO): New macro.
7621 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
7622 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
7623 (__log1pl): Use MO.
7624
7625 [BZ #19003]
7626 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
7627 $(config-cflags-nofma).
7628
7629 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
7630
7631 * sysdeps/aarch64/libm-test-ulps: Regenerated.
7632
7633 2015-09-23 Joseph Myers <joseph@codesourcery.com>
7634
7635 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
7636 (TWO127): Likewise.
7637
7638 * sysdeps/generic/math_private.h (fabs_tg): New macro.
7639 (min_of_type): Likewise.
7640 (math_check_force_underflow): Likewise.
7641 (math_check_force_underflow_nonneg): Likewise.
7642 (math_check_force_underflow_complex): Likewise.
7643 * math/e_exp2l.c (__ieee754_exp2l): Use
7644 math_check_force_underflow_nonneg.
7645 * math/k_casinh.c (__kernel_casinh): Likewise.
7646 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7647 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7648 * math/s_catan.c (__catan): Use
7649 math_check_force_underflow_complex.
7650 * math/s_catanf.c (__catanf): Likewise.
7651 * math/s_catanh.c (__catanh): Likewise.
7652 * math/s_catanhf.c (__catanhf): Likewise.
7653 * math/s_catanhl.c (__catanhl): Likewise.
7654 * math/s_catanl.c (__catanl): Likewise.
7655 * math/s_ccosh.c (__ccosh): Likewise.
7656 * math/s_ccoshf.c (__ccoshf): Likewise.
7657 * math/s_ccoshl.c (__ccoshl): Likewise.
7658 * math/s_cexp.c (__cexp): Likewise.
7659 * math/s_cexpf.c (__cexpf): Likewise.
7660 * math/s_cexpl.c (__cexpl): Likewise.
7661 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
7662 * math/s_clog10.c (__clog10): Likewise.
7663 * math/s_clog10f.c (__clog10f): Likewise.
7664 * math/s_clog10l.c (__clog10l): Likewise.
7665 * math/s_clogf.c (__clogf): Likewise.
7666 * math/s_clogl.c (__clogl): Likewise.
7667 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
7668 * math/s_csinf.c (__csinf): Likewise.
7669 * math/s_csinh.c (__csinh): Likewise.
7670 * math/s_csinhf.c (__csinhf): Likewise.
7671 * math/s_csinhl.c (__csinhl): Likewise.
7672 * math/s_csinl.c (__csinl): Likewise.
7673 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
7674 * math/s_csqrtf.c (__csqrtf): Likewise.
7675 * math/s_csqrtl.c (__csqrtl): Likewise.
7676 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
7677 * math/s_ctanf.c (__ctanf): Likewise.
7678 * math/s_ctanh.c (__ctanh): Likewise.
7679 * math/s_ctanhf.c (__ctanhf): Likewise.
7680 * math/s_ctanhl.c (__ctanhl): Likewise.
7681 * math/s_ctanl.c (__ctanl): Likewise.
7682 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
7683 instead of volatile.
7684 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
7685 math_check_force_underflow.
7686 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7687 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
7688 volatile when forcing underflow.
7689 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7690 math_check_force_underflow_nonneg.
7691 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7692 Likewise.
7693 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
7694 math_check_force_underflow.
7695 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7696 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7697 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7698 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
7699 math_check_force_underflow_nonneg.
7700 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
7701 math_check_force_underflow.
7702 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7703 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
7704 instead of volatile.
7705 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
7706 math_check_force_underflow.
7707 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7708 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7709 math_check_force_underflow_nonneg.
7710 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
7711 math_check_force_underflow.
7712 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
7713 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7714 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
7715 math_check_force_underflow_nonneg.
7716 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7717 Likewise.
7718 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
7719 math_check_force_underflow.
7720 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7721 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7722 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7723 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
7724 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7725 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
7726 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7727 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7728 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7729 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
7730 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
7731 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7732 Likewise.
7733 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
7734 math_check_force_underflow_nonneg.
7735 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7736 Likewise.
7737 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
7738 math_check_force_underflow.
7739 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7740 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7741 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7742 Likewise.
7743 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7744 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
7745 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
7746 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
7747 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
7748 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7749 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
7750 instead of volatile.
7751 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
7752 math_check_force_underflow.
7753 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7754 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
7755 math_check_force_underflow.
7756 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
7757 Likewise.
7758 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7759 Use math_check_force_underflow_nonneg.
7760 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
7761 math_check_force_underflow.
7762 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7763 Likewise.
7764 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7765 Likewise.
7766 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7767 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7768 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7769 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7770 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
7771 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7772 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7773 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7774 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
7775 math_check_force_underflow_nonneg.
7776 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
7777 math_check_force_underflow.
7778 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7779 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7780 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
7781 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
7782 math_check_force_underflow_nonneg.
7783 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
7784 math_check_force_underflow.
7785 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7786 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
7787 instead of volatile.
7788 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
7789 math_check_force_underflow.
7790
7791 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
7792 * stdlib/strtod_l.c: Include <math_private.h>.
7793 (overflow_value): Use math_narrow_eval.
7794 (underflow_value): Likewise.
7795 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7796 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7797 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
7798 (__ieee754_gamma_r): Likewise.
7799 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
7800 Likewise.
7801 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7802 Likewise.
7803 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7804 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
7805 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7806 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7807 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7808 (__ieee754_gammaf_r): Likewise.
7809 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7810 Likewise.
7811 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7812 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
7813 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7814 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7815 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
7816 volatile.
7817 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7818 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
7819 math_narrow_eval.
7820 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7821 Likewise.
7822 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7823 Likewise.
7824 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
7825 Likewise.
7826 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
7827 volatile.
7828 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7829 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
7830 math_narrow_eval.
7831 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7832 Likewise.
7833 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7834 Likewise.
7835
7836 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
7837
7838 * nptl/Versions: Remove ignored symbols.
7839
7840 2015-09-22 Florian Weimer <fweimer@redhat.com>
7841
7842 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
7843 * nss/Makefile (tests): Update.
7844
7845 2015-09-22 Florian Weimer <fweimer@redhat.com>
7846
7847 * nss/bug18287.c: New file.
7848 * nss/Makefile (tests): Add bug18287.
7849
7850 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7851
7852 * mach/Versions (__mach_host_self_): Add symbol.
7853
7854 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
7855
7856 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
7857 vm_page_size.
7858
7859 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7860
7861 Really fix sysdeps/i386/fpu/s_scalbn.S build
7862
7863 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
7864 (libc: GLIBC_2_22): Remove unused version set.
7865
7866 2015-09-18 Mike Frysinger <vapier@gentoo.org>
7867
7868 * config.make.in (enable-timezone-tools): New variable.
7869 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
7870 (enable_timezone_tools): Export to generated files.
7871 * configure: Regenerate.
7872 * INSTALL: Regenerate.
7873 * manual/install.texi (--disable-timezone-tools): Document new flag.
7874 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
7875 ifeq ($(enable-timezone-tools),yes) check.
7876
7877 2015-09-18 Joseph Myers <joseph@codesourcery.com>
7878
7879 * timezone/Makefile: Revert previous change.
7880
7881 [BZ #18980]
7882 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
7883 (DEFINE_DBL_MIN): Likewise.
7884 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7885 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7886 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7887 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7888 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
7889 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7890 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7891 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
7892 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
7893 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7894 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7895 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
7896 (flt_min): Replace with use of DEFINE_FLT_MIN.
7897 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7898 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
7899 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7900 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7901 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
7902 (flt_min): Replace with use of DEFINE_FLT_MIN.
7903 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7904 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
7905 (flt_min): Replace with use of DEFINE_FLT_MIN.
7906 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7907 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
7908 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
7909 (__ieee754_hypot): Use DBL_NARROW_EVAL.
7910 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
7911 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
7912 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
7913 (__ieee754_pow): Use DBL_NARROW_EVAL.
7914 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
7915 (__ieee754_powf): Use FLT_NARROW_EVAL.
7916 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
7917 (__ieee754_expf_sse2): Convert double-precision result to single
7918 precision.
7919 * sysdeps/i386/fpu/libm-test-ulps: Update.
7920
7921 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7922
7923 * timezone/Makefile: Ignore unused variable errors due to private.h
7924 (time_t_min) and (time_t_max).
7925 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
7926 Likewise.
7927
7928 2015-09-18 Joseph Myers <joseph@codesourcery.com>
7929
7930 [BZ #18981]
7931 * sysdeps/i386/fpu/i386-math-asm.h: New file.
7932 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
7933 (__ieee754_scalb): Use DBL_NARROW_EVAL.
7934 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
7935 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
7936 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
7937 (__scalbn): Use DBL_NARROW_EVAL.
7938 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
7939 (__scalbnf): Use FLT_NARROW_EVAL.
7940
7941 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7942
7943 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
7944 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
7945 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
7946 * stdio-common/printf_fp.c (___printf_fp):
7947 Use signbit to get the sign. Use isinf macro to allow inlining.
7948 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
7949 * stdio-common/printf_size.c (__printf_size): Likewise.
7950
7951 2015-09-18 Mike Frysinger <vapier@gentoo.org>
7952
7953 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
7954
7955 2015-09-18 Joseph Myers <joseph@codesourcery.com>
7956
7957 [BZ #18980]
7958 * sysdeps/generic/math_private.h: Include <float.h>.
7959 (math_narrow_eval): New macro.
7960 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
7961 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
7962 math_narrow_eval on overflowing return value.
7963 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
7964 Likewise.
7965 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7966 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
7967 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
7968 Likewise.
7969 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7970
7971 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7972
7973 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
7974 * math/Makefile: Remove isinf_ns.c.
7975 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
7976 * math/multc3.c (__multc3): Likewise.
7977 * math/s_casin.c (__casin): Likewise.
7978 * math/s_casinf.c (__casinf): Likewise.
7979 * math/s_casinl.c (__casinl): Likewise.
7980 * math/s_cproj.c (__cproj): Likewise.
7981 * math/s_cprojf.c (__cprojf): Likewise.
7982 * math/s_cprojl.c (__cprofl): Likewise.
7983 * math/s_ctan.c (__ctan): Likewise.
7984 * math/s_ctanf.c (__ctanf): Likewise.
7985 * math/s_ctanh.c (__ctanh): Likewise.
7986 * math/s_ctanhf.c (__ctanhf): Likewise.
7987 * math/s_ctanhl.c (__ctanhl): Likewise.
7988 * math/s_ctanl.c (__ctanl): Likewise.
7989 * math/w_fmod.c (__fmod): Likewise.
7990 * math/w_fmodf.c (__fmodf): Likewise.
7991 * math/w_fmodl.c (_fmodl): Likewise.
7992 * math/w_remainder.c (__remainder): Likewise.
7993 * math/w_remainderf.c (__remainderf): Likewise.
7994 * math/w_remainderl.c (__remainderl): Likewise.
7995 * math/w_scalb.c (__scalb): Likewise.
7996 * math/w_scalbf.c (__scalbf): Likewise.
7997 * math/w_scalbl.c (__scalbl): Likewise.
7998 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
7999 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
8000 with isinf.
8001 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
8002 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
8003 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
8004 __isinf_nsf with isinf.
8005 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
8006 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
8007 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
8008 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
8009 with isinf.
8010 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
8011 __isinf_nsl with isinf.
8012 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
8013 with isinf.
8014 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
8015 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
8016 __isinf_nsl with isinf.
8017 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
8018 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
8019 with isinf.
8020
8021 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
8022
8023 * resolv/base64.c (rcsid): Remove unused static.
8024 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
8025 static. (tqpi1): Likewise.
8026 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
8027 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
8028 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
8029 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
8030 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
8031 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
8032 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
8033 * timezone/private.h (time_t_min): Likewise. (time_t_max):
8034 Likewise.
8035
8036 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
8037
8038 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
8039 <nptl/pthreadP.h>.
8040 (_longjmp_unwind): Use __libc_ptf_call.
8041 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
8042
8043 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
8044
8045 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
8046 * sysdeps/arm/__longjmp.S: Likewise.
8047
8048 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
8049
8050 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
8051 Use __builtin_signbit.
8052 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
8053 Use __builtin_signbitf.
8054 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
8055 Use __builtin_signbitl.
8056 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8057 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
8058
8059 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
8060
8061 [BZ #15367]
8062 [BZ #17441]
8063
8064 * math/Makefile: Build test-snan.c with -fsignaling-nans.
8065 * math/math.h (fpclassify): Use __builtin_fpclassify when
8066 available. (signbit): Use __builtin_signbit(f/l).
8067 (isfinite): Use__builtin_isfinite. (isnormal): Use
8068 __builtin_isnormal. (isnan): Use __builtin_isnan.
8069 (isinf): Use __builtin_isinf_sign.
8070
8071 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
8072
8073 * benchtests/Makefile: Add bench-math-inlines, link with libm.
8074 * benchtests/bench-math-inlines.c: New benchmark.
8075 * benchtests/bench-util.h: New file.
8076 * benchtests/bench-util.c: New file.
8077 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
8078
8079 2015-09-18 Carlos O'Donell <carlos@redhat.com>
8080
8081 * elf/tst-dlmopen1.c: Define TEST_SO.
8082 (do_test): Use TEST_SO.
8083
8084 * elf/dl-load.c: Include libc-internal.h.
8085 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
8086
8087 2015-09-18 Vincent Bernat <vincent@bernat.im>
8088
8089 [BZ #17887]
8090 * time/strptime_l.c (__strptime_internal): Make %z accept
8091 [+-]HH:MM time zones.
8092
8093 2015-09-18 Vincent Bernat <vincent@bernat.im>
8094
8095 [BZ #17886]
8096 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
8097 valid time zone.
8098
8099 2015-09-17 Mike Frysinger <vapier@gentoo.org>
8100
8101 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
8102 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
8103 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8104 (__ASSUME_FDATASYNC): Delete.
8105
8106 2015-09-17 Joseph Myers <joseph@codesourcery.com>
8107
8108 * conform/linknamespace.pl: Require weak undefined symbols to be
8109 in the standard namespace.
8110 (%strong_syms): Rename to %seen_syms.
8111 (%strong_seen): Rename to %seen_where.
8112
8113 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
8114
8115 [BZ #18970]
8116 * misc/error.c (error): Replace pthread_setcancelstate with
8117 __pthread_setcancelstate.
8118 (error_at_line): Likewise.
8119 * posix/wordexp.c (parse_comm): Likewise.
8120 * stdlib/fmtmsg.c (fmtmsg): Likewise.
8121 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
8122 (__pthread_setcancelstate): This.
8123 (pthread_setcancelstate): Add an alias.
8124 * nptl/nptl-init.c (pthread_functions): Replace
8125 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
8126 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
8127 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
8128 hidden_proto.
8129 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
8130 it with hidden_def.
8131 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
8132 (pthread_setcancelstate): Renamed to ...
8133 (__pthread_setcancelstate): This.
8134 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
8135 __libc_ptf_call with __pthread_setcancelstate.
8136
8137 2015-09-17 Joseph Myers <joseph@codesourcery.com>
8138 Andreas Schwab <schwab@suse.de>
8139
8140 [BZ #17118]
8141 * math/s_ctan.c (__ctan): Determine sign of zero real part of
8142 result when imaginary part of argument is infinite using sine and
8143 cosine.
8144 * math/s_ctanf.c (__ctanf): Likewise.
8145 * math/s_ctanl.c (__ctanl): Likewise.
8146 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
8147 of result when real part of argument is infinite using sine and
8148 cosine.
8149 * math/s_ctanhf.c (__ctanhf): Likewise.
8150 * math/s_ctanhl.c (__ctanhl): Likewise.
8151 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
8152 (ctanh_test_data): Add more tests of ctanh.
8153
8154 2015-09-17 Joseph Myers <joseph@codesourcery.com>
8155
8156 [BZ #15384]
8157 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
8158 bit-mask as in subtraction.
8159 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
8160 Likewise.
8161 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8162 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8163 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
8164
8165 [BZ #18951]
8166 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
8167 underflow exception for small results.
8168 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8169 Likewise.
8170 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8171 Likewise.
8172 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8173 Likewise.
8174 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8175 Likewise.
8176 * math/auto-libm-test-in: Add more tests of tgamma.
8177 * math/auto-libm-test-out: Regenerated.
8178
8179 2015-09-17 Andreas Schwab <schwab@suse.de>
8180
8181 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
8182
8183 2015-09-16 Joseph Myers <joseph@codesourcery.com>
8184
8185 [BZ #18977]
8186 * math/bits/mathcalls.h
8187 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
8188 not declare.
8189 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
8190 Likewise.
8191 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
8192 Likewise.
8193 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
8194 Likewise.
8195 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
8196 Likewise.
8197 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
8198 Likewise.
8199 * conform/data/math.h-data
8200 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
8201 function.
8202 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
8203 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
8204 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
8205 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
8206 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
8207 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
8208 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
8209 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
8210 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
8211 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
8212 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
8213
8214 [BZ #6803]
8215 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
8216 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
8217 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
8218 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
8219 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
8220 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
8221 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
8222 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
8223 [NO_LONG_DOUBLE] (scalbnl): Likewise.
8224 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
8225 Likewise.
8226 [NO_LONG_DOUBLE] (scalbnl): Likewise.
8227 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
8228 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
8229 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
8230 long_double_symbol calls.
8231 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
8232 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
8233 strong alias of __ldexpl.
8234 (scalbnl): Define using long_double_symbol.
8235 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
8236 Remove alias.
8237 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
8238 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
8239 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
8240 (scalbln_test_data): Add more errno expectations.
8241
8242 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
8243
8244 Cache the host port like we cache the task port. This way we do not
8245 need to call the kernel just to get the port. Furthermore, we no
8246 longer increase the reference count on every invocation of
8247 `mach_host_self'.
8248
8249 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
8250 Protect declarations against the macro expansion.
8251 * mach/mach_init.c (__mach_host_self_): New variable.
8252 (mach_init): Initialize `__mach_host_self_'.
8253 * mach/mach_init.h (__mach_host_self_): New declaration.
8254 (__mach_host_self, mach_host_self): New macros.
8255 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
8256 Release reference.
8257
8258 2015-09-16 Joseph Myers <joseph@codesourcery.com>
8259
8260 [BZ #4404]
8261 * po/de.po: Update from Translation Project.
8262
8263 [BZ #16415]
8264 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
8265 (__expm1l): Remove code to handle positive infinity and overflow.
8266 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
8267 variable.
8268 (__expm1l): Remove code to handle positive infinity and overflow.
8269
8270 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
8271 Paul Pluzhnikov <ppluzhnikov@google.com>
8272
8273 [BZ #18872]
8274 * stdio-common/Makefile (tst-printf-bz18872): New test.
8275 (tst-printf-bz18872-mem.out): Likewise.
8276 * stdio-common/tst-printf-bz18872.sh: Generate new test.
8277 * stdio-common/vfprintf.c: Fix memory leaks.
8278
8279 2015-09-16 Andreas Schwab <schwab@suse.de>
8280
8281 [BZ #17244]
8282 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
8283 Remove extra va_start/va_end calls.
8284
8285 [BZ #17243]
8286 * posix/execl.c (execl): Add missing va_end.
8287 * posix/execle.c (execle): Likewise.
8288 * posix/execlp.c (execlp): Likewise.
8289
8290 2015-09-15 Roland McGrath <roland@hack.frob.com>
8291
8292 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
8293 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
8294
8295 2015-09-15 Joseph Myers <joseph@codesourcery.com>
8296
8297 [BZ #18967]
8298 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
8299 undefine around includes of <bits/mathcalls.h>.
8300 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
8301 not declare function.
8302 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
8303 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
8304 (scalb): Likewise.
8305 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
8306 not define macro.
8307 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
8308 variable.
8309 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8310 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8311 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8312
8313 [BZ #18857]
8314 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
8315 return non-finite argument without doing ordered comparisons on
8316 it.
8317
8318 [BZ #16296]
8319 * math/fenv.h (fegetround): Use __attribute_pure__.
8320 * include/fenv.h (__fegetround): Likewise.
8321
8322 [BZ #18595]
8323 * math/s_ctan.c (__ctan): Force underflow exception for results
8324 whose real or imaginary part has small absolute value.
8325 * math/s_ctanf.c (__ctanf): Likewise.
8326 * math/s_ctanh.c (__ctanh): Likewise.
8327 * math/s_ctanhf.c (__ctanhf): Likewise.
8328 * math/s_ctanhl.c (__ctanhl): Likewise.
8329 * math/s_ctanl.c (__ctanl): Likewise.
8330 * math/auto-libm-test-in: Do not allow missing underflow for ctan
8331 and ctanh. Add more tests of ctan and ctanh.
8332
8333 [BZ #15918]
8334 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
8335 handling of cases where one argument is an infinity.
8336
8337 [BZ #18875]
8338 [BZ #18966]
8339 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
8340 (MO): New macro.
8341 (__ieee754_exp10): For small results, force underflow exception
8342 and remove excess range and precision from return value.
8343 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
8344 (MO): New macro.
8345 (__ieee754_exp10f): For small results, force underflow exception
8346 and remove excess range and precision from return value.
8347 * math/auto-libm-test-in: Add more tests of exp10.
8348 * math/auto-libm-test-out: Regenerated.
8349
8350 2015-09-14 Joseph Myers <joseph@codesourcery.com>
8351
8352 [BZ #18875]
8353 [BZ #18961]
8354 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
8355 (MO): New macro.
8356 (__ieee754_exp): For small results, force underflow exception and
8357 remove excess range and precision from return value.
8358 (__exp_finite): Likewise.
8359 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
8360 (MO): New macro.
8361 (__ieee754_expf): For small results, force underflow exception and
8362 remove excess range and precision from return value.
8363 (__expf_finite): Likewise.
8364 * math/auto-libm-test-in: Add more tests of exp.
8365 * math/auto-libm-test-out: Regenerated.
8366
8367 [BZ #16521]
8368 [BZ #18875]
8369 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
8370 small results.
8371 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
8372 (MO): New macro.
8373 (__ieee754_exp2): For small results, force underflow exception and
8374 remove excess range and precision from return value.
8375 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
8376 (MO): New macro.
8377 (__ieee754_exp2f): For small results, force underflow exception
8378 and remove excess range and precision from return value.
8379 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
8380 (MO): New macro.
8381 (__ieee754_exp2l): Force underflow exception for small results.
8382 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8383 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8384 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
8385 (MO): New macro.
8386 (__ieee754_exp2l): Force underflow exception for small results.
8387 * math/auto-libm-test-in: Add more tests or exp2.
8388 * math/auto-libm-test-out: Regenerated.
8389
8390 2015-09-14 Carlos O'Donell <carlos@redhat.com>
8391
8392 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
8393
8394 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
8395 /dev/null.
8396
8397 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
8398
8399 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8400 io fs process)): Drop spurious backslash.
8401
8402 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8403
8404 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
8405 Use sysinfo system call instead of parsing /proc/meminfo.
8406 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
8407 Likewise.
8408
8409 2015-09-11 Mike Frysinger <vapier@gentoo.org>
8410
8411 [BZ #16985]
8412 * programs/localedef.c (main): Display argv[remaining] when
8413 output_path is NULL.
8414
8415 2015-09-11 Joseph Myers <joseph@codesourcery.com>
8416
8417 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8418 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
8419 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
8420 tanh.
8421 * math/auto-libm-test-out: Regenerated.
8422 * sysdeps/i386/fpu/libm-test-ulps: Update.
8423 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8424 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8426
8427 2015-09-11 Roland McGrath <roland@hack.frob.com>
8428
8429 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
8430 Use 'override' keyword to freeze the value here, preventing
8431 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
8432
8433 2015-09-11 Joseph Myers <joseph@codesourcery.com>
8434
8435 [BZ #14912]
8436 * sysdeps/aarch64/bits/atomic.h: Move to ...
8437 * sysdeps/aarch64/atomic-machine.h: ...here.
8438 (_AARCH64_BITS_ATOMIC_H): Rename macro to
8439 _AARCH64_ATOMIC_MACHINE_H.
8440 * sysdeps/alpha/bits/atomic.h: Move to ...
8441 * sysdeps/alpha/atomic-machine.h: ...here.
8442 * sysdeps/arm/bits/atomic.h: Move to ...
8443 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
8444 * bits/atomic.h: Move to ...
8445 * sysdeps/generic/atomic-machine.h: ...here.
8446 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8447 * sysdeps/i386/bits/atomic.h: Move to ...
8448 * sysdeps/i386/atomic-machine.h: ...here.
8449 * sysdeps/ia64/bits/atomic.h: Move to ...
8450 * sysdeps/ia64/atomic-machine.h: ...here.
8451 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
8452 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
8453 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8454 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
8455 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
8456 * sysdeps/microblaze/bits/atomic.h: Move to ...
8457 * sysdeps/microblaze/atomic-machine.h: ...here.
8458 * sysdeps/mips/bits/atomic.h: Move to ...
8459 * sysdeps/mips/atomic-machine.h: ...here.
8460 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
8461 * sysdeps/powerpc/bits/atomic.h: Move to ...
8462 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
8463 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
8464 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
8465 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
8466 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
8467 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
8468 <atomic-machine.h> instead of <bits/atomic.h>.
8469 * sysdeps/s390/bits/atomic.h: Move to ...
8470 * sysdeps/s390/atomic-machine.h: ...here.
8471 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
8472 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
8473 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8474 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
8475 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
8476 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
8477 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
8478 * sysdeps/tile/bits/atomic.h: Move to ...
8479 * sysdeps/tile/atomic-machine.h: ...here.
8480 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
8481 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
8482 <sysdeps/tile/atomic-machine.h> instead of
8483 <sysdeps/tile/bits/atomic.h>.
8484 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8485 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
8486 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
8487 <sysdeps/tile/atomic-machine.h> instead of
8488 <sysdeps/tile/bits/atomic.h>.
8489 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8490 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
8491 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
8492 <sysdeps/arm/atomic-machine.h> instead of
8493 <sysdeps/arm/bits/atomic.h>.
8494 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
8495 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
8496 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8497 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
8498 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
8499 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8500 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
8501 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
8502 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
8503 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
8504 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
8505 * sysdeps/x86_64/bits/atomic.h: Move to ...
8506 * sysdeps/x86_64/atomic-machine.h: ...here.
8507 * include/atomic.h: Include <atomic-machine.h> instead of
8508 <bits/atomic.h>.
8509
8510 * sysdeps/mips/mips32/libm-test-ulps: Update.
8511 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8512
8513 [BZ #18952]
8514 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
8515 not convert non-integer negative arguments to int to determine the
8516 value of signgam.
8517 * math/auto-libm-test-in: Add more tests of lgamma.
8518 * math/auto-libm-test-out: Regenerated.
8519
8520 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
8521 cosh, csqrt, erfc, expm1 and lgamma.
8522 * math/auto-libm-test-out: Regenerated.
8523 * sysdeps/i386/fpu/libm-test-ulps: Update.
8524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8525
8526 2015-09-10 Joseph Myers <joseph@codesourcery.com>
8527
8528 [BZ #2542]
8529 [BZ #2543]
8530 [BZ #2558]
8531 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
8532 __lgamma_neg for arguments from -28.0 to -2.0.
8533 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
8534 __lgamma_negf for arguments from -15.0 to -2.0.
8535 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8536 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
8537 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
8538 Call __lgamma_negl for arguments from -33.0 to -2.0.
8539 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
8540 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
8541 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8542 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
8543 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8544 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8545 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8546 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
8547 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8548 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
8549 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
8550 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
8551 (__lgamma_neg): Likewise.
8552 (__lgamma_negl): Likewise.
8553 (__lgamma_product): Likewise.
8554 (__lgamma_productl): Likewise.
8555 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
8556 * math/auto-libm-test-in: Add more tests of lgamma.
8557 * math/auto-libm-test-out: Regenerated.
8558 * sysdeps/i386/fpu/libm-test-ulps: Update.
8559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8560
8561 2015-09-09 Justin Maggard <jmaggard@netgear.com>
8562
8563 [BZ #18675]
8564 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
8565
8566 2015-09-08 Joseph Myers <joseph@codesourcery.com>
8567
8568 [BZ #14912]
8569 * bits/libc-lock.h: Move to ...
8570 * sysdeps/generic/libc-lock.h: ...here.
8571 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8572 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
8573 * sysdeps/mach/hurd/libc-lock.h: ...here.
8574 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8575 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
8576 * sysdeps/mach/bits/libc-lock.h: Move to ...
8577 * sysdeps/mach/libc-lock.h: ...here.
8578 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8579 * sysdeps/nptl/bits/libc-lock.h: Move to ...
8580 * sysdeps/nptl/libc-lock.h: ...here.
8581 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8582 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
8583 * sysdeps/nptl/libc-lockP.h: ...here.
8584 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
8585 * crypt/crypt_util.c: Include <libc-lock.h> instead of
8586 <bits/libc-lock.h>.
8587 * dirent/scandir-tail.c: Likewise.
8588 * dlfcn/dlerror.c: Likewise.
8589 * elf/dl-close.c: Likewise.
8590 * elf/dl-iteratephdr.c: Likewise.
8591 * elf/dl-lookup.c: Likewise.
8592 * elf/dl-open.c: Likewise.
8593 * elf/dl-support.c: Likewise.
8594 * elf/dl-writev.h: Likewise.
8595 * elf/rtld.c: Likewise.
8596 * grp/fgetgrent.c: Likewise.
8597 * gshadow/fgetsgent.c: Likewise.
8598 * gshadow/sgetsgent.c: Likewise.
8599 * iconv/gconv_conf.c: Likewise.
8600 * iconv/gconv_db.c: Likewise.
8601 * iconv/gconv_dl.c: Likewise.
8602 * iconv/gconv_int.h: Likewise.
8603 * iconv/gconv_trans.c: Likewise.
8604 * include/link.h: Likewise.
8605 * inet/getnameinfo.c: Likewise.
8606 * inet/getnetgrent.c: Likewise.
8607 * inet/getnetgrent_r.c: Likewise.
8608 * intl/bindtextdom.c: Likewise.
8609 * intl/dcigettext.c: Likewise.
8610 * intl/finddomain.c: Likewise.
8611 * intl/gettextP.h: Likewise.
8612 * intl/loadmsgcat.c: Likewise.
8613 * intl/localealias.c: Likewise.
8614 * intl/textdomain.c: Likewise.
8615 * libidn/idn-stub.c: Likewise.
8616 * libio/libioP.h: Likewise.
8617 * locale/duplocale.c: Likewise.
8618 * locale/freelocale.c: Likewise.
8619 * locale/newlocale.c: Likewise.
8620 * locale/setlocale.c: Likewise.
8621 * login/getutent_r.c: Likewise.
8622 * login/getutid_r.c: Likewise.
8623 * login/getutline_r.c: Likewise.
8624 * login/utmp-private.h: Likewise.
8625 * login/utmpname.c: Likewise.
8626 * malloc/mtrace.c: Likewise.
8627 * misc/efgcvt.c: Likewise.
8628 * misc/error.c: Likewise.
8629 * misc/fstab.c: Likewise.
8630 * misc/getpass.c: Likewise.
8631 * misc/mntent.c: Likewise.
8632 * misc/syslog.c: Likewise.
8633 * nis/nis_call.c: Likewise.
8634 * nis/nis_callback.c: Likewise.
8635 * nis/nss-default.c: Likewise.
8636 * nis/nss_compat/compat-grp.c: Likewise.
8637 * nis/nss_compat/compat-initgroups.c: Likewise.
8638 * nis/nss_compat/compat-pwd.c: Likewise.
8639 * nis/nss_compat/compat-spwd.c: Likewise.
8640 * nis/nss_nis/nis-alias.c: Likewise.
8641 * nis/nss_nis/nis-ethers.c: Likewise.
8642 * nis/nss_nis/nis-grp.c: Likewise.
8643 * nis/nss_nis/nis-hosts.c: Likewise.
8644 * nis/nss_nis/nis-network.c: Likewise.
8645 * nis/nss_nis/nis-proto.c: Likewise.
8646 * nis/nss_nis/nis-pwd.c: Likewise.
8647 * nis/nss_nis/nis-rpc.c: Likewise.
8648 * nis/nss_nis/nis-service.c: Likewise.
8649 * nis/nss_nis/nis-spwd.c: Likewise.
8650 * nis/nss_nisplus/nisplus-alias.c: Likewise.
8651 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8652 * nis/nss_nisplus/nisplus-grp.c: Likewise.
8653 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8654 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
8655 * nis/nss_nisplus/nisplus-network.c: Likewise.
8656 * nis/nss_nisplus/nisplus-proto.c: Likewise.
8657 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8658 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8659 * nis/nss_nisplus/nisplus-service.c: Likewise.
8660 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8661 * nis/ypclnt.c: Likewise.
8662 * nptl/libc_pthread_init.c: Likewise.
8663 * nss/getXXbyYY.c: Likewise.
8664 * nss/getXXent.c: Likewise.
8665 * nss/getXXent_r.c: Likewise.
8666 * nss/nss_db/db-XXX.c: Likewise.
8667 * nss/nss_db/db-netgrp.c: Likewise.
8668 * nss/nss_db/nss_db.h: Likewise.
8669 * nss/nss_files/files-XXX.c: Likewise.
8670 * nss/nss_files/files-alias.c: Likewise.
8671 * nss/nsswitch.c: Likewise.
8672 * posix/regex_internal.h: Likewise.
8673 * posix/wordexp.c: Likewise.
8674 * pwd/fgetpwent.c: Likewise.
8675 * resolv/res_hconf.c: Likewise.
8676 * resolv/res_libc.c: Likewise.
8677 * shadow/fgetspent.c: Likewise.
8678 * shadow/lckpwdf.c: Likewise.
8679 * shadow/sgetspent.c: Likewise.
8680 * socket/opensock.c: Likewise.
8681 * stdio-common/reg-modifier.c: Likewise.
8682 * stdio-common/reg-printf.c: Likewise.
8683 * stdio-common/reg-type.c: Likewise.
8684 * stdio-common/vfprintf.c: Likewise.
8685 * stdio-common/vfscanf.c: Likewise.
8686 * stdlib/abort.c: Likewise.
8687 * stdlib/cxa_atexit.c: Likewise.
8688 * stdlib/fmtmsg.c: Likewise.
8689 * stdlib/random.c: Likewise.
8690 * stdlib/setenv.c: Likewise.
8691 * string/strsignal.c: Likewise.
8692 * sunrpc/auth_none.c: Likewise.
8693 * sunrpc/bindrsvprt.c: Likewise.
8694 * sunrpc/create_xid.c: Likewise.
8695 * sunrpc/key_call.c: Likewise.
8696 * sunrpc/rpc_thread.c: Likewise.
8697 * sysdeps/arm/backtrace.c: Likewise.
8698 * sysdeps/generic/ldsodefs.h: Likewise.
8699 * sysdeps/generic/stdio-lock.h: Likewise.
8700 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
8701 * sysdeps/i386/backtrace.c: Likewise.
8702 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8703 * sysdeps/m68k/backtrace.c: Likewise.
8704 * sysdeps/mach/hurd/cthreads.c: Likewise.
8705 * sysdeps/mach/hurd/dirstream.h: Likewise.
8706 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8707 * sysdeps/nptl/malloc-machine.h: Likewise.
8708 * sysdeps/nptl/stdio-lock.h: Likewise.
8709 * sysdeps/posix/dirstream.h: Likewise.
8710 * sysdeps/posix/getaddrinfo.c: Likewise.
8711 * sysdeps/posix/system.c: Likewise.
8712 * sysdeps/pthread/aio_suspend.c: Likewise.
8713 * sysdeps/s390/s390-32/backtrace.c: Likewise.
8714 * sysdeps/s390/s390-64/backtrace.c: Likewise.
8715 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8716 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8717 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
8718 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
8719 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
8720 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8721 * sysdeps/unix/sysv/linux/system.c: Likewise.
8722 * sysdeps/x86_64/backtrace.c: Likewise.
8723 * time/alt_digit.c: Likewise.
8724 * time/era.c: Likewise.
8725 * time/tzset.c: Likewise.
8726 * wcsmbs/wcsmbsload.c: Likewise.
8727 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
8728 instead of <bits/libc-lock.h> in comment.
8729
8730 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
8731
8732 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
8733 Only use .set mips2 if the current ISA is below mips2.
8734 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
8735 Likewise.
8736 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
8737 mips32r2 if the current ISA is below mips32r2.
8738 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
8739 (TLS_IE): Updated to use the TLD_RDHWR macro.
8740 (TLS_LE): Likewise.
8741 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
8742 __ASSEMBLER__ condition.
8743
8744 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8745
8746 Fix parallel build of before-compile targets.
8747
8748 * sysdeps/mach/Makefile ($(patsubst
8749 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
8750 mach-before-compile target.
8751 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8752 io fs process)): Move rule to dedicated hurd-before-compile target.
8753
8754 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8755
8756 Fix rules generating headers in hurd/ and mach/ when initial make call
8757 has subdir= explicitly set.
8758
8759 * sysdeps/mach/Makefile ($(patsubst
8760 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
8761 calling $(MAKE).
8762 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8763 io fs process)): Force subdir to hurd when calling $(MAKE).
8764 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
8765 subdir to mach when calling $(MAKE).
8766
8767 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
8768
8769 Check sysheaders when looking for Mach and Hurd headers
8770
8771 * sysdeps/mach/configure.ac: Add sysheaders check.
8772 * sysdeps/mach/configure: Regenerate.
8773 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
8774 * sysdeps/mach/hurd/configure: Regenerate.
8775
8776 2015-09-04 Roland McGrath <roland@hack.frob.com>
8777
8778 [BZ #18921]
8779 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
8780 Fix inverted sense of test of 'o_directory_works' value.
8781 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
8782 Bernhard Voelker <mail@bernhard-voelker.de>.
8783
8784 2015-09-04 Joseph Myers <joseph@codesourcery.com>
8785
8786 [BZ #14912]
8787 * bits/linkmap.h: Move to ...
8788 * sysdeps/generic/linkmap.h: ...here.
8789 * sysdeps/aarch64/bits/linkmap.h: Move to ...
8790 * sysdeps/aarch64/linkmap.h: ...here.
8791 * sysdeps/arm/bits/linkmap.h: Move to ...
8792 * sysdeps/arm/linkmap.h: ...here.
8793 * sysdeps/hppa/bits/linkmap.h: Move to ...
8794 * sysdeps/hppa/linkmap.h: ...here.
8795 * sysdeps/ia64/bits/linkmap.h: Move to ...
8796 * sysdeps/ia64/linkmap.h: ...here.
8797 * sysdeps/mips/bits/linkmap.h: Move to ...
8798 * sysdeps/mips/linkmap.h: ...here.
8799 * sysdeps/s390/bits/linkmap.h: Move to ...
8800 * sysdeps/s390/linkmap.h: ...here.
8801 * sysdeps/sh/bits/linkmap.h: Move to ...
8802 * sysdeps/sh/linkmap.h: ...here.
8803 * sysdeps/x86/bits/linkmap.h: Move to ...
8804 * sysdeps/x86/linkmap.h: ...here.
8805 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
8806
8807 2015-09-04 Andreas Schwab <schwab@suse.de>
8808
8809 [BZ #18635]
8810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
8811 (__makecontext): Terminate FDE before return label.
8812 (__novec_makecontext): Likewise.
8813
8814 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8815
8816 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
8817 first member of struct sv in syscall macro.
8818
8819 2015-09-04 Joseph Myers <joseph@codesourcery.com>
8820
8821 [BZ #14912]
8822 * bits/stdio-lock.h: Move to ...
8823 * sysdeps/generic/stdio-lock.h: ...here.
8824 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8825 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
8826 * sysdeps/nptl/stdio-lock.h: ...here.
8827 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8828 * include/libio.h: Include <stdio-lock.h> instead of
8829 <bits/stdio-lock.h>.
8830 * sysdeps/nptl/fork.c: Likewise.
8831 * sysdeps/pthread/flockfile.c: Likewise.
8832 * sysdeps/pthread/ftrylockfile.c: Likewise.
8833 * sysdeps/pthread/funlockfile.c: Likewise.
8834
8835 [BZ #14912]
8836 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
8837 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
8838 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
8839 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
8840 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
8841 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8842 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
8843
8844 2015-09-03 Roland McGrath <roland@hack.frob.com>
8845
8846 * elf/Makefile (test-xfail-tst-protected1a): New variable.
8847 (test-xfail-tst-protected1b): New variable.
8848
8849 2015-09-03 Joseph Myers <joseph@codesourcery.com>
8850
8851 [BZ #14912]
8852 * bits/libc-tsd.h: Move to ...
8853 * sysdeps/generic/libc-tsd.h: ...here.
8854 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
8855 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
8856 * sysdeps/mach/hurd/libc-tsd.h: ...here.
8857 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
8858 * include/ctype.h: Include <libc-tsd.h> instead of
8859 <bits/libc-tsd.h>.
8860 * include/rpc/rpc.h: Likewise.
8861 * locale/localeinfo.h: Likewise.
8862 * sunrpc/rpc_thread.c: Likewise.
8863 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8864 * sysdeps/nptl/malloc-machine.h: Likewise.
8865
8866 * Makefile (headers): Remove bits/libc-lock.h.
8867 * libio/Makefile (headers): Remove bits/stdio-lock.h.
8868
8869 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
8870 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
8871 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
8872 <bits/stdio-lock.h>.
8873 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
8874 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
8875
8876 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8877
8878 [BZ #18757]
8879 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
8880 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
8881 BZ #18757.
8882
8883 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8884
8885 * malloc/mtrace.pl: Filter out NULL entries.
8886
8887 2015-09-01 Joseph Myers <joseph@codesourcery.com>
8888
8889 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
8890 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
8891 macro.
8892
8893 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
8894 (TCP_CC_INFO): Likewise.
8895 (TCP_SAVE_SYN): Likewise.
8896 (TCP_SAVED_SYN): Likewise.
8897
8898 2015-08-31 Brett Neumeier <brett@neumeier.us>
8899
8900 [BZ #18870]
8901 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
8902
8903 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
8904
8905 [BZ #18873]
8906 Fix broken overflow check in posix_fallocate
8907 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
8908 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8909 Fix parenthesization typo.
8910
8911 2015-08-28 Mike Frysinger <vapier@gentoo.org>
8912
8913 [BZ #18887]
8914 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
8915 tst-mntent-blank-passno.
8916 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
8917 * misc/tst-mntent-blank-corrupt.c: New test.
8918 * misc/tst-mntent-blank-passno.c: New test ripped from ...
8919 * misc/tst-mntent.c (do_test): ... here.
8920
8921 2015-08-29 Mike Frysinger <vapier@gentoo.org>
8922
8923 [BZ #4404]
8924 * po/de.po: Fix SIGALRM typo.
8925
8926 2015-08-28 James Perkins <james@loowit.net>
8927
8928 * time/tst-strptime2.c (tests): Replace short list of test
8929 strings for strptime %z specifier with code which exhaustively
8930 tests every combination of sign and 0 to 5 digits. Tests for
8931 rejection of invalid strings.
8932
8933 2015-08-28 James Perkins <james@loowit.net>
8934
8935 [BZ #16141]
8936 * time/strptime_l.c (__strptime_internal): Fix %z minutes
8937 calculation, removing incorrect decimal time rounding, so that
8938 all minute values result in a valid seconds value.
8939 * time/strptime_l.c (__strptime_internal): Extend %z time zone
8940 offset range limits to UTC-99:59 through UTC+99:59 to parse
8941 current and historical use cases.
8942 * time/tst-strptime2.c (tests): Modify and add tests for the
8943 strptime %z input field descriptor, specifically conversion of
8944 minutes to seconds and validating an offset range of -9959 to
8945 +9959.
8946
8947 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8948 Dmitry V. Levin <ldv@altlinux.org>
8949
8950 [BZ #18877]
8951 * posix/Makefile (tests): Add tst-mmap-offset.
8952 * posix/tst-mmap.c: New file.
8953 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
8954 offset calculation for negative values.
8955
8956 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8957
8958 * sysdeps/i386/init-arch.h: New file.
8959 * sysdeps/i386/i586/init-arch.h: Likewise.
8960 * sysdeps/i386/i686/init-arch.h: Likewise.
8961 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
8962 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
8963 * sysdeps/x86/cpu-features.h (bit_I586): New.
8964 (bit_I686): Likewise.
8965 (bit_CX8): Likewise.
8966 (bit_CMOV): Likewise.
8967 (index_CX8): Likewise.
8968 (index_CMOV): Likewise.
8969 (index_I586): Likewise.
8970 (index_I686): Likewise.
8971 (reg_CX8): Likewise.
8972 (reg_CMOV): Likewise.
8973 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
8974 available at compile-time.
8975 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
8976 available at compile-time.
8977 * sysdeps/x86/init-arch.h (USE_I586): New macro.
8978 (USE_I686): Likewise.
8979
8980 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8981
8982 * sysdeps/i386/bcopy.S: New file.
8983 * sysdeps/i386/bzero.S: Likewise.
8984 * sysdeps/i386/memcpy.S: Likewise.
8985 * sysdeps/i386/memmove.S: Likewise.
8986 * sysdeps/i386/mempcpy.S: Likewise.
8987 * sysdeps/i386/memset.S: Likewise.
8988 * sysdeps/i386/bzero.c: Removed.
8989 * sysdeps/i386/memset.c: Likewise.
8990 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
8991 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
8992 * sysdeps/i386/i586/memset_chk.S: Likewise.
8993 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
8994 * sysdeps/i386/memcpy_chk.S: Here.
8995 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
8996 * sysdeps/i386/memmove_chk.S: Here.
8997 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
8998 * sysdeps/i386/mempcpy_chk.S: Likewise.
8999 * sysdeps/i386/i686/memset_chk.S: Moved to ...
9000 * sysdeps/i386/memset_chk.S: Likewise.
9001
9002 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
9003
9004 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
9005 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
9006 file, move DIAG_POP_NEEDS_COMMENT to end of file.
9007 * soft-fp/fmadf4.c: Ditto.
9008 * soft-fp/fmatf4.c: Ditto.
9009
9010 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9011
9012 * sysdeps/i386/i586/Implies: Removed.
9013 * sysdeps/i386/i686/Implies: Likewise.
9014
9015 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9016
9017 * sysdeps/i386/i486/strlen.S: Moved to ...
9018 * sysdeps/i386/strlen.S: Here.
9019
9020 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9021
9022 * sysdeps/i386/i486/strcat.S: Moved to ...
9023 * sysdeps/i386/strcat.S: Here.
9024
9025 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9026
9027 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
9028 * sysdeps/i386/pthread_spin_trylock.S: Here.
9029 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
9030 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
9031
9032 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9033
9034 * sysdeps/i386/i486/string-inlines.c: Moved to ...
9035 * sysdeps/i386/string-inlines.c: Here.
9036
9037 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9038
9039 * sysdeps/i386/i486/htonl.S: Moved ...
9040 * sysdeps/i386/htonl.S: here.
9041
9042 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9043
9044 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
9045 * sysdeps/i386/bits/atomic.h: Here.
9046
9047 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
9048
9049 * sysdeps/i386/i486/Versions: Removed.
9050
9051 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
9052
9053 [BZ #2898]
9054 * misc/mktemp.c: Add mkdtemp to the link_warning message.
9055 Based on patch by Aurelien Jarno.
9056
9057 2015-08-26 Stan Shebs <stanshebs@google.com>
9058
9059 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
9060 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9061
9062 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9063
9064 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
9065 * sysdeps/powerpc/dl-procinfo.c:
9066 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
9067 feature so it shows when LD_SHOW_AUXV=1.
9068
9069 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9070
9071 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9072 (__arch_compare_and_exchange_val_32_acq): Remove and use common
9073 definition. ISA 2.07B no longer requires full sync.
9074
9075 2015-08-26 Mike Frysinger <vapier@gentoo.org>
9076
9077 [BZ #18863]
9078 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
9079 (si_call_addr): Define.
9080 (si_syscall): Define.
9081 (si_arch): Define.
9082
9083 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
9084
9085 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
9086 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
9087 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
9088 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9089 (__memset_zero_constant_len_parameter): New.
9090 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
9091 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9092 (__memset_zero_constant_len_parameter): Don't define if
9093 __memset_chk or USE_AS_BZERO are defined.
9094
9095 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
9096 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
9097 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
9098
9099 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
9100 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
9101 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
9102 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
9103 comments.
9104 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
9105 -mno-mmx for $(all-rtld-routines).
9106 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
9107 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
9108 i386.
9109
9110 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9111
9112 * sysdeps/generic/unwind.h
9113 (_Unwind_Word): Use __mode__(__unwind_word__)
9114 instead of __mode__(__word__).
9115 (_Unwind_Sword): Likewise.
9116
9117 * sysdeps/s390/s390-64/utf8-utf16-z9.c
9118 (MAX_NEEDED_INPUT): New define.
9119 (MAX_NEEDED_OUTPUT): New define.
9120
9121 * NEWS: New item for IBM z13 string optimizations.
9122
9123 * sysdeps/s390/multiarch/memrchr-c.c: New File.
9124 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
9125 * sysdeps/s390/multiarch/memrchr.c: Likewise.
9126 * sysdeps/s390/multiarch/Makefile
9127 (sysdep_routines): Add memrchr functions.
9128 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9129 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
9130
9131 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
9132 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
9133 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
9134 * sysdeps/s390/multiarch/Makefile
9135 (sysdep_routines): Add wmemcmp functions.
9136 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9137 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
9138 * benchtests/bench-wmemcmp.c: New File.
9139 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
9140
9141 * sysdeps/s390/multiarch/wmemset-c.c: New File.
9142 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
9143 * sysdeps/s390/multiarch/wmemset.c: Likewise.
9144 * sysdeps/s390/multiarch/Makefile
9145 (sysdep_routines): Add wmemset functions.
9146 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9147 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
9148 * wcsmbs/wmemset.c: Use WMEMSET if defined.
9149 * string/test-memset.c: Add wmemset support.
9150 * wcsmbs/test-wmemset.c: New File.
9151 * wcsmbs/Makefile (strop-tests): Add wmemset.
9152 * benchtests/bench-memset.c: Add wmemset support.
9153 * benchtests/bench-wmemset.c: New File.
9154 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
9155
9156 * sysdeps/s390/multiarch/memccpy-c.c: New File.
9157 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
9158 * sysdeps/s390/multiarch/memccpy.c: Likewise.
9159 * sysdeps/s390/multiarch/Makefile
9160 (sysdep_routines): Add memccpy functions.
9161 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9162 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
9163 * string/memccpy.c: Use MEMCCPY if defined.
9164
9165 * sysdeps/s390/multiarch/memchr-vx.S: New File.
9166 * sysdeps/s390/multiarch/memchr.c: Likewise.
9167 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
9168 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
9169 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9170 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
9171 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
9172 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9173 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
9174 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9175 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
9176 and rawmemchr functions.
9177 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9178 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
9179 and wmemchr.
9180 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
9181 * string/test-memchr.c: Add wmemchr support.
9182 * wcsmbs/test-wmemchr.c: New File.
9183 * wcsmbs/Makefile (strop-tests): Add wmemchr.
9184 * benchtests/bench-memchr.c: Add wmemchr support.
9185 * benchtests/bench-wmemchr.c: New File.
9186 * benchtests/Makefile (wcsmbs-bench): wmemchr.
9187
9188 * sysdeps/s390/multiarch/strcspn-c.c: New File.
9189 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
9190 * sysdeps/s390/multiarch/strcspn.c: Likewise.
9191 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
9192 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
9193 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
9194 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
9195 wcscspn functions.
9196 * sysdeps/s390/multiarch/ifunc-impl-list.c
9197 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
9198 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
9199 * string/test-strcspn.c: Add wcscspn support.
9200 * wcsmbs/test-wcscspn.c: New File.
9201 * wcsmbs/Makefile (strop-tests): Add wcscspn.
9202 * benchtests/bench-strcspn.c: Add wcscspn support.
9203 * benchtests/bench-wcscspn.c: New File.
9204 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
9205
9206 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
9207 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
9208 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9209 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
9210 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
9211 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9212 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
9213 wcspbrk functions.
9214 * sysdeps/s390/multiarch/ifunc-impl-list.c
9215 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
9216 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
9217 * string/test-strpbrk.c: Add wcspbrk support.
9218 * wcsmbs/test-wcspbrk.c: New File.
9219 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
9220 * benchtests/bench-strpbrk.c: Add wcspbrk support.
9221 * benchtests/bench-wcspbrk.c: New File.
9222 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
9223
9224 * sysdeps/s390/multiarch/strspn-c.c: New File.
9225 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
9226 * sysdeps/s390/multiarch/strspn.c: Likewise.
9227 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
9228 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
9229 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9230 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
9231 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
9232 wcsspn functions.
9233 * sysdeps/s390/multiarch/ifunc-impl-list.c
9234 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
9235 * string/test-strspn.c: Add wcsspn support.
9236 * wcsmbs/test-wcsspn.c: New File.
9237 * wcsmbs/Makefile (strop-tests): Add wcsspn.
9238 * benchtests/bench-strspn.c: Add wcsspn support.
9239 * benchtests/bench-wcsspn.c: New File.
9240 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
9241
9242 * sysdeps/s390/multiarch/strrchr-c.c: New File.
9243 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
9244 * sysdeps/s390/multiarch/strrchr.c: Likewise.
9245 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
9246 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
9247 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
9248 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
9249 wcsrchr functions.
9250 * sysdeps/s390/multiarch/ifunc-impl-list.c
9251 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
9252 * benchtests/bench-wcsrchr.c: New File.
9253 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
9254
9255 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
9256 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
9257 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
9258 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
9259 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
9260 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
9261 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
9262 wcschrnul functions.
9263 * sysdeps/s390/multiarch/ifunc-impl-list.c
9264 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
9265 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
9266 * string/test-strchr.c: Add wcschrnul support.
9267 * wcsmbs/test-wcschrnul.c: New File.
9268 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
9269 * benchtests/bench-strchr.c: Add wcschrnul support.
9270 * benchtests/bench-wcschrnul.c: New File.
9271 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
9272
9273 * sysdeps/s390/multiarch/strchr-c.c: New File.
9274 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
9275 * sysdeps/s390/multiarch/strchr.c: Likewise.
9276 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
9277 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
9278 * sysdeps/s390/multiarch/wcschr.c: Likewise.
9279 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
9280 wcschr functions.
9281 * sysdeps/s390/multiarch/ifunc-impl-list.c
9282 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
9283 * string/strchr.c (STRCHR): Define and use macro.
9284 * benchtests/bench-wcschr.c: New File.
9285 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
9286
9287 * sysdeps/s390/multiarch/strncmp-c.c: New File.
9288 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
9289 * sysdeps/s390/multiarch/strncmp.c: Likewise.
9290 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
9291 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
9292 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
9293 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
9294 wcsncmp functions.
9295 * sysdeps/s390/multiarch/ifunc-impl-list.c
9296 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
9297 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
9298 * benchtests/bench-strncmp.c: Add wcsncmp support.
9299 * benchtests/bench-wcsncmp.c: New File.
9300 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
9301
9302 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
9303 * sysdeps/s390/multiarch/strcmp.c: Likewise.
9304 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
9305 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
9306 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9307 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
9308 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9309 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
9310 wcscmp functions.
9311 * sysdeps/s390/multiarch/ifunc-impl-list.c
9312 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
9313 * string/strcmp.c (STRCMP): Define and use macro.
9314 * benchtests/bench-wcscmp.c: New File.
9315 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
9316 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
9317 instead of _HAVE_STRING_ARCH_memchr.
9318
9319 * sysdeps/s390/multiarch/strncat-c.c: New File.
9320 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
9321 * sysdeps/s390/multiarch/strncat.c: Likewise.
9322 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
9323 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
9324 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
9325 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
9326 wcsncat functions.
9327 * sysdeps/s390/multiarch/ifunc-impl-list.c
9328 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
9329 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
9330 * string/test-strncat.c: Add wcsncat support.
9331 * wcsmbs/test-wcsncat.c: New File.
9332 * wcsmbs/Makefile (strop-tests): Add wcsncat.
9333 * benchtests/bench-strncat.c: Add wcsncat support.
9334 * benchtests/bench-wcsncat.c: New File.
9335 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
9336
9337 * sysdeps/s390/multiarch/strcat-c.c: New File.
9338 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
9339 * sysdeps/s390/multiarch/strcat.c: Likewise.
9340 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
9341 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
9342 * sysdeps/s390/multiarch/wcscat.c: Likewise.
9343 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
9344 wcscat functions.
9345 * sysdeps/s390/multiarch/ifunc-impl-list.c
9346 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
9347 * string/strcat.c (STRCAT): Define and use macro.
9348 * wcsmbs/wcscat.c: Use WCSCAT if defined.
9349 * string/test-strcat.c: Add wcscat support.
9350 * wcsmbs/test-wcscat.c: New File.
9351 * wcsmbs/Makefile (strop-tests): Add wcscat.
9352 * benchtests/bench-strcat.c: Add wcscat support.
9353 * benchtests/bench-wcscat.c: New File.
9354 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
9355
9356 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
9357 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
9358 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9359 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
9360 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
9361 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
9362 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
9363 wcpncpy functions.
9364 * sysdeps/s390/multiarch/ifunc-impl-list.c
9365 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
9366 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
9367 * string/test-stpncpy.c: Add wcpncpy support.
9368 * wcsmbs/test-wcpncpy.c: New File.
9369 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
9370 * benchtests/bench-stpncpy.c: Add wcpncpy support.
9371 * benchtests/bench-wcpncpy.c: New File.
9372 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
9373
9374 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
9375 * sysdeps/s390/multiarch/strncpy.c: Likewise.
9376 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
9377 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
9378 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
9379 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
9380 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9381 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
9382 wcsncpy functions.
9383 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
9384 * sysdeps/s390/multiarch/ifunc-impl-list.c
9385 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
9386 * string/test-strncpy.c: Add wcsncpy support.
9387 * wcsmbs/test-wcsncpy.c: New File.
9388 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
9389 * benchtests/bench-strncpy.c: Add wcsncpy support.
9390 * benchtests/bench-wcsncpy.c: New File.
9391 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
9392
9393 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
9394 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
9395 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9396 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
9397 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
9398 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
9399 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
9400 wcpcpy functions.
9401 * string/stpcpy.c: Use STPCPY if defined.
9402 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
9403 * sysdeps/s390/multiarch/ifunc-impl-list.c
9404 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
9405 * string/test-stpcpy.c: Add wcpcpy support.
9406 * wcsmbs/test-wcpcpy.c: New File.
9407 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
9408 * benchtests/bench-stpcpy.c: Add wcpcpy support.
9409 * benchtests/bench-wcpcpy.c: New File.
9410 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
9411
9412 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
9413 * sysdeps/s390/multiarch/strcpy.c: Likewise.
9414 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
9415 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
9416 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
9417 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
9418 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9419 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
9420 wcscpy functions.
9421 * sysdeps/s390/multiarch/ifunc-impl-list.c
9422 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
9423 * benchtests/bench-wcscpy.c: New File.
9424 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
9425
9426 * sysdeps/s390/multiarch/strnlen-c.c: New File.
9427 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
9428 * sysdeps/s390/multiarch/strnlen.c: Likewise.
9429 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
9430 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
9431 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
9432 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
9433 wcsnlen functions.
9434 * sysdeps/s390/multiarch/ifunc-impl-list.c
9435 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
9436 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
9437 * string/test-strnlen.c: Add wcsnlen support.
9438 * wcsmbs/test-wcsnlen.c: New File.
9439 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
9440 * benchtests/bench-strnlen.c: Add wcsnlen support.
9441 * benchtests/bench-wcsnlen.c: New File.
9442 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
9443
9444 * sysdeps/s390/multiarch/Makefile: New File.
9445 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
9446 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
9447 * sysdeps/s390/multiarch/strlen.c: Likewise.
9448 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
9449 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
9450 * sysdeps/s390/multiarch/wcslen.c: Likewise.
9451 * string/strlen.c (STRLEN): Define and use macro.
9452 * sysdeps/s390/multiarch/ifunc-impl-list.c
9453 (IFUNC_VX_IMPL): New macro function.
9454 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
9455 * benchtests/Makefile (wcsmbs-bench): New variable.
9456 (string-bench-all): Added wcsmbs-bench.
9457 * benchtests/bench-wcslen.c: New File.
9458
9459 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
9460 s390_vx_libc_ifunc2): New macro function.
9461
9462 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
9463 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
9464 assembler support.
9465 * sysdeps/s390/configure: Regenerated.
9466
9467 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
9468 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9469
9470 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
9471 * sysdeps/s390/dl-procinfo.h: Add vector capability.
9472 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
9473
9474 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9475 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
9476 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
9477 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
9478 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
9479 (memcmp, bcmp): Use __memcmp_default as alias source.
9480 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
9481 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
9482 Rename to __memcmp_default.
9483 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
9484 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
9485 (memcpy): Use __memcpy_default as alias source.
9486 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
9487 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
9488 Rename to __memcpy_default.
9489 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
9490 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
9491 (memset): Use __memset_default as alias source.
9492 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
9493 * sysdeps/s390/s390-32/memset.S (__memset_g5):
9494 Rename to __memset_default.
9495 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
9496 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
9497 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
9498 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
9499 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
9500 (memcmp, bcmp): Use __memcmp_default as alias source.
9501 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
9502 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
9503 Rename to __memcmp_default.
9504 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
9505 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
9506 (memcpy): Use __memcpy_default as alias source.
9507 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
9508 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
9509 Rename to __memcpy_default.
9510 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
9511 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
9512 (memset): Use __memset_default as alias source.
9513 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
9514 * sysdeps/s390/s390-64/memset.S (__memset_z900):
9515 Rename to __memset_default.
9516 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
9517 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
9518
9519 [BZ #18610]
9520 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
9521 __ieee_instruction_pointer to __unused.
9522 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
9523 __ieee_instruction_pointer.
9524 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
9525 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
9526 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9527 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9528 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
9529 Mark dxc-field as reserved.
9530
9531 2015-08-25 Roland McGrath <roland@hack.frob.com>
9532
9533 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
9534 if the weak reference is not null.
9535
9536 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
9537
9538 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
9539
9540 [BZ #11214]
9541 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
9542
9543 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9544
9545 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
9546 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
9547 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
9548 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
9549 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
9550 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
9551 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
9552 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
9553 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
9554 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
9555 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
9556 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
9557 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
9558 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
9559 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
9560 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
9561 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
9562 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
9563
9564 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9565
9566 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
9567 register other than r0 for tabort, it has special meaning.
9568 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
9569 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
9570 transaction before starting syscall.
9571
9572 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9573
9574 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
9575
9576 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
9577
9578 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
9579
9580 * sysdeps/x86_64/rtld-memcmp.c: Removed.
9581 * sysdeps/x86_64/rtld-memset.S: Likewise.
9582 * sysdeps/x86_64/rtld-strchr.S: Likewise.
9583 * sysdeps/x86_64/rtld-strlen.S: Likewise.
9584 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
9585 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9586
9587 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
9588
9589 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
9590
9591 * debug/strcpy_chk.c: Improve performance.
9592 * debug/stpcpy_chk.c: Likewise.
9593 * sysdeps/x86_64/strcpy_chk.S: Remove.
9594 * sysdeps/x86_64/stpcpy_chk.S: Remove.
9595
9596 [BZ #18240]
9597 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
9598
9599 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
9600
9601 [BZ #15128]
9602 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
9603 ifuncmain8.
9604 (modules-names): Add ifuncmod8.
9605 ($(objpfx)ifuncmain8): New rule.
9606 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
9607 <cpuid.h>.
9608 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
9609 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
9610 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
9611 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
9612 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
9613 * sysdeps/x86_64/dl-trampoline.h: Likewise.
9614 * sysdeps/x86_64/ifuncmain8.c: New file.
9615 * sysdeps/x86_64/ifuncmod8.c: Likewise.
9616 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
9617 Removed.
9618 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
9619 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
9620 Change rtld_savespace_sse to __glibc_unused2.
9621 (RTLD_CHECK_FOREIGN_CALL): Removed.
9622 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
9623 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
9624 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
9625
9626 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9627
9628 * sysdeps/aarch64/bzero.S (__bzero): Remove.
9629
9630 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9631
9632 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
9633 Unconditionally set __fpcr to avoid uninialized warning.
9634 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
9635
9636 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9637
9638 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
9639 is corrupt.
9640
9641 * malloc/arena.c (arena_get2): Drop unused argument.
9642 (arena_lock): Adjust.
9643 (arena_get_retry): Likewise.
9644
9645 2015-08-24 Andreas Schwab <schwab@suse.de>
9646
9647 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
9648 Don't define.
9649 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9650 (__ASSUME_IPC64): Don't undef.
9651 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
9652 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9653 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9654 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
9655 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
9656 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
9657 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
9658 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
9659 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
9660 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
9661 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
9662 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
9663 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
9664 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
9665 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
9666 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
9667 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
9668 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
9669 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
9670 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
9671 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
9672
9673 2015-08-21 Mike Frysinger <vapier@gentoo.org>
9674
9675 * manual/Makefile (install): Only build manual when perl is available.
9676
9677 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9678
9679 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
9680 '#undef memcpy' by '#undef memchr'.
9681
9682 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9683
9684 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
9685 memchr not point to the internal __GI_memchr implementation.
9686
9687 2015-08-20 Joseph Myers <joseph@codesourcery.com>
9688
9689 * timezone/Makefile (CFLAGS-zdump.c): Remove
9690 -Wno-strict-prototypes.
9691 (CFLAGS-zic.c): Likewise.
9692 (CFLAGS-ialloc.c): Likewise.
9693 (CFLAGS-scheck.c): Likewise.
9694
9695 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
9696 -Wno-error=undef.
9697
9698 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
9699
9700 * i386/i686/multiarch/strcasestr-c.c: Removed.
9701 * x86_64/multiarch/strcasestr.c: Likewise.
9702 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9703 Remove strcasestr.
9704
9705 2015-08-20 Joseph Myers <joseph@codesourcery.com>
9706
9707 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
9708
9709 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
9710 variables for high and low parts before possibly modifying them.
9711
9712 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
9713
9714 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
9715 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
9716 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
9717 of "multiarch/init-arch.h".
9718 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
9719 * sysdeps/x86/init-arch.h: This.
9720
9721 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
9722
9723 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
9724 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
9725
9726 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
9727
9728 [BZ #17787]
9729 * manual/macros.texi: Add twoexp macro.
9730 * manual/filesys.texi: Fix exponents.
9731 * manual/llio.texi: Likewise.
9732 * manual/stdio.texi: Likewise.
9733
9734 2015-08-20 Florian Weimer <fweimer@redhat.com>
9735
9736 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
9737 incorrect use.
9738
9739 2015-08-19 Joseph Myers <joseph@codesourcery.com>
9740
9741 [BZ #18370]
9742 * math/s_csqrt.c (__csqrt): Force underflow exception for results
9743 whose real or imaginary part has small absolute value.
9744 * math/s_csqrtf.c (__csqrtf): Likewise.
9745 * math/s_csqrtl.c (__csqrtl): Likewise.
9746 * math/auto-libm-test-in: Add more tests of csqrt.
9747 * math/auto-libm-test-out: Regenerated.
9748 * sysdeps/i386/fpu/libm-test-ulps: Update.
9749
9750 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9751
9752 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
9753 __ppc_set_ppr_very_low): New functions.
9754 * manual/platform.texi: Add documentation about
9755 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
9756
9757 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
9758
9759 * string/stpncpy.c (stpncpy): Improve performance using
9760 __strnlen/memcpy/memset.
9761
9762 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
9763
9764 [BZ #18796]
9765 * scripts/test-installation.pl: Don't add -lmvec to build options if
9766 libmvec wasn't built.
9767
9768 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
9769
9770 [BZ #14341]
9771 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
9772 case when there is a gap between DT_REL and DT_JMPREL sections.
9773 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
9774 (LDFLAGS-tst-split-dynreloc): New.
9775 (tst-split-dynreloc-ENV): Likewise.
9776 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
9777 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
9778
9779 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
9780
9781 [BZ #18822]
9782 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
9783 attribute_hidden.
9784 (__xstat64_conv): Likewise.
9785 (__xstat32_conv): Likewise.
9786
9787 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
9788
9789 [BZ #18822]
9790 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
9791 Don't load %ebx when calling __setcontext. Call __setcontext
9792 with HIDDEN_JUMPTARGET.
9793 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
9794 libc_hidden_def.
9795
9796 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
9797
9798 * sysdeps/i386/i686/Makefile
9799 [$(subdir) == string] (sysdep_routines): Moved to ...
9800 * sysdeps/i386/Makefile: Here.
9801 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
9802 * sysdeps/i386/cacheinfo.c: Here.
9803 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
9804 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
9805 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
9806 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
9807
9808 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
9809
9810 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
9811 __i586__ is defined.
9812 (HAS_I686): Defined to 1 if __i686__ is defined.
9813
9814 2015-08-19 Joseph Myers <joseph@codesourcery.com>
9815
9816 * elf/Makefile [$(have-z-execstack) = yes]
9817 (CPPFLAGS-tst-execstack.c): New variable.
9818
9819 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
9820 conditional to [defined UTMPX || _HAVE_UT_TYPE].
9821 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
9822 UTMPX || _HAVE_UT_TV].
9823 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
9824 UTMPX || _HAVE_UT_TV - 0].
9825
9826 2015-08-18 Joseph Myers <joseph@codesourcery.com>
9827
9828 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
9829 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
9830 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
9831
9832 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9833
9834 * sysdeps/powerpc/dl-procinfo.c:
9835 (_dl_powerpc_cap_flags): Added missing strings for some
9836 hwcap features.
9837 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
9838
9839 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
9840
9841 Port the 0x7efe...feff pattern to GCC 6.
9842 See Steve Ellcey's bug report in:
9843 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
9844 * string/memrchr.c (MEMRCHR):
9845 * string/rawmemchr.c (RAWMEMCHR):
9846 * string/strchr.c (strchr):
9847 * string/strchrnul.c (STRCHRNUL):
9848 Rewrite code to avoid issues with signed shift overflow.
9849
9850 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
9851
9852 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
9853 whether cpuid is available only if HAS_CPUID is 0.
9854 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
9855 (HAS_I586): Likewise.
9856 (HAS_I686): Likewise.
9857
9858 2015-08-18 Zack Weinberg <zackw@panix.com>
9859
9860 * misc/Versions (libc): Add GLIBC_2.23.
9861
9862 2015-08-18 Alan Modra <amodra@gmail.com>
9863
9864 [BZ #18421]
9865 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
9866 .Lp__global.
9867 (_start): Load %dp via .Lp__global.
9868 [!SHARED]: Use .section .rodata.
9869
9870 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9871
9872 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
9873 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
9874
9875 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9876
9877 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
9878 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
9879
9880 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9881
9882 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
9883 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
9884
9885 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9886
9887 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
9888 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
9889
9890 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9891
9892 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
9893 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
9894
9895 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9896
9897 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
9898 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
9899
9900 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9901
9902 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
9903
9904 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9905
9906 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
9907 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
9908 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9909 (__ASSUME_LWS_CAS): Delete.
9910
9911 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9912
9913 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
9914 * sysdeps/hppa/configure: Regenerated.
9915 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
9916 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
9917 * sysdeps/hppa/nptl/tls.h: Likewise.
9918
9919 2015-08-17 Joseph Myers <joseph@codesourcery.com>
9920
9921 [BZ #18823]
9922 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
9923 for scaling up small arguments.
9924 * math/s_csqrtf.c (__csqrtf): Likewise.
9925 * math/s_csqrtl.c (__csqrtl): Likewise.
9926 * math/auto-libm-test-in: Add more tests of csqrt.
9927 * math/auto-libm-test-out: Regenerated.
9928
9929 2015-08-17 Andreas Schwab <schwab@suse.de>
9930
9931 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
9932 version set GLIBC_2.19.
9933
9934 2015-08-16 Zack Weinberg <zackw@panix.com>
9935
9936 [BZ #18681]
9937 * misc/regexp.h: This interface is no longer supported.
9938 Remove all contents, leaving only an #error directive.
9939 * misc/regexp.c (loc1, loc2, locs, step, advance):
9940 Demote to compatibility symbols.
9941
9942 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
9943
9944 [BZ #18084]
9945 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
9946 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
9947 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9948 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
9949 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
9950 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
9951 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
9952 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
9953 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9954
9955 2015-08-15 Zack Weinberg <zackw@panix.com>
9956
9957 [BZ #18795]
9958 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
9959 buffer length is known to be too large, not if it's known to be
9960 small enough.
9961 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
9962 overflow at runtime, involving a length parameter, twice: once
9963 with a compile-time constant length parameter, once without.
9964
9965 2015-08-14 Joseph Myers <joseph@codesourcery.com>
9966
9967 [BZ #18824]
9968 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
9969 scaling x * y up instead of down.
9970 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9971 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9972 * math/auto-libm-test-in: Add more tests of fma.
9973 * math/auto-libm-test-out: Regenerated.
9974
9975 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9976
9977 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9978
9979 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9980
9981 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
9982 unnecessary movq.
9983 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
9984 Likewise.
9985
9986 2015-08-13 Joseph Myers <joseph@codesourcery.com>
9987
9988 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9989 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
9990 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
9991 and tgamma.
9992 * math/auto-libm-test-out: Regenerated.
9993 * sysdeps/i386/fpu/libm-test-ulps: Update.
9994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9995
9996 [BZ #16520]
9997 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
9998 (__tanh): Force underflow exception for arguments with small
9999 absolute value.
10000 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
10001 (__tanhf): Force underflow exception for arguments with small
10002 absolute value.
10003 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
10004 (__tanhl): Force underflow exception for arguments with small
10005 absolute value.
10006 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
10007 (__tanhl): Force underflow exception for arguments with small
10008 absolute value.
10009 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
10010 (__tanhl): Force underflow exception for arguments with small
10011 absolute value.
10012 * math/auto-libm-test-in: Add more tests of tanh.
10013 * math/auto-libm-test-out: Regenerated.
10014 * sysdeps/i386/fpu/libm-test-ulps: Update.
10015
10016 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10017
10018 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
10019 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
10020
10021 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10022
10023 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
10024 <cpuid.h>.
10025
10026 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10027
10028 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
10029 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
10030
10031 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10032
10033 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
10034 Remove $(objpfx)init-arch.o.
10035 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
10036 init-arch.
10037 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
10038 (INIT_ARCH_EXT): Defined as empty.
10039 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
10040 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
10041 __init_cpu_features call. Replace HAS_XXX with
10042 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10043 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
10044 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
10045 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
10046 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
10047 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10048 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
10049 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
10050 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10051 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
10052 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
10053 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10054 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
10055 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
10056 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10057 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
10058 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
10059 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10060 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10061 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
10062 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
10063 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10064 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
10065 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
10066 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10067 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
10068 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
10069 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10070 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
10071 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
10072 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10073 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
10074 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
10075 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10076 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
10077 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
10078
10079 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10080
10081 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
10082 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10083 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10084 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10085 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
10086 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
10087 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
10088 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
10089 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
10090 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
10091 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
10092 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
10093 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10094 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10095 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10096 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10097 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10098 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10099 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10100 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10101 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10102 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10103 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10104 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10105 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10106 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10107 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10108 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10109 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10110 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10111 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10112 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10113 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10114 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10115 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10116 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10117 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10118 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10119 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10120 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10121 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10122 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10123 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10124
10125 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10126
10127 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
10128 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10129 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10130 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10131 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10132 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
10133 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10134 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
10135 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10136 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10137 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10138 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
10139 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
10140 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
10141 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
10142 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
10143 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
10144 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
10145 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
10146 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
10147 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10148 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
10149 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
10150 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10151 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10152 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
10153 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
10154 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
10155 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10156 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10157 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10158 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10159 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10160 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10161 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10162 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10163 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10164 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10165 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10166 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10167 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10168 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10169 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10170
10171 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
10172
10173 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
10174 (dl_platform_init): Call init_cpu_features.
10175 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
10176 * sysdeps/i386/i686/cacheinfo.c
10177 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
10178 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
10179 * sysdeps/i386/i686/multiarch/Versions: Removed.
10180 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
10181 Removed.
10182 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
10183 * sysdeps/unix/sysv/linux/x86/Makefile
10184 (libpthread-sysdep_routines): Remove init-arch.
10185 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
10186 <sysdeps/x86_64/dl-procinfo.c> instead of
10187 sysdeps/generic/dl-procinfo.c>.
10188 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
10189 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
10190 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
10191 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
10192 [$(subdir) == elf] (tests-static): Add
10193 tst-get-cpu-features-static.
10194 * sysdeps/x86/Versions: New file.
10195 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
10196 * sysdeps/x86/cpu-features.c: Likewise.
10197 * sysdeps/x86/cpu-features.h: Likewise.
10198 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
10199 * sysdeps/x86/libc-start.c: Likewise.
10200 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10201 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
10202 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
10203 * sysdeps/x86_64/dl-procinfo.c: Likewise.
10204 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
10205 Assume USE_MULTIARCH is defined and don't check it.
10206 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
10207 (is_amd): Likewise.
10208 (max_cpuid): Likewise.
10209 (intel_check_word): Likewise.
10210 (__cache_sysconf): Don't call __init_cpu_features.
10211 (__x86_preferred_memory_instruction): Removed.
10212 (init_cacheinfo): Don't call __init_cpu_features. Replace
10213 __cpu_features with GLRO(dl_x86_cpu_features).
10214 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
10215 (dl_platform_init): Call init_cpu_features.
10216 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
10217 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
10218 * sysdeps/x86_64/multiarch/Versions: Removed.
10219 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
10220 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
10221 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
10222 Removed.
10223 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
10224
10225 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10226
10227 [BZ #18820]
10228 * libio/Makefile (test-fmemopen-mem): New test.
10229 * libio/test-fmemopen.c (do_bz18820): New test.
10230 * libio/fmemopen.c (__fmemopen): Fix memory leak.
10231 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
10232
10233 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10234
10235 [BZ #16734]
10236 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
10237 (FREE_BUF): Delete.
10238 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
10239 * libio/genops.c (_IO_setb): Use malloc and free directly.
10240 (_IO_default_doallocate, _IO_default_finish): Likewise.
10241 ( _IO_unbuffer_all): Likewise.
10242 ( libc_freeres_fn): Likewise.
10243 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10244 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10245 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
10246 (_IO_wdefault_doallocate): Likewise.
10247
10248 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10249
10250 [BZ #18086]
10251 * sysdeps/posix/nice.c (nice): Restore old errno.
10252 * posix/tst-nice.c (do_test): Add test for BZ #18086.
10253
10254 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
10255
10256 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
10257
10258 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10259
10260 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
10261 __bcopy and add a weak_alias to bcopy.
10262 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
10263 for static build.
10264
10265 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
10266 cleanup macro usage.
10267 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
10268 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
10269 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10270 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
10271 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10272 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
10273 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
10274 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10275 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10276 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
10277 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10278 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
10279 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10280 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
10281 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10282 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
10283 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
10284 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
10285 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10286
10287 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
10288 libc_hidden_def.
10289 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
10290
10291 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
10292 (sysdep_routines): Add strstr-ppc64.
10293 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
10294
10295 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
10296
10297 [BZ #18778]
10298 * elf/Makefile (tests): Add Add tst-nodelete2.
10299 (modules-names): Add tst-nodelete2mod.
10300 (tst-nodelete2mod.so-no-z-defs): New.
10301 ($(objpfx)tst-nodelete2): Likewise.
10302 ($(objpfx)tst-nodelete2.out): Likewise.
10303 (LDFLAGS-tst-nodelete2): Likewise.
10304 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
10305 out of loop through all loaded libraries.
10306 * elf/tst-nodelete2.c: New file.
10307 * elf/tst-nodelete2mod.c: Likewise.
10308 * elf/tst-znodelete-zlib.cc: Delete.
10309
10310 2015-08-11 Andreas Schwab <schwab@suse.de>
10311
10312 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
10313 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
10314 (__openat64_nocancel): Likewise.
10315
10316 2015-08-11 Joseph Myers <joseph@codesourcery.com>
10317
10318 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
10319 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
10320 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
10321 * math/auto-libm-test-out: Regenerated.
10322 * sysdeps/i386/fpu/libm-test-ulps: Update.
10323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10324
10325 2015-08-10 Joseph Myers <joseph@codesourcery.com>
10326
10327 [BZ #18790]
10328 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
10329 threshold for returning +/- 1.
10330 * math/auto-libm-test-in: Add more tests of tanh.
10331 * math/auto-libm-test-out: Regenerated.
10332 * sysdeps/i386/fpu/libm-test-ulps: Update.
10333
10334 2015-08-10 Andreas Schwab <schwab@suse.de>
10335
10336 [BZ #18781]
10337 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
10338 MORE_OFLAGS to oflag.
10339 * io/test-lfs.c (do_test): Test openat64.
10340
10341 2015-08-10 Joseph Myers <joseph@codesourcery.com>
10342
10343 [BZ #18789]
10344 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
10345 smaller threshold for returning the argument.
10346 * math/auto-libm-test-in: Add more tests of sinh.
10347 * math/auto-libm-test-out: Regenerated.
10348 * sysdeps/i386/fpu/libm-test-ulps: Update.
10349
10350 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
10351
10352 [BZ #18674]
10353 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
10354 break.
10355
10356 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
10357
10358 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
10359 (generated): Don't add $(addprefix z.,$(tzfiles)).
10360
10361 2015-08-09 Mike Frysinger <vapier@gentoo.org>
10362
10363 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
10364 * scripts/sysd-rules.awk: Likewise.
10365
10366 2015-08-09 Mike Frysinger <vapier@gentoo.org>
10367
10368 * iconvdata/tst-tables.sh: Change echo -n to printf.
10369 * nss/db-Makefile: Likewise.
10370 * posix/tst-getconf.sh: Likewise.
10371 * stdio-common/tst-unbputc.sh: Likewise.
10372
10373 2015-08-09 Mike Frysinger <vapier@gentoo.org>
10374
10375 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
10376 MADV_*_PAGES defines behind this feature check.
10377
10378 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
10379
10380 [BZ #18480]
10381 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
10382 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
10383 Define.
10384 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
10385 LOAD_REGS_5, LOAD_REGS_6): Update.
10386 (INTERNAL_SYSCALL): Update using new LOAD defines.
10387 (INTERNAL_SYSCALL_NCS): Likewise.
10388 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
10389
10390 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10391
10392 [BZ #16734]
10393 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
10394
10395 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10396
10397 [BZ #17905]
10398 * catgets/Makefile (tst-catgets-mem): New test.
10399 * catgets/catgets.c (catopen): Don't use unbounded alloca.
10400 * catgets/open_catalog.c (__open_catalog): Likewise.
10401 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
10402
10403 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
10404
10405 [BZ #18787]
10406 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
10407 clobber registers.
10408 (atomic_compare_and_exchange_val_acq): Use register asms to assign
10409 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
10410 Cast return to __typeof (oldval).
10411
10412 2015-08-08 Mike Frysinger <vapier@gentoo.org>
10413
10414 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
10415 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
10416 and delete sys/syscall.h include.
10417
10418 2015-08-07 Joseph Myers <joseph@codesourcery.com>
10419
10420 [BZ #16517]
10421 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
10422 (tan): Force underflow exception for arguments with small absolute
10423 value.
10424 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
10425 (__kernel_tanf): Force underflow exception for arguments with
10426 small absolute value.
10427 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
10428 (__kernel_tanl): Force underflow exception for arguments with
10429 small absolute value.
10430 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
10431 (__kernel_tanl): Force underflow exception for arguments with
10432 small absolute value.
10433 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
10434 (__kernel_tanl): Force underflow exception for arguments with
10435 small absolute value.
10436 * math/auto-libm-test-in: Add more tests of tan.
10437 * math/auto-libm-test-out: Regenerated.
10438
10439 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
10440
10441 Fix sysdeps/i386/fpu/s_scalbn.S build
10442
10443 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
10444
10445 2015-08-07 Mike Frysinger <vapier@gentoo.org>
10446
10447 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10448
10449 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
10450
10451 Fix gcrt0.o compilation
10452
10453 When static-start-installed-name is different from
10454 start-installed-name, we must not use the shared objects.
10455
10456 * csu/Makefile
10457 (extra-objs): Add gmon-start.o when building shared library and
10458 $(static-start-installed-name) is different from
10459 $(start-installed-name).
10460 $(objpfx)g$(static-start-installed-name): When building shared
10461 library and $(static-start-installed-name) is different from
10462 $(static-start-installed-name), revert to non-shared rule,
10463 i.e. using $(objpfx)% and gmon-start.o.
10464
10465 2015-08-06 Joseph Myers <joseph@codesourcery.com>
10466
10467 [BZ #16519]
10468 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
10469 (__ieee754_sinh): Force underflow exception for arguments with
10470 small absolute value.
10471 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
10472 (__ieee754_sinhf): Force underflow exception for arguments with
10473 small absolute value.
10474 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
10475 (__ieee754_sinhl): Force underflow exception for arguments with
10476 small absolute value.
10477 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
10478 (__ieee754_sinhl): Force underflow exception for arguments with
10479 small absolute value.
10480 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
10481 (__ieee754_sinhl): Force underflow exception for arguments with
10482 small absolute value.
10483 * math/auto-libm-test-in: Add more tests of sinh.
10484 * math/auto-libm-test-out: Regenerated.
10485 * sysdeps/i386/fpu/libm-test-ulps: Update.
10486
10487 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10488
10489 * libio/oldfileops.c: Include unistd.h.
10490
10491 2015-08-06 Mike Frysinger <vapier@gentoo.org>
10492
10493 * stdlib/isomac.c: Include ctype.h.
10494
10495 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
10496
10497 * dirent/tst-seekdir.c (main): Converted to ...
10498 (do_test): ... this.
10499 (TEST_FUNCTION): New macro.
10500 Include test-skeleton.c.
10501 * elf/tst-dlmodcount.c (main): Converted to ...
10502 (do_test): ... this.
10503 (TEST_FUNCTION): New macro.
10504 Include test-skeleton.c.
10505 * elf/tst-order-main.c (main): Converted to ...
10506 (do_test): ... this.
10507 (TEST_FUNCTION): New macro.
10508 Include test-skeleton.c.
10509 * elf/tst-pie2.c (main): Converted to ...
10510 (do_test): ... this.
10511 (TEST_FUNCTION): New macro.
10512 Include test-skeleton.c.
10513 * inet/tst-ether_aton.c (main): Converted to ...
10514 (do_test): ... this.
10515 (TEST_FUNCTION): New macro.
10516 Include test-skeleton.c.
10517 * misc/tst-mntent.c (main): Converted to ...
10518 (do_test): ... this.
10519 (TEST_FUNCTION): New macro.
10520 Include test-skeleton.c.
10521 * misc/tst-tsearch.c (main): Converted to ...
10522 (do_test): ... this.
10523 (TEST_FUNCTION): New macro.
10524 Include test-skeleton.c.
10525 * posix/tst-regexloc.c (main): Converted to ...
10526 (do_test): ... this.
10527 (TEST_FUNCTION): New macro.
10528 Include test-skeleton.c.
10529 * resolv/tst-aton.c (main): Converted to ...
10530 (do_test): ... this.
10531 (TEST_FUNCTION): New macro.
10532 Include test-skeleton.c.
10533 * stdio-common/test-fwrite.c (main): Converted to ...
10534 (do_test): ... this.
10535 (TEST_FUNCTION): New macro.
10536 Include test-skeleton.c.
10537 * stdio-common/tst-ferror.c (main): Converted to ...
10538 (do_test): ... this.
10539 (TEST_FUNCTION): New macro.
10540 Include test-skeleton.c.
10541 * stdio-common/tst-printf.c (main): Converted to ...
10542 (do_test): ... this.
10543 (TEST_FUNCTION): New macro.
10544 Include test-skeleton.c.
10545 * stdio-common/tst-printfsz.c (main): Converted to ...
10546 (do_test): ... this.
10547 (TEST_FUNCTION): New macro.
10548 Include test-skeleton.c.
10549 * stdlib/tst-strtod.c (main): Converted to ...
10550 (do_test): ... this.
10551 (TEST_FUNCTION): New macro.
10552 Include test-skeleton.c.
10553 * string/tst-strlen.c (main): Converted to ...
10554 (do_test): ... this.
10555 (TEST_FUNCTION): New macro.
10556 Include test-skeleton.c.
10557 * string/tst-svc.c (main): Converted to ...
10558 (do_test): ... this.
10559 (TEST_FUNCTION): New macro.
10560 Include test-skeleton.c.
10561 * time/tst-strptime.c (main): Converted to ...
10562 (do_test): ... this.
10563 (TEST_FUNCTION): New macro.
10564 Include test-skeleton.c.
10565 * timezone/tst-timezone.c (main): Converted to ...
10566 (do_test): ... this.
10567 (TEST_FUNCTION): New macro.
10568 Include test-skeleton.c.
10569
10570 2015-08-05 Zack Weinberg <zackw@panix.com>
10571
10572 * misc/regexp.h: Update comments.
10573
10574 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
10575
10576 [BZ #18635]
10577 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
10578 before return label.
10579
10580 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
10581
10582 [BZ #18661]
10583 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
10584 when calling __errno_location.
10585 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
10586 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
10587
10588 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
10589
10590 [BZ #18661]
10591 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
10592 (__lll_timedwait_tid): Align stack to 16 bytes when calling
10593 __gettimeofday.
10594
10595 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
10596
10597 [BZ #18661]
10598 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10599 (__start_context): Don't use pop to restore %rdi so that stack
10600 is aligned to 16 bytes when calling __setcontext.
10601
10602 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
10603
10604 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
10605 only for libc.
10606 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10607
10608 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
10609
10610 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
10611 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
10612 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
10613
10614 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
10615
10616 * string/memccpy.c (memccpy):
10617 Improve performance by using memchr/memcpy/__mempcpy.
10618
10619 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
10620
10621 * string/strncpy.c (strncpy):
10622 Improve performance by using __strnlen/memcpy.
10623
10624 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
10625
10626 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10627 Optimize to avoid an unnecessary FPCR read.
10628
10629 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
10630
10631 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10632 Optimize to reduce FPCR/FPSR accesses.
10633
10634 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
10635
10636 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
10637 dead->data[category] != NULL.
10638
10639 2015-08-05 Joseph Myers <joseph@codesourcery.com>
10640
10641 [BZ #18647]
10642 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
10643 and |x| close to 1, use absolute value of x when computing log.
10644 * math/auto-libm-test-in: Add more tests of pow.
10645 * math/auto-libm-test-out: Regenerated.
10646
10647 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10648
10649 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
10650 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
10651 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
10652
10653 2015-08-05 Marko Myllynen <myllynen@redhat.com>
10654
10655 [BZ #18525]
10656 * locales/km_KH: Remove timezone definition.
10657 * locales/lo_LA: Likewise.
10658 * locales/my_MM: Likewise.
10659 * locales/nan_TW@latin: Likewise.
10660 * locales/th_TH: Likewise.
10661 * locales/uk_UA: Likewise.
10662
10663 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
10664
10665 [BZ #18265]
10666 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
10667 (wcsncat): Likewise.
10668 (wcscmp): Likewise.
10669 (wcsncmp): Likewise.
10670
10671 2015-08-05 Mike Frysinger <vapier@gentoo.org>
10672
10673 * test-skeleton.c (usage): New function.
10674 (main): Call usage when opt is '?'.
10675
10676 2015-08-05 Mike Frysinger <vapier@gentoo.org>
10677
10678 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
10679 before first use.
10680
10681 2015-08-05 Mike Frysinger <vapier@gentoo.org>
10682
10683 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
10684 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
10685 in there too.
10686
10687 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
10688
10689 * version.h (RELEASE): Set to "development".
10690 (VERSION): Set to "2.22.90"
10691
10692 * version.h (RELEASE): Set to "stable".
10693 (VERSION): Set to "2.22"
10694 * include/features.h (__GLIBC_MINOR__): Set to 22.
10695
10696 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
10697
10698 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
10699 Restructure macro to avoid "value computed is not used" warning.
10700 (atomic_compare_and_exchange_val_acq): Likewise.
10701
10702 2015-08-04 Andreas Schwab <schwab@suse.de>
10703
10704 [BZ #18635]
10705 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
10706 ret.
10707 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
10708
10709 2015-08-01 Carlos O'Donell <carlos@redhat.com>
10710
10711 * po/pl.po: Updated translation.
10712 * po/uk.po: Likewise.
10713 * po/fi.po: Likewise.
10714 * po/ko.po: Likewise.
10715 * po/ru.po: Likewise.
10716 * po/vi.po: Likewise.
10717
10718 2015-07-31 Zack Weinberg <zackw@panix.com>
10719
10720 [BZ #18681]
10721 * regexp.h: Add unconditional #warning stating that this header
10722 will be removed soon. Revise banner comment to match.
10723 (compile): Consistently use ERROR instead of RETURN to report
10724 errors (partial fix for bz#18681).
10725 * regexp.c: Don't include regexp.h. Remove some unnecessary
10726 declarations.
10727
10728 2015-07-31 Carlos O'Donell <carlos@redhat.com>
10729
10730 * po/libc.pot: Regenerated.
10731
10732 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
10733
10734 [BZ #18740]
10735 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
10736 float-vlen4-arch-ext-cflags): Removed.
10737 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
10738 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
10739
10740 2015-07-30 Mike Frysinger <vapier@gentoo.org>
10741
10742 [BZ #14113]
10743 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
10744 aligned to __aligned__.
10745 (pthread_cond_t, pthread_rwlock_t): Likewise.
10746
10747 2015-07-30 Torvald Riegel <triegel@redhat.com>
10748
10749 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
10750
10751 2015-07-30 Mike Frysinger <vapier@gentoo.org>
10752
10753 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
10754 (struct sigaction): Change sa_flags from a long to an int, and add
10755 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
10756
10757 2015-07-30 Mike Frysinger <vapier@gentoo.org>
10758
10759 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
10760 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
10761 sysdeps/generic/sysdep.h include.
10762 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
10763 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
10764 sysdeps/hppa/sysdep.h.
10765 (ENTRY, PSEUDO): Undefine before defining.
10766
10767 2015-07-30 Mike Frysinger <vapier@gentoo.org>
10768
10769 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
10770 from scratch to use INTERNAL_SYSCALL.
10771
10772 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
10773
10774 [BZ #18078]
10775 * scripts/check-localplt.awk: Support alternate relocations.
10776 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
10777 sections.
10778 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
10779 malloc entries with + REL R_386_GLOB_DAT.
10780 * sysdeps/x86_64/localplt.data: New file.
10781
10782 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
10783
10784 [BZ #18731]
10785 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
10786 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10787 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10788
10789 2015-07-27 Mike Frysinger <vapier@gentoo.org>
10790
10791 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
10792
10793 2015-07-27 Mike Frysinger <vapier@gentoo.org>
10794
10795 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
10796 directly in terms of __sync_fetch_and_add and delete (int) cast.
10797
10798 2015-07-27 Mike Frysinger <vapier@gentoo.org>
10799
10800 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
10801 the -D_ASM_IA64_CURRENT_H flag.
10802
10803 2015-07-27 Mike Frysinger <vapier@gentoo.org>
10804
10805 [BZ #18641]
10806 * pwd/pwd.h (putpwent): Delete __nonnull markings.
10807
10808 2015-07-27 Andreas Schwab <schwab@suse.de>
10809
10810 * conform/conformtest.pl (checknamespace): Filter out string
10811 literals while tokenizing.
10812
10813 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
10814
10815 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10816 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
10817 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10818
10819 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
10820
10821 * nptl/tst-join7mod.c: Add #include <string.h>.
10822
10823 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
10824
10825 * sysdeps/nios2/libm-test-ulps: Update.
10826
10827 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
10828
10829 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
10830 Fix order of arguments to the rt_sigprocmask syscall.
10831 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
10832 Likewise.
10833
10834 2015-07-24 Roland McGrath <roland@hack.frob.com>
10835
10836 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
10837
10838 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10839
10840 [BZ #18457]
10841 * nptl/Makefile (tests): New test case tst-join7.
10842 (modules-names): New test case module tst-join7mod.
10843 * nptl/tst-join7.c: New file.
10844 * nptl/tst-join7mod.c: New file.
10845 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
10846 all translation units in libc.so, libpthread.so and rtld.
10847
10848 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10849
10850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10851
10852 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
10853
10854 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
10855 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10856 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10857 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10858 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10859 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10860 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10861 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10862 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10863 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10864 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10865 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10866 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
10867 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10868 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
10869 implementation.
10870
10871 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
10872
10873 [BZ #17711]
10874 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10875 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
10876 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10877 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10878 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
10879 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10880
10881 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10882
10883 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
10884 instead of just saying load lock in the comments.
10885
10886 2015-07-23 Roland McGrath <roland@hack.frob.com>
10887
10888 * sysdeps/unix/Subdirs: Moved ...
10889 * sysdeps/posix/Subdirs: ... here.
10890 * login/pty.h (struct termios, struct winsize): Add forward decls.
10891 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
10892 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
10893 * sysdeps/arm/nacl/libc.abilist: Updated.
10894 * sysdeps/nacl/libutil.abilist: New file.
10895
10896 * bits/signum.h: Update comments to mention 1003.1-2013 too.
10897 (SIGWINCH): New macro.
10898
10899 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
10900 * sysdeps/arm/nacl/libc.abilist: Add it.
10901
10902 2015-07-23 Mike Frysinger <vapier@gentoo.org>
10903
10904 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
10905
10906 2015-07-23 Mike Frysinger <vapier@gentoo.org>
10907
10908 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10909 Swap __glibc_reserved0 and sa_flags order.
10910
10911 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10912
10913 [BZ #18657]
10914 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
10915 are pending TLS destructor calls.
10916 * include/link.h (struct link_map): Add concurrency note for
10917 L_TLS_DTOR_COUNT.
10918 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10919 Don't touch the link map flag. Atomically increment
10920 l_tls_dtor_count.
10921 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
10922 Avoid taking the load lock and don't touch the link map flag.
10923 * stdlib/tst-tls-atexit-nodelete.c: New test case.
10924 * stdlib/Makefile (tests): Use it.
10925 * stdlib/tst-tls-atexit.c (do_test): dlopen
10926 tst-tls-atexit-lib.so again before dlclose. Add conditionals
10927 to allow tst-tls-atexit-nodelete test case to use it.
10928
10929 2015-07-22 Mike Frysinger <vapier@gentoo.org>
10930
10931 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
10932 to bits/types.h.
10933 (msgqnum_t): New typedef.
10934 (msglen_t): Likewise.
10935 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
10936 and msg_qbytes type to msglen_t.
10937
10938 2015-07-22 Mike Frysinger <vapier@gentoo.org>
10939
10940 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
10941 pad0 to __glibc_reserved0.
10942 (struct stat64): Likewise.
10943
10944 2015-07-22 Mike Frysinger <vapier@gentoo.org>
10945
10946 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10947 Change sa_flags from a long to an int and add __glibc_reserved0 before
10948 it for padding.
10949
10950 2015-07-22 Mike Frysinger <vapier@gentoo.org>
10951
10952 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
10953 anonymous by deleting "siginfo" name.
10954
10955 2015-07-21 Roland McGrath <roland@hack.frob.com>
10956
10957 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
10958 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
10959 rather than __nacl_irt_filename.
10960 * sysdeps/nacl/xstat.c (__xstat): Likewise.
10961
10962 * NEWS: New item for arm-nacl port.
10963 * sysdeps/arm/nacl/libc.abilist: New file.
10964 * sysdeps/nacl/ld.abilist: New file.
10965 * sysdeps/nacl/libBrokenLocale.abilist: New file.
10966 * sysdeps/nacl/libanl.abilist: New file.
10967 * sysdeps/nacl/libcrypt.abilist: New file.
10968 * sysdeps/nacl/libdl.abilist: New file.
10969 * sysdeps/nacl/libm.abilist: New file.
10970 * sysdeps/nacl/libpthread.abilist: New file.
10971 * sysdeps/nacl/libresolv.abilist: New file.
10972 * sysdeps/nacl/librt.abilist: New file.
10973
10974 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
10975
10976 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
10977 __startcontext to initialize the new context.
10978 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
10979 up CFI directive to forbid further backtracing.
10980
10981 2015-07-21 Marko Myllynen <myllynen@redhat.com>
10982
10983 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
10984 reference.
10985 * charmaps/ANSI_X3.4-1968: Likewise.
10986 * charmaps/BS_4730: Likewise.
10987 * charmaps/BS_VIEWDATA: Likewise.
10988 * charmaps/CP1250: Likewise.
10989 * charmaps/CP1251: Likewise.
10990 * charmaps/CP1252: Likewise.
10991 * charmaps/CP1253: Likewise.
10992 * charmaps/CP1254: Likewise.
10993 * charmaps/CP1255: Likewise.
10994 * charmaps/CP1256: Likewise.
10995 * charmaps/CSN_369103: Likewise.
10996 * charmaps/EBCDIC-DK-NO: Likewise.
10997 * charmaps/GB_1988-80: Likewise.
10998 * charmaps/GREEK-CCITT: Likewise.
10999 * charmaps/GREEK7: Likewise.
11000 * charmaps/INIS-8: Likewise.
11001 * charmaps/ISIRI-3342: Likewise.
11002 * charmaps/ISO_2033-1983: Likewise.
11003 * charmaps/ISO_5427-EXT: Likewise.
11004 * locales/POSIX: Likewise.
11005 * locales/ar_SA: Likewise.
11006 * locales/be_BY: Likewise.
11007 * locales/be_BY@latin: Likewise.
11008 * locales/ca_ES: Likewise.
11009 * locales/cs_CZ: Likewise.
11010 * locales/da_DK: Likewise.
11011 * locales/de_BE: Likewise.
11012 * locales/de_CH: Likewise.
11013 * locales/de_LU: Likewise.
11014 * locales/en_AU: Likewise.
11015 * locales/en_BW: Likewise.
11016 * locales/en_CA: Likewise.
11017 * locales/en_DK: Likewise.
11018 * locales/en_GB: Likewise.
11019 * locales/en_IE: Likewise.
11020 * locales/en_NZ: Likewise.
11021 * locales/en_ZA: Likewise.
11022 * locales/en_ZW: Likewise.
11023 * locales/es_AR: Likewise.
11024 * locales/es_BO: Likewise.
11025 * locales/es_CL: Likewise.
11026 * locales/es_CO: Likewise.
11027 * locales/es_DO: Likewise.
11028 * locales/es_EC: Likewise.
11029 * locales/es_ES: Likewise.
11030 * locales/es_HN: Likewise.
11031 * locales/es_MX: Likewise.
11032 * locales/es_PA: Likewise.
11033 * locales/es_PE: Likewise.
11034 * locales/es_PY: Likewise.
11035 * locales/es_SV: Likewise.
11036 * locales/es_US: Likewise.
11037 * locales/es_UY: Likewise.
11038 * locales/es_VE: Likewise.
11039 * locales/et_EE: Likewise.
11040 * locales/fa_IR: Likewise.
11041 * locales/fo_FO: Likewise.
11042 * locales/fr_CA: Likewise.
11043 * locales/fr_CH: Likewise.
11044 * locales/gv_GB: Likewise.
11045 * locales/he_IL: Likewise.
11046 * locales/hr_HR: Likewise.
11047 * locales/id_ID: Likewise.
11048 * locales/is_IS: Likewise.
11049 * locales/it_CH: Likewise.
11050 * locales/iw_IL: Likewise.
11051 * locales/kl_GL: Likewise.
11052 * locales/ko_KR: Likewise.
11053 * locales/kw_GB: Likewise.
11054 * locales/lg_UG: Likewise.
11055 * locales/lt_LT: Likewise.
11056 * locales/lv_LV: Likewise.
11057 * locales/mi_NZ: Likewise.
11058 * locales/nhn_MX: Likewise.
11059 * locales/nl_BE: Likewise.
11060 * locales/pl_PL: Likewise.
11061 * locales/sk_SK: Likewise.
11062 * locales/sl_SI: Likewise.
11063 * locales/sv_FI: Likewise.
11064 * locales/tl_PH: Likewise.
11065 * locales/tr_TR: Likewise.
11066 * locales/vi_VN: Likewise.
11067
11068 2015-07-21 Khem Raj <raj.khem@gmail.com>
11069
11070 [BZ #17475]
11071 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
11072 of tu_IN and bh_IN.
11073
11074 2015-07-21 Mike Frysinger <vapier@gentoo.org>
11075
11076 [BZ #18694]
11077 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
11078 bits/wordsize.h.
11079 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
11080
11081 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11082
11083 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
11084 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
11085 (spawn_thread): New function.
11086 (load): Rename to reg_dtor_and_close. Move dlopen to...
11087 (do_test): ... here. Use IS_LOADED to test for its
11088 availability.
11089
11090 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
11091
11092 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11093
11094 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
11095
11096 [BZ #18696]
11097 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
11098 si_addr_bnd.
11099 (si_lower): New.
11100 (si_upper): Likewise.
11101
11102 2015-07-16 David S. Miller <davem@davemloft.net>
11103
11104 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11105
11106 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11107
11108 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
11109 buffer.
11110 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
11111 fail output information.
11112
11113 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11114
11115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
11116 and strstr-ppc64..
11117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11118 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
11119 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
11120 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
11121 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
11122
11123 2015-07-16 Mike Frysinger <vapier@gentoo.org>
11124
11125 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11126 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11127 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11128 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11129
11130 2015-07-16 Mike Frysinger <vapier@gentoo.org>
11131
11132 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11133 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
11134 rtld_hidden_proto.
11135 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
11136
11137 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11138
11139 * tst-nodelete-opened.c (do_test): Add comment to clarify how
11140 the test can fail.
11141
11142 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
11143
11144 [BZ #18676]
11145 * elf/tst-nodelete-opened.c: New test case.
11146 * elf/tst-nodelete-opened-lib.c: New test case module.
11147 * elf/Makefile (tests, modules-names): Use them.
11148 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
11149 early.
11150
11151 2015-07-15 David S. Miller <davem@davemloft.net>
11152
11153 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
11154 futex-intenal.h
11155 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
11156 * sysdeps/sparc/sparc64/Makefile: Likewise.
11157 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11158 Remove space from macro define.
11159 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
11160
11161 2015-07-15 Pravin Satpute <psatpute@redhat.com>
11162
11163 [BZ #17475]
11164 * locale/iso-639.def: Update Bhili and Tulu language codes as
11165 per iso639-3.
11166
11167 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
11168
11169 * elf/tst-leaks1.c (main): Converted to ...
11170 (do_test): ... this.
11171 (TEST_FUNCTION): New macro.
11172 Include test-skeleton.c.
11173 * localedata/tst-langinfo.c (main): Converted to ...
11174 (do_test): ... this.
11175 (TEST_FUNCTION): New macro.
11176 Include test-skeleton.c.
11177 * math/test-fpucw.c (main): Converted to ...
11178 (do_test): ... this.
11179 (TEST_FUNCTION): New macro.
11180 Include test-skeleton.c.
11181 * math/test-tgmath.c (main): Converted to ...
11182 (do_test): ... this.
11183 (TEST_FUNCTION): New macro.
11184 Include test-skeleton.c.
11185 * math/test-tgmath2.c (main): Converted to ...
11186 (do_test): ... this.
11187 (TEST_FUNCTION): New macro.
11188 Include test-skeleton.c.
11189 * setjmp/tst-setjmp.c (main): Converted to ...
11190 (do_test): ... this.
11191 (TEST_FUNCTION): New macro.
11192 Include test-skeleton.c.
11193 * stdio-common/tst-sscanf.c (main): Converted to ...
11194 (do_test): ... this.
11195 (TEST_FUNCTION): New macro.
11196 Include test-skeleton.c.
11197 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
11198 (do_test): ... this.
11199 (TEST_FUNCTION): New macro.
11200 Include test-skeleton.c.
11201
11202 * elf/tst-audit9.c (main): Converted to ...
11203 (do_test): ... this.
11204 (TEST_FUNCTION): New macro.
11205 Include test-skeleton.c.
11206
11207 2015-07-15 Mike Frysinger <vapier@gentoo.org>
11208
11209 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
11210
11211 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
11212
11213 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
11214 New variable.
11215
11216 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
11217
11218 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11219
11220 2015-07-14 Roland McGrath <roland@hack.frob.com>
11221
11222 * sysdeps/generic/dl-fileid.h: New file.
11223 * sysdeps/posix/dl-fileid.h: New file.
11224 * sysdeps/nacl/dl-fileid.h: New file.
11225 * include/link.h: Include <dl-fileid.h>.
11226 (struct link_map): Replace l_dev and l_ino with l_file_id.
11227 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
11228 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
11229 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
11230
11231 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11232
11233 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
11234
11235 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11236
11237 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
11238 Add iff $CXX is set.
11239 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
11240 Likewise.
11241 (tst-nodelete-zmodiff): Likewise.
11242 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
11243
11244 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11245
11246 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
11247
11248 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
11249
11250 * sysdeps/aarch64/fpu/math_private.h
11251 (define math_opt_barrier): Add AArch64 version.
11252 (math_force_eval): Likewise.
11253
11254 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
11255
11256 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
11257
11258 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
11259
11260 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
11261 %ld with %jd and cast to intmax_t.
11262 (do_test_length_zero): Likewise.
11263
11264 2015-07-10 Roland McGrath <roland@hack.frob.com>
11265
11266 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
11267
11268 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
11269
11270 * sysdeps/tile/libm-test-ulps: Regenerated.
11271
11272 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
11273 Comment out the whole function, not just its body.
11274
11275 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11276
11277 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
11278 locks.
11279
11280 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
11281
11282 2015-07-10 Torvald Riegel <triegel@redhat.com>
11283
11284 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
11285 (sem_assume_only_signals_cause_futex_EINTR): Remove.
11286
11287 2015-07-10 Torvald Riegel <triegel@redhat.com>
11288
11289 * sysdeps/nptl/futex-internal.h: New file.
11290 * sysdeps/nacl/futex-internal.h: New file.
11291 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
11292 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
11293 error checking.
11294 (setxid_unmark_thread): Likewise.
11295 (__nptl_setxid): Likewise.
11296 (__wait_lookup_done): Likewise.
11297 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
11298 * nptl/nptl-init.c (sighandler_setxid): Likewise.
11299 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
11300 * nptl/pthread_once.c (clear_once_control): Likewise.
11301 (__pthread_once_slow): Likewise.
11302 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11303 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
11304 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
11305 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11306 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
11307 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
11308 Likewise.
11309 (__pthread_rwlock_rdlock): Likewise.
11310 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11311 Likewise.
11312 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11313 Likewise.
11314 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11315 Likewise.
11316 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
11317 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
11318 Likewise.
11319 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
11320 __ASSUME_PRIVATE_FUTEX check.
11321 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
11322 Check that shared futexes are supported.
11323 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
11324 wrappers with error checking.
11325 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
11326 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
11327 * nptl/pthread_barrierattr_setpshared.c
11328 (pthread_barrierattr_setpshared): Check that shared futexes are
11329 supported.
11330 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
11331 Likewise.
11332 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
11333 Likewise.
11334 * nptl/sem_init.c (futex_private_if_supported): Remove.
11335 (__new_sem_init): Adapt and check that shared futexes are supported.
11336 * nptl/sem_open.c (sem_open): Likewise.
11337 * nptl/sem_post.c (futex_wake): Remove.
11338 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
11339 (do_futex_wait): Use futex wrappers with error checking.
11340 * nptl/sem_wait.c: Include lowlevellock.h.
11341 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
11342 Use futex_supports_pshared.
11343 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
11344 Use futex wrappers with error checking.
11345 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
11346 Likewise.
11347 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
11348 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
11349 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
11350 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
11351 (futex_wake): Likewise.
11352 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
11353 (do_futex_wait): Use futex wrappers with error checking.
11354 (__new_sem_wait_slow): Update EINTR handling.
11355 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
11356
11357 2015-07-09 Martin Sebor <msebor@redhat.com>
11358
11359 [BZ #18435]
11360 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11361 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
11362 * nptl/Makefile (test-xfail-tst-once5): Define.
11363
11364 2015-07-09 Roland McGrath <roland@hack.frob.com>
11365
11366 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
11367 * elf/dl-minimal.c: For readability, reorder some definitions and
11368 introduce more page breaks. Include <stdio.h>.
11369 (__libc_fatal): New function.
11370
11371 * include/unistd.h: Add rtld_hidden_proto for _exit.
11372 * posix/_exit.c: Add rtld_hidden_def.
11373 * sysdeps/mach/hurd/_exit.c: Likewise.
11374 * sysdeps/nacl/_exit.c: Likewise.
11375 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
11376 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
11377
11378 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
11379
11380 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
11381 bndmov encoding with zero displacement.
11382
11383 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
11384 H.J. Lu <hongjiu.lu@intel.com>
11385
11386 [BZ #18134]
11387 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
11388 * sysdeps/i386/configure: Regenerated.
11389 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11390 (_dl_runtime_profile): Save and restore Intel MPX return bound
11391 registers when calling _dl_call_pltexit. Add
11392 PRESERVE_BND_REGS_PREFIX before return.
11393 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
11394 (LRV_BND1_OFFSET): Likewise.
11395 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
11396 lrv_bnd1.
11397 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
11398 typo in bndmov encoding.
11399 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
11400 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
11401 branch instructions to preserve bounds.
11402
11403 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11404
11405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11406 [GLIBC_2.22]: Add fmemopen.
11407
11408 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
11409
11410 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
11411 returns an error, also try to use host port from __mach_host_self for
11412 the __vm_wire call.
11413 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
11414
11415 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11416
11417 [BZ #18400]
11418 [BZ #18648]
11419 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
11420 Fix pr_uid and pr_gid members.
11421 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
11422 definition to elf_greg_t.
11423
11424 2015-07-08 Roland McGrath <roland@hack.frob.com>
11425
11426 [BZ #18383]
11427 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
11428 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
11429 * sysdeps/arm/configure: Regenerated.
11430 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
11431 (test-xfail-tst-tlsalign-static): Variable removed.
11432
11433 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
11434 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
11435 rather than explicit 'ln -s'.
11436
11437 * resolv/rpc/netdb.h: New file.
11438 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
11439
11440 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11441
11442 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
11443 length buffers.
11444 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11445 test-skeleton.c.
11446
11447 [BZ #6544]
11448 [BZ #11216]
11449 [BZ #12836]
11450 [BZ #13151]
11451 [BZ #13152]
11452 [BZ #14292]
11453 * include/stdio.h (fmemopen): Remove hidden prototype.
11454 (__fmemopen): Add new hidden prototype.
11455 * libio/Makefile: Add oldfmemopen object.
11456 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
11457 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
11458 compliance.
11459 * libio/oldfmemopen.c: New file: old fmemopen implementation for
11460 symbol compatibility.
11461 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
11462 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
11463 fmemopen.
11464 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
11465 on append and read mode.
11466 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
11467 fmemopen.
11468 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
11469 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
11470 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
11471 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
11472 Likewise.
11473 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11474 [GLIBC_2.22]: Likewise.
11475 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
11476 Likewise.
11477 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
11478 Likewise.
11479 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11480 [GLIBC_2.22]: Likewise.
11481 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11482 [GLIBC_2.22]: Likewise.
11483 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11484 [GLIBC_2.22]: Likewise.
11485 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11486 [GLIBC_2.22]: Likewise.
11487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11488 [GLIBC_2.22]: Likewise.
11489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11490 [GLIBC_2.22]: Likewise.
11491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11492 [GLIBC_2.22]: Likewise.
11493 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
11494 Likewise.
11495 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
11496 Likewise.
11497 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
11498 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11499 [GLIBC_2.22]: Likewise.
11500 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11501 [GLIBC_2.22]: Likewise.
11502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11503 [GLIBC_2.22]: Likewise.
11504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11505 [GLIBC_2.22]: Likewise.
11506 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
11507 Likewise.
11508 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
11509 Likewise.
11510 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
11511 Likewise.
11512 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
11513 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
11514
11515 2015-07-08 Carlos O'Donell <carlos@redhat.com>
11516
11517 [BZ #18643]
11518 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
11519 IPV6_PATHMTU, and IPV6_DONTFRAG.
11520
11521 2015-07-08 Feng Gao <gfree.wind@gmail.com>
11522
11523 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
11524 and _IO_UNBUFFERED.
11525 * libio/oldfileops.c: Likewise.
11526 * libio/wfileops.c: Likewise.
11527
11528 2015-07-08 Mike Frysinger <vapier@gentoo.org>
11529
11530 * nscd/selinux.c: Delete selinux/flask.h include.
11531
11532 2015-07-08 Mike Frysinger <vapier@gentoo.org>
11533
11534 [BZ #18641]
11535 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
11536 (putpwent): Likewise.
11537 (getpwnam): Likewise.
11538 (getpwent_r): Likewise.
11539 (getpwuid_r): Likewise.
11540 (getpwnam_r): Likewise.
11541 (fgetpwent_r): Likewise.
11542
11543 2015-07-08 Carlos O'Donell <carlos@redhat.com>
11544
11545 [BZ #18557]
11546 * inet/rcmd.c (__validuser2_sa): Check user first to
11547 short-circuit host check.
11548
11549 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
11550 Mikhail Ilin <m.ilin@samsung.com>
11551
11552 [BZ #17833]
11553 * elf/Makefile (tests): Add tst-nodelete.
11554 (modules-names): Add tst-nodelete-uniquemod.
11555 (tst-nodelete-uniquemod.so-no-z-defs): New.
11556 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
11557 (tst-nodelete-zmod.so-no-z-defs): Likewise.
11558 ($(objpfx)tst-nodelete): Likewise.
11559 ($(objpfx)tst-nodelete.out): Likewise.
11560 (LDFLAGS-tst-nodelete): Likewise.
11561 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
11562 * elf/dl-close.c (_dl_close_worker): Add a parameter to
11563 implement forced object deletion.
11564 (_dl_close): Pass false to _dl_close_worker.
11565 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
11566 * elf/tst-nodelete.cc: New file.
11567 * elf/tst-nodeletelib.cc: Likewise.
11568 * elf/tst-znodeletelib.cc: Likewise.
11569 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
11570
11571 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
11572
11573 [BZ #18508]
11574 * stdlib/Makefile ($(objpfx)tst-makecontext3):
11575 Depend on $(libdl).
11576 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
11577 is not called infinitely times.
11578 (backtrace_helper): New function.
11579 (trace_arg): New struct.
11580 (st1): Enlarge stack size.
11581 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11582 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
11583 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11584 Likewise.
11585
11586 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
11587
11588 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11589
11590 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
11591
11592 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
11593 Include sys/types.h instead of bits/types.h.
11594 Remove inclusion of bits/wordsize.h.
11595
11596 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
11597
11598 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
11599 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
11600 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
11601 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
11602 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
11603 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
11604
11605 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
11606
11607 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
11608 link-defines.sym.
11609 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
11610 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
11611 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
11612 and LR_SIZE.
11613 * sysdeps/i386/link-defines.sym: New file.
11614
11615 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
11616
11617 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
11618 (modules-names): Add tst-auditmod3a tst-auditmod3b.
11619 ($(objpfx)tst-audit3): New rule.
11620 ($(objpfx)tst-audit3.out): Likewise.
11621 * sysdeps/i386/tst-audit3.c: New file.
11622 * sysdeps/i386/tst-audit3.h: Likewise.
11623 * sysdeps/i386/tst-auditmod3a.c: Likewise.
11624 * sysdeps/i386/tst-auditmod3b.c: Likewise.
11625
11626 2015-07-07 Torvald Riegel <triegel@redhat.com>
11627
11628 [BZ #18633]
11629 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
11630 pointer in C code.
11631 (__strcat_c): Likewise.
11632 (__strcat_g): Likewise.
11633
11634 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
11635
11636 [BZ #18592]
11637 * misc/sbrk.c: Set errno to ENOMEM on overflow.
11638
11639 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
11640
11641 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
11642 New function. (__ieee754_sqrtf): New function.
11643 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
11644 New function.
11645 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
11646 New function.
11647
11648 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
11649
11650 * sysdeps/ieee754/support.c: Remove unused file.
11651
11652 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11653
11654 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
11655 registers instead of d ones so the layout is kernel abi compatible.
11656 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
11657 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
11658 Likewise.
11659
11660 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11661
11662 * sysdeps/aarch64/libm-test-ulps: Regenerated.
11663
11664 2015-07-01 Joseph Myers <joseph@codesourcery.com>
11665
11666 [BZ #18619]
11667 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
11668 and return argument in case of subnormal argument.
11669
11670 2015-07-01 Martin Sebor <msebor@redhat.com>
11671
11672 [BZ #18435]
11673 * nptl/Makefile: Add tst-once5.cc.
11674 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11675 Remove macro redefinitions.
11676 * nptl/tst-once5.cc: New test.
11677
11678 2015-07-01 Joseph Myers <joseph@codesourcery.com>
11679
11680 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11681
11682 * sysdeps/arm/libm-test-ulps: Regenerated.
11683
11684 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11685 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11686
11687 2015-06-30 Torvald Riegel <triegel@redhat.com>
11688
11689 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
11690 lll_lock_wait_private and lll_futex_wake probes.
11691
11692 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11693 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
11694 Likewise.
11695 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
11696 atomic_spin_nop.
11697 * sysdeps/x86_64/bits/atomic.h: Likewise.
11698 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
11699 to atomic_spin_nop and move ...
11700 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11701 ... here and ...
11702 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
11703 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
11704 atomic_spin_nop instead of BUSY_WAIT_NOP.
11705 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
11706 Likewise.
11707 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
11708 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11709 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
11710 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
11711 instead of atomic_delay.
11712
11713 2015-06-29 Joseph Myers <joseph@codesourcery.com>
11714
11715 [BZ #18613]
11716 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
11717 X_ADJ not X when adjusting exponent.
11718 (__ieee754_gamma_r): Do intermediate computations in
11719 round-to-nearest then adjust overflowing and underflowing results
11720 as needed.
11721 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
11722 of X_ADJ not X when adjusting exponent.
11723 (__ieee754_gammaf_r): Do intermediate computations in
11724 round-to-nearest then adjust overflowing and underflowing results
11725 as needed.
11726 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
11727 log of X_ADJ not X when adjusting exponent.
11728 (__ieee754_gammal_r): Do intermediate computations in
11729 round-to-nearest then adjust overflowing and underflowing results
11730 as needed. Use 1.0L not 1.0f as numerator of division.
11731 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
11732 log of X_ADJ not X when adjusting exponent.
11733 (__ieee754_gammal_r): Do intermediate computations in
11734 round-to-nearest then adjust overflowing and underflowing results
11735 as needed. Use 1.0L not 1.0f as numerator of division.
11736 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
11737 of X_ADJ not X when adjusting exponent.
11738 (__ieee754_gammal_r): Do intermediate computations in
11739 round-to-nearest then adjust overflowing and underflowing results
11740 as needed. Use 1.0L not 1.0f as numerator of division.
11741 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
11742 to auto-libm-test-in.
11743 (tgamma_test): Use ALL_RM_TEST.
11744 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
11745 tests of tgamma with spurious-overflow.
11746 * math/auto-libm-test-out: Regenerated.
11747 * math/gen-libm-have-vector-test.sh: Do not check for START.
11748 * sysdeps/i386/fpu/libm-test-ulps: Update.
11749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11750
11751 [BZ #18612]
11752 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
11753 arguments, just return 0.5 times the argument, with underflow
11754 forced as needed.
11755 * math/auto-libm-test-in: Add more tests of j1.
11756 * math/auto-libm-test-out: Regenerated.
11757
11758 [BZ #16559]
11759 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
11760 (__ieee754_j1): Force underflow exception for small results.
11761 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11762 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
11763 (__ieee754_j1f): Force underflow exception for small results.
11764 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11765 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11766 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11767 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
11768 (__ieee754_j1l): Force underflow exception for small results.
11769 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11770 * math/auto-libm-test-in: Add more tests of j1 and jn.
11771 * math/auto-libm-test-out: Regenerated.
11772
11773 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
11774 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
11775 (PF_MPLS): Likewise.
11776 (AF_IB): Likewise.
11777 (AF_MPLS): Likewise.
11778 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
11779 value and macro.
11780 (MS_RMT_MASK): Include MS_LAZYTIME.
11781
11782 2015-06-26 Mel Gorman <mgorman@suse.de>
11783
11784 [BZ #18502]
11785 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
11786 already minimal.
11787
11788 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
11789
11790 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
11791 (DT_MIPS_NUM): Update.
11792 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
11793 DT_MIPS_RLD_MAP_REL.
11794
11795 2015-06-25 Joseph Myers <joseph@codesourcery.com>
11796
11797 [BZ #16559]
11798 [BZ #18602]
11799 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
11800 round-to-nearest internally then recompute results that
11801 underflowed to zero in the original rounding mode.
11802 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11803 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11804 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11805 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11806 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
11807 * sysdeps/i386/fpu/libm-test-ulps: Update.
11808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11809
11810 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
11811
11812 * NEWS: Fixed description of link with vector math library.
11813
11814 2015-06-25 Andreas Schwab <schwab@suse.de>
11815
11816 [BZ #18549]
11817 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
11818 * libio/test-fmemopen.c (do_test): Add test for it.
11819
11820 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
11821
11822 [BZ #17841]
11823 * Makeconfig (no-pie-ldflag): New.
11824 (+link): Set to $(+link-pie) if default to PIE.
11825 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
11826 * config.make.in (build-pie-default): New.
11827 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
11828 is default. AC_SUBST.
11829 * configure: Regenerated.
11830 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
11831
11832 2015-06-24 Roland McGrath <roland@hack.frob.com>
11833
11834 * nptl/descr.h (struct pthread): Change type of field setxid_futex
11835 to 'unsigned int'.
11836
11837 * resolv/gai_misc.h (struct waitlist): Change type of field
11838 counterp to 'volatile unsigned int *'.
11839 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
11840 FUTEXADDR and OLDVAL.
11841 * resolv/getaddrinfo_a.c (getaddrinfo_a):
11842 Give local variable TOTAL type 'volatile unsigned int'.
11843 (struct async_waitlist): Change type of field counter to 'unsigned int'.
11844 * resolv/gai_suspend.c (gai_suspend):
11845 Give local variable CNTR type 'unsigned int'.
11846
11847 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
11848 counterp to 'volatile unsigned int *'.
11849 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
11850 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
11851 (aio_suspend): Give local variable CNTR type 'unsigned int'.
11852 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
11853 Give local variable TOTAL type 'volatile unsigned int'.
11854 (struct async_waitlist): Change type of field counter to 'unsigned int'.
11855
11856 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
11857
11858 [BZ #18383]
11859 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
11860 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
11861 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
11862 comment for i386/x86-64.
11863 (test-xfail-tst-tlsalign-extern-static): Removed.
11864
11865 2015-06-24 Joseph Myers <joseph@codesourcery.com>
11866
11867 * math/test-double.h: New file.
11868 * math/test-float.h: Likewise.
11869 * math/test-ldouble.h: Likewise.
11870 * math/test-math-inline.h: Likewise.
11871 * math/test-math-no-inline.h: Likewise.
11872 * math/test-math-scalar.h: Likewise.
11873 * math/test-math-vector.h: Likewise.
11874 * math/test-vec-loop.h: Remove file. Contents moved into
11875 test-math-vector.h.
11876 * math/libm-test.inc (MATHCONST): Do not document macro.
11877 * math/test-double.c: Include test-double.h, test-math-no-inline.h
11878 and test-math-scalar.h.
11879 (FUNC): Remove macro.
11880 (FUNC_TEST): Likewise.
11881 (FLOAT): Likewise.
11882 (MATHCONST): Likewise.
11883 (PRINTF_EXPR): Likewise.
11884 (PRINTF_XEXPR): Likewise.
11885 (PRINTF_NEXPR): Likewise.
11886 (TEST_DOUBLE): Likewise.
11887 (TEST_MATHVEC): Likewise.
11888 (__NO_MATH_INLINES): Likewise.
11889 * math/test-float.c: Include test-float.h, test-math-no-inline.h
11890 and test-math-scalar.h.
11891 (FUNC): Remove macro.
11892 (FUNC_TEST): Likewise.
11893 (FLOAT): Likewise.
11894 (MATHCONST): Likewise.
11895 (PRINTF_EXPR): Likewise.
11896 (PRINTF_XEXPR): Likewise.
11897 (PRINTF_NEXPR): Likewise.
11898 (TEST_FLOAT): Likewise.
11899 (TEST_MATHVEC): Likewise.
11900 (__NO_MATH_INLINES): Likewise.
11901 * math/test-idouble.c: Include test-double.h, test-math-inline.h
11902 and test-math-scalar.h.
11903 (FUNC): Remove macro.
11904 (FUNC_TEST): Likewise.
11905 (FLOAT): Likewise.
11906 (MATHCONST): Likewise.
11907 (PRINTF_EXPR): Likewise.
11908 (PRINTF_XEXPR): Likewise.
11909 (PRINTF_NEXPR): Likewise.
11910 (TEST_DOUBLE): Likewise.
11911 (TEST_MATHVEC): Likewise.
11912 (TEST_INLINE): Likewise.
11913 (__NO_MATH_INLINES): Likewise.
11914 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
11915 test-math-scalar.h.
11916 (FUNC): Remove macro.
11917 (FUNC_TEST): Likewise.
11918 (FLOAT): Likewise.
11919 (MATHCONST): Likewise.
11920 (PRINTF_EXPR): Likewise.
11921 (PRINTF_XEXPR): Likewise.
11922 (PRINTF_NEXPR): Likewise.
11923 (TEST_FLOAT): Likewise.
11924 (TEST_MATHVEC): Likewise.
11925 (TEST_INLINE): Likewise.
11926 (__NO_MATH_INLINES): Likewise.
11927 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
11928 and test-math-scalar.h.
11929 (FUNC): Remove macro.
11930 (FUNC_TEST): Likewise.
11931 (FLOAT): Likewise.
11932 (MATHCONST): Likewise.
11933 (PRINTF_EXPR): Likewise.
11934 (PRINTF_XEXPR): Likewise.
11935 (PRINTF_NEXPR): Likewise.
11936 (TEST_LDOUBLE): Likewise.
11937 (TEST_MATHVEC): Likewise.
11938 (TEST_INLINE): Likewise.
11939 (__NO_MATH_INLINES): Likewise.
11940 * math/test-ldouble.c: Include test-ldouble.h,
11941 test-math-no-inline.h and test-math-scalar.h.
11942 (FUNC): Remove macro.
11943 (FUNC_TEST): Likewise.
11944 (FLOAT): Likewise.
11945 (MATHCONST): Likewise.
11946 (PRINTF_EXPR): Likewise.
11947 (PRINTF_XEXPR): Likewise.
11948 (PRINTF_NEXPR): Likewise.
11949 (TEST_LDOUBLE): Likewise.
11950 (TEST_MATHVEC): Likewise.
11951 (__NO_MATH_INLINES): Likewise.
11952 * math/test-double-vlen2.h: Include test-double.h,
11953 test-math-no-inline.h and test-math-vector.h.
11954 (FLOAT): Remove macro.
11955 (FUNC): Likewise.
11956 (MATHCONST): Likewise.
11957 (PRINTF_EXPR): Likewise.
11958 (PRINTF_XEXPR): Likewise.
11959 (PRINTF_NEXPR): Likewise.
11960 (TEST_DOUBLE): Likewise.
11961 (TEST_MATHVEC): Likewise.
11962 (__NO_MATH_INLINES): Likewise.
11963 (CNCT): Likewise.
11964 (CONCAT): Likewise.
11965 (WRAPPER_NAME): Likewise.
11966 (WRAPPER_DECL): Likewise.
11967 (WRAPPER_DECL_ff): Likewise.
11968 (WRAPPER_DECL_fFF): Likewise.
11969 (VECTOR_WRAPPER): Likewise.
11970 (VECTOR_WRAPPER_ff): Likewise.
11971 (VECTOR_WRAPPER_fFF): Likewise.
11972 (VEC_LEN): New macro.
11973 * math/test-double-vlen4.h: Include test-double.h,
11974 test-math-no-inline.h and test-math-vector.h.
11975 (FLOAT): Remove macro.
11976 (FUNC): Likewise.
11977 (MATHCONST): Likewise.
11978 (PRINTF_EXPR): Likewise.
11979 (PRINTF_XEXPR): Likewise.
11980 (PRINTF_NEXPR): Likewise.
11981 (TEST_DOUBLE): Likewise.
11982 (TEST_MATHVEC): Likewise.
11983 (__NO_MATH_INLINES): Likewise.
11984 (CNCT): Likewise.
11985 (CONCAT): Likewise.
11986 (WRAPPER_NAME): Likewise.
11987 (WRAPPER_DECL): Likewise.
11988 (WRAPPER_DECL_ff): Likewise.
11989 (WRAPPER_DECL_fFF): Likewise.
11990 (VECTOR_WRAPPER): Likewise.
11991 (VECTOR_WRAPPER_ff): Likewise.
11992 (VECTOR_WRAPPER_fFF): Likewise.
11993 (VEC_LEN): New macro.
11994 * math/test-double-vlen8.h: Include test-double.h,
11995 test-math-no-inline.h and test-math-vector.h.
11996 (FLOAT): Remove macro.
11997 (FUNC): Likewise.
11998 (MATHCONST): Likewise.
11999 (PRINTF_EXPR): Likewise.
12000 (PRINTF_XEXPR): Likewise.
12001 (PRINTF_NEXPR): Likewise.
12002 (TEST_DOUBLE): Likewise.
12003 (TEST_MATHVEC): Likewise.
12004 (__NO_MATH_INLINES): Likewise.
12005 (CNCT): Likewise.
12006 (CONCAT): Likewise.
12007 (WRAPPER_NAME): Likewise.
12008 (WRAPPER_DECL): Likewise.
12009 (WRAPPER_DECL_ff): Likewise.
12010 (WRAPPER_DECL_fFF): Likewise.
12011 (VECTOR_WRAPPER): Likewise.
12012 (VECTOR_WRAPPER_ff): Likewise.
12013 (VECTOR_WRAPPER_fFF): Likewise.
12014 (VEC_LEN): New macro.
12015 * math/test-float-vlen4.h: Include test-float.h,
12016 test-math-no-inline.h and test-math-vector.h.
12017 (FLOAT): Remove macro.
12018 (FUNC): Likewise.
12019 (MATHCONST): Likewise.
12020 (PRINTF_EXPR): Likewise.
12021 (PRINTF_XEXPR): Likewise.
12022 (PRINTF_NEXPR): Likewise.
12023 (TEST_FLOAT): Likewise.
12024 (TEST_MATHVEC): Likewise.
12025 (__NO_MATH_INLINES): Likewise.
12026 (CNCT): Likewise.
12027 (CONCAT): Likewise.
12028 (WRAPPER_NAME): Likewise.
12029 (WRAPPER_DECL): Likewise.
12030 (WRAPPER_DECL_ff): Likewise.
12031 (WRAPPER_DECL_fFF): Likewise.
12032 (VECTOR_WRAPPER): Likewise.
12033 (VECTOR_WRAPPER_ff): Likewise.
12034 (VECTOR_WRAPPER_fFF): Likewise.
12035 (VEC_LEN): New macro.
12036 * math/test-float-vlen8.h: Include test-float.h,
12037 test-math-no-inline.h and test-math-vector.h.
12038 (FLOAT): Remove macro.
12039 (FUNC): Likewise.
12040 (MATHCONST): Likewise.
12041 (PRINTF_EXPR): Likewise.
12042 (PRINTF_XEXPR): Likewise.
12043 (PRINTF_NEXPR): Likewise.
12044 (TEST_FLOAT): Likewise.
12045 (TEST_MATHVEC): Likewise.
12046 (__NO_MATH_INLINES): Likewise.
12047 (CNCT): Likewise.
12048 (CONCAT): Likewise.
12049 (WRAPPER_NAME): Likewise.
12050 (WRAPPER_DECL): Likewise.
12051 (WRAPPER_DECL_ff): Likewise.
12052 (WRAPPER_DECL_fFF): Likewise.
12053 (VECTOR_WRAPPER): Likewise.
12054 (VECTOR_WRAPPER_ff): Likewise.
12055 (VECTOR_WRAPPER_fFF): Likewise.
12056 (VEC_LEN): New macro.
12057 * math/test-float-vlen16.h: Include test-float.h,
12058 test-math-no-inline.h and test-math-vector.h.
12059 (FLOAT): Remove macro.
12060 (FUNC): Likewise.
12061 (MATHCONST): Likewise.
12062 (PRINTF_EXPR): Likewise.
12063 (PRINTF_XEXPR): Likewise.
12064 (PRINTF_NEXPR): Likewise.
12065 (TEST_FLOAT): Likewise.
12066 (TEST_MATHVEC): Likewise.
12067 (__NO_MATH_INLINES): Likewise.
12068 (CNCT): Likewise.
12069 (CONCAT): Likewise.
12070 (WRAPPER_NAME): Likewise.
12071 (WRAPPER_DECL): Likewise.
12072 (WRAPPER_DECL_ff): Likewise.
12073 (WRAPPER_DECL_fFF): Likewise.
12074 (VECTOR_WRAPPER): Likewise.
12075 (VECTOR_WRAPPER_ff): Likewise.
12076 (VECTOR_WRAPPER_fFF): Likewise.
12077 (VEC_LEN): New macro.
12078 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
12079 test-vec-loop.h.
12080 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12081 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12082 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12083 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12084 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12085 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12086 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12087
12088 2015-06-24 Roland McGrath <roland@hack.frob.com>
12089
12090 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
12091 (__getlogin_r): ... this.
12092
12093 2015-06-24 Joseph Myers <joseph@codesourcery.com>
12094
12095 [BZ #18594]
12096 * math/s_ccosh.c (__ccosh): Compare with least normal value
12097 instead of comparing class with FP_SUBNORMAL.
12098 * math/s_ccoshf.c (__ccoshf): Likewise.
12099 * math/s_ccoshl.c (__ccoshl): Likewise.
12100 * math/s_cexp.c (__cexp): Likewise.
12101 * math/s_cexpf.c (__cexpf): Likewise.
12102 * math/s_cexpl.c (__cexpl): Likewise.
12103 * math/s_csin.c (__csin): Likewise.
12104 * math/s_csinf.c (__csinf): Likewise.
12105 * math/s_csinh.c (__csinh): Likewise.
12106 * math/s_csinhf.c (__csinhf): Likewise.
12107 * math/s_csinhl.c (__csinhl): Likewise.
12108 * math/s_csinl.c (__csinl): Likewise.
12109 * math/s_ctan.c (__ctan): Likewise.
12110 * math/s_ctanf.c (__ctanf): Likewise.
12111 * math/s_ctanh.c (__ctanh): Likewise.
12112 * math/s_ctanhf.c (__ctanhf): Likewise.
12113 * math/s_ctanhl.c (__ctanhl): Likewise.
12114 * math/s_ctanl.c (__ctanl): Likewise.
12115 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
12116 csin, csinh, ctan and ctanh.
12117 * math/auto-libm-test-out: Regenerated.
12118 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
12119 * sysdeps/i386/fpu/libm-test-ulps: Update.
12120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12121
12122 2015-06-24 Roland McGrath <roland@hack.frob.com>
12123
12124 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
12125 return value is wrong, print the expected value too.
12126
12127 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
12128
12129 [BZ #18585]
12130 * elf/readlib.c (is_gdb_python_file): New.
12131 (process_file): Don't issue errors on filenames with -gdb.py
12132 suffix.
12133
12134 2015-06-24 Joseph Myers <joseph@codesourcery.com>
12135
12136 * math/auto-libm-test-in: Add more tests of csin and csinh.
12137 * math/auto-libm-test-out: Regenerated.
12138 * math/libm-test.inc (csin_test_data): Remove tests moved to
12139 auto-libm-test-in.
12140 (csinh_test_data): Likewise.
12141
12142 [BZ #18593]
12143 * math/s_csin.c (__csin): Negate before rather than after possibly
12144 overflowing multiplication.
12145 * math/s_csinf.c (__csinf): Likewise.
12146 * math/s_csinh.c (__csinh): Likewise.
12147 * math/s_csinhf.c (__csinhf): Likewise.
12148 * math/s_csinhl.c (__csinhl): Likewise.
12149 * math/s_csinl.c (__csinl): Likewise.
12150 * math/auto-libm-test-in: Add some tests of csin and csinh.
12151 * math/auto-libm-test-out: Regenerated.
12152 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
12153 (csinh_test_data): Likewise.
12154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12155
12156 [BZ #18586]
12157 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
12158 underflow exception for small results.
12159
12160 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
12161
12162 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12163 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
12164 variable and included header.
12165 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
12166 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
12167 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
12168 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
12169 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
12170 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12171 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12172 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
12173 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
12174 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
12175 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
12176 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
12177 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
12178 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
12179 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
12180 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
12181
12182 2015-06-23 Joseph Myers <joseph@codesourcery.com>
12183
12184 [BZ #16526]
12185 [BZ #16538]
12186 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
12187 (__sin): Force underflow exception for arguments with small
12188 absolute value.
12189 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
12190 (__kernel_sinf): Force underflow exception for arguments with
12191 small absolute value.
12192 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
12193 (__kernel_sincosl): Force underflow exception for arguments with
12194 small absolute value.
12195 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
12196 (__kernel_sinl): Force underflow exception for arguments with
12197 small absolute value.
12198 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
12199 (__kernel_sincosl): Force underflow exception for arguments with
12200 small absolute value.
12201 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
12202 (__kernel_sinl): Force underflow exception for arguments with
12203 small absolute value.
12204 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
12205 (__kernel_sinl): Force underflow exception for arguments with
12206 small absolute value.
12207 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
12208 (__kernel_sinf): Force underflow exception for arguments with
12209 small absolute value.
12210 * math/auto-libm-test-in: Add more tests of sin and sincos.
12211 * math/auto-libm-test-out: Regenerated.
12212
12213 [BZ #18245]
12214 [BZ #18583]
12215 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
12216 (__kernel_standard_l): Use feholdexcept and fesetenv around
12217 conversion to double instead of special-casing overflow and
12218 underflow.
12219 * math/libm-test.inc (fmod_test_data): Add more tests.
12220 (remainder_test_data): Likewise.
12221 (sqrt_test_data): Likewise.
12222
12223 2015-06-23 Torvald Riegel <triegel@redhat.com>
12224
12225 [BZ #17403]
12226 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
12227 atomic_read_barrier, atomic_write_barrier): Define.
12228 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
12229 atomic_read_barrier, atomic_write_barrier): Define.
12230
12231 2015-06-23 Joseph Myers <joseph@codesourcery.com>
12232
12233 * math/Makefile [$(PERL) != no]
12234 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
12235 dependency on libm-test.stmp below the inclusion of Rules.
12236
12237 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
12238
12239 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12240 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
12241 and included header.
12242 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
12243 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
12244 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
12245 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
12246 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
12247 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
12248 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12249 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12250 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
12251 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
12252 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
12253 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
12254 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
12255 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
12256 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
12257 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
12258 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
12259 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
12260 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
12261
12262 2015-06-23 Joseph Myers <joseph@codesourcery.com>
12263
12264 [BZ #18371]
12265 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
12266 intermediate but not final result might underflow.
12267 * math/s_csqrtf.c (__csqrtf): Likewise.
12268 * math/s_csqrtl.c (__csqrtl): Likewise.
12269 * math/auto-libm-test-in: Add more tests of csqrt.
12270 * math/auto-libm-test-out: Regenerated.
12271 * sysdeps/i386/fpu/libm-test-ulps: Update.
12272
12273 [BZ #18219]
12274 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
12275 threshold on absolute value of exponent for which scaling is used.
12276 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12277 * math/auto-libm-test-in: Add more tests of exp2.
12278 * math/auto-libm-test-out: Regenerated.
12279
12280 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
12281
12282 [BZ #17977]
12283 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
12284 when initializing interface list, based on the bug analysis
12285 and the patch proposed by Eric Newton.
12286 * resolv/tst-res_hconf_reorder.c: New test.
12287 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
12288 tst-res_hconf_reorder.
12289 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
12290 and $(shared-thread-library).
12291 (tst-res_hconf_reorder-ENV): New variable.
12292
12293 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
12294 in comment.
12295
12296 2015-06-22 Joseph Myers <joseph@codesourcery.com>
12297
12298 [BZ #16353]
12299 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
12300 (__expm1): Force underflow exception for arguments with small
12301 absolute value.
12302 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
12303 (__expm1f): Force underflow exception for arguments with small
12304 absolute value.
12305 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
12306 (__expm1): Force underflow exception for arguments with small
12307 absolute value.
12308 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
12309 (__expm1f): Force underflow exception for arguments with small
12310 absolute value.
12311 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12312 Check for small arguments before calling __expm1.
12313 * math/auto-libm-test-in: Do not mark underflow exceptions as
12314 possibly missing for bug 16353.
12315 * math/auto-libm-test-out: Regenerated.
12316
12317 2015-06-22 Andreas Schwab <schwab@suse.de>
12318
12319 [BZ #18513]
12320 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
12321 PTR queries.
12322
12323 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
12324
12325 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
12326
12327 * string/strcoll_l.c: Remove unused struct element idxnow.
12328
12329 2015-06-21 Joseph Myers <joseph@codesourcery.com>
12330
12331 [BZ #18569]
12332 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
12333 underflow and return argument in case of subnormal argument.
12334 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12335 Likewise.
12336 * math/auto-libm-test-in: Add more tests of expm1.
12337 * math/auto-libm-test-out: Regenerated.
12338
12339 [BZ #16361]
12340 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12341 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12342 tiny results.
12343 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12344 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12345 tiny results.
12346 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
12347 mark underflow exceptions as possibly missing for bug 16361.
12348 * math/auto-libm-test-out: Regenerated.
12349
12350 2015-06-19 Joseph Myers <joseph@codesourcery.com>
12351
12352 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
12353 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
12354 Remove variable.
12355 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12356 (test-xfail-XOPEN2K8/utmpx.h/conform).
12357
12358 * conform/conformtest.pl ($xerrors): New variable.
12359 (note_error): New function.
12360 (compiletest): New argument $xfail. Use not_error.
12361 (runtest): Likewise.
12362 (top level): Handle xfail- lines. Update calls to compiletest and
12363 runtest. Handle xfail- and optional- in headers listed with
12364 allow-header.
12365 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
12366 (O_EXEC): Likewise.
12367 (O_SEARCH): Likewise.
12368 * conform/data/stropts.h-data (ioctl): Likewise.
12369 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
12370 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
12371 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
12372 (msghdr.msg_controllen): Likewise.
12373 (cmsghdr.cmsg_len): Likewise.
12374 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
12375 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
12376 variable.
12377 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12378 (test-xfail-XPG4/stropts.h/conform): Likewise.
12379 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12380 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12381 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12382 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12383 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12384 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12385 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12386 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12387 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12388 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12389 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12390 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12391 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12392 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12393 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12394 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12395 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12396 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12397 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12398
12399 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
12400
12401 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
12402 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
12403 definitions for proper unfolding of __MATHDECL_VEC.
12404
12405 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12406
12407 * benchtests/bench-strcoll.c:
12408 Include string.h.
12409 (main): Remove unused variable res.
12410
12411 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12412
12413 * timezone/Makefile (%/UTC %/Universal):
12414 Generate test-result files for UTC and Universal.
12415
12416 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12417
12418 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12419
12420 2015-06-18 Joseph Myers <joseph@codesourcery.com>
12421
12422 [BZ #16350]
12423 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
12424 for arguments with small absolute value.
12425 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
12426 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
12427 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
12428 (__asinh): Force underflow exception for arguments with small
12429 absolute value.
12430 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
12431 (__asinhf): Force underflow exception for arguments with small
12432 absolute value.
12433 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
12434 (__asinhl): Force underflow exception for arguments with small
12435 absolute value.
12436 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
12437 (__asinhl): Force underflow exception for arguments with small
12438 absolute value.
12439 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
12440 (__asinhl): Force underflow exception for arguments with small
12441 absolute value.
12442 * math/auto-libm-test-in: Do not mark underflow exceptions as
12443 possibly missing for bug 16350.
12444 * math/auto-libm-test-out: Regenerated.
12445
12446 * include/bits/ipc.h: Remove file.
12447 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
12448 variable.
12449 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12450 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12451 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12452 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12453 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12454 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12455 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12456 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12457 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12458
12459 * math/auto-libm-test-in: Remove spurious underflow allowance for
12460 tests of cexp.
12461 * math/auto-libm-test-out: Regenerated.
12462
12463 [BZ #18558]
12464 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
12465 unconditional definition.
12466 (MCAST_BLOCK_SOURCE): Likewise.
12467 (MCAST_UNBLOCK_SOURCE): Likewise.
12468 (MCAST_LEAVE_GROUP): Likewise.
12469 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12470 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12471 (MCAST_MSFILTER): Likewise.
12472 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
12473 Remove variable.
12474 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12475 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12476 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12477 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12478 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12479
12480 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
12481
12482 * NEWS: Mention addition of x86_64 vector sincosf.
12483 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
12484 * math/test-float-vlen4.h: Likewise.
12485 * math/test-float-vlen8.h: Likewise.
12486 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12487 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
12488 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12489 * sysdeps/x86_64/fpu/Versions: New versions added.
12490 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12491 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12492 Added build of SSE, AVX2 and AVX512 IFUNC versions.
12493 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
12494 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12495 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
12496 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12497 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
12498 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12499 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
12500 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
12501 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
12502 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
12503 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
12504 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
12505 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
12506 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
12507 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12508 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12509 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12510 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12511 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12512 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12513 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12514
12515 * NEWS: Mention addition of x86_64 vector sincos.
12516 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
12517 * math/math.h (__MATHDECL_VEC): New macro.
12518 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
12519 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
12520 declaration under condition.
12521 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
12522 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
12523 TEST_VEC_LOOP change.
12524 * math/test-double-vlen4.h: Likewise.
12525 * math/test-double-vlen8.h: Likewise.
12526 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
12527 * math/test-float-vlen4.h: Likewise.
12528 * math/test-float-vlen8.h: Likewise.
12529 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12530 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
12531 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12532 * sysdeps/x86_64/fpu/Versions: New versions added.
12533 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12534 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12535 Added build of SSE, AVX2 and AVX512 IFUNC versions.
12536 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
12537 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
12538 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
12539 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
12540 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
12541 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
12542 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
12543 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
12544 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
12545 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
12546 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
12547 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
12548 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
12549 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
12550 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12551 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12552 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12553 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12554 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12555 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12556 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12557
12558 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12559 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12560 redirections for powf.
12561 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12562 * sysdeps/x86_64/fpu/Versions: New versions added.
12563 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12564 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12565 Added build of SSE, AVX2 and AVX512 IFUNC versions.
12566 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
12567 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
12568 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
12569 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
12570 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
12571 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
12572 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
12573 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
12574 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
12575 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
12576 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
12577 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
12578 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
12579 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
12580 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12581 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12582 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12583 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12584 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12585 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12586 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12587 * math/test-float-vlen16.h: Fixed 2 argument macro.
12588 * math/test-float-vlen4.h: Likewise.
12589 * math/test-float-vlen8.h: Likewise.
12590 * NEWS: Mention addition of x86_64 vector powf.
12591
12592 2015-06-17 Joseph Myers <joseph@codesourcery.com>
12593
12594 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12595 and redefine.
12596 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12597 and redefine.
12598 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
12599 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12600 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12601
12602 [BZ #18553]
12603 * resource/getpriority.c (getpriority): Rename to __getpriority
12604 and define as weak alias of __getpriority.
12605 * resource/setpriority.c (setpriority): Rename to __setpriority
12606 and define as weak alias of __setpriority.
12607 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
12608 __getpriority and define as weak alias of __getpriority.
12609 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
12610 __setpriority and define as weak alias of __setpriority.
12611 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
12612 strong name.
12613 (setpriority): Use __setpriority as strong name.
12614 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
12615 __getpriority and define as weak alias of __getpriority.
12616 * include/sys/resource.h (__getpriority): Declare. Use
12617 libc_hidden_proto.
12618 (__setpriority): Likewise.
12619 (getpriority): Don't use libc_hidden_proto.
12620 (setpriority): Likewise.
12621 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
12622 getpriority. Call __setpriority instead of setpriority.
12623 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
12624 Remove variable.
12625
12626 [BZ #18547]
12627 * misc/getttyent.c (getttynam): Rename to __getttynam and define
12628 as weak alias of __getttynam. Use prototype function definition.
12629 Call __setttyent, __getttyent and __endttyent instead of
12630 setttyent, getttyent and endttyent.
12631 (getttyent): Rename to __getttyent and define as weak alias of
12632 __getttyent. Call __setttyent instead of setttyent. Call
12633 __fgets_unlocked instead of fgets_unlocked.
12634 (setttyent): Rename to __setttyent and define as weak alias of
12635 __setttyent.
12636 (endttyent): Rename to __endttyent and define as weak alias of
12637 __endttyent.
12638 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
12639 (__setttyent): Likewise.
12640 (__endttyent): Likewise.
12641 (getttyent): Don't use libc_hidden_proto.
12642 (setttyent): Likewise.
12643 (endttyent): Likewise.
12644 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
12645 __endttyent instead of setttyent, getttyent and endttyent.
12646 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
12647 Remove variable.
12648
12649 [BZ #18546]
12650 * socket/recv.c (__recv): Use libc_hidden_def.
12651 * socket/socket.c (__socket): Likewise.
12652 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12653 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12654 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
12655 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
12656 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
12657 libc_hidden_def.
12658 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
12659 libc_hidden_weak.
12660 * include/sys/socket.h (__socket): Do not use attribute_hidden.
12661 Use libc_hidden_proto.
12662 (__recv): Likewise.
12663 * socket/Versions (libc): Export __recv and __socket at version
12664 GLIBC_PRIVATE.
12665 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
12666 instead of recv.
12667 (init_mq_netlink): Call __socket instead of socket.
12668 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
12669 Remove variable.
12670
12671 [BZ #18545]
12672 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
12673 __mq_timedreceive and define as alias of __mq_timedreceive. Use
12674 hidden_weak.
12675 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
12676 define as alias of __mq_timedsend. Use hidden_weak.
12677 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
12678 __mq_timedsend as strong name.
12679 (mq_timedreceive): Use __mq_timedreceive as strong name.
12680 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
12681 (__mq_timedreceive): Likewise.
12682 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
12683 __mq_timedreceive instead of mq_timedreceive.
12684 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
12685 instead of mq_timedsend.
12686 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
12687 Remove variable.
12688
12689 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
12690 hidden_def and hidden_weak instead of libc_hidden_def and
12691 libc_hidden_weak.
12692 (top level): Refer to hidden_def in comment.
12693 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
12694 macro. Use it instead of libc_hidden_def.
12695 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
12696 specify __GI_* name explicitly.
12697 (mq_timedreceive): Likewise.
12698 (mq_setattr): Likewise.
12699
12700 [BZ #18544]
12701 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
12702 __pthread_barrier_init and define as weak alias of
12703 __pthread_barrier_init.
12704 * sysdeps/sparc/nptl/pthread_barrier_init.c
12705 (pthread_barrier_init): Likewise.
12706 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
12707 __pthread_barrier_wait and define as weak alias of
12708 __pthread_barrier_wait.
12709 * sysdeps/sparc/nptl/pthread_barrier_wait.c
12710 (pthread_barrier_wait): Likewise.
12711 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12712 (pthread_barrier_wait): Likewise.
12713 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
12714 (pthread_barrier_wait): Likewise.
12715 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
12716 (pthread_barrier_wait): Likewise.
12717 * nptl/Versions (libpthread): Export __pthread_barrier_init and
12718 __pthread_barrier_wait at version GLIBC_PRIVATE.
12719 * include/pthread.h (__pthread_barrier_init): Declare.
12720 (__pthread_barrier_wait): Likewise.
12721 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
12722 Call __pthread_barrier_wait instead of pthread_barrier_wait.
12723 (helper_thread): Likewise.
12724 (init_mq_netlink): Call __pthread_barrier_init instead of
12725 pthread_barrier_init.
12726
12727 [BZ #18542]
12728 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
12729 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
12730 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
12731 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
12732 vswscanf.
12733 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
12734 Remove variable.
12735
12736 [BZ #18540]
12737 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
12738 strong alias of _IO_fflush. Use libc_hidden_def.
12739 * libio/iofflush_u.c (fflush_unlocked): Rename to
12740 __fflush_unlocked and define as weak alias of __fflush_unlocked.
12741 Use libc_hidden_weak.
12742 * include/stdio.h (__fflush_unlocked): Declare. Use
12743 libc_hidden_proto.
12744 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
12745 fflush_unlocked.
12746 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
12747 Remove variable.
12748
12749 [BZ #18539]
12750 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
12751 define as weak alias of __addseverity.
12752 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
12753 Remove variable.
12754 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12755 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12756 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12757
12758 [BZ #18536]
12759 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
12760 (__tfind): Likewise.
12761 (__tdelete): Likewise.
12762 (__twalk): Likewise.
12763 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
12764 __twalk to GLIBC_PRIVATE.
12765 * include/search.h (__tsearch): Use libc_hidden_proto.
12766 (__tfind): Likewise.
12767 (__tdelete): Likewise.
12768 (__twalk): Likewise.
12769 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
12770 Call __tdelete instead of tdelete.
12771 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
12772 tfind. Call __tsearch instead of tsearch.
12773 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
12774 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
12775 Remove variable.
12776 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12777
12778 [BZ #18534]
12779 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
12780 (dprintf): Define as a weak alias of __dprintf, not a strong
12781 alias.
12782 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
12783 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
12784 dprintf.
12785 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
12786 Remove variable.
12787 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12788 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12789
12790 [BZ #18533]
12791 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
12792 not a strong alias.
12793 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
12794 Remove variable.
12795
12796 [BZ #18532]
12797 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
12798 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
12799 (in6addr_loopback): Rename to __in6addr_loopback and define as
12800 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
12801 * include/netinet/in.h (__in6addr_loopback): Declare. Use
12802 libc_hidden_proto.
12803 (__in6addr_any): Likewise.
12804 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
12805 in6addr_any.
12806 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
12807 variable.
12808 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12809
12810 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
12811
12812 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
12813 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
12814 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12815 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12816 redirections for pow.
12817 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12818 * sysdeps/x86_64/fpu/Versions: New versions added.
12819 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12820 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12821 build of SSE, AVX2 and AVX512 IFUNC versions.
12822 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
12823 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
12824 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
12825 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
12826 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
12827 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
12828 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
12829 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
12830 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
12831 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
12832 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
12833 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
12834 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
12835 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
12836 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12837 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12838 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12839 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12840 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12841 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12842 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12843 * NEWS: Mention addition of x86_64 vector pow.
12844
12845 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12846 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12847 redirections for expf.
12848 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12849 * sysdeps/x86_64/fpu/Versions: New versions added.
12850 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12851 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12852 build of SSE, AVX2 and AVX512 IFUNC versions.
12853 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
12854 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
12855 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
12856 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
12857 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
12858 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
12859 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
12860 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
12861 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
12862 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
12863 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
12864 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
12865 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
12866 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12867 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12868 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12869 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12870 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12871 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12872 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12873 * NEWS: Mention addition of x86_64 vector expf.
12874
12875 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
12876 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
12877 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12878 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12879 redirections for exp.
12880 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12881 * sysdeps/x86_64/fpu/Versions: New versions added.
12882 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12883 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12884 build of SSE, AVX2 and AVX512 IFUNC versions.
12885 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
12886 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
12887 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
12888 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
12889 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
12890 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
12891 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
12892 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
12893 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
12894 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
12895 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
12896 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
12897 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
12898 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12899 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12900 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12901 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12902 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12903 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12904 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12905 * NEWS: Mention addition of x86_64 vector exp.
12906
12907 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12908 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12909 redirections for logf.
12910 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12911 * sysdeps/x86_64/fpu/Versions: New versions added.
12912 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12913 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12914 build of SSE, AVX2 and AVX512 IFUNC versions.
12915 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
12916 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
12917 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
12918 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
12919 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
12920 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
12921 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
12922 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
12923 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
12924 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
12925 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
12926 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
12927 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
12928 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12929 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12930 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12931 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12932 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12933 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12934 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12935 * NEWS: Mention addition of x86_64 vector logf.
12936
12937 * bits/libm-simd-decl-stubs.h: Added stubs for log.
12938 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
12939 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12940 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12941 redirections for log.
12942 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12943 * sysdeps/x86_64/fpu/Versions: New versions added.
12944 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12945 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12946 build of SSE, AVX2 and AVX512 IFUNC versions.
12947 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
12948 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
12949 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
12950 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
12951 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
12952 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
12953 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
12954 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
12955 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
12956 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
12957 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
12958 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
12959 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
12960 test.
12961 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12962 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12963 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12964 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12965 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12966 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12967 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12968 * NEWS: Mention addition of x86_64 vector log.
12969
12970 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
12971
12972 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
12973 cfi_adjust_cfa_offset argument.
12974 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
12975 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
12976
12977 [BZ #18034]
12978 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
12979 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
12980 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
12981 ordering using ldar.
12982 (_dl_tlsdesc_dynamic): Likewise.
12983 (_dl_tlsdesc_return_lazy): Likewise.
12984 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
12985 relaxed atomics instead of volatile and synchronize with release store.
12986 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
12987 volatile.
12988 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12989
12990 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
12991
12992 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12993 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
12994 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12995 * sysdeps/x86_64/fpu/Versions: New versions added.
12996 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12997 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12998 build of SSE, AVX2 and AVX512 IFUNC versions.
12999 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
13000 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
13001 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
13002 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
13003 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
13004 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
13005 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
13006 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
13007 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
13008 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
13009 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
13010 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
13011 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
13012 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13013 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13014 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13015 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13016 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13017 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13018 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13019 * NEWS: Mention addition of x86_64 vector sinf.
13020
13021 2015-06-14 Joseph Myers <joseph@codesourcery.com>
13022
13023 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
13024 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
13025 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
13026 Remove variable.
13027 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13028 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13029
13030 2015-06-12 Joseph Myers <joseph@codesourcery.com>
13031
13032 [BZ #18530]
13033 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
13034 strong alias of _IO_fputs. Use libc_hidden_def.
13035 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
13036 and define as weak alias of __fputs_unlocked. Use
13037 libc_hidden_weak.
13038 * include/stdio.h (__fputs_unlocked): Declare. Use
13039 libc_hidden_proto.
13040 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
13041 fputs_unlocked.
13042
13043 [BZ #18529]
13044 * resolv/netdb.h [__USE_POSIX]: Change condition to
13045 [__USE_XOPEN2K].
13046 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
13047 not expect.
13048 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
13049 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
13050 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
13051 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
13052 [XPG4 || UNIX98] (AI_ALL): Likewise.
13053 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
13054 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
13055 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
13056 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
13057 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
13058 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
13059 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
13060 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
13061 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
13062 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
13063 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
13064 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
13065 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
13066 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
13067 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
13068 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13069 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13070 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
13071 [XPG4 || UNIX98] (gai_strerror): Likewise.
13072 [XPG4 || UNIX98] (getaddrinfo): Likewise.
13073 [XPG4 || UNIX98] (getnameinfo): Likewise.
13074
13075 [BZ #18528]
13076 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
13077 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
13078 __USE_XOPEN2K8].
13079 (getgrent): Likewise.
13080 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
13081 expect.
13082 [XPG3 || POSIX2008] (endgrent): Likewise.
13083 [XPG3] (setgrent): Likewise.
13084 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
13085 variable.
13086 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13087
13088 [BZ #18527]
13089 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
13090 define as weak alias of __getlogin_r. Use libc_hidden_weak.
13091 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
13092 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
13093 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
13094 * include/unistd.h (__getlogin_r): Declare. Use
13095 libc_hidden_proto.
13096 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
13097 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
13098 variable.
13099 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13100 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13101 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13102
13103 2015-06-12 Martin Sebor <msebor@redhat.com>
13104
13105 [BZ #18512]
13106 * Makerules (check-install-supported): New target.
13107 (install): Add check-install-supported as a dependency.
13108 * manual/install.texi (Installing the C Library): Document
13109 that overriding prefix and exec_prefix is not supported.
13110 Mention DESTDIR.
13111 * INSTALL: Regenerate from the above.
13112
13113 2015-06-12 Joseph Myers <joseph@codesourcery.com>
13114
13115 [BZ #18519]
13116 * posix/Versions (libc): Export __libc_pread at version
13117 GLIBC_PRIVATE.
13118 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
13119 instead of pread.
13120 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
13121 variable.
13122
13123 [BZ #18522]
13124 * misc/efgcvt_r.c
13125 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
13126 (cvt_symbol): Use weak_alias instead of strong_alias.
13127 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
13128 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
13129 Remove variable.
13130 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13131 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13132
13133 [BZ #18520]
13134 * inet/herrno.c (h_errno): Rename to __h_errno.
13135 (__libc_h_errno): Define as alias of __h_errno not h_errno.
13136 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
13137 to __h_errno instead of h_errno.
13138 * nptl/herrno.c (h_errno): Rename to __h_errno.
13139 (__h_errno_location): Refer to __h_errno not h_errno.
13140 * resolv/Versions (h_errno): Rename to __h_errno.
13141 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
13142 Remove variable.
13143 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13144
13145 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
13146
13147 * configure.ac: More strict check for AVX512 assembler support.
13148 * configure: Regenerated.
13149
13150 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
13151 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
13152 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13153 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
13154 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13155 * sysdeps/x86_64/fpu/Versions: New versions added.
13156 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13157 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13158 Added build of SSE, AVX2 and AVX512 IFUNC versions.
13159 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
13160 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
13161 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
13162 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
13163 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
13164 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
13165 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
13166 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
13167 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
13168 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
13169 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
13170 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
13171 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
13172 test.
13173 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13174 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13175 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13176 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13177 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13178 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13179 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13180 * NEWS: Mention addition of x86_64 vector sin.
13181
13182 2015-06-11 Florian Weimer <fweimer@redhat.com>
13183
13184 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
13185 comment.
13186
13187 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
13188
13189 [BZ #18479]
13190 * nptl/pt-interp.c: New file.
13191 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
13192 Add pt-interp.
13193 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
13194 $(common-objpfx)runtime-linker.h.
13195
13196 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
13197
13198 * Makeconfig (+interp): Remove unused variable.
13199 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
13200 only. Depend on $(common-objpfx)runtime-linker.h instead of
13201 $(elf-objpfx)runtime-linker.h.
13202 ($(elf-objpfx)runtime-linker.h): Rename to
13203 $(common-objpfx)runtime-linker.h and move ...
13204 * Makerules [$(build-shared) = yes]: ... here.
13205 * elf/interp.c: Include <runtime-linker.h> instead of
13206 <elf/runtime-linker.h>.
13207
13208 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13209
13210 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
13211 (__gettimeofday_syscall): Remove vsyscall fallback.
13212 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
13213 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
13214 Add syscall fallback function.
13215 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
13216 if vDSO is not present.
13217 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
13218 fallback function.
13219 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
13220 present.
13221 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
13222 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13223
13224 2015-06-09 Joseph Myers <joseph@codesourcery.com>
13225
13226 [BZ #18497]
13227 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
13228 of wcscmp.
13229 (wcscmp): Define as weak alias of WCSCMP.
13230 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
13231 wcscoll.
13232 (USE_HIDDEN_DEF): Define.
13233 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
13234 __wcscoll. Don't use libc_hidden_weak.
13235 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
13236 wcscmp.
13237 * sysdeps/i386/i686/multiarch/wcscmp-c.c
13238 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
13239 __GI_wcscmp.
13240 (weak_alias): Undefine and redefine.
13241 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
13242 __wcscmp and define as weak alias of __wcscmp.
13243 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
13244 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
13245 (__wcscoll): Likewise.
13246 (wcscmp): Don't use libc_hidden_proto.
13247 (wcscoll): Likewise.
13248 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
13249 wcscoll.
13250 * posix/regexec.c (check_node_accept_bytes): Likewise.
13251 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
13252 variable.
13253 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13254 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13255
13256 [BZ #18507]
13257 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
13258 __fstatvfs and define as weak alias of __fstatvfs. Use
13259 libc_hidden_weak.
13260 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
13261 and define as weak alias of __statvfs. Use libc_hidden_weak.
13262 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
13263 Define as alias of __fstatvfs, not fstatvfs.
13264 (fstatvfs64): Likewise.
13265 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
13266 Define as alias of __statvfs, not statvfs.
13267 (statvfs64): Likewise.
13268 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
13269 Remove variable.
13270
13271 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13272
13273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13274 (HAVE_GETCPU_VSYSCALL): Define.
13275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13276 (HAVE_GETCPU_VSYSCALL): Likewise.
13277 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
13278 * sysdeps/unix/sysv/linux/sched_getcpu.c
13279 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
13280 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
13281 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
13282 prototype.
13283 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13284 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
13285 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
13286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
13287 Define.
13288 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
13289 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13290 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
13291 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13292
13293 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
13294
13295 * sysdeps/x86_64/fpu/Makefile: New file.
13296 * sysdeps/x86_64/fpu/Versions: New file.
13297 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
13298 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
13299 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
13300 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
13301 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
13302 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
13303 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
13304 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
13305 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
13306 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
13307 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
13308 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
13309 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
13310 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13311 Added build of SSE, AVX2 and AVX512 IFUNC versions.
13312 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
13313 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
13314 * sysdeps/x86_64/configure.ac: Options for libmvec build.
13315 * sysdeps/x86_64/configure: Regenerated.
13316 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
13317 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
13318 * manual/install.texi (Configuring and compiling): Document
13319 --disable-mathvec.
13320 * INSTALL: Regenerated.
13321 * NEWS: Mention addition of libmvec and x86_64 vector cos.
13322
13323 * math/Makefile: Added rules for vector tests.
13324 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
13325 declaration under condition.
13326 * math/test-double-vlen2.h: New file.
13327 * math/test-double-vlen4.h: New file.
13328 * math/test-double-vlen8.h: New file.
13329 * math/test-vec-loop.h: Added initialization macro.
13330 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
13331 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
13332 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
13333 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
13334 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
13335 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
13336 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
13337 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
13338 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
13339 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
13340 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
13341
13342 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13343 * sysdeps/x86_64/fpu/Versions: New versions added.
13344 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
13345 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
13346 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
13347 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
13348 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
13349 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
13350 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
13351 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
13352 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
13353 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
13354 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
13355 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
13356 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
13357 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13358 Added build of SSE, AVX2 and AVX512 IFUNC versions.
13359 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13360 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
13361 * NEWS: Mention addition of x86_64 vector cosf.
13362
13363 * math/Makefile: Added CFLAGS for new tests.
13364 * math/test-float-vlen16.h: New file.
13365 * math/test-float-vlen4.h: New file.
13366 * math/test-float-vlen8.h: New file.
13367 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
13368 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
13369 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13370 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
13371 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
13372 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
13373 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
13374 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
13375 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
13376 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
13377 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
13378
13379 2015-06-09 Marko Myllynen <myllynen@redhat.com>
13380
13381 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
13382 * locale/programs/ld-ctype.c: Likewise.
13383
13384 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
13385
13386 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
13387 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
13388 bit_ZMM16_31_state): New macro.
13389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13390 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
13391
13392 2015-06-08 Joseph Myers <joseph@codesourcery.com>
13393
13394 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
13395
13396 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
13397
13398 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
13399
13400 2015-06-05 Joseph Myers <joseph@codesourcery.com>
13401
13402 [BZ #18498]
13403 * libio/memstream.c (open_memstream): Rename to __open_memstream
13404 and define as weak alias of __open_memstream.
13405 * include/stdio.h (__open_memstream): Declare. Use
13406 libc_hidden_proto.
13407 (open_memstream): Don't use libc_hidden_proto.
13408 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
13409 open_memstream.
13410 * posix/getopt.c (_getopt_internal_r): Likewise.
13411 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
13412 variable.
13413 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13414 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13415 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13416
13417 [BZ #18496]
13418 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
13419 instead of wcrtomb.
13420
13421 [BZ #18483]
13422 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
13423 [__USE_XOPEN2K8]. Remove redundant #endif.
13424 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
13425 Remove redundant #if.
13426 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
13427 Remove variable.
13428 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13429 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13430
13431 [BZ #18495]
13432 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
13433 (__iswlower): Likewise.
13434 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
13435 (__iswlower): Likewise.
13436 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
13437 instead of towlower.
13438 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
13439 instead of iswlower. Call __towupper instead of towupper.
13440 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
13441 instead of iswalnum.
13442
13443 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13444
13445 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
13446 errors to stderr.
13447
13448 2015-06-05 Florian Weimer <fweimer@redhat.com>
13449
13450 [BZ #15661]
13451 [BZ #17322]
13452 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13453 Check for overflow properly. Check for O_APPEND. Ignore large
13454 file system block sizes. Add comments about problems.
13455 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
13456 * manual/filesys.texi (Storage Allocation): New node.
13457
13458 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13459
13460 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
13461 cancellable syscalls.
13462 (SYS_ify): Add guard to no redefine it.
13463 (INLINE_SYSCALL): Likewise.
13464 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
13465 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
13466 SYSCALL_CANCEL instead.
13467 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
13468 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13469 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13470 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13471 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13472 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
13473 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
13474 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
13475 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13476 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13477 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
13478 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
13479 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
13480 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
13481 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
13482 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13483 Likewise.
13484 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13485 (__libc_pread64): Likewise.
13486 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
13487 (__libc_preadv): Likewise.
13488 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
13489 (__libc_readv64): Likewise.
13490 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13491 (__libc_pwrite): Likewise.
13492 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13493 (__libc_pwrite64): Likewise.
13494 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
13495 (__libc_pwritev): Likewise.
13496 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
13497 (__libc_pwritev64): Likewise.
13498 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
13499 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13500 (sync_file_range): Likewise.
13501 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
13502 Likewise.
13503 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
13504 Likewise.
13505 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13506 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13507 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13508 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13509 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13510 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13511 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13512 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
13513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13514 Likewise.
13515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13516 (__libc_read64): Likewise.
13517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
13518 Likewise.
13519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
13520 Likewise.
13521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
13522 Likewise.
13523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
13524 Likewise.
13525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13526 (__libc_pread64): Likewise.
13527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
13528 Likewise.
13529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13530 (__libc_pwrite64): Likewise.
13531 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
13532 (sync_file_range): Likewise.
13533 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
13534 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13535 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13536 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
13537 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
13538 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13539 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13540 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
13541 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
13542 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13543 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13544 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13545 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13546 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13547 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
13548 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13549 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13550 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13551 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13552 Likewise.
13553 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
13554 Likewise.
13555 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
13556 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
13557 Likewise.
13558 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
13559 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
13560 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
13561 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
13562 Likewise.
13563 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
13564 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
13565 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
13566 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
13567 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
13568
13569 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
13570
13571 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
13572 Include dl-vdso.
13573 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
13574 Use VDSO routines for gettimeofday, clock_gettime if
13575 available.
13576 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
13577 Declare VDSO symbols.
13578 * sysdeps/unix/sysv/linux/arm/sysdep.h:
13579 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
13580 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13581 * sysdeps/unix/sysv/linux/arm/Versions: Add
13582 __vdso_clock_gettime.
13583
13584 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13585
13586 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
13587 be an inline implementation regardless of library is built within.
13588 (open_not_cancel_2): Likewise.
13589 (__read_nocancel): Likewise.
13590 (__write_nocancel): Likewise.
13591 (openat_not_cancel): Likewise.
13592 (openat_not_cancel_3): Likewise.
13593 (openat64_not_cancel): Likewise.
13594 (openat64_not_cancel_3): Likewise.
13595 (__close_nocancel): Likewise.
13596 (pause_not_cancel): Likewise.
13597 (nanosleep_not_cancel): Likewise.
13598 (sigsuspend_not_cancel): Likewise.
13599
13600 2015-06-04 Torvald Riegel <triegel@redhat.com>
13601
13602 [BZ #14958]
13603 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
13604 wake-up.
13605 (__pthread_rwlock_rdlock_slow): Likewise.
13606 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13607 Likewise.
13608 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13609 Likewise.
13610 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
13611 * nptl/tst-rwlock16.c: New file.
13612 * nptl/Makefile (tests): Add new test.
13613
13614 2015-06-04 Torvald Riegel <triegel@redhat.com>
13615
13616 [BZ #18324]
13617 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
13618 missing wake-up of readers.
13619 * nptl/tst-rwlock15.c: New file.
13620 * nptl/Makefile (tests): Add new test.
13621
13622 2015-06-03 Roland McGrath <roland@hack.frob.com>
13623
13624 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
13625 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
13626 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
13627 and __nacl_supply_interface_rtld.
13628 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
13629 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
13630 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
13631 Add __nacl_supply_interface_rtld.
13632 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
13633
13634 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
13635
13636 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
13637 isfinite.
13638 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13639 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
13640
13641 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
13642
13643 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
13644 __signbit* with standard C99 macros.
13645 * math/e_exp10l.c: Likewise.
13646 * math/e_exp2l.c: Likewise.
13647 * math/e_scalb.c: Likewise.
13648 * math/e_scalbf.c: Likewise.
13649 * math/e_scalbl.c: Likewise.
13650 * math/s_ldexp.c: Likewise.
13651 * math/s_ldexpf.c: Likewise.
13652 * math/s_ldexpl.c: Likewise.
13653 * math/w_atan2.c: Likewise.
13654 * math/w_atan2f.c: Likewise.
13655 * math/w_atan2l.c: Likewise.
13656 * math/w_cosh.c: Likewise.
13657 * math/w_coshf.c: Likewise.
13658 * math/w_coshl.c: Likewise.
13659 * math/w_exp10.c: Likewise.
13660 * math/w_exp10f.c: Likewise.
13661 * math/w_exp10l.c: Likewise.
13662 * math/w_exp2.c: Likewise.
13663 * math/w_exp2f.c: Likewise.
13664 * math/w_exp2l.c: Likewise.
13665 * math/w_fmod.c: Likewise.
13666 * math/w_fmodf.c: Likewise.
13667 * math/w_fmodl.c: Likewise.
13668 * math/w_hypot.c: Likewise.
13669 * math/w_hypotf.c: Likewise.
13670 * math/w_hypotl.c: Likewise.
13671 * math/w_jnl.c: Likewise.
13672 * math/w_lgamma.c: Likewise.
13673 * math/w_lgamma_r.c: Likewise.
13674 * math/w_lgammaf.c: Likewise.
13675 * math/w_lgammaf_r.c: Likewise.
13676 * math/w_lgammal.c: Likewise.
13677 * math/w_lgammal_r.c: Likewise.
13678 * math/w_pow.c: Likewise.
13679 * math/w_powf.c: Likewise.
13680 * math/w_powl.c: Likewise.
13681 * math/w_remainder.c: Likewise.
13682 * math/w_remainderf.c: Likewise.
13683 * math/w_remainderl.c: Likewise.
13684 * math/w_scalb.c: Likewise.
13685 * math/w_scalbf.c: Likewise.
13686 * math/w_scalbl.c: Likewise.
13687 * math/w_scalbln.c: Likewise.
13688 * math/w_scalblnf.c: Likewise.
13689 * math/w_scalblnl.c: Likewise.
13690 * math/w_sinh.c: Likewise.
13691 * math/w_sinhf.c: Likewise.
13692 * math/w_sinhl.c: Likewise.
13693 * math/w_tgamma.c: Likewise.
13694 * math/w_tgammaf.c: Likewise.
13695 * math/w_tgammal.c: Likewise.
13696 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13697 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
13698 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13699 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13700 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13701 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13702 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13703 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13704 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13705 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13706 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13709 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13710 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13724 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
13727 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
13728 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
13729 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
13730 * stdio-common/printf_fp.c: Likewise.
13731 * stdio-common/printf_fphex.c: Likewise.
13732 * stdio-common/printf_size.c: Likewise.
13733
13734 2015-06-03 Joseph Myers <joseph@codesourcery.com>
13735
13736 [BZ #18470]
13737 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
13738 strnlen.
13739 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
13740 Remove variable.
13741 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13742 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13743 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13744 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13745 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13746 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13747 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13748 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13749 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13750 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13751
13752 [BZ #18468]
13753 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
13754 weak alias of __wmemchr. Use libc_hidden_weak.
13755 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
13756 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
13757 instead of wmemchr.
13758
13759 2015-06-02 Roland McGrath <roland@hack.frob.com>
13760
13761 [BZ #18383]
13762 * elf/tst-tlsalign-extern.c: New file.
13763 * elf/tst-tlsalign-extern-static.c: New file.
13764 * elf/tst-tlsalign-vars.c: New file.
13765 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
13766 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
13767 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
13768 ($(objpfx)tst-tlsalign-extern-static): Likewise.
13769 (test-xfail-tst-tlsalign-extern-static): New variable.
13770
13771 2015-06-02 Joseph Myers <joseph@codesourcery.com>
13772
13773 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
13774 Use variable name _sc_err instead of err.
13775 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
13776 instead of ret.
13777 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
13778 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
13779 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
13780 (INLINE_SYSCALL): Likewise.
13781
13782 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
13783 * include/string.h (__strnlen): Use libc_hidden_proto.
13784 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
13785 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
13786 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
13787 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
13788 (libc_hidden_def): Undefine and redefine.
13789 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
13790 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
13791 __GI_strnlen.
13792 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
13793 libc_hidden_def.
13794 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
13795
13796 [BZ #18469]
13797 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
13798 weak alias of __towlower. Use libc_hidden_weak.
13799 (towupper): Rename to __towupper and define as weak alias of
13800 __towupper. Use libc_hidden_weak.
13801 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
13802 (__towupper): Likewise.
13803 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
13804 __towlower instead of towlower.
13805
13806 2015-06-02 Roland McGrath <roland@hack.frob.com>
13807
13808 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
13809 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
13810
13811 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13812
13813 * sysdeps/aarch64/libm-test-ulps: Update.
13814
13815 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13816
13817 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13818 Define.
13819 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13821 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13822 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13823 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
13824 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
13825 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
13826
13827 2015-06-01 Martin Sebor <msebor@redhat.com>
13828
13829 [BZ #18116]
13830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13831 (__setcontext): Use extended four-operand version of mtsf whenever
13832 possible.
13833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13834 (__novec_swapcontext): Likewise.
13835
13836 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13837
13838 * benchtests/scripts/compare_bench.py: New file.
13839 * benchtests/scripts/import_bench.py (mean): New function.
13840 (split_list): Likewise.
13841 (do_for_all_timings): Likewise.
13842 (compress_timings): Likewise.
13843
13844 * benchtests/scripts/import_bench.py: New file.
13845 * benchtests/scripts/validate_benchout.py: Import import_bench
13846 instead of jsonschema.
13847 (validate_bench): Remove function.
13848 (main): Use import_bench.
13849
13850 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
13851
13852 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
13853 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
13854
13855 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13856
13857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13858
13859 2015-05-28 Roland McGrath <roland@hack.frob.com>
13860
13861 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
13862 set THREAD_SELF->tid to a magic value and futex-wake it.
13863 Pass its address to the thread_exit system call.
13864 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
13865 bit is clear.
13866 * sysdeps/nacl/lowlevellock.h: New file.
13867 * sysdeps/nacl/lll_timedwait_tid.c: New file.
13868
13869 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
13870 Add TIMEOUT to current time, don't subtract it.
13871
13872 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
13873
13874 [BZ #2981]
13875 [BZ #18422]
13876 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
13877 ($(objpfx)tst-audit2.out): Also depend on
13878 $(objpfx)tst-auditmod9b.so.
13879 * elf/tst-audit2.c: Include <dlfcn.h>.
13880 (calloc_called): New.
13881 (calloc): Allow to be called more than once.
13882 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
13883
13884 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
13885
13886 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
13887 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
13888
13889 2015-05-27 Marko Myllynen <myllynen@redhat.com>
13890
13891 * stdlib/monetary.h: Fix comment.
13892
13893 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
13894
13895 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
13896 Avoid using variables in #defines that might cause shadowing.
13897 (INTERNAL_VSYSCALL_CALL): Likewise.
13898
13899 2015-05-26 Roland McGrath <roland@hack.frob.com>
13900
13901 * sysdeps/nacl/lll_timedlock_wait.c: New file.
13902
13903 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
13904 * nptl/lll_timedlock_wait.c: ... to this new file.
13905 * nptl/Makefile (libpthread-routines): Add it.
13906 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
13907 * nptl/lll_timedwait_tid.c: ... to this new file.
13908 * nptl/Makefile (libpthread-routines): Add it.
13909 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
13910 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
13911 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
13912 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
13913 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
13914 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
13915 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
13916 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
13917 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
13918 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
13919
13920 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13921
13922 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
13923 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13924 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13925 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
13926 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13927 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13928 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13929 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13930 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13931 * sysdeps/unix/sysv/linux/tile/sysdep.h
13932 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13933 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
13934 using vDSO syscall macro.
13935
13936 2015-05-26 Andriy Rysin <arysin@gmail.com>
13937
13938 [BZ #17293]
13939 * uk_UA: Fix sorting order for Ukrainian locale
13940
13941 2015-05-26 Marko Myllynen <myllynen@redhat.com>
13942
13943 * stdlib/monetary.h: Fix comment.
13944
13945 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
13946
13947 [BZ #18234]
13948 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
13949 st_mtim and st_ctim members.
13950 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
13951 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
13952 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
13953 (struct stat64): Likewise.
13954 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
13955 (struct stat64): Likewise.
13956 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
13957 (struct stat64): Likewise.
13958
13959 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13960
13961 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
13962 Define and include sysdep-vdso.h.
13963 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
13964 Likewise.
13965 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
13966 Likewise.
13967 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
13968 Define with VDSO_SYMBOL and use PTR_MANGLE.
13969 (__vdso_clock_gettime): Likewise.
13970 (__vdso_clock_getres): Likewise.
13971 (_libc_vdso_platform_setup): Likewise.
13972 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13973 Likewise.
13974 (_libc_vdso_platform_setup): Likewise.
13975 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
13976 Likewise.
13977 (__vdso_clock_gettime): Likewise.
13978 (__vdso_clock_getres): Likewise.
13979 (__vdso_get_tbfreq): Likewise.
13980 (__vdso_getcpu): Likewise.
13981 (__vdso_time): Likewise.
13982 (__vdso_sigtramp_rt64): Likewise.
13983 (__vdso_signtramp32): Likewise.
13984 (__vdso_sigtramp_rt32): Likewise.
13985 (_libc_vdso_platform_setup): Likewise.
13986 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
13987 Likewise.
13988 (__vdso_clock_gettime): Likewise.
13989 (__vdso_clock_getres): Likewise.
13990 (_libc_vdso_platform_setup): Likewise.
13991 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
13992 Likewise.
13993 (__vdso_clock_gettime): Likewise.
13994 (_libc_vdso_platform_setup): Likewise.
13995 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13996 Likewise.
13997 (__vdso_getcpu): Likewise.
13998 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
13999 Use VDSO_SYMBOL macro to define.
14000 (__vdso_clock_gettime): Likewise.
14001 (__vdso_clock_getres): Likewise.
14002 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
14003 Likewise.
14004 (__vdso_clock_gettime): Likewise.
14005 (__vdso_clock_getres): Likewise.
14006 (__vdso_get_tbfreq): Likewise.
14007 (__vdso_getcpu): Likewise.
14008 (__vdso_time): Likewise.
14009 (__vdso_sigtramp_rt64): Likewise.
14010 (__vdso_signtramp32): Likewise.
14011 (__vdso_sigtramp_rt32): Likewise.
14012 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
14013 Likewise.
14014 (__vdso_clock_gettime): Likewise.
14015 (__vdso_clock_getres): Likewise.
14016 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
14017 Likewise.
14018 (__vdso_clock_gettime): Likewise.
14019 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14020 Likewise.
14021 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
14022 macro.
14023 (INTERNAL_VSYSCALL): Likewise.
14024 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
14025 Remove macro.
14026 (INTERNAL_VSYSCALL): Likewise.
14027 (INTERNAL_VSYSCALL_NCS): Likewise.
14028 (INTERNAL_VSYSCALL_CALL): New macro.
14029 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14030 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
14031 Likewise.
14032 (INTERNAL_VSYSCALL): Likewise.
14033 (INTERNAL_VSYSCALL_NCS): Likewise.
14034 (INTERNAL_VSYSCALL_CALL): New macro.
14035 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14037 (INLINE_VSYSCALL): Remove macro.
14038 (INTERNAL_VSYSCALL): Remove macro.
14039 (INTERNAL_VSYSCALL_NCS): Remove macro.
14040 (INTERNAL_VSYSCALL_CALL): New macro.
14041 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
14042 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
14043 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14044 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
14045 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
14046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14047 (INLINE_VSYSCALL): Remove macro.
14048 (INTERNAL_VSYSCALL): Likewise.
14049 (INTERNAL_VSYSCALL_NCS): Likewise.
14050 (INTERNAL_VSYSCALL_CALL): New macro.
14051 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
14052 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
14053 PTR_DEMANGLE on vDSO pointer.
14054 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14055 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
14056 macro.
14057 (INTERNAL_SYSCALL): Likewise.
14058 (INTERNAL_VSYSCALL_NCS): Remove macro.
14059 (INTERNAL_VSYSCALL_CALL): New macro.
14060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
14061 Remove macro.
14062 (INTERNAL_VSYSCALL): Likewise.
14063 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
14064 sysdep-vdso.h instead of libc-vdso.h.
14065 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
14066 definition.
14067 (INLINE_VSYSCALL): Likewise.
14068 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
14069 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
14070 definition.
14071 (INLINE_VSYSCALL): Likewise.
14072 (INTERNAL_VSYSCALL): Likewise.
14073 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14074 * sysdeps/unix/sysv/linux/timespec_get.c
14075 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14076 (timespec_get): Use ANSI prototype.
14077 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
14078 and definition for Linux.
14079
14080 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
14081
14082 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
14083 * include/libc-symbols.h: libmvec_hidden_* macro series added.
14084
14085 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
14086
14087 [BZ #2981]
14088 [BZ #18410]
14089 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
14090 for missing DT_PLTRELSZ.
14091
14092 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
14093
14094 Remove obsolete aliases that broke 'locale -a'
14095 [BZ #18412]
14096 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
14097 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
14098 breaking some applications that use 'locale -a' output.
14099 Change the encoding of this file from Latin-1 to ASCII to avoid
14100 other potential problems with people grepping this file.
14101
14102 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14103
14104 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
14105 -fasynchronous-unwind-tables.
14106 (CFLAGS-sendto.c): Likewise.
14107 (CFLAGS-sendmsg.c): Likewise.
14108 (CFLAGS-connect.c): Likewise.
14109 (CFLAGS-recvmsg.c): Likewise.
14110 (CFLAGS-recvfrom.c): Likewise.
14111 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
14112 (SOCKETCALL): New macro: non-cancellable socketcall.
14113 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
14114 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
14115 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
14116 * sysdeps/unix/sysv/linux/accept.c: New file.
14117 * sysdeps/unix/sysv/linux/bind.c: Likewise.
14118 * sysdeps/unix/sysv/linux/connect.c: Likewise.
14119 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
14120 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
14121 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
14122 * sysdeps/unix/sysv/linux/listen.c: Likewise.
14123 * sysdeps/unix/sysv/linux/recv.c: Likewise.
14124 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
14125 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14126 * sysdeps/unix/sysv/linux/send.c: Likewise.
14127 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14128 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
14129 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
14130 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
14131 * sysdeps/unix/sysv/linux/socket.c: Likewise.
14132 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
14133 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
14134 prototype.
14135 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
14136 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14137 instead of __internal_xxx function.
14138 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
14139 prototype.
14140 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
14141 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14142 instead of __internal_xxx function.
14143 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
14144 prototype.
14145 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
14146 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14147 instead of __internal_xxx function.
14148 * sysdeps/unix/sysv/linux/accept.S: Remove file.
14149 * sysdeps/unix/sysv/linux/bind.S: Likewise.
14150 * sysdeps/unix/sysv/linux/connect.S: Likewise.
14151 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
14152 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
14153 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
14154 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
14155 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
14156 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
14157 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
14158 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
14159 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14160 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
14161 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
14162 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
14163 * sysdeps/unix/sysv/linux/listen.S: Likewise.
14164 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
14165 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
14166 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
14167 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
14168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
14169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
14170 * sysdeps/unix/sysv/linux/recv.S: Likewise.
14171 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
14172 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
14173 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
14174 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14175 * sysdeps/unix/sysv/linux/send.S: Likewise.
14176 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
14177 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
14178 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
14179 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
14180 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
14181 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
14182 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
14183 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
14184 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
14185 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
14186 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
14187 socketcall is implemented in GLIBC.
14188
14189 2015-05-22 Joseph Myers <joseph@codesourcery.com>
14190
14191 * soft-fp/fmadf4.c: Include <libc-internal.h>.
14192 (__fma): Ignore uninitialized warnings around packing.
14193 * soft-fp/fmasf4.c: Include <libc-internal.h>.
14194 (__fmaf): Ignore uninitialized warnings around packing.
14195 * soft-fp/fmatf4.c: Include <libc-internal.h>.
14196 (__fmal): Ignore uninitialized warnings around packing.
14197
14198 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
14199 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14200 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
14201 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14202
14203 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
14204 switch statement into default case.
14205 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
14206
14207 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
14208 a conditional in forcing "inexact".
14209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14210 Likewise.
14211
14212 2015-05-22 Roland McGrath <roland@hack.frob.com>
14213
14214 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14215 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
14216 for each INTERNAL_SYSCALL use.
14217
14218 2015-05-22 Joseph Myers <joseph@codesourcery.com>
14219
14220 [BZ #438]
14221 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
14222 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
14223 variable.
14224
14225 [BZ #18444]
14226 * string/basename.c (basename): Rename to __basename and define as
14227 weak alias of __basename. Use libc_hidden_weak.
14228 * include/string.h (__basename): Declare. Use libc_hidden_proto.
14229 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
14230 __basename instead of basename.
14231 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
14232 Remove variable.
14233 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14234
14235 2015-05-18 Florian Weimer <fweimer@redhat.com>
14236
14237 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
14238 (_IO_JUMPS_FILE_plus): New.
14239 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
14240 _IO_CAST_FIELD_ACCESS.
14241 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
14242 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
14243 * libio/freopen.c (freopen): Likewise.
14244 * libio/freopen64.c (freopen64): Likewise.
14245 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
14246 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
14247 * libio/iofwide.c (_IO_fwide): Likewise.
14248 * libio/memstream.c (open_memstream): Likewise.
14249 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14250 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14251 * libio/oldiopopen.c (_IO_old_popen): Likewise.
14252
14253 2015-05-21 Joseph Myers <joseph@codesourcery.com>
14254
14255 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
14256 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
14257 NADJ.
14258 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
14259 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
14260 NADJ.
14261 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
14262 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
14263 NADJ.
14264
14265 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
14266 (p == 4) case.
14267
14268 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
14269 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
14270 Remove variable.
14271 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14272 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14273 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14274
14275 2015-05-21 Florian Weimer <fweimer@redhat.com>
14276
14277 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
14278 Adjust jump table label generation macros.
14279
14280 2015-05-21 Florian Weimer <fweimer@redhat.com>
14281
14282 * stdio-common/vfprintf.c (vfprintf): Move local variables
14283 args_malloced, specs, specs_malloced, and the code after
14284 do_positional to the printf_positional function.
14285 (printf_positional): New function.
14286
14287 2015-05-21 Florian Weimer <fweimer@redhat.com>
14288
14289 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
14290 function.
14291 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
14292 STEP4_TABLE, process_arg): Move macro definitions
14293 out of the vfprintf function. (Cosmetic change only.)
14294
14295 2015-05-21 Carlos O'Donell <carlos@redhat.com>
14296
14297 * benchtests/Makefile (stdio-common-bench): Define.
14298 (benchset): Add stdio-common-bench.
14299 * sprintf-inputs: New file.
14300 * sprintf-source.c: New file.
14301
14302 2015-05-21 Andreas Schwab <schwab@suse.de>
14303
14304 [BZ #13028]
14305 [BZ #17053]
14306 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
14307 of struct __res_state.
14308 * resolv/res_send.c (__libc_res_nsend): Likewise.
14309 (get_nsaddr): New function.
14310 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
14311 statp directly.
14312
14313 2015-05-20 Joseph Myers <joseph@codesourcery.com>
14314
14315 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
14316 -D_POSIX_C_SOURCE=199506L.
14317
14318 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
14319
14320 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
14321 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
14322 Do not mention otherwise.
14323 [POSIX] (_XOPEN_VERSION): Do not expect.
14324 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
14325 [POSIX] (_POSIX2_C_BIND): Likewise.
14326 [POSIX] (_POSIX2_VERSION): Likewise.
14327 [POSIX] (_XOPEN_XPG2): Likewise.
14328 [POSIX] (_XOPEN_XPG3): Likewise.
14329 [POSIX] (_XOPEN_XPG4): Likewise.
14330 [POSIX] (_XOPEN_UNIX): Likewise.
14331 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
14332 [POSIX] (_POSIX_BARRIERS): Likewise.
14333 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
14334 [POSIX] (_POSIX_CPUTIME): Likewise.
14335 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
14336 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
14337 [POSIX] (_POSIX_SHELL): Likewise.
14338 [POSIX] (_POSIX_SPAWN): Likewise.
14339 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
14340 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
14341 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
14342 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
14343 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
14344 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
14345 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
14346 [POSIX] (_XBS5_LP64_OFF64): Likewise.
14347 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
14348 [POSIX] (_POSIX_TIMEOUTS): Likewise.
14349 [POSIX] (_POSIX2_PBS): Likewise.
14350 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
14351 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
14352 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
14353 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
14354 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
14355 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
14356 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
14357 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
14358 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
14359 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
14360 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
14361 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
14362 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
14363 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
14364 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
14365 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
14366 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
14367 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
14368 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
14369 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
14370 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
14371 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
14372 [POSIX] (_SC_2_C_BIND): Likewise.
14373 [POSIX] (_SC_2_C_VERSION): Likewise.
14374 [POSIX] (_SC_2_PBS): Likewise.
14375 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
14376 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
14377 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
14378 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
14379 [POSIX] (_SC_2_PBS_TRACK): Likewise.
14380 [POSIX] (_SC_ATEXIT_MAX): Likewise.
14381 [POSIX] (_SC_BARRIERS): Likewise.
14382 [POSIX] (_SC_BASE): Likewise.
14383 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
14384 [POSIX] (_SC_DEVICE_IO): Likewise.
14385 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
14386 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
14387 [POSIX] (_SC_FD_MGMT): Likewise.
14388 [POSIX] (_SC_FIFO): Likewise.
14389 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
14390 [POSIX] (_SC_FILE_LOCKING): Likewise.
14391 [POSIX] (_SC_FILE_SYSTEM): Likewise.
14392 [POSIX] (_SC_IOV_MAX): Likewise.
14393 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
14394 [POSIX] (_SC_NETWORKING): Likewise.
14395 [POSIX] (_SC_PAGE_SIZE): Likewise.
14396 [POSIX] (_SC_PASS_MAX): Likewise.
14397 [POSIX] (_SC_PIPE): Likewise.
14398 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
14399 [POSIX] (_SC_REGEXP): Likewise.
14400 [POSIX] (_SC_SHELL): Likewise.
14401 [POSIX] (_SC_SIGNALS): Likewise.
14402 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
14403 [POSIX] (_SC_SPIN_LOCKS): Likewise.
14404 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
14405 [POSIX] (_SC_USER_GROUPS): Likewise.
14406 [POSIX] (_SC_USER_GROUPS_R): Likewise.
14407 [POSIX] (_SC_STREAMS): Likewise.
14408 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
14409 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
14410 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
14411 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
14412 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
14413 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
14414 [POSIX] (_PC_FILESIZEBITS): Likewise.
14415 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
14416 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
14417 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
14418 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
14419 [POSIX] (uid_t): Likewise.
14420 [POSIX] (gid_t): Likewise.
14421 [POSIX] (off_t): Likewise.
14422 [POSIX] (pid_t): Likewise.
14423 [POSIX] (cuserid): Allow.
14424 (_SC_2_CHAR_TERM): Require constant.
14425 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
14426 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
14427 variable.
14428
14429 2015-05-20 Roland McGrath <roland@hack.frob.com>
14430
14431 * sysdeps/nacl/pthread-pids.h: New file.
14432 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
14433 (create_thread): Use __nacl_get_tid to initialize PD->tid.
14434
14435 * nptl/pthread-pids.h: New file.
14436 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
14437 * nptl/nptl-init.c: Include <pthread-pids.h>.
14438 (__pthread_initialize_minimal_internal):
14439 Call __pthread_initialize_pids instead of set_tid_address syscall.
14440
14441 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
14442 * sysdeps/posix/usleep.c: ... here.
14443
14444 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14445
14446 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
14447 call_pselect6 object.
14448 [$(subdir) = io]: Remove call_sync_file_range object.
14449 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
14450 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
14451 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
14452 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
14453
14454 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
14455
14456 * math/s_cproj.c: Add include "math_private.h".
14457 * math/s_cprojf.c: Likewise.
14458 * math/s_cprojl.c: Likewise.
14459
14460 2015-05-19 Joseph Myers <joseph@codesourcery.com>
14461
14462 [BZ #18244]
14463 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
14464 high mantissa bit when testing whether P is a NaN.
14465 * math/libm-test.inc (remainder_test_data): Add more tests.
14466 (remquo_test_data): Likewise.
14467
14468 [BZ #18049]
14469 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
14470 below -32, return the argument, with underflow if subnormal.
14471 * math/auto-libm-test-in: Add more tests of atanh.
14472 * math/auto-libm-test-out: Regenerated.
14473
14474 2015-05-19 Roland McGrath <roland@hack.frob.com>
14475
14476 [BZ #18434]
14477 * nptl/tst-sem15.c: New file.
14478 * nptl/Makefile (tests): Add it.
14479 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
14480 s/<</>>/ to fix typo in EOVERFLOW check.
14481 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
14482
14483 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14484
14485 * manual/strings.texi (envz_remove): Fix typo in safety
14486 annotations.
14487
14488 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
14489 Steve Ellcey <sellcey@imgtec.com>
14490
14491 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
14492 in order to avoid strict alias warnings.
14493 (iruserok_af): Ditto for ra.
14494
14495 2015-05-19 James Lemke <jwlemke@codesourcery.com>
14496
14497 [BZ #17581]
14498 * malloc/hooks.c
14499 (magicbyte): Convert to a function and avoid returning 0x01.
14500 (mem2mem_check): Avoid using a length byte equal to the magic byte.
14501 (mem2chunk_check): Fix unsigned comparisons to zero.
14502 Hoist defs of sz and magic.
14503
14504 2015-05-19 Richard Henderson <rth@redhat.com>
14505
14506 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
14507
14508 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14509
14510 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14511
14512 [BZ #16159]
14513 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
14514 * malloc/arena.c (arena_lock): Check if arena is corrupt.
14515 (reused_arena): Find a non-corrupt arena.
14516 (heap_trim): Pass arena to unlink.
14517 * malloc/hooks.c (malloc_check_get_size): Pass arena to
14518 malloc_printerr.
14519 (top_check): Likewise.
14520 (free_check): Likewise.
14521 (realloc_check): Likewise.
14522 * malloc/malloc.c (malloc_printerr): Add arena argument.
14523 (unlink): Likewise.
14524 (munmap_chunk): Adjust.
14525 (ARENA_CORRUPTION_BIT): New macro.
14526 (arena_is_corrupt): Likewise.
14527 (set_arena_corrupt): Likewise.
14528 (sysmalloc): Use mmap if there are no usable arenas.
14529 (_int_malloc): Likewise.
14530 (__libc_malloc): Don't fail if arena_get returns NULL.
14531 (_mid_memalign): Likewise.
14532 (__libc_calloc): Likewise.
14533 (__libc_realloc): Adjust for additional argument to
14534 malloc_printerr.
14535 (_int_free): Likewise.
14536 (malloc_consolidate): Likewise.
14537 (_int_realloc): Likewise.
14538 (_int_memalign): Don't touch corrupt arenas.
14539 * malloc/tst-malloc-backtrace.c: New test case.
14540
14541 * Makefile (summarize-tests): Fix return value on success.
14542
14543 * manual/string.texi (Envz Functions): Add envz_remove.
14544
14545 2015-05-18 Roland McGrath <roland@hack.frob.com>
14546
14547 * sysdeps/posix/opendir.c: Include <stdbool.h>.
14548 (invalid_name): New function, broken out of ...
14549 (__opendirat): ... here. Call it.
14550 (need_isdir_precheck): New function, broken out of ...
14551 (__opendirat): ... here. Call it.
14552 Use __fxstatat64, not __xstatat64.
14553 (opendir_oflags): New function, broken out of ...
14554 (__opendirat): ... here. Call it.
14555 (opendir_tail): New function, broken out of ...
14556 (__opendirat): ... here. Call it.
14557 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
14558 opendir_tail, rather than punting to __opendirat.
14559 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
14560
14561 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14562
14563 * .gitignore: Ignore generated *.pyc.
14564
14565 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
14566
14567 * include/stdio.h: Define __need_wint_t.
14568 * test-skeleton.c: Avoid `for' loop initial declaration.
14569 * nptl/tst-initializers1.c: Use test-skeleton.c.
14570
14571 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14572
14573 [BZ #18418]
14574 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
14575
14576 2015-05-15 Joseph Myers <joseph@codesourcery.com>
14577
14578 [BZ #16352]
14579 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
14580 (__ieee754_atanh): Force underflow exception for results with
14581 small absolute value.
14582 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
14583 (__ieee754_atanhf): Force underflow exception for results with
14584 small absolute value.
14585 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
14586 (__ieee754_atanh): Force underflow exception for results with
14587 small absolute value.
14588 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
14589 (__ieee754_atanhf): Force underflow exception for results with
14590 small absolute value.
14591 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
14592 (__ieee754_atanhl): Force underflow exception for results with
14593 small absolute value.
14594 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
14595 (__ieee754_atanhl): Force underflow exception for results with
14596 small absolute value.
14597 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
14598 (__ieee754_atanhl): Force underflow exception for results with
14599 small absolute value.
14600 * math/auto-libm-test-in: Do not allow missing underflow
14601 exceptions from atanh.
14602 * math/auto-libm-test-out: Regenerated.
14603
14604 [BZ #18221]
14605 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
14606 2**-28 as threshold for returning x or +/- 1/x.
14607 * math/auto-libm-test-in: Add more tests of tan.
14608 * math/auto-libm-test-out: Regenerated.
14609
14610 [BZ #18220]
14611 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14612 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
14613 * math/auto-libm-test-in: Add another test of lgamma.
14614 * math/auto-libm-test-out: Regenerated.
14615
14616 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
14617
14618 * stdio-common/printf_fp.c (___printf_fp): Use abs.
14619 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
14620 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
14621 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
14622 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
14623 (ADD2A): Use fabs. (SUB2A): Use fabs.
14624 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
14625 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
14626 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
14627 (log1): Use fabs. (my_log2): Use fabs.
14628 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
14629 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
14630 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
14631 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
14632 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
14633 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
14634 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
14635 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
14636 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
14637 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
14638 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
14639
14640 2015-05-15 Joseph Myers <joseph@codesourcery.com>
14641
14642 [BZ #18217]
14643 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
14644 as threshold for returning 1 - x.
14645 * math/auto-libm-test-in: Add more tests of erfc.
14646 * math/auto-libm-test-out: Regenerated.
14647
14648 2015-05-14 Joseph Myers <joseph@codesourcery.com>
14649
14650 [BZ #18196]
14651 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
14652 threshold for large arguments.
14653 * math/auto-libm-test-in: Add another test of atan.
14654 * math/auto-libm-test-out: Regenerated.
14655
14656 [BZ #16339]
14657 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
14658 (__log1p): Force underflow exception for results with small
14659 absolute value.
14660 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
14661 (__log1pf): Force underflow exception for results with small
14662 absolute value.
14663 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
14664 (__log1p): Force underflow exception for results with small
14665 absolute value.
14666 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
14667 (__log1pf): Force underflow exception for results with small
14668 absolute value.
14669 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
14670 (__log1pl): Force underflow exception for results with small
14671 absolute value.
14672 * math/auto-libm-test-in: Do not allow missing underflow
14673 exceptions from log1p.
14674 * math/auto-libm-test-out: Regenerated.
14675
14676 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
14677 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14678
14679 [BZ #16704]
14680 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
14681
14682 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
14683
14684 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
14685 (libmvec): New variable.
14686 * configure.ac: Added option for mathvec build.
14687 * configure: Regenerated.
14688 * mathvec/Depend: New file.
14689 * mathvec/Makefile: New file.
14690 * shlib-versions: Added libmvec.
14691 * math/Makefile: Added rule for libm.so installation.
14692
14693 * bits/math-vector.h: New file.
14694 * bits/libm-simd-decl-stubs.h: New header.
14695 * math/Makefile (headers): Added new header
14696 libm-simd-decl-stubs.h.
14697 * math/math.h (__MATHCALL_VEC): New macro.
14698
14699 * math/gen-libm-have-vector-test.sh: Script generates series of macros
14700 for conditions in testing functions.
14701 * math/Makefile: Added call of libm-have-vector-test.sh.
14702 * math/libm-test.inc (HAVE_VECTOR): New macros.
14703
14704 * math/libm-test.inc: START refactored.
14705 * math/test-double.c (TEST_MATHVEC): Add define.
14706 * math/test-float.c: Likewise.
14707 * math/test-idouble.c: Likewise.
14708 * math/test-ifloat.c: Likewise.
14709 * math/test-ildoubl.c: Likewise.
14710 * math/test-ldouble.c: Likewise.
14711 * sysdeps/generic/math-tests-arch.h
14712 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
14713 architecture check.
14714
14715 * math/test-double.c (FUNC_TEST): New macro.
14716 * math/test-float.c: Likewise.
14717 * math/test-idouble.c: Likewise.
14718 * math/test-ifloat.c: Likewise.
14719 * math/test-ildoubl.c: Likewise.
14720 * math/test-ldouble.c: Likewise.
14721 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
14722
14723 2015-05-13 Roland McGrath <roland@hack.frob.com>
14724
14725 * sysdeps/nacl/fdopendir.c: New file.
14726
14727 * dirent/scandir-tail.c: New file.
14728 * dirent/scandir64-tail.c: New file.
14729 * dirent/Makefile (routines): Add them.
14730 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
14731 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
14732 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
14733 [!SCANDIR] (SCANDIR_TAIL): New macro.
14734 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
14735 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
14736 (SCANDIRAT): Macro removed.
14737 (SCANDIR_TAIL): New macro.
14738 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
14739 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
14740 (SCANDIRAT): Just call __opendirat and __scandir_tail.
14741 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
14742 (READDIR): Macro removed.
14743 (SCANDIR_TAIL): New macro.
14744 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
14745 (SCANDIR_TAIL): New macro.
14746
14747 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
14748 * dirent/scandir-cancel.c: ... to this new file.
14749 * dirent/Makefile (routines): Add it.
14750 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
14751 * sysdeps/unix/sysv/linux/i386/scandir64.c
14752 (SKIP_SCANDIR_CANCEL): Macro removed.
14753 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
14754
14755 * dirent/tst-scandir.c: New file.
14756 * dirent/tst-scandir64.c: New file.
14757 * dirent/Makefile (tests): Add them.
14758
14759 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
14760
14761 [BZ #18409]
14762 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
14763
14764 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
14765
14766 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
14767 list.
14768
14769 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
14770
14771 * benchtests/bench-strcoll.c: New benchmark.
14772 * benchtests/Makefile: Generate locales and run benchmark.
14773 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
14774 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14775 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
14776 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
14777 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
14778 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
14779 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
14780 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
14781 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
14782 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
14783 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
14784 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
14785 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
14786 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
14787 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
14788 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
14789 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
14790 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
14791 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
14792 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
14793 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
14794 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
14795 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
14796 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
14797
14798 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
14799
14800 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
14801 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14802
14803 2015-05-12 Roland McGrath <roland@hack.frob.com>
14804
14805 * posix/uname-values.h: New file.
14806 * posix/uname.c: Include that instead of <config-name.h>.
14807 * sysdeps/nacl/uname-values.h: New file.
14808 * sysdeps/arm/nacl/uname-values.h: New file.
14809
14810 2015-05-12 Joseph Myers <joseph@codesourcery.com>
14811
14812 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
14813 splitting into fields.
14814
14815 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
14816
14817 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
14818 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
14819 * locale/localeinfo.h: Add enum collation_encoding_type.
14820 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
14821 * programs/ld-collate.c (collate_output): Add encoding type info.
14822 * string/strcoll_l.c (STRDIFF): New function.
14823 * (STRCOLL): Use STRDIFF to skip over equal prefix.
14824 * wcsmbs/wcscoll_l.c: Define STRDIFF.
14825
14826 2015-05-11 Joseph Myers <joseph@codesourcery.com>
14827
14828 [BZ #18397]
14829 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
14830 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
14831 <fpu_control.h> instead of <math/fpu_control.c>.
14832 * sysdeps/mips/mips32/fpu/Makefile: New file.
14833
14834 2015-05-11 Andreas Schwab <schwab@suse.de>
14835
14836 [BZ #18007]
14837 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
14838 nss_endgrent.
14839 (_nss_compat_endgrent): Call nss_endgrent.
14840 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
14841 nss_endpwent.
14842 (_nss_compat_endpwent): Call nss_endpwent.
14843 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
14844 needent, call nss_setspent only if non-zero.
14845 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
14846 (internal_endspent): Don't call nss_endspent.
14847 (_nss_compat_endspent): Call nss_endspent.
14848 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
14849 Remove. All uses removed.
14850 (internal_setent): Remove parameter stayopen, add parameter
14851 stream. Use it instead of global variable.
14852 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
14853 (internal_endent, internal_getent): Add parameter stream. Use it
14854 instead of global variable.
14855 (CONCAT(_nss_files_end,ENTNAME))
14856 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
14857 (_nss_files_get##name##_r): Pass local stream. Remove locking.
14858 * nss/nss_files/files-alias.c (position, last_use): Remove. All
14859 uses removed.
14860 (internal_setent, internal_endent): Add parameter stream. Use it
14861 instead of global variable.
14862 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
14863 stream.
14864 (get_next_alias): Add parameter stream.
14865 (_nss_files_getaliasent_r): Pass global stream.
14866 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
14867 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
14868 (_nss_files_gethostbyname4_r): Pass local stream to
14869 internal_setent, internal_getent and internal_endent. Remove
14870 locking.
14871
14872 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14873
14874 * tst-strfmon1.c (tests): Update expected currency symbol.
14875
14876 2015-05-08 Roland McGrath <roland@hack.frob.com>
14877
14878 * sysdeps/nacl/gethostname.c: New file.
14879
14880 2015-05-08 Joseph Myers <joseph@codesourcery.com>
14881
14882 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
14883 and sinh.
14884 * math/auto-libm-test-out: Regenerated.
14885 * sysdeps/i386/fpu/libm-test-ulps: Update.
14886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14887
14888 2015-05-08 Carlos O'Donell <carlos@redhat.com>
14889
14890 [BZ #18125]
14891 * stdlib/tst-setcontext3.c: New file.
14892 * stdlib/tst-setcontext3.sh: New file.
14893 * stdlib/Makefile (tests): Add tst-setcontext3.
14894 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
14895 to verify test program created output file.
14896 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
14897 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
14898 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
14899 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
14900
14901 2015-05-06 Roland McGrath <roland@hack.frob.com>
14902
14903 [BZ #18383]
14904 * elf/tst-tlsalign.c: New file.
14905 * elf/tst-tlsalign-static.c: New file.
14906 * elf/tst-tlsalign-lib.c: New file.
14907 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
14908 (tests-static): Add tst-tlsalign-static.
14909 (modules-names): Add tst-tlsalign-lib.
14910 (test-xfail-tst-tlsalign): New variable.
14911 (test-xfail-tst-tlsalign-static): New variable.
14912
14913 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
14914 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
14915
14916 2015-05-06 Joseph Myers <joseph@codesourcery.com>
14917
14918 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
14919 csqrt, erfc, sin and sincos.
14920 * math/auto-libm-test-out: Regenerated.
14921 * sysdeps/i386/fpu/libm-test-ulps: Update.
14922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14923
14924 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14925
14926 * sysdeps/aarch64/libm-test-ulps: Update.
14927
14928 2015-05-05 Joseph Myers <joseph@codesourcery.com>
14929
14930 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
14931 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
14932 * math/auto-libm-test-out: Regenerated.
14933 * sysdeps/i386/fpu/libm-test-ulps: Update.
14934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14935
14936 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
14937
14938 [BZ #18265]
14939 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
14940 (wcsncpy): Likewise.
14941
14942 2015-05-05 Florian Weimer <fweimer@redhat.com>
14943
14944 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14945 Assume __ASSUME_FALLOCATE is always true.
14946 * sysdeps/unix/sysv/linux/posix_fallocate64.c
14947 (__posix_fallocate64_l64): Likweise.
14948 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
14949 (posix_fallocate): Likewise.
14950 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
14951 (__posix_fallocate64_l64): Likewise.
14952 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14953 [!__ASSUME_FALLOCATE]: Add comment.
14954
14955 2015-05-05 Florian Weimer <fweimer@redhat.com>
14956
14957 * sysdeps/unix/sysv/linux/i386/Makefile
14958 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
14959 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
14960 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
14961 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14962 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14963 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
14964 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
14965
14966 2015-05-02 Joseph Myers <joseph@codesourcery.com>
14967
14968 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
14969 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
14970 tgamma.
14971 * math/auto-libm-test-out: Regenerated.
14972 * sysdeps/i386/fpu/libm-test-ulps: Update.
14973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14974
14975 2015-05-01 Joseph Myers <joseph@codesourcery.com>
14976
14977 * math/auto-libm-test-in: Add more tests of tgamma.
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 more tests of tanh.
14983 * math/auto-libm-test-out: Regenerated.
14984 * sysdeps/i386/fpu/libm-test-ulps: Update.
14985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14986
14987 * math/auto-libm-test-in: Add more tests of tan.
14988 * math/auto-libm-test-out: Regenerated.
14989 * sysdeps/i386/fpu/libm-test-ulps: Update.
14990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14991
14992 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
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 * math/auto-libm-test-in: Add another test of pow.
14998 * math/auto-libm-test-out: Regenerated.
14999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15000
15001 * math/auto-libm-test-in: Add more tests of lgamma.
15002 * math/auto-libm-test-out: Regenerated.
15003 * sysdeps/i386/fpu/libm-test-ulps: Update.
15004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15005
15006 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
15007 log1p.
15008 * math/auto-libm-test-out: Regenerated.
15009 * sysdeps/i386/fpu/libm-test-ulps: Update.
15010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15011
15012 2015-05-01 Mark Wielaard <mjw@redhat.com>
15013
15014 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
15015 Elf64_Chdr structs and ELFCOMPRESS constants.
15016
15017 2015-05-01 Joseph Myers <joseph@codesourcery.com>
15018
15019 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
15020 expm1.
15021 * math/auto-libm-test-out: Regenerated.
15022 * sysdeps/i386/fpu/libm-test-ulps: Update.
15023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15024
15025 * math/auto-libm-test-in: Add more tests of erf and erfc.
15026 * math/auto-libm-test-out: Regenerated.
15027 * sysdeps/i386/fpu/libm-test-ulps: Update.
15028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15029
15030 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
15031
15032 * config.h.in (HAVE_AARCH64_BE): Add.
15033
15034 2015-04-30 Joseph Myers <joseph@codesourcery.com>
15035
15036 * math/auto-libm-test-in: Add more tests of csqrt.
15037 * math/auto-libm-test-out: Regenerated.
15038 * sysdeps/i386/fpu/libm-test-ulps: Update.
15039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15040
15041 * math/auto-libm-test-in: Add more tests of cosh and sinh.
15042 * math/auto-libm-test-out: Regenerated.
15043 * sysdeps/i386/fpu/libm-test-ulps: Update.
15044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15045
15046 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
15047
15048 2015-04-29 Roland McGrath <roland@hack.frob.com>
15049
15050 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
15051 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
15052
15053 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
15054 (euidaccess, eaccess): Define as weak aliases.
15055
15056 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
15057 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
15058 but __suseconds_t is often 'long int' so some sources assume that
15059 type is being used (e.g. they use %ld to print tv_usec).
15060
15061 2015-04-29 Florian Weimer <fweimer@redhat.com>
15062
15063 [BZ #18007]
15064 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
15065 (CVE-2014-8121)
15066 * nss/tst-nss-getpwent.c: New file.
15067 * nss/Makefile (tests): Add new test.
15068
15069 2015-04-28 Joseph Myers <joseph@codesourcery.com>
15070
15071 [BZ #18346]
15072 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
15073 exponents less than 48 as cases where high part of mantissa needs
15074 examining to determine whether argument is integral.
15075 * math/libm-test.inc (round_test_data): Add more tests.
15076
15077 2015-04-28 Mark Wielaard <mjw@redhat.com>
15078
15079 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
15080
15081 2015-04-27 David S. Miller <davem@davemloft.net>
15082
15083 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
15084 __tls_get_addr.
15085 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
15086
15087 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
15088
15089 [BZ#18333]
15090 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
15091
15092 2015-04-27 Florian Weimer <fweimer@redhat.com>
15093
15094 [BZ#18333]
15095 * time/tzset.c (parse_tzname): Return error on memory allocation
15096 failure.
15097 * test-skeleton.c (struct temp_name_list): Change type of name
15098 member to non-const.
15099 (add_temp_file): Create a copy of the file name.
15100 (delete_temp_files): Deallocate memory.
15101 (create_temp_file): Add comment.
15102
15103 2015-04-24 Florian Weimer <fweimer@redhat.com>
15104
15105 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
15106 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
15107
15108 2015-04-24 Roland McGrath <roland@hack.frob.com>
15109
15110 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
15111 * sysdeps/arm/configure: Regenerated.
15112
15113 2015-04-24 Florian Weimer <fweimer@redhat.com>
15114
15115 [BZ #17715]
15116 * time/tzfile.c (__tzfile_read): Check for large values of
15117 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
15118 * time/tzset.c (__tzstring_len): New function, based on the old
15119 __tzstring function.
15120 (__tzstring): Call __tzstring_len.
15121 (parse_tzname): New helper function extracted from
15122 __tzset_parse_tz. Call __tzstring_len, without making a copy of
15123 the input string.
15124 (parse_offset): New helper function extracted from
15125 __tzset_parse_tz. Replace switch with fallthrough with
15126 initialization before sscanf.
15127 (parse_rule): Likewise.
15128 (__tzset_parse_tz): Rewrite using the new helper functions. Use
15129 new-style function definition.
15130 * timezone/Makefile (tests): Add tst-tzset.
15131 (tst-tzset.out): Dependencies on time zone files.
15132 (tst-tzset-ENV): Set TZDIR.
15133 (testdata/XT%): Copy crafted time zone files.
15134 * timezone/README: Mention crafted time zone files.
15135 * timezone/testdata/XT1, timezone/testdata/XT2,
15136 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
15137 files.
15138 * timezone/tst-tzset.c: New test.
15139
15140 2015-04-24 Florian Weimer <fweimer@redhat.com>
15141
15142 * Makeconfig (+gccwarn): Remove -Winline.
15143
15144 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15145
15146 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
15147
15148 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15149
15150 * NEWS: Mention sysconf() cache information support for s390.
15151 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
15152
15153 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
15154
15155 * math/k_casinh.c (__kernel_casinh): Use __copysign.
15156 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
15157 (__nearbyint): Likewise.
15158 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
15159 (copysignl): Likewise.
15160
15161 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
15162
15163 [BZ #18287]
15164 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
15165 based on padding. (CVE-2015-1781)
15166
15167 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15168
15169 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
15170 libc-vdso.h.
15171 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
15172 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
15173 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
15174 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15175 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15176 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
15177 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
15178 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15179 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15180 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
15181 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15182 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15183 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15184 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
15185 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15186 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
15187 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
15188 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
15189 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
15190 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
15191 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
15192 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
15193 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
15194
15195 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
15196
15197 * stdlib/setenv.c (__add_to_environ):
15198 Dump core quickly if setenv (..., NULL, ...) is called.
15199 This time, do it the right way, and pacify GCC with a pragma.
15200
15201 2015-04-17 Roland McGrath <roland@hack.frob.com>
15202
15203 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
15204 IMAP->l_prev cannot be null, and #if out the code for the contrary
15205 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
15206 believe that NS (&_dl_ns[NSID]) could point outside the array.
15207
15208 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
15209 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
15210 before using NSID as an index.
15211
15212 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
15213
15214 [BZ #17825]
15215 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
15216 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
15217 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15218
15219 2015-04-17 Roland McGrath <roland@hack.frob.com>
15220
15221 Add preliminary port to Google Native Client on ARM.
15222 * abi-tags (.*-.*-nacl.*): New entry.
15223 * sysdeps/arm/nacl: New directory.
15224 * sysdeps/nacl: New directory.
15225
15226 2015-04-16 David S. Miller <davem@davemloft.net>
15227
15228 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
15229 lowlevellock-futex.h
15230
15231 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
15232
15233 * sysdeps/tile/configure.ac: New file.
15234 * sysdeps/tile/configure: Regenerated.
15235
15236 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15237
15238 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
15239 conditionals for weak_alias and libc_hidden_weak.
15240 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
15241 libc_hidden_weak and weak_alias.
15242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
15243 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
15244 and weak_alias for static one.
15245
15246 2015-04-15 David S. Miller <davem@davemloft.net>
15247
15248 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15249
15250 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15251
15252 [BZ #18206]
15253 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
15254 Use signed comparision instead of substraction to avoid
15255 overflow bug.
15256 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
15257 Take the sign of ret.
15258 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
15259 Do not expect precise return values. Only the sign matters.
15260 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
15261 * wcsmbs/test-wcsncmp.c: New File.
15262 * string/test-strncmp.c: Add wcsncmp support.
15263
15264 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15265
15266 [BZ #6792]
15267 * math/w_log1p.c: New file.
15268 * math/w_log1pf.c: Likewise.
15269 * math/w_log1pl.c: Likewise.
15270 * math/Makefile (libm-calls): Add w_log1p.
15271 * math/s_log1pl.c (log1pl): Remove weak_alias.
15272 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
15273 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
15274 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
15275 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
15276 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
15277 [NO_LONG_DOUBLE] (log1pl): Likewise.
15278 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
15279 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
15280 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
15281 (log1p): Remove long_double_symbol.
15282 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
15283 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
15284 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
15285 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
15286 remove weak_alias for corresponding log1p function.
15287 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
15288 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15289 * sysdeps/ia64/fpu/w_log1p.c: New file.
15290 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
15291 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
15292 * math/libm-test.inc (log1p_test_data): Add errno expectations.
15293
15294 2015-04-10 Joseph Myers <joseph@codesourcery.com>
15295
15296 [BZ #18247]
15297 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
15298 decimal exponent by 1.
15299 * stdlib/tst-strtod-round-data: Add more tests.
15300 * stdlib/tst-strtod-round.c (tests): Regenerated.
15301
15302 2015-04-09 Joseph Myers <joseph@codesourcery.com>
15303
15304 * math/auto-libm-test-in: Add more tests of clog and clog10.
15305 * math/auto-libm-test-out: Regenerated.
15306 * sysdeps/i386/fpu/libm-test-ulps: Update.
15307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15308
15309 2015-04-09 Roland McGrath <roland@hack.frob.com>
15310
15311 * Makeconfig (module-cppflags): Exclude all .v.i files.
15312 (skip-module-cppflags): Variable removed.
15313
15314 * configure.ac (libc_config_ok): Initialize before reading
15315 preconfigure scripts, not after.
15316 * configure: Regenerated.
15317
15318 * test-skeleton.c (TIMEOUT): Move #define to top level.
15319 (main): Grok environment variable TEST_DIRECT. If set, print
15320 test expectation details into that file and then behave as if
15321 given --direct.
15322
15323 2015-04-09 Florian Weimer <fweimer@redhat.com>
15324
15325 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
15326 warning on 32-bit.
15327
15328 2015-04-08 David S. Miller <davem@davemloft.net>
15329
15330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15331
15332 2015-04-08 Joseph Myers <joseph@codesourcery.com>
15333
15334 * math/auto-libm-test-in: Add more tests of atanh.
15335 * math/auto-libm-test-out: Regenerated.
15336 * sysdeps/i386/fpu/libm-test-ulps: Update.
15337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15338
15339 * math/auto-libm-test-in: Add more tests of atan.
15340 * math/auto-libm-test-out: Regenerated.
15341 * sysdeps/i386/fpu/libm-test-ulps: Update.
15342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15343
15344 2015-04-08 Florian Weimer <fweimer@redhat.com>
15345
15346 * elf/pldd.c (main): Rewrite to use struct
15347 scratch_buffer instead of extend_alloca.
15348 * elf/pldd-xx.c (find_maps): Likewise.
15349 * grp/initgroups.c: Include <scratch_buffer.h> instead of
15350 <alloca.h>.
15351 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
15352 scratch_buffer instead of extend_alloca.
15353 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
15354 grp/compat-initgroups.c.
15355 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
15356 Rewrite to use struct scratch_buffer instead of extend_alloca.
15357 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
15358 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15359
15360 2015-04-08 Joseph Myers <joseph@codesourcery.com>
15361
15362 * math/auto-libm-test-in: Add more tests of cbrt.
15363 * math/auto-libm-test-out: Regenerated.
15364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15365
15366 * math/auto-libm-test-in: Add more tests of cabs.
15367 * math/auto-libm-test-out: Regenerated.
15368 * sysdeps/i386/fpu/libm-test-ulps: Update.
15369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15370
15371 [BZ #18210]
15372 [BZ #18211]
15373 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
15374 (__ieee754_atan2): Set FE_TONEAREST mode for internal
15375 computations.
15376 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
15377 clog10.
15378 * math/auto-libm-test-out: Regenerated.
15379 * sysdeps/i386/fpu/libm-test-ulps: Update.
15380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15381
15382 [BZ #18197]
15383 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
15384 (atan): Set FE_TONEAREST mode for internal computations.
15385 * math/auto-libm-test-in: Add more tests of atan.
15386 * math/auto-libm-test-out: Regenerated.
15387
15388 2015-04-07 James Cowgill <james410@cowgill.org.uk>
15389
15390 [BZ #17930]
15391 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
15392
15393 2015-04-07 Florian Weimer <fweimer@redhat.com>
15394
15395 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
15396
15397 2015-04-07 Florian Weimer <fweimer@redhat.com>
15398
15399 * include/scratch_buffer.h: New file.
15400 * malloc/scratch_buffer_grow.c: Likewise.
15401 * malloc/scratch_buffer_grow_preserve.c: Likewise.
15402 * malloc/scratch_buffer_set_array_size.c: Likewise.
15403 * malloc/tst-scratch_buffer.c: Likewise.
15404 * malloc/Makefile (routines): Add scratch_buffer_grow.
15405 (tests): Add test case.
15406 * malloc/Versions (GLIBC_PRIVATE): Export
15407 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
15408 __libc_scratch_buffer_set_array_size.
15409
15410 2015-04-06 Richard Henderson <rth@redhat.com>
15411
15412 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
15413 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15414
15415 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
15416 unsigned int before printing.
15417
15418 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15419
15420 [BZ #17596]
15421 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
15422 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15423
15424 2015-04-02 Florian Weimer <fweimer@redhat.com>
15425
15426 * include/libc-internal.h (libc_max_align_t): Define.
15427
15428 2015-04-02 Andreas Schwab <schwab@suse.de>
15429
15430 [BZ #16850]
15431 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
15432
15433 2015-04-02 Mel Gorman <mgorman@suse.de>
15434
15435 [BZ #17195]
15436 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
15437 as well as the main arena.
15438
15439 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
15440
15441 [BZ #18185]
15442 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
15443 sharing L2 cache to 2 for Silvermont/Knights Landing.
15444
15445 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
15446
15447 [BZ #17711]
15448 * config.make.in (have-protected-data): New.
15449 * configure.ac: Check linker support for protected data symbol.
15450 * configure: Regenerated.
15451 * elf/Makefile (modules-names): Add tst-protected1moda and
15452 tst-protected1modb if $(have-protected-data) is yes.
15453 (tests): Add tst-protected1a and tst-protected1b if
15454 $(have-protected-data) is yes.
15455 ($(objpfx)tst-protected1a): New.
15456 ($(objpfx)tst-protected1b): Likewise.
15457 (tst-protected1modb.so-no-z-defs): Likewise.
15458 * elf/tst-protected1a.c: New file.
15459 * elf/tst-protected1b.c: Likewise.
15460 * elf/tst-protected1mod.h: Likewise.
15461 * elf/tst-protected1moda.c: Likewise.
15462 * elf/tst-protected1modb.c: Likewise.
15463
15464 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
15465
15466 [BZ #17711]
15467 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
15468 indicates it is called from do_lookup_x on relocation against
15469 protected data, skip the data definion in the executable from
15470 copy reloc.
15471 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
15472 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
15473 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
15474 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
15475 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
15476 otherwise to 0.
15477 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15478 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
15479 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
15480 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15481 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
15482 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
15483
15484 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
15485
15486 * sysdeps/nptl/pthread.h: Remove duplicate definition of
15487 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
15488
15489 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
15490
15491 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
15492 THREAD_SETMEM_NC.
15493 * sysdeps/x86_64/nptl/tls.h: Ditto.
15494
15495 2015-03-27 Roland McGrath <roland@hack.frob.com>
15496
15497 * dlfcn/tststatic.c (main): Converted to ...
15498 (do_test): ... this.
15499 (TEST_FUNCTION): New macro.
15500 Include test-skeleton.c.
15501
15502 2015-03-26 Alan Modra <amodra@gmail.com>
15503
15504 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
15505 Don't segfault if ifunc resolver returns a NULL. Do set plt to
15506 zero for undefined weak.
15507 (elf_machine_plt_conflict): Similarly.
15508
15509 2015-03-25 Joseph Myers <joseph@codesourcery.com>
15510
15511 * math/auto-libm-test-in: Add more tests of acosh, asinh and
15512 atanh.
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 * math/auto-libm-test-in: Add another test of asin.
15518 * math/auto-libm-test-out: Regenerated.
15519 * sysdeps/i386/fpu/libm-test-ulps: Update.
15520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15521
15522 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
15523 Remove macro.
15524 (LLL_EBX_REG): Likewise.
15525 (LLL_ENTER_KERNEL): Likewise.
15526
15527 * math/auto-libm-test-in: Add more tests of asin.
15528 * math/auto-libm-test-out: Regenerated.
15529 * sysdeps/i386/fpu/libm-test-ulps: Update.
15530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15531
15532 [BZ #18138]
15533 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
15534 libc_do_syscall_args): New structure.
15535 (INTERNAL_SYSCALL_MAIN_0): New macro.
15536 (INTERNAL_SYSCALL_MAIN_1): Likewise.
15537 (INTERNAL_SYSCALL_MAIN_2): Likewise.
15538 (INTERNAL_SYSCALL_MAIN_3): Likewise.
15539 (INTERNAL_SYSCALL_MAIN_4): Likewise.
15540 (INTERNAL_SYSCALL_MAIN_5): Likewise.
15541 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
15542 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
15543 Replace conditional definitions by conditional definitions of ....
15544 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
15545 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
15546 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
15547 (libpthread-sysdep_routines): Add libc-do-syscall.
15548 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
15549 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
15550 to __NR_futex not 240.
15551
15552 2015-03-25 Alan Modra <amodra@gmail.com>
15553
15554 * NEWS: Advertise TLS optimization.
15555 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
15556 (DT_PPC_NUM): Increment.
15557 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
15558 (CHECK_STATIC_TLS): Use here.
15559 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
15560 TLS descriptors.
15561 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15562 * sysdeps/powerpc/dl-tls.c: New file.
15563 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
15564 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
15565 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
15566 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15570
15571 2015-03-25 Alan Modra <amodra@gmail.com>
15572
15573 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
15574 for overlapping .opd entries" to "support...".
15575 * sysdeps/powerpc/powerpc64/configure: Regenerate
15576
15577 2015-03-25 Joseph Myers <joseph@codesourcery.com>
15578
15579 * math/auto-libm-test-in: Add more tests of acos.
15580 * math/auto-libm-test-out: Regenerated.
15581 * sysdeps/i386/fpu/libm-test-ulps: Update.
15582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15583
15584 * math/auto-libm-test-in: Add more tests of expm1.
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-24 Joseph Myers <joseph@codesourcery.com>
15590
15591 * math/auto-libm-test-in: Add more tests of cosh and sinh.
15592 * math/auto-libm-test-out: Regenerated.
15593 * sysdeps/i386/fpu/libm-test-ulps: Update.
15594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15595
15596 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15598
15599 * math/auto-libm-test-in: Add more tests of log2.
15600 * math/auto-libm-test-out: Regenerated.
15601 * sysdeps/i386/fpu/libm-test-ulps: Update.
15602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15603
15604 2015-03-23 Roland McGrath <roland@hack.frob.com>
15605
15606 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
15607 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
15608 _IO_IS_APPENDING bit in READ_WRITE instead.
15609
15610 2015-03-23 Florian Weimer <fweimer@redhat.com>
15611
15612 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15613 (__determine_cpumask_size): Replace extend_alloca with a
15614 variable-length array. Do not treat res == 0 as an error.
15615
15616 2015-03-23 Florian Weimer <fweimer@redhat.com>
15617
15618 [BZ #18100]
15619 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
15620 and integer overflow.
15621 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
15622 (main): Add integer overflow tests.
15623 * manual/pattern.texi (Calling Wordexp): Document additional use
15624 for WRDE_SYNTAX.
15625
15626 2015-03-23 Alan Modra <amodra@gmail.com>
15627
15628 * config.h.in: Remove HAVE_ASM_PPC_REL16.
15629 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
15630 and false branch of conditional.
15631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15632 Likewise.
15633
15634 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
15635
15636 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
15637 libc-modules.h
15638 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
15639 unused declaration of _hurd_intr_rpc_msg_in_trap.
15640 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
15641 defined instead of whether it is non-zero.
15642 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
15643 input constraint instead of both input and output constraint. Use ecx
15644 clobber instead of %ecx.
15645 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
15646 mutex_unlock): Use a statement expression instead of an expression list.
15647 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
15648 type to vm_size_t instead of vm_address_t.
15649 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
15650 defined instead of whether it is non-zero.
15651 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
15652 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
15653 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
15654 comparisons with mapaddr.
15655 * nscd/nscd-client.h: Include <time.h>.
15656 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
15657 9th parameter to __vm_region instead of int.
15658 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
15659 * scripts/check-local-headers.sh (exclude): Add device/,
15660 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
15661 cthreads.h.
15662
15663 2015-03-19 Roland McGrath <roland@hack.frob.com>
15664
15665 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
15666 to account for alignment padding.
15667 * sysdeps/arm/memmove.S: Likewise.
15668
15669 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
15670
15671 * sysdeps/unix/sysv/linux/generic/README: New file.
15672
15673 2015-03-18 Joseph Myers <joseph@codesourcery.com>
15674
15675 [BZ #18138]
15676 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
15677 (futex_abstimed_wait)
15678 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
15679 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
15680 of lll_futex_timed_wait.
15681
15682 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
15683
15684 [BZ #17542]
15685 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
15686
15687 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
15688
15689 [BZ #17090]
15690 [BZ #17620]
15691 [BZ #17621]
15692 [BZ #17628]
15693 * NEWS: Update.
15694 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
15695 entries with Static TLS too. Skip entries past the end of the
15696 allocated DTV, from Alan Modra.
15697 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
15698 Static TLS DTV entry set up from...
15699 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
15700 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
15701 * nptl/allocatestack.c (init_one_static_tls): ... and here...
15702 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
15703 for Static TLS.
15704 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
15705 that the slot we find is associated with the given map before
15706 using its generation count.
15707 * nptl_db/db_info.c: Include ldsodefs.h.
15708 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
15709 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
15710 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
15711 (link_map::l_tls_offset): New struct field.
15712 (dtv_t::counter): Likewise.
15713 (rtld_global): New struct.
15714 (_rtld_global): New rtld variable.
15715 (dl_tls_dtv_slotinfo_list): New rtld global field.
15716 (dtv_slotinfo_list): New struct.
15717 (dtv_slotinfo): Likewise.
15718 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
15719 (td_lookup): Rename to...
15720 (td_mod_lookup): ... this. Use new mod parameter instead of
15721 LIBPTHREAD_SO.
15722 * nptl_db/td_thr_tlsbase.c: Include link.h.
15723 (dtv_slotinfo_list, dtv_slotinfo): New functions.
15724 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
15725 addresses even if the DTV is out of date or missing them.
15726 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
15727 index zero-length arrays.
15728 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
15729 (td_lookup): Make it a macro implemented in terms of...
15730 (td_mod_lookup): ... this declaration.
15731 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
15732 (DB_MAIN_VARIABLE): Likewise.
15733
15734 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
15735
15736 [BZ #18134]
15737 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15738
15739 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
15740
15741 * stdlib/setenv.c (__add_to_environ): Revert previous change.
15742
15743 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
15744
15745 [BZ #18128]
15746 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
15747 (atomic_add, atomic_increment_and_test)
15748 (atomic_decrement_and_test): Fix 64-bit arithmetic.
15749
15750 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
15751
15752 * stdlib/setenv.c (__add_to_environ):
15753 Dump core quickly if setenv (..., NULL, ...) is called.
15754
15755 2015-03-13 Roland McGrath <roland@hack.frob.com>
15756
15757 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
15758 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
15759 all the necessary asm magic in one place.
15760 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
15761 using those.
15762
15763 2015-03-13 Carlos O'Donell <carlos@redhat.com>
15764
15765 [BZ #14906]
15766 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
15767 traced file mtime. Use consistent log message.
15768 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
15769 (register_traced_file): Call install_watches. Always set mtime.
15770 (invalidate_cache): Iterate over all trace files. Call install_watches.
15771 (inotify_check_files): Don't inline. Handle watching parent
15772 directories and configuration file movement in and out.
15773 (handle_inotify_events): New function.
15774 (main_loop_poll): Call handle_inotify_events.
15775 (main_loop_epoll): Likewise.
15776 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
15777 (struct traced_file): Use array of inotify fds. Add parent directory,
15778 and basename.
15779 (struct database_dyn): Remove unused file_mtime.
15780 (init_traced_file): New inline function.
15781 (define_traced_file): New macro.
15782 * nss/nss_db/db-init.c: Use define_traced_file.
15783 (_nss_db_init): Use init_traced_file.
15784 * nss/nss_files/files-init.c: Use define_traced_file.
15785 (_nss_files_init): Use init_traced_file.
15786
15787 2015-03-12 Joseph Myers <joseph@codesourcery.com>
15788
15789 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
15790 [_LIBC]: Do not include <stdlib.h>.
15791 [!_LIBC] (abort): Remove declaration.
15792 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
15793 _FP_STATIC_ASSERT instead of conditionally calling abort.
15794 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
15795 (_FP_EXTEND_CNAN): Likewise.
15796 (FP_TRUNC): Likewise.
15797 (__FP_CLZ): Likewise.
15798 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
15799
15800 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
15801
15802 * manual/string.texi (XPG basename): Fix prototype.
15803
15804 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15805
15806 [BZ #18080]
15807 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
15808 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15809 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
15810 (__setcontext): Likewise.
15811 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
15812 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15813 Call rt_sigprocmask syscall one time to set new signal mask
15814 and retrieve the current signal mask instead of two calls.
15815 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
15816 (__swapcontext): Likewise.
15817 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15818 * stdlib/tst-setcontext2.c: New file.
15819
15820 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15821
15822 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15823
15824 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
15825
15826 [BZ #18093]
15827 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
15828 the wrong size.
15829
15830 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15831
15832 [BZ #18043]
15833 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
15834
15835 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
15836
15837 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
15838 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
15839 Remove define.
15840 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
15841 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
15842 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
15843 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
15844 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
15845 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
15846 define.
15847 * nptl_db/td_symbol_list.c (td_lookup): Remove
15848 HAVE_ASM_GLOBAL_DOT_NAME code.
15849 * sysdeps/powerpc/powerpc64/configure.ac: Remove
15850 HAVE_ASM_GLOBAL_DOT_NAME check.
15851 * sysdeps/powerpc/powerpc64/configure: Regenerate.
15852 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
15853 (DOT_LABEL): Remove define.
15854 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
15855 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
15856 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
15857 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
15858 (__TLS_GET_ADDR): Likewise.
15859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
15860 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
15861
15862 2015-03-11 Carlos O'Donell <carlos@redhat.com>
15863
15864 [BZ #18111]
15865 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
15866 (_FPU_SETCW): Initialize cw from fpsr before storing.
15867 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
15868 (fesetexceptflag): Rewrite using fpu_control.h.
15869 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
15870
15871 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
15872
15873 [BZ #18110]
15874 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
15875 asms.
15876 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15877
15878 2015-03-11 Joseph Myers <joseph@codesourcery.com>
15879
15880 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
15881 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
15882 abort.
15883 (_FP_FMA): Likewise.
15884 (_FP_DIV): Likewise.
15885
15886 2015-03-10 Roland McGrath <roland@hack.frob.com>
15887
15888 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
15889 with 0 in that case.
15890 * Makefile (summarize-tests): New canned sequence, factored out of
15891 commands for targets tests and xtests. Display summary lines that
15892 don't start with PASS: or XFAIL: rather than ones that do start with
15893 ERROR: or FAIL:. Make the commands fail if any summary lines fail
15894 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
15895 do start with ERROR: or FAIL:.
15896 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
15897 (except for [$(build-shared) = yes]).
15898 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
15899 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
15900 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
15901 * nptl/Makefile: Revert 2015-03-04 changes.
15902 [$(CXX) empty] (tests-unsupported): New variable.
15903 * debug/Makefile: Likewise.
15904
15905 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
15906 gnulib file. Replace __attribute with __attribute__ throughout.
15907
15908 2015-03-10 Carlos O'Donell <carlos@redhat.com>
15909
15910 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15911
15912 2015-03-10 Joseph Myers <joseph@codesourcery.com>
15913
15914 [BZ #18104]
15915 * math/auto-libm-test-in: Add another test of pow.
15916 * math/auto-libm-test-out: Regenerated.
15917
15918 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15919
15920 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
15921 $(config-cflags-nofma).
15922
15923 2015-03-10 Joseph Myers <joseph@codesourcery.com>
15924
15925 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
15926 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
15927 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
15928 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
15929 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
15930 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
15931 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
15932 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
15933 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
15934 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
15935 Add comment on closing #endif.
15936
15937 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15938
15939 * posix/wordexp.c (CHAR_IN_SET): New macro.
15940 (parse_param): Use it.
15941
15942 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15943
15944 * sysdeps/powerpc/fpu/libm-test-ulps: update.
15945
15946 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15947
15948 [BZ #18043]
15949 * posix/wordexp.c (parse_param): Fix buffer overflow.
15950 * posix/wordexp-test.c (test_case): Add test case.
15951
15952 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15953
15954 [BZ #18042]
15955 * posix/wordexp.c (parse_backtick): Fix off-by-one.
15956 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
15957
15958 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15959
15960 [BZ #18043]
15961 * posix/wordexp-test.c (test_case): Add test for BZ #18043
15962 (do_bz18043): Delete.
15963 (at_page_end): New.
15964 (testit): Refactor to have words at the edge of unreadable page.
15965
15966 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15967
15968 [BZ #16734]
15969 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
15970 Cleanup read-only streams as well.
15971 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
15972
15973 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
15974
15975 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
15976 <bits/libc-lockP.h>
15977
15978 2015-03-07 Joseph Myers <joseph@codesourcery.com>
15979
15980 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
15981 on [__KERNEL__].
15982 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
15983 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
15984 * soft-fp/op-common.h (_FP_DECL): Likewise.
15985
15986 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
15987
15988 * elf/ifuncdep2.c (global): Replace
15989 __attribute__((visibility("protected"))) with
15990 asm (".protected global").
15991 * elf/ifuncmod1.c (global): Likewise.
15992 * elf/ifuncmod5.c (global): Likewise.
15993
15994 2015-03-06 Joseph Myers <joseph@codesourcery.com>
15995
15996 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
15997 <asm/sfp-machine.h> instead of <sfp-machine.h>.
15998
15999 2015-03-06 Roland McGrath <roland@hack.frob.com>
16000
16001 * manual/install.texi (Configuring and compiling):
16002 Document test-wrapper-env-only.
16003 * INSTALL: Regenerated.
16004
16005 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16006
16007 [BZ #18043]
16008 * posix/wordexp.c (parse_param): Fix buffer overflow.
16009 * posix/wordexp-test.c (do_bz18043): Add test case.
16010
16011 2015-03-06 Vincent Bernat <vincent@bernat.im>
16012
16013 * time/tst-strptime2.c (do_test): Ensure failing tests are
16014 reported correctly.
16015 * time/tst-strptime3.c (do_test): Likewise.
16016
16017 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
16018
16019 Fix aio_error thread-safety.
16020 * sysdeps/pthread/aio_error.c: New file
16021 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
16022 synchronization.
16023
16024 2015-03-06 Florian Weimer <fweimer@redhat.com>
16025
16026 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
16027 (group_number, vfprintf): Use it.
16028 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
16029 (JUMP, REF): Use it.
16030 (WORK_BUFFER_SIZE): New enum constant.
16031 (process_arg, vfprintf): Use it.
16032
16033 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
16034
16035 * manual/errno.texi (Error Messages): Complete example function
16036 by adding missing #define.
16037 (program_invocation_name): Add statement indicating GNU
16038 extension and reference which header file declares the variable.
16039 (program_invocation_short_name): Likewise.
16040
16041 2015-03-06 Mike Frysinger <vapier@gentoo.org>
16042
16043 * manual/errno.texi (Error Messages): Delete strerror ISO C89
16044 compatibility note.
16045
16046 2015-03-05 Roland McGrath <roland@hack.frob.com>
16047
16048 * Makeconfig (test-wrapper-env-only): New variable.
16049 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
16050 then use that with $(test-wrapper-env-only) rather than using
16051 $(test-wrapper-env) $(run-program-env) $($*-ENV).
16052
16053 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
16054
16055 [BZ #18082]
16056 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
16057 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
16058 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
16059 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
16060 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
16061 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
16062 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
16063 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
16064 Likewise.
16065 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
16066 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
16067 Likewise.
16068 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
16069 Likewise.
16070 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
16071 Likewise.
16072 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
16073 Likewise.
16074 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
16075 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
16076 Likewise.
16077 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
16078 Likewise.
16079 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
16080 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
16081
16082 2015-03-04 Roland McGrath <roland@hack.frob.com>
16083
16084 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
16085 (ETH_ALEN): New macro.
16086 (struct ether_addr): Use it for length of ether_addr_octet.
16087
16088 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
16089 (setdb): Don't call __nss_configure_lookup for "rpc".
16090 (do_test): Don't call test_rpc.
16091 (output_rpcent, test_rpc): Functions moved ...
16092 * sunrpc/test-rpcent.c: ... to this new file.
16093 * sunrpc/Makefile (tests): Add it.
16094
16095 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
16096 __xpg_sigpause.
16097 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
16098 * nptl/tst-signal6.c: Likewise.
16099 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
16100 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
16101
16102 * configure.ac (libc_cv_cxx_link_ok): New check.
16103 Reset CXX to empty if it fails to link.
16104 * configure: Regenerated.
16105 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
16106 bug-atexit3-lib only if $(CXX) is nonempty.
16107 * nptl/Makefile (tests): Likewise for tst-cancel24.
16108 (tests, tests-static): Likewise for tst-cancel24-static.
16109 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
16110 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
16111 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
16112 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
16113
16114 2015-03-04 Andreas Schwab <schwab@suse.de>
16115
16116 [BZ #17631]
16117 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
16118 for non-GCC compilers.
16119 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16120 Likewise.
16121
16122 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
16123
16124 [BZ #17776]
16125 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
16126 integer before bitwise and assembly operations.
16127 (feclearexcept): Likewise.
16128 * math/test-fenvinline.c: New file.
16129 * math/Makefile: Add test-fenvinline test.
16130
16131 2015-03-03 Alan Modra <amodra@gmail.com>
16132
16133 [BZ #16512]
16134 * scripts/localplt.awk: Strip off symbol version.
16135 * NEWS: Mention bug fix.
16136
16137 2015-03-02 Roland McGrath <roland@hack.frob.com>
16138
16139 * sysdeps/pthread/timer_routines.c
16140 (timer_free_list, thread_free_list, thread_active_list): Make static.
16141
16142 2015-03-02 Joseph Myers <joseph@codesourcery.com>
16143
16144 [BZ #17779]
16145 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16146 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16147 Undefine.
16148 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16149 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16150 Likewise.
16151 * sysdeps/unix/sysv/linux/sh/kernel-features.h
16152 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16153 Likewise.
16154
16155 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16156
16157 [BZ #18036]
16158 * posix/fnmatch_loop.c (END): Detect invalid pattern.
16159 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
16160
16161 2015-03-02 Andreas Schwab <schwab@suse.de>
16162
16163 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
16164 variable name.
16165
16166 2015-03-02 Florian Weimer <fweimer@redhat.com>
16167
16168 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
16169 Return error status.
16170
16171 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
16172
16173 [BZ #15969]
16174 * locale/findlocale.c (_nl_find_locale): Introduce const
16175 version of loc_name and drop unsafe type casts.
16176
16177 2015-02-27 Roland McGrath <roland@hack.frob.com>
16178
16179 * dlfcn/tststatic2.c (main): Converted to ...
16180 (do_test): ... this.
16181 (TEST_FUNCTION): New macro.
16182 Include test-skeleton.c.
16183
16184 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
16185
16186 [BZ #17711]
16187 * elf/Makefile (tests): Add vismain only if PIE is enabled.
16188 (tests-pie): Add vismain.
16189 (CFLAGS-vismain.c): New.
16190 * elf/vismain.c: Add comments for PIE requirement.
16191
16192 2015-02-27 Joseph Myers <joseph@codesourcery.com>
16193
16194 [BZ #18046]
16195 [BZ #18047]
16196 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
16197 0x1p-56L as threshold for just returning the argument.
16198 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
16199 0x1p-32L as threshold for just returning the argument.
16200 * math/auto-libm-test-in: Add more tests of atanh.
16201 * math/auto-libm-test-out: Regenerated.
16202 * sysdeps/i386/fpu/libm-test-ulps: Update.
16203 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
16204
16205 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
16206
16207 * string/bcopy.c (bcopy): Call memmove for performance.
16208
16209 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
16210
16211 * string/bzero.c (__bzero): Call memset for performance.
16212
16213 2015-02-27 John David Anglin <dave.anglin@bell.net>
16214
16215 [BZ #18068]
16216 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
16217 to 00100000.
16218
16219 2015-02-27 Joseph Myers <joseph@codesourcery.com>
16220
16221 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
16222
16223 2015-02-26 Joseph Myers <joseph@codesourcery.com>
16224
16225 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
16226 (__kernel_standard): Use CSTR macro when setting exc.name.
16227 * sysdeps/ieee754/Makefile [$(subdir) = math]
16228 (CFLAGS-k_standard.c): Remove variable.
16229
16230 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
16231 setting p and q from "else if" to "else".
16232 (qzero): Likewise.
16233 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
16234 (qone): Likewise.
16235 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
16236 (qzerof): Likewise.
16237 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
16238 (qonef): Likewise.
16239 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
16240 (qzero): Likewise.
16241 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
16242 (qone): Likewise.
16243
16244 [BZ #18038]
16245 [BZ #18039]
16246 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
16247 return pi/2 for arguments below 0x1p-113L.
16248 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
16249 return pi/2 for arguments below 0x1p-106L.
16250 * math/auto-libm-test-in: Add more tests of acos.
16251 * math/auto-libm-test-out: Regenerated.
16252
16253 [BZ #16351]
16254 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
16255 (MO): New macro.
16256 (__ieee754_asin): Force underflow exception for results with small
16257 absolute value.
16258 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
16259 (MO): New macro.
16260 (__ieee754_asinf): Force underflow exception for results with
16261 small absolute value.
16262 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
16263 (__ieee754_asin): Force underflow exception for results with small
16264 absolute value.
16265 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
16266 (__ieee754_asinf): Force underflow exception for results with
16267 small absolute value.
16268 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
16269 (__ieee754_asinl): Force underflow exception for results with
16270 small absolute value.
16271 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
16272 (__ieee754_asinl): Force underflow exception for results with
16273 small absolute value.
16274 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
16275 (__ieee754_asinl): Force underflow exception for results with
16276 small absolute value.
16277 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16278 Include <math.h>.
16279 * math/auto-libm-test-in: Do not mark underflow exceptions as
16280 possibly missing for bug 16351.
16281 * math/auto-libm-test-out: Regenerated.
16282
16283 [BZ #18030]
16284 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
16285 of power of 2 down when low part has opposite sign.
16286 * math/libm-test.inc (logb_test_data): Add more tests.
16287
16288 2015-02-26 Andreas Schwab <schwab@suse.de>
16289
16290 [BZ #18032]
16291 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
16292 over collating symbol inside a bracket expression. Minor cleanup.
16293 * posix/tst-fnmatch3.c (do_test): Add test case.
16294
16295 2015-02-26 Joseph Myers <joseph@codesourcery.com>
16296
16297 [BZ #18029]
16298 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
16299 Adjust exponent of power of 2 down when low part has opposite
16300 sign.
16301 * math/libm-test.inc (ilogb_test_data): Add more tests.
16302
16303 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
16304
16305 [BZ #15969]
16306 * locale/findlocale.c (_nl_find_locale): Fix constness error in
16307 the previous change.
16308
16309 [BZ #15969]
16310 * locale/findlocale.c (_nl_find_locale): Retry archive search
16311 after alias expansion.
16312
16313 2015-02-25 Roland McGrath <roland@hack.frob.com>
16314
16315 * iconv/tst-iconv3.c (main): Converted to ...
16316 (do_test): ... this.
16317 (TEST_FUNCTION): New macro.
16318 Include test-skeleton.c.
16319
16320 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
16321 (convert): Make function static.
16322 (test_unalign): Likewise. Add const to argument pointee types.
16323 (main): Replace with static function do_test.
16324 Print "Succeeded." only if RET is zero.
16325 (TEST_FUNCTION): New macro.
16326 Include test-skeleton.c.
16327
16328 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
16329 returns a null pointer.
16330
16331 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16332
16333 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
16334 to __memcpy_ppc only for static builds.
16335
16336 2015-02-25 Joseph Myers <joseph@codesourcery.com>
16337
16338 [BZ #18020]
16339 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
16340 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
16341 * math/auto-libm-test-in: Add more tests of asinh.
16342 * math/auto-libm-test-out: Regenerated.
16343 * sysdeps/i386/fpu/libm-test-ulps: Update.
16344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16345
16346 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
16347
16348 [BZ #15850]
16349 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
16350 and ip6_mtuinfo definitions here.
16351 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
16352 in this define too. Update comment.
16353
16354 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
16355
16356 * elf/sprof.c (load_shobj): Tweak error message to match others.
16357
16358 2015-02-24 Kevin Easton <kevin@guarana.org>
16359
16360 [BZ #16145] (partial fix)
16361 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
16362 to reduce lock contention.
16363
16364 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
16365
16366 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
16367 (struct timex): Update time comment.
16368 (ADJ_SETOFFSET): Define.
16369
16370 2015-02-24 Joseph Myers <joseph@codesourcery.com>
16371
16372 [BZ #18019]
16373 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16374 2**56 not 2**28 as threshold for log (2x) formula.
16375 * math/auto-libm-test-in: Add more tests of acosh.
16376 * math/auto-libm-test-out: Regenerated.
16377 * sysdeps/i386/fpu/libm-test-ulps: Update.
16378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16379
16380 2015-02-24 Mike Frysinger <vapier@gentoo.org>
16381
16382 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
16383 parenthesis around the buf assignment.
16384 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
16385
16386 2015-02-24 Joseph Myers <joseph@codesourcery.com>
16387
16388 [BZ #16783]
16389 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
16390 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
16391 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
16392 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16393 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16394 * math/libm-test.inc (scalb_test_data): Add more tests.
16395
16396 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16397
16398 [BZ #17916]
16399 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
16400 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
16401
16402 2015-02-24 Eric Rannaud <e@nanocritical.com>
16403
16404 [BZ #17523]
16405 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
16406 * io/bits/fcntl2.h (open): Use it.
16407 (openat): Likewise.
16408 * io/open.c (__libc_open): Likewise.
16409 * io/open64.c (__libc_open64): Likewise.
16410 * io/open64_2.c (__open64_2): Likewise.
16411 * io/open_2.c (__open_2): Likewise.
16412 * io/openat.c (__openat): Likewise.
16413 * io/openat64.c (__openat64): Likewise.
16414 * io/openat64_2.c (__openat64_2): Likewise.
16415 * io/openat_2.c (__openat_2): Likewise.
16416 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
16417 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16418 * sysdeps/posix/open64.c (__libc_open64): Likewise.
16419 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16420 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16421 (__open_nocancel): Likewise.
16422 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16423 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16424 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
16425
16426 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16427
16428 [BZ #14841]
16429 * resolv/gethnamaddr.c (getanswer): Skip logging if
16430 RES_USE_DNSSEC is set.
16431 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16432
16433 2015-02-24 Mike Frysinger <vapier@gentoo.org>
16434
16435 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
16436
16437 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
16438
16439 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16440 201304L, for Unicode 7.
16441
16442 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
16443
16444 [BZ #17836]
16445 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
16446 shared library. Add gmon-start.os otherwise.
16447 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
16448 $(objpfx)gmon-start.os if builing shared library.
16449 ($(objpfx)g$(static-start-installed-name)): Likewise.
16450
16451 2015-02-23 Andreas Schwab <schwab@suse.de>
16452
16453 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
16454
16455 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16456
16457 [BZ #17269]
16458 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
16459 (enlarge_userbuf): Likewise.
16460
16461 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
16462
16463 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
16464 * math/atest-exp.c (TIMEOUT): Adjust to 200.
16465 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
16466 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
16467
16468 2015-02-20 Joseph Myers <joseph@codesourcery.com>
16469
16470 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
16471 expression inside statement expression.
16472
16473 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
16474
16475 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
16476 <sysdeps/nptl/lowlevellock.h> and remove macros and
16477 functions that are now defined there.
16478 (SYS_futex): Remove.
16479 (lll_compare_and_swap): Remove.
16480 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
16481
16482 2015-02-19 Joseph Myers <joseph@codesourcery.com>
16483
16484 [BZ #17999]
16485 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
16486 instead of scandirat.
16487 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
16488 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
16489 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
16490 __scandirat.
16491 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
16492 (__scandirat): Declare. Use libc_hidden_proto.
16493 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
16494 Remove variable.
16495 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16496
16497 2015-02-18 Joseph Myers <joseph@codesourcery.com>
16498
16499 [BZ #15319]
16500 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
16501 (MO): New macro.
16502 (__ieee754_atan2): For results with small absolute value, force
16503 underflow exception and remove excess range and precision from
16504 return value.
16505 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
16506 (MO): New macro.
16507 (__ieee754_atan2f): For results with small absolute value, force
16508 underflow exception and remove excess range and precision from
16509 return value.
16510 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
16511 (MO): New macro.
16512 (__atan): For results with small absolute value, force underflow
16513 exception and remove excess range and precision from return value.
16514 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
16515 (MO): New macro.
16516 (__atanf): For results with small absolute value, force underflow
16517 exception and remove excess range and precision from return value.
16518 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
16519 <math.h>.
16520 (__ieee754_atan2): Force underflow exception for results with
16521 small absolute value.
16522 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
16523 <math_private.h>.
16524 (atan): Force underflow exception for results with small absolute
16525 value.
16526 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
16527 (__atanf): Force underflow exception for results with small
16528 absolute value.
16529 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
16530 <math.h>.
16531 (__atanl): Force underflow exception for results with small
16532 absolute value.
16533 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
16534 (__atanl): Force underflow exception for results with small
16535 absolute value.
16536 * sysdeps/x86/fpu/bits/mathinline.h
16537 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
16538 (__ieee754_atan2): Only define inline for long double.
16539 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16540 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
16541 * math/auto-libm-test-in: Do not mark underflow exceptions as
16542 possibly missing for bug 15319. Add more tests of atan2.
16543 * math/auto-libm-test-out: Regenerated.
16544 * math/libm-test.inc (casin_test_data): Do not mark underflow
16545 exceptions as possibly missing for bug 15319.
16546 (casinh_test_data): Likewise.
16547 * sysdeps/i386/fpu/libm-test-ulps: Update.
16548
16549 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
16550
16551 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
16552 * sysdeps/mips/bits/endian.h: Fix comments.
16553
16554 2015-02-18 Joseph Myers <joseph@codesourcery.com>
16555
16556 [BZ #17996]
16557 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
16558 (hdestroy_r): Likewise.
16559 (hsearch_r): Likewise.
16560 (__hcreate_r): Declare and use libc_hidden_proto.
16561 (__hdestroy_r): Likewise.
16562 (__hsearch_r): Likewise.
16563 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
16564 (hcreate): Call __hcreate_r instead of hcreate_r.
16565 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
16566 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
16567 as weak alias of __hcreate_r.
16568 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
16569 __hdestroy_r.
16570 (hsearch_r): Rename to __hsearch_r and define as weak alias of
16571 __hsearch_r.
16572 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
16573 Remove variable.
16574 (test-xfail-XPG4/search.h/linknamespace): Likewise.
16575 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16576 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16577 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16578
16579 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16580
16581 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
16582 arena_lock into a single arena_get.
16583
16584 2015-02-17 Carlos O'Donell <carlos@redhat.com>
16585
16586 * dl-reloc.c: Inlucde libc-internal.h.
16587 (_dl_try_allocate_static_tls): Call ALIGN_UP.
16588 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
16589 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
16590 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
16591 (grow_heap): Likewise.
16592 * malloc/malloc.c: Include libc-internal.h.
16593 (do_check_malloc): Call powerof2.
16594 (sysmalloc): Use pagesize. Call ALIGN_UP.
16595 (systrim): Use pagesize.
16596 (mremap_chunk): Use pagesize. Call ALIGN_UP.
16597 (__libc_valloc): Use pagesize.
16598 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
16599
16600 2015-02-17 Joseph Myers <joseph@codesourcery.com>
16601
16602 [BZ #17991]
16603 * include/sys/resource.h (__getrlimit64): Declare. Use
16604 libc_hidden_proto.
16605 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
16606 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
16607 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
16608 getrlimit64.
16609 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
16610 __getrlimit64.
16611 [!getrlimit64] (getrlimit64): Define as weak alias of
16612 __getrlimit64. Use libc_hidden_weak.
16613 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
16614 using __getrlimit64 not __new_getrlimit64.
16615 (__GI_getrlimit64): Likewise.
16616 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
16617 Likewise.
16618 (__GI_getrlimit64): Likewise.
16619 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
16620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
16621 (getrlimit): Add __getrlimit64 alias.
16622 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
16623 Likewise.
16624 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
16625 Remove variable.
16626 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16627 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16628
16629 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16630
16631 * libio/fileops.c: Add missing sys/mman.h
16632 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
16633
16634 2015-02-17 Joseph Myers <joseph@codesourcery.com>
16635
16636 * manual/math.texi (Errors in Math Functions): Clarify goals
16637 regarding inexact and underflow exceptions.
16638
16639 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
16640
16641 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
16642 * sysdeps/mips/memset.S: Ditto.
16643
16644 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
16645
16646 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
16647
16648 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
16649
16650 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
16651 (__v1longjmp): Remove versioned symbol.
16652 (__v1siglongjmp): Remove alias and versioned symbol.
16653 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
16654 (__v2siglongjmp): Likewise.
16655
16656 2015-02-16 Torvald Riegel <triegel@redhat.com>
16657
16658 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
16659
16660 2015-02-16 Mike Frysinger <vapier@gentoo.org>
16661
16662 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
16663
16664 2015-02-16 Joseph Myers <joseph@codesourcery.com>
16665
16666 [BZ #17987]
16667 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
16668 zero result does not depend on the sign resulting from
16669 subtraction.
16670 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16671 Likewise.
16672 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16673 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16674 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16675 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16676 * math/libm-test.inc (remquo_test_data): Add more tests.
16677
16678 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
16679
16680 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
16681 Problem reported by J William Piggott.
16682
16683 2015-02-16 Joseph Myers <joseph@codesourcery.com>
16684
16685 [BZ #17978]
16686 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
16687 products 4 * y and 2 * y where those would overflow.
16688 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16689 Likewise.
16690 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16691 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16692 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16693 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16694 * math/libm-test.inc (remquo_test_data): Add more tests.
16695
16696 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
16697
16698 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
16699 [defined _COMPILING_NEWLIB].
16700 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
16701 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
16702
16703 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
16704 [!defined __mips_isa_rev || __mips_isa_rev < 6].
16705
16706 2015-02-16 Torvald Riegel <triegel@redhat.com>
16707
16708 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
16709 acquired.
16710
16711 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
16712
16713 [BZ #17792]
16714 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
16715 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
16716 HOST_STACK_END_ADDR): Likewise.
16717
16718 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
16719
16720 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
16721 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
16722 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
16723
16724 2015-02-13 Roland McGrath <roland@hack.frob.com>
16725
16726 * sysdeps/generic/c++-types.data: New file.
16727 * sysdeps/generic/ld.abilist: New file.
16728 * sysdeps/generic/libBrokenLocale.abilist: New file.
16729 * sysdeps/generic/libanl.abilist: New file.
16730 * sysdeps/generic/libc.abilist: New file.
16731 * sysdeps/generic/libcrypt.abilist: New file.
16732 * sysdeps/generic/libdl.abilist: New file.
16733 * sysdeps/generic/libm.abilist: New file.
16734 * sysdeps/generic/libpthread.abilist: New file.
16735 * sysdeps/generic/libresolv.abilist: New file.
16736 * sysdeps/generic/librt.abilist: New file.
16737
16738 2015-02-13 Joseph Myers <joseph@codesourcery.com>
16739
16740 [BZ #17569]
16741 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16742 Compute absolute value of x as modified by fmod, not original
16743 value of x.
16744 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
16745 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
16746 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
16747 RUN_TEST_ffI_f1_mod8.
16748 (remquo_test_data): Add more tests.
16749
16750 2015-02-13 Roland McGrath <roland@hack.frob.com>
16751
16752 * sysdeps/init_array/pt-crti.S: New file.
16753
16754 2015-02-13 Joseph Myers <joseph@codesourcery.com>
16755
16756 [BZ #17967]
16757 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
16758 __builtin_fmaf instead of relying on contraction of a * b + c.
16759
16760 2015-02-12 J William Piggott <elseifthen@gmx.com>
16761
16762 [BZ #17969]
16763 * manual/time.texi: correct the zoneinfo path in the TZ Variable
16764 node.
16765
16766 2015-02-12 Joseph Myers <joseph@codesourcery.com>
16767
16768 [BZ #17964]
16769 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
16770 __builtin_fma instead of relying on contraction of a * b + c.
16771
16772 2015-02-12 Roland McGrath <roland@hack.frob.com>
16773
16774 * Makeconfig (ASFLAGS): Add -Werror=undef.
16775 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
16776 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
16777 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
16778
16779 * Makeconfig (after-link): New variable.
16780 (+link-pie, +link-pie-tests): Use it.
16781 (+link-static, +link-static-tests): Likewise.
16782 (+link, +link-tests): Likewise.
16783 * Makerules (build-module, build-module-asneeded): Likewise.
16784 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
16785 Likewise.
16786 * elf/Makefile ($(objpfx)ld.so): Likewise.
16787
16788 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
16789
16790 [BZ #17965]
16791 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
16792 both struct timeval and struct timespec.
16793
16794 2015-02-12 Joseph Myers <joseph@codesourcery.com>
16795
16796 [BZ #16560]
16797 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16798 and redefine.
16799 (__ieee754_exp2l): Do not multiply small fractional parts by
16800 M_LN2l.
16801 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
16802 small argument.
16803 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16804 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16805 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
16806 * math/auto-libm-test-in: Add more tests of exp2.
16807 * math/auto-libm-test-out: Regenerated.
16808
16809 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16810
16811 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
16812 unaligned path.
16813
16814 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16815
16816 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
16817 little endian.
16818
16819 2015-02-12 Andreas Schwab <schwab@suse.de>
16820
16821 [BZ #15790]
16822 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16823 Filter out elision flags from value returned in kind.
16824 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
16825 * nptl/tst-pthread-mutexattr.c: New file.
16826
16827 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16828
16829 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
16830 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
16831 into gnu-gnu, and update comment to refer to abi-tags.
16832
16833 2015-02-11 Joseph Myers <joseph@codesourcery.com>
16834
16835 [BZ #15467]
16836 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
16837 (__sincos): Set errno to EDOM for infinite argument.
16838 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
16839 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
16840 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
16841 (__sincosl): Set errno to EDOM for infinite argument.
16842 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
16843 (__sincosl): Set errno to EDOM for infinite argument.
16844 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
16845 (__sincosl): Set errno to EDOM for infinite argument.
16846 * math/libm-test.inc (sincos_test_data): Test errno setting.
16847
16848 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
16849
16850 * string/strxfrm_l.c: Remove #define STRCMP.
16851 * string/strcoll_l.c: Remove #define STRLEN.
16852 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
16853 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
16854
16855 2015-02-10 Joseph Myers <joseph@codesourcery.com>
16856
16857 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
16858 * sysdeps/mips/mips32/sfp-machine.h: ... here.
16859 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
16860 * sysdeps/mips/mips64/Makefile: ... here.
16861 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
16862 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
16863 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
16864 * sysdeps/mips/mips64/sfp-machine.h: ... here.
16865 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
16866 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
16867 * sysdeps/mips/mips64/n64/Implies: Likewise.
16868
16869 2015-02-10 Roland McGrath <roland@hack.frob.com>
16870
16871 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
16872 <sys/time.h>, <string.h>, and <errno.h>.
16873 (dest_offset, dest_address, value, zero): Remove unused variables.
16874 (ldouble): Remove typedef.
16875 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
16876 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
16877 1). Fix code style.
16878 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
16879 (check): Function removed.
16880 (CHECK): New macro.
16881 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
16882 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
16883 Don't call set_sigaction_FP and remove_sigaction_FP here.
16884 (ldouble_test): Just use 'long double' as macro argument, no need for
16885 the 'ldouble' typedef.
16886 (do_test): Set up SIGFPE handler at start, using plain signal rather
16887 than sigaction. Fix code style.
16888
16889 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
16890
16891 [BZ #17949]
16892 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
16893 jump label.
16894
16895 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
16896
16897 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
16898 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16899
16900 * sysdeps/powerpc/configure.ac: Remove file.
16901 * sysdeps/powerpc/configure: Likewise.
16902
16903 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16904 [sysdep_routines]: Remove wordcopy-power6 object.
16905 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16906 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
16907 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
16908 (__memmove_ppc32): Likewise.
16909 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
16910 file.
16911 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
16912 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
16913 Remove preprocessor.
16914
16915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16916 [sysdep_routines]: Remove wide chars objects.
16917 [wcsmbs]: New rule for wide char objects.
16918
16919 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16920 Remove wordcopy-power6 obejct.
16921 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
16922 Use local call for wordcopy and memcpy symbols.
16923 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
16924 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
16925 implementation for loader.
16926 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
16927
16928 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16929 Remove wordcopy-power7 object.
16930 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
16931 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
16932 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
16933 (_wordcopy_fwd_dest_aligned): Likewise.
16934 (_wordcopy_bwd_aligned): Likewise.
16935 (_wordcopy_bwd_dest_aligned): Likewise.
16936
16937 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
16938 Rewrite to call __memmove_ppc instead of include default
16939 implementation.
16940
16941 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16942 Remove wide chars objects.
16943 [wcsmbs]: New rule for wide char objects.
16944
16945 2015-02-09 Andreas Schwab <schwab@suse.de>
16946
16947 [BZ #17912]
16948 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16949 in terms of __O_DIRECTORY.
16950
16951 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
16952
16953 * time/getdate.c: Include <stdbool.h>.
16954 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
16955 call PTR_MANGLE.
16956 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
16957 PTR_DEMANGLE.
16958
16959 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
16960
16961 Add ersatz _Static_assert on older C hosts
16962 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
16963 pre-C11 C platform that is not known to support _Static_assert.
16964
16965 2015-02-07 Richard Braun <rbraun@sceen.net>
16966
16967 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
16968 sigstate.
16969 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
16970
16971 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
16972
16973 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
16974 priority against unexistent AIO_PRIO_DELTA_MAX.
16975 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
16976 instead of int.
16977 * misc/fchflags.c (fchflags): Likewise.
16978 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
16979 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
16980 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
16981 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
16982 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
16983 Declare macros.
16984 [__USE_MISC] (chflags, fchflags): Declare functions.
16985 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
16986 EINVAL when nfds is greater than FD_SETSIZE.
16987 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
16988 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
16989 45.
16990 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
16991 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
16992 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
16993 MACH_RCV_TIMED_OUT.
16994 * hurd/hurd/signal.h (_hurd_self_sigstate,
16995 _hurd_critical_section_lock, _hurd_critical_section_unlock):
16996 Explicit casts from void *.
16997 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
16998 * abi-tags: Rename gnu-gnu os into gnu.
16999
17000 [BZ #4719]
17001 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
17002 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
17003 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
17004 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
17005 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
17006 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
17007
17008 [BZ #17944]
17009 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
17010 duplicates ADDR->sun_path with sockaddr LEN limitation.
17011 * sysdeps/mach/hurd/connect.c: Include <string.h>
17012 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
17013 * sysdeps/mach/hurd/sendmsg.c: Likewise.
17014 * sysdeps/mach/hurd/sendto.c: Likewise.
17015 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
17016 implementing it by hand.
17017
17018 2015-02-06 Roland McGrath <roland@hack.frob.com>
17019
17020 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
17021 Use sfi_breg on ldr.
17022 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
17023 Likewise.
17024
17025 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
17026 it's defined.
17027 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
17028 Test SIGSETXID only if it's defined.
17029
17030 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
17031
17032 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
17033 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
17034
17035 * nptl/tst-align2.c: Moved ...
17036 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
17037 * nptl/Makefile (tests): Remove tst-align2.
17038 * sysdeps/unix/sysv/linux/Makefile
17039 [$(subdir) = nptl] (tests): Add tst-align-clone.
17040 * nptl/tst-getpid1.c: Moved ...
17041 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
17042 * nptl/tst-getpid2.c: Moved ...
17043 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
17044 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
17045 * sysdeps/unix/sysv/linux/Makefile
17046 [$(subdir) = nptl] (tests): ... here.
17047 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
17048 * sysdeps/unix/sysv/linux/Makefile
17049 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
17050
17051 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
17052 Drop trailing \n from perror argument. Use return rather than exit.
17053
17054 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
17055 on [SA_SIGINFO].
17056 * nptl/tst-cancel21.c (do_test): Likewise.
17057 * debug/tst-backtrace6.c: Include <signal.h> first thing.
17058 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
17059 [!SA_SIGINFO]: Make it a stub test.
17060
17061 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
17062 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
17063
17064 * posix/tst-getlogin.c: Move to ...
17065 * login/tst-getlogin.c: ... here.
17066 * posix/Makefile (tests): Move tst-getlogin to ...
17067 * login/Makefile (tests): ... here.
17068
17069 * libio/tst-atime.c (do_test): Move local variables SV and E
17070 inside [ST_NOATIME] conditional.
17071
17072 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
17073
17074 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
17075
17076 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
17077 (wait_code): New function replaces macro.
17078 Call nanosleep rather than syscall.
17079
17080 * nptl/pt-system.c: Rewritten. Put everything under
17081 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17082 Use IFUNC to redirect when possible.
17083
17084 * nptl/pt-longjmp.c: Rewritten. Put everything under
17085 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17086 Use IFUNC to redirect when possible.
17087
17088 * nptl/pt-fork.c: Rewritten. Put everything under
17089 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17090 Use IFUNC to redirect when possible.
17091 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
17092
17093 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
17094 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
17095 unconditionally nowadays. This included the only reference to
17096 __vdso_clock_gettime that appears outside libc proper.
17097 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
17098 Remove version set (containing only __vdso_clock_gettime).
17099 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17100 Add attribute_hidden.
17101 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17102 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
17103 libc_hidden_data_def.
17104 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17105 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17106
17107 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
17108 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
17109 setrpcent, and getrpcport to ...
17110 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
17111 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
17112 getrpcbynumber_r, and getrpcent_r to ...
17113 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
17114 * inet/getrpcbyname.c: Moved ...
17115 * sunrpc/getrpcbyname.c: ... here.
17116 * inet/getrpcbyname_r.c: Moved ...
17117 * sunrpc/getrpcbyname_r.c: ... here.
17118 * inet/getrpcbynumber.c: Moved ...
17119 * sunrpc/getrpcbynumber.c: ... here.
17120 * inet/getrpcbynumber_r.c: Moved ...
17121 * sunrpc/getrpcbynumber_r.c: ... here.
17122 * inet/getrpcent.c: Moved ...
17123 * sunrpc/getrpcent.c: ... here.
17124 * inet/getrpcent_r.c: Moved ...
17125 * sunrpc/getrpcent_r.c: ... here.
17126 * inet/Makefile (routines): Move those to ...
17127 * sunrpc/Makefile (routines): ... here.
17128 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
17129 the $(subdirs) list.
17130 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
17131 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
17132 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
17133 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
17134
17135 * elf/Makefile (routines): Include $(all-dl-routines), not just
17136 $(dl-routines).
17137 (rtld-routines): Likewise. Use = rather than :=.
17138 * sysdeps/aarch64/Makefile [$(subdir) = elf]
17139 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
17140 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
17141 * sysdeps/arm/Makefile: Likewise.
17142 * sysdeps/i386/Makefile: Likewise.
17143 * sysdeps/x86_64/Makefile: Likewise.
17144 * sysdeps/hppa/Makefile [$(subdir) = elf]
17145 (sysdep_routines, sysdep-rtld-routines): Don't add
17146 $(sysdep-dl-routines) to these.
17147 * sysdeps/ia64/Makefile: Likewise.
17148 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
17149 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
17150 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
17151 Don't add dl-static to these; sysdep-dl-routines alone is enough.
17152 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
17153 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
17154 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
17155 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
17156 * sysdeps/powerpc/Makefile [$(subdir) = elf]
17157 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
17158 these; sysdep-dl-routines alone is enough.
17159
17160 2015-02-06 Joseph Myers <joseph@codesourcery.com>
17161
17162 [BZ #17932]
17163 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
17164 where multiplication results in zero and third argument is finite
17165 and nonzero.
17166 * math/auto-libm-test-in: Add more tests of fma.
17167 * math/auto-libm-test-out: Regenerated.
17168
17169 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
17170 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
17171 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
17172 (_FP_CMP_EQ): Likewise.
17173 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
17174
17175 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
17176 extra argument CHECK_NAN. Redefine as wrapper around
17177 _FP_EXTEND_CNAN.
17178
17179 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
17180
17181 * version.h (RELEASE): Set to "stable".
17182 (VERSION): Set to "2.21"
17183 * include/features.h (__GLIBC_MINOR__): Set to 21.
17184
17185 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
17186
17187 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17188 Paul Eggert <eggert@cs.ucla.edu>
17189
17190 [BZ #16618]
17191 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
17192 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
17193 size in bytes. Store needed elements in wpmax. Use needed size
17194 in bytes for extend_alloca.
17195
17196 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
17197
17198 * manual/install.texi: Latest tested versions are GCC 4.9.2,
17199 binutls 2.25, and texinfo 5.2.
17200 * INSTALL: Regenerate.
17201 * sysdeps/nios2/configure: Regenerate.
17202 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
17203 * manual/contrib.texi: Update.
17204 * po/be.po: Update.
17205 * po/bg.po: Update.
17206 * po/ca.po: Update.
17207 * po/cs.po: Update.
17208 * po/da.po: Update.
17209 * po/de.po: Update.
17210 * po/el.po: Update.
17211 * po/eo.po: Update.
17212 * po/es.po: Update.
17213 * po/fi.po: Update.
17214 * po/fr.po: Update.
17215 * po/gl.po: Update.
17216 * po/hr.po: Update.
17217 * po/hu.po: Update.
17218 * po/ia.po: Update.
17219 * po/id.po: Update.
17220 * po/it.po: Update.
17221 * po/ja.po: Update.
17222 * po/ko.po: Update.
17223 * po/lt.po: Update.
17224 * po/nb.po: Update.
17225 * po/nl.po: Update.
17226 * po/pl.po: Update.
17227 * po/pt_BR.po: Update.
17228 * po/ru.po: Update.
17229 * po/rw.po: Update.
17230 * po/sk.po: Update.
17231 * po/sl.po: Update.
17232 * po/sv.po: Update.
17233 * po/tr.po: Update.
17234 * po/uk.po: Update.
17235 * po/vi.po: Update.
17236 * po/zh_CN.po: Update.
17237 * po/zh_TW.po: Update.
17238
17239 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
17240 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
17241 * sysdeps/hppa/dl-irel.h: Remove #warning.
17242 * sysdeps/hppa/entry.h: Provide prototype for
17243 __canonicalize_funcptr_for_compare and cast argument.
17244 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
17245 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
17246 * sysdeps/hppa/sotruss-lib.c: New file.
17247 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
17248 (atomic_compare_and_exchange_val_acq): Use __typeof__.
17249 (atomic_compare_and_exchange_bool_acq): Likewise.
17250 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
17251 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
17252
17253 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
17254 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
17255 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
17256
17257 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
17258
17259 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
17260 called function in non-PIC case.
17261
17262 2015-01-31 David S. Miller <davem@davemloft.net>
17263
17264 * sysdeps/sparc/sparc32/bits/atomic.h
17265 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
17266 unlock not after it.
17267 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
17268 volatile register usage warnings from the compiler.
17269
17270 * sysdeps/sparc/nptl/sem_init.c: Delete.
17271 * sysdeps/sparc/nptl/sem_post.c: Delete.
17272 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
17273 * sysdeps/sparc/nptl/sem_wait.c: Delete.
17274 * sysdeps/sparc/sparc32/sem_init.c: New file.
17275 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
17276 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
17277 padding explicitly initialized.
17278 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
17279 padding for in-semaphore spinlock.
17280 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
17281 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
17282 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
17283 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
17284 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
17285 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
17286 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
17287 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
17288 version.
17289 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
17290 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
17291
17292 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
17293
17294 [BZ #17801]
17295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17296 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
17297 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
17298 New.
17299 (index_AVX_Fast_Unaligned_Load): Likewise.
17300 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
17301 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
17302 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
17303 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
17304 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
17305 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
17306 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
17307 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
17308 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
17309
17310 2015-01-29 Andreas Schwab <schwab@suse.de>
17311
17312 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
17313
17314 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17315
17316 [BZ #17892]
17317 * nscd/nscd_stat.c (send_stats): Initialize DATA.
17318
17319 2015-01-28 Martin Sebor <msebor@redhat.com>
17320
17321 * math/README.libm-test: Clarify. Add "How to read the test output."
17322
17323 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
17324
17325 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
17326 Define to 0.
17327
17328 2015-01-28 Joseph Myers <joseph@codesourcery.com>
17329
17330 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
17331 (__HAVE_64B_ATOMICS): Define to 0.
17332
17333 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
17334
17335 [BZ #17885]
17336 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
17337 value to set as new flag.
17338
17339 [BZ #16576]
17340 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
17341 and use _ARCH_PPCSQ instead.
17342 (__ieee754_sqrt): Likewise.
17343 (__ieee754_sqrtf): Likewise.
17344 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
17345 _ARCH_PPCSQ is defined.
17346 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
17347 fsqrt instruction.
17348 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
17349 _ARCH_PPCSQ is defined.
17350 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
17351 fsqrts instruction.
17352 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
17353
17354 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17355
17356 * iconv/loop.c: Suppress array out of bound warning caused by GCC
17357 bug (GCC BZ #64739).
17358
17359 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
17360
17361 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
17362 Mark _retval as used.
17363 (lll_futex_wake_unlock): Likewise.
17364 (lll_futex_timed_wait_requeue_pi): Likewise.
17365
17366 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17367 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
17368 register variables.
17369
17370 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
17371 libm_hidden_def.
17372
17373 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
17374 (__bswap_64): Mark as __always_inline.
17375
17376 2015-01-25 Bram <bug_rh@spam.wizbit.be>
17377
17378 [BZ #15378]
17379 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
17380 when none of the search directories exist.
17381
17382 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
17383
17384 [BZ #17869]
17385 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
17386 power8 in .machine directive.
17387
17388 [BZ #17868]
17389 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
17390 set dependency from opd value.
17391
17392 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
17393
17394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17395 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
17396 architecture.
17397
17398 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
17399
17400 [BZ #17870]
17401 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
17402 with uint64_t.
17403 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
17404 (uint64_t) 1.
17405 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
17406 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
17407 Replace 1UL with (uint64_t) 1.
17408 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
17409 int with uint64_t.
17410
17411 2015-01-23 Roland McGrath <roland@hack.frob.com>
17412
17413 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
17414 (if_freenameindex): Likewise.
17415
17416 * resource/getrlimit64.c: Add missing libc_hidden_def.
17417
17418 2015-01-22 Joseph Myers <joseph@codesourcery.com>
17419
17420 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
17421 __label__.
17422 (_FP_FMA): Likewise.
17423 (_FP_TO_INT_ROUND): Likewise.
17424 (_FP_FROM_INT): Likewise.
17425
17426 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17427
17428 [BZ #16418]
17429 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
17430 Make code racy and cancel safe.
17431
17432 2015-01-21 Carlos O'Donell <carlos@redhat.com>
17433
17434 * sysdeps/arm/unwind-resume.h: Fix copyright year.
17435 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
17436 attribution.
17437
17438 * pwd/tst-getpw.c: Rewrite.
17439
17440 [BZ #17702]
17441 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
17442 (modules-names): Add moddummy1 and moddummy2.
17443 ($(objpfx)tst-rec-dlopen): Define.
17444 * dlfcn/moddummy1.c: New file.
17445 * dlfcn/moddummy2.c: New file.
17446 * dlfcn/tst-rec-dlopen.c: New file.
17447 * elf/dl-cache.c (_dl_load_cache_lookup):
17448 Return char*. Copy result with alloca/strcpy/strdup.
17449 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
17450 returns char*. Free cached. If not saving realname
17451 free cached.
17452 * elf/dl-open.c (dl_open_worker): Do not assert that
17453 _r_debug->r_state is RT_CONSISTENT.
17454 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
17455 returns char*.
17456
17457 2015-01-21 Torvald Riegel <triegel@redhat.com>
17458 Carlos O'Donell <carlos@redhat.com>
17459
17460 [BZ #12674]
17461 * nptl/sem_waitcommon.c: New file.
17462 * nptl/sem_wait.c: Include sem_waitcommon.c.
17463 (__sem_wait_cleanup, do_futex_wait): Remove.
17464 (__new_sem_wait): Adapt.
17465 (__new_sem_trywait): New function.
17466 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
17467 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
17468 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
17469 (sem_timedwait): Adapt.
17470 * nptl/sem_post.c (__new_sem_post): Adapt.
17471 (futex_wake): New function.
17472 (__old_sem_post): Add release MO fence.
17473 * nptl/sem_open.c (sem_open): Adapt.
17474 * nptl/sem_init.c (__new_sem_init): Adapt.
17475 (futex_private_if_supported): New function.
17476 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
17477 (__old_sem_getvalue): Add using previous code.
17478 * sysdeps/nptl/internaltypes.h: Adapt.
17479 * nptl/tst-sem13.c (do_test): Adapt.
17480 * nptl/tst-sem11.c (main): Adapt.
17481 * nptl/sem_trywait.c: Remove.
17482 * nptl/DESIGN-sem.txt: Remove.
17483 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
17484 (gen-as-const-headers): Remove structsem.sym.
17485 * nptl/structsem.sym: Remove.
17486 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
17487 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
17488 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
17489 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
17490 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
17491 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
17492 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
17493 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
17494 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
17495 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
17496 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
17497 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
17498 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
17499 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
17500 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
17501 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
17502 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
17503 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
17504 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
17505 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
17506 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
17507 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
17508
17509 2015-01-20 Carlos O'Donell <carlos@redhat.com>
17510
17511 * INSTALL: Regenerated.
17512
17513 * po/libc.pot: Regenerated.
17514
17515 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
17516 Sandra Loosemore <sandra@codesourcery.com>
17517 Andrew Jenner <andrew@codesourcery.com>
17518 Joseph Myers <joseph@codesourcery.com>
17519 Nathan Sidwell <nathan@codesourcery.com>
17520
17521 * NEWS: Mention new Nios II port.
17522 * sysdeps/nios2/Implies: New file.
17523 * sysdeps/nios2/Makefile: New file.
17524 * sysdeps/nios2/Subdirs: New file.
17525 * sysdeps/nios2/Versions: New file.
17526 * sysdeps/nios2/__longjmp.S: New file.
17527 * sysdeps/nios2/abort-instr.h: New file.
17528 * sysdeps/nios2/backtrace.c: New file.
17529 * sysdeps/nios2/bits/endian.h: New file.
17530 * sysdeps/nios2/bits/fenv.h: New file.
17531 * sysdeps/nios2/bits/link.h: New file.
17532 * sysdeps/nios2/bits/setjmp.h: New file.
17533 * sysdeps/nios2/bsd-_setjmp.S: New file.
17534 * sysdeps/nios2/bsd-setjmp.S: New file.
17535 * sysdeps/nios2/configure: New generated file.
17536 * sysdeps/nios2/configure.ac: New file.
17537 * sysdeps/nios2/crti.S: New file.
17538 * sysdeps/nios2/crtn.S: New file.
17539 * sysdeps/nios2/dl-init.c: New file.
17540 * sysdeps/nios2/dl-machine.h: New file.
17541 * sysdeps/nios2/dl-sysdep.h: New file.
17542 * sysdeps/nios2/dl-tls.h: New file.
17543 * sysdeps/nios2/dl-trampoline.S: New file.
17544 * sysdeps/nios2/gccframe.h: New file.
17545 * sysdeps/nios2/gmp-mparam.h: New file.
17546 * sysdeps/nios2/jmpbuf-offsets.h: New file.
17547 * sysdeps/nios2/jmpbuf-unwind.h: New file.
17548 * sysdeps/nios2/ldsodefs.h: New file.
17549 * sysdeps/nios2/libc-tls.c: New file.
17550 * sysdeps/nios2/libm-test-ulps: New file.
17551 * sysdeps/nios2/machine-gmon.h: New file.
17552 * sysdeps/nios2/math-tests.h: New file.
17553 * sysdeps/nios2/math_private.h: New file.
17554 * sysdeps/nios2/memusage.h: New file.
17555 * sysdeps/nios2/nptl/Makefile: New file.
17556 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
17557 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
17558 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
17559 * sysdeps/nios2/nptl/pthreaddef.h: New file.
17560 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
17561 * sysdeps/nios2/nptl/tls.h: New file.
17562 * sysdeps/nios2/preconfigure: New file.
17563 * sysdeps/nios2/s_fma.c: New file.
17564 * sysdeps/nios2/s_fmaf.c: New file.
17565 * sysdeps/nios2/setjmp.S: New file.
17566 * sysdeps/nios2/sfp-machine.h: New file.
17567 * sysdeps/nios2/sotruss-lib.c: New file.
17568 * sysdeps/nios2/stackguard-macros.h: New file.
17569 * sysdeps/nios2/stackinfo.h: New file.
17570 * sysdeps/nios2/start.S: New file.
17571 * sysdeps/nios2/sysdep.h: New file.
17572 * sysdeps/nios2/tls-macros.h: New file.
17573 * sysdeps/nios2/tst-audit.h: New file.
17574 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
17575 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
17576 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
17577 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
17578 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
17579 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
17580 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
17581 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
17582 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
17583 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
17584 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
17585 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
17586 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
17587 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
17588 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
17589 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
17590 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
17591 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
17592 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
17593 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
17594 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
17595 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
17596 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
17597 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
17598 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
17599 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
17600 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
17601 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
17602 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
17603 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
17604 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
17605 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
17606 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
17607 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
17608 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
17609 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
17610 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
17611 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
17612 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
17613 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
17614 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
17615 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
17616 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
17617 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
17618
17619 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17620
17621 [BZ #17844]
17622 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
17623 (getutent): Use weak_alias in non SHARED case
17624 and default_symbol_version in SHARED case.
17625 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
17626 (getutent_r, pututline): Likewise.
17627 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
17628 (getutid): Likewise.
17629 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
17630 (getutid_r): Likewise.
17631 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
17632 (getutline): Likewise.
17633 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
17634 (getutline_r): Likewise.
17635 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
17636 (updwtmp): Likewise.
17637
17638 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17639
17640 [BZ #17848]
17641 * sysdeps/s390/s390-32/memcmp.S
17642 (memcmp_g5): Rename to __memcmp_g5.
17643 * sysdeps/s390/s390-32/memcpy.S
17644 (memcpy_g5): Rename to __memcpy_g5.
17645 Jump to __memcpy_mvcle instead of memcpy_mvcle.
17646 (memcpy_mvcle) Rename to __memcpy_mvcle.
17647 * sysdeps/s390/s390-32/memset.S
17648 (memset_g5): Rename to __memset_g5.
17649 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17650 (IFUNC_RESOLVE): Prefix ifunc-resolve function
17651 and use prefixed functions.
17652 * sysdeps/s390/s390-32/multiarch/memcmp.S
17653 (memcmp_z196): Rename to __memcmp_z196.
17654 (memcmp_z10): Rename to __memcmp_z10.
17655 (memcmp): Set alias to __memcmp_g5.
17656 (bcmp): Set alias to __memcmp_g5.
17657 * sysdeps/s390/s390-32/multiarch/memcpy.S
17658 (memcpy_z196): Rename to __memcpy_z196.
17659 Jump to __memcpy_mvcle instead of memcpy_mvcle.
17660 (memcpy_z10): Rename to __memcpy_z10.
17661 Jump to __memcpy_mvcle instead of memcpy_mvcle.
17662 (memcpy): Set alias to __memcpy_g5.
17663 * sysdeps/s390/s390-32/multiarch/memset.S
17664 (memset_z196): Rename to __memset_z196.
17665 Jump to __memset_mvcle instead of memset_mvcle.
17666 (memset_z10): Rename to __memset_z10.
17667 Jump to __memset_mvcle instead of memset_mvcle.
17668 (memset_mvcle) Rename to __memset_mvcle.
17669 (memset): Set alias to __memset_g5.
17670 * sysdeps/s390/s390-64/memcmp.S
17671 (memcmp_z900): Rename to __memcmp_z900.
17672 * sysdeps/s390/s390-64/memcpy.S
17673 (memcpy_z900): Rename to __memcpy_z900.
17674 Jump to __memcpy_mvcle instead of memcpy_mvcle.
17675 (memcpy_mvcle) Rename to __memcpy_mvcle.
17676 * sysdeps/s390/s390-64/memset.S
17677 (memset_z900): Rename to __memset_z900.
17678 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
17679 (IFUNC_RESOLVE): Prefix ifunc-resolve function
17680 and use prefixed functions.
17681 * sysdeps/s390/s390-64/multiarch/memcmp.S
17682 (memcmp_z196): Rename to __memcmp_z196.
17683 (memcmp_z10): Rename to __memcmp_z10.
17684 (memcmp): Set alias to __memcmp_z900.
17685 (bcmp): Set alias to __memcmp_z900.
17686 * sysdeps/s390/s390-64/multiarch/memcpy.S
17687 (memcpy_z196): Rename to __memcpy_z196.
17688 Jump to __memcpy_mvcle instead of memcpy_mvcle.
17689 (memcpy_z10): Rename to __memcpy_z10.
17690 Jump to __memcpy_mvcle instead of memcpy_mvcle.
17691 (memcpy): Set alias to __memcpy_z900.
17692 * sysdeps/s390/s390-64/multiarch/memset.S
17693 (memset_z196): Rename to __memset_z196.
17694 Jump to __memset_mvcle instead of memset_mvcle.
17695 (memset_z10): Rename to __memset_z10.
17696 Jump to __memset_mvcle instead of memset_mvcle.
17697 (memset_mvcle) Rename to __memset_mvcle.
17698 (memset): Set alias to __memset_z900.
17699
17700 2015-01-14 Joseph Myers <joseph@codesourcery.com>
17701
17702 [BZ #17748]
17703 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
17704 __fesetenv instead of fesetenv.
17705
17706 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17707
17708 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
17709 macro.
17710
17711 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17712
17713 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
17714 regression on LE.
17715
17716 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
17717 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
17718 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17719 strncmp-power8 object.
17720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17721 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
17722 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
17723 * NEWS: Update.
17724
17725 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17726 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17727
17728 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
17729 trailing byte check.
17730
17731 2015-01-13 David S. Miller <davem@davemloft.net>
17732
17733 * include/signal.h (__sigreturn): Guard with __USE_MISC.
17734
17735 2015-01-13 Roland McGrath <roland@hack.frob.com>
17736
17737 * login/logout.c (logout): Use memset rather than bzero.
17738 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
17739 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
17740 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
17741 (_gethtbyaddr): Likewise.
17742 * locale/programs/simple-hash.c (bcopy): Macro removed.
17743
17744 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17745
17746 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17747 Add strcmp-power8 object.
17748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17749 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
17750 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
17751 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
17752 __strcmp_power8 implementation.
17753 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
17754 * NEWS: Update.
17755
17756 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17757 Add strncpy-power8 and stpncpy-power8 objects.
17758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17759 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
17760 implementations.
17761 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
17762 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
17763 __stpncpy_power8 implementation.
17764 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
17765 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
17766 __strncpy_power8 implementation.
17767 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
17768 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
17769 * NEWS: Update.
17770
17771 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
17772 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
17773 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
17774
17775 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17776 strncat-power8 object.
17777 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
17778 __strcat_power8 implementation.
17779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17780 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
17781 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
17782 optimized strcat for power8.
17783
17784 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17785 strcpy-power8 and stpcpy-power8 objects.
17786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17787 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
17788 implementations.
17789 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
17790 multiarch stpcpy implementation for POWER8.
17791 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
17792 multiarch strcpy implementation for POWER8.
17793 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
17794 __strcpy_power8 function.
17795 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
17796 stpcpy for POWER8.
17797 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
17798 strcpy for POWER8.
17799 * NEWS: Update.
17800
17801 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
17802
17803 [BZ #16009]
17804 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
17805 weights and rules. Use do_xfrm_cached if data fits in cache,
17806 do_xfrm otherwise. Moved former main loop to...
17807 * (do_xfrm_cached): New function.
17808 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
17809 find_idx, find_position and stack_push.
17810 * (find_idx): New function.
17811 * (find_position): Likewise.
17812 * localedata/sort-test.sh: Added test run for do_xfrm.
17813 * localedata/xfrm-test.c (main): Added command line option
17814 -nocache to run the test with strings that are too large for
17815 the STRXFRM cache.
17816
17817 2015-01-13 Torvald Riegel <triegel@redhat.com>
17818
17819 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
17820 variable to lll_futex_wake call, not the value itself.
17821
17822 2015-01-12 Joseph Myers <joseph@codesourcery.com>
17823
17824 [BZ #17803]
17825 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
17826 twom64. Adjust value to 0x1p-64L.
17827 (__scalblnl): Only return standard underflowing result for K <=
17828 -64 not K <= -63; adjust exponent for underflowing result by 64
17829 not 63.
17830 * math/libm-test.inc (scalbn_test_data): Add more tests.
17831 (scalbln_test_data): Likewise.
17832
17833 [BZ #17834]
17834 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
17835 0x1p63L.
17836 (__scalblnl): Get new exponent of adjusted subnormal value from ES
17837 not HX.
17838 * math/libm-test.inc (scalbn_test_data): Add more tests.
17839 (scalbln_test_data): Likewise.
17840
17841 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17842 Stefani Seibold <stefani@seibold.net>
17843
17844 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
17845 (sysdep_routines): Add dl-vdso here, ...
17846 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
17847 (sysdep_routines): ... not here.
17848 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
17849 fallback when vDSO is not presented.
17850 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17851 Define with libc_hidden_proto/libc_hidden_data_def definitions.
17852 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
17853 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
17854 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
17855 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
17856 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
17857 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
17858 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
17859 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
17860 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
17861 fallback configurable symbol when vDSO is not available.
17862 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
17863 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
17864 be able to redefine fallback symbol when vDSO is not available.
17865 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
17866 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
17867
17868 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17869
17870 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
17871 (TLS_INIT_TP): Add tm_capable initialization.
17872 (TLS_DEFINE_INIT_TP): Likewise.
17873 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
17874 TCB.
17875 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
17876 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
17877 calculation.
17878 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
17879 transactoion is lock elision is built and TCB tm_capable is set.
17880 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
17881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17882 (INTERNAL_SYSCALL_NCS): Likewise.
17883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17884 (INTERNAL_SYSCALL_NCS): Likewise.
17885 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
17886
17887 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
17888 for powerpc.
17889 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17890 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
17891 and remove it for 32 bits case.
17892 [pthread_rwlock_t] (__rwelision): New field for lock elision.
17893 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
17894 initialization.
17895 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
17896 Disable lock elision with rdlocks if elision is not available.
17897
17898 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
17899 (sysdep_routines): Add lock elision objects.
17900 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17901 [pthread_mutex_t] (__spins): Rework to add lock elision field.
17902 [pthread_mutex_t] (__elision): Add field.
17903 [__PTHREAD_SPINS]: Adjust to init lock elision field.
17904 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
17905 elision definitions for powerpc.
17906 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
17907 implementation of lock elision for powerpc.
17908 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
17909 implementation of timed lock elision for powerpc.
17910 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
17911 implementation of trylock with lock elision for powerpc.
17912 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
17913 implementaion of unlock for lock elision for powerpc.
17914 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
17915 automatic enable lock elision for mutexes.
17916 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
17917 transaction execution definitions for powerpc.
17918 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
17919 definitions.
17920 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
17921 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
17922 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
17923 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
17924 * NEWS: Update.
17925
17926 2015-01-09 Roland McGrath <roland@hack.frob.com>
17927
17928 * sysdeps/posix/shm-directory.c: Use <> rather than ""
17929 for #include of <shm-directory.h>.
17930
17931 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
17932
17933 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
17934 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
17935
17936 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
17937
17938 [BZ #17791]
17939 * NEWS: Mention bug fix.
17940 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
17941 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
17942 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
17943
17944 2015-01-09 Torvald Riegel <triegel@redhat.com>
17945
17946 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
17947
17948 2015-01-09 Torvald Riegel <triegel@redhat.com>
17949
17950 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
17951
17952 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
17953
17954 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
17955 pointer and cast to uintptr_t.
17956
17957 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
17958
17959 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
17960 removed.
17961 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
17962
17963 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
17964
17965 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
17966 of 0.
17967
17968 2015-01-08 Roland McGrath <roland@hack.frob.com>
17969
17970 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
17971 <nptl/pthreadP.h> instead.
17972 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
17973
17974 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
17975 already defined.
17976 [__SIGRTMIN] (init): Function removed.
17977 [__SIGRTMIN] (initialized): Variable removed.
17978 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
17979 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
17980 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
17981 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
17982 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
17983 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
17984 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
17985 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
17986 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
17987 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
17988 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
17989 * sysdeps/nptl/allocrtsig.c: New file.
17990 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
17991 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
17992 * sysdeps/generic/testrtsig.h: File removed.
17993
17994 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
17995 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
17996
17997 * nptl/nptl-init.c (pthread_functions): Conditionalize
17998 .ptr__nptl_setxid initialization on [SIGSETXID].
17999
18000 * sysdeps/nptl/sys/procfs.h: New file.
18001 * nptl_db/Makefile (headers): Add it.
18002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
18003
18004 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
18005 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
18006 * nptl/pthread_attr_setaffinity.c: Include it.
18007 * nptl/pthread_setattr_default_np.c: Likewise.
18008 * nptl/check-cpuset.h: New file.
18009
18010 2015-01-08 Richard Henderson <rth@redhat.com>
18011
18012 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
18013 (CFLAGS-tst-execstack-prog.c): Likewise.
18014 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
18015
18016 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
18017 Sandra Loosemore <sandra@codesourcery.com>
18018 Andrew Jenner <andrew@codesourcery.com>
18019 Joseph Myers <joseph@codesourcery.com>
18020 Nathan Sidwell <nathan@codesourcery.com>
18021
18022 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
18023 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
18024 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
18025 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
18026 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
18027 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
18028 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
18029 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
18030 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
18031 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
18032 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
18033 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
18034 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
18035 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
18036 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
18037 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
18038 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
18039
18040 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18041
18042 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
18043 timespec struct member in syscall macro.
18044 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18045 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
18046 first timeval struct member in syscall macro.
18047 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
18048
18049 2015-01-07 Joseph Myers <joseph@codesourcery.com>
18050
18051 [BZ #17748]
18052 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
18053 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
18054 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
18055 __feupdateenv and define as weak alias of __feupdateenv. Use
18056 libm_hidden_weak.
18057 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
18058 libm_hidden_def.
18059 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
18060 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
18061 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18062 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
18063 libm_hidden_def.
18064 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
18065 __feupdateenv and define as weak alias of __feupdateenv. Use
18066 libm_hidden_weak.
18067 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
18068 libm_hidden_def.
18069 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
18070 __feupdateenv and define as weak alias of __feupdateenv. Use
18071 libm_hidden_weak.
18072 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
18073 libm_hidden_def.
18074 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18075 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18076 (__feupdateenv): Likewise.
18077 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
18078 __feupdateenv and define as weak alias of __feupdateenv. Use
18079 libm_hidden_weak.
18080 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18081 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
18082 libm_hidden_def.
18083 * sysdeps/tile/math_private.h (__feupdateenv): New inline
18084 function.
18085 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
18086 libm_hidden_def.
18087 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
18088 __feupdateenv instead of feupdateenv.
18089 (default_libc_feupdateenv_test): Likewise.
18090 (libc_feresetround_ctx): Likewise.
18091
18092 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18093
18094 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
18095 prototype.
18096
18097 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
18098
18099 * posix/regcomp.c (parse_bracket_exp): Initialize type to
18100 COLL_SYM in a couple of places to avoid uninitialized variable
18101 wanings on tilegx gcc 4.8.2.
18102
18103 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
18104
18105 * sysdeps/aarch64/strcpy.S: New file.
18106 * sysdeps/aarch64/stpcpy.S: New file.
18107 * NEWS: Updated.
18108
18109 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
18110
18111 * sysdeps/aarch64/strrchr.S: New file.
18112 * NEWS: Updated.
18113
18114 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
18115
18116 [BZ #17658]
18117 * stdlib/setenv.c: Fix memory leak when setting large,
18118 duplicate string.
18119
18120 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
18121
18122 [BZ #17273]
18123 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
18124 and tabs from buffer before parsing fstab entry.
18125 * misc/tst-mntent.c (main): Add test for mount entry with
18126 trailing spaces and tabs.
18127
18128 2015-01-06 Joseph Myers <joseph@codesourcery.com>
18129
18130 [BZ #17748]
18131 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
18132 * math/fesetround.c (fesetround): Rename to __fesetround and
18133 define as weak alias of __fesetround. Use libm_hidden_weak.
18134 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
18135 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
18136 * sysdeps/arm/fesetround.c (fesetround): Likewise.
18137 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
18138 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
18139 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
18140 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
18141 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
18142 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
18143 __fesetround_inline.
18144 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
18145 __fesetround_inline instead of __fesetround.
18146 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
18147 __fesetround and define as weak alias of __fesetround. Use
18148 libm_hidden_weak. Call __fesetround_inline instead of
18149 __fesetround.
18150 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
18151 __fesetround and define as weak alias of __fesetround. Use
18152 libm_hidden_weak.
18153 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
18154 Likewise.
18155 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
18156 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18157 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
18158 * sysdeps/tile/math_private.h (__fesetround): New inline function.
18159 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
18160 __fesetround and define as weak alias of __fesetround. Use
18161 libm_hidden_weak.
18162 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
18163 __fesetround instead of fesetround.
18164 (default_libc_feholdexcept_setround): Likewise.
18165 (libc_feholdsetround_ctx): Likewise.
18166 (libc_feholdsetround_noex_ctx): Likewise.
18167
18168 [BZ #17748]
18169 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
18170 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
18171 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18172 and define as weak alias of __fesetenv. Use libm_hidden_weak.
18173 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18174 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
18175 define as weak alias of __fesetenv. Use libm_hidden_weak.
18176 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18177 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18178 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18179 define as weak alias of __fesetenv. Use libm_hidden_weak.
18180 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18181 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18182 define as weak alias of __fesetenv. Use libm_hidden_weak.
18183 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
18184 libm_hidden_def.
18185 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
18186 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
18187 Likewise.
18188 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18189 define as weak alias of __fesetenv. Use libm_hidden_weak.
18190 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18191 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18192 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
18193 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18194 and define as weak alias of __fesetenv. Use libm_hidden_weak.
18195 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
18196 __fesetenv instead of fesetenv.
18197 (libc_feresetround_noex_ctx): Likewise.
18198 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18199 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18200 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
18201 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18202 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18203 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18204 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18205 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18206 (__feupdateenv): Likewise.
18207 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18208 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18209 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18210 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
18211
18212 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
18213
18214 [BZ #17806]
18215 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
18216 addresses have been freed.
18217
18218 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
18219
18220 * resolv/res_init.c (__res_vinit): Improve comments about nserv
18221 and nservall.
18222
18223 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
18224
18225 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
18226 Clean up check_pf allocation pattern. addresses
18227
18228 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18229
18230 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
18231 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
18232 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
18233 * nptl/pthread_exit.c (__pthread_exit): Likewise.
18234 * nptl/pthread_join.c (pthread_join): Likewise.
18235 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18236 * sysdeps/posix/waitid.c (__waitid): Likewise.
18237 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18238 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18239 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18240 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18241 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18242 Likewise.
18243 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18244 (__libc_pread64): Likewise.
18245 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18246 (__libc_pwrite): Likewise.
18247 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18248 (__libc_pwrite64): Likewsie.
18249 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18250 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18251 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18252 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18253 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18254 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18255 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18257 Likewise.
18258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18259 (__libc_pread64): Likewise.
18260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
18261 Likewise.
18262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18263 (__libc_pwrite64): Likewise.
18264 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18265 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18266 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
18267 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
18268 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18269 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18270 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
18271 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18272 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18273 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18274 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
18275 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18276 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18277 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
18278 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18279 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18280 Likewise.
18281
18282 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
18283
18284 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
18285 (CFLAGS-test-double.c): Likewise.
18286 (CFLAGS-test-ldouble.c): Likewise.
18287 (CPPFLAGS-test-ifloat.c): Likewise.
18288 (CPPFLAGS-test-idouble.c): Likewise.
18289 (CPPFLAGS-test-ildoubl.c): Likewise.
18290 (CFLAGS-test-test-fenv.c): Remove variable.
18291 (CFLAGS-test-misc.c): Likewise.
18292
18293 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
18294
18295 [BZ #17797]
18296 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
18297 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
18298 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
18299 CLOCKS_PER_SEC == 1000000.
18300 * time/clocktest.c (main): Replace %ld with %jd and cast to
18301 intmax_t.
18302
18303 2015-01-05 Roland McGrath <roland@hack.frob.com>
18304
18305 * sysdeps/generic/unwind-resume.h: New file.
18306 * sysdeps/gnu/unwind-resume.c: Include it.
18307 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
18308 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
18309 argument list.
18310 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
18311 global rather than static.
18312 (_Unwind_Resume): Update user.
18313 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
18314 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
18315 rather than static. Add __attribute__ ((cold)).
18316 (_Unwind_Resume, __gcc_personality_v0): Update callers.
18317 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18318 * sysdeps/arm/arm-unwind-resume.S: New file.
18319 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
18320 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
18321 * sysdeps/arm/Makefile [$(subdir) = csu]
18322 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
18323 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18324 Add rt-arm-unwind-resume.
18325 [$(subdir) = nptl]
18326 (libpthread-sysdep_routines, libpthread-shared-only-routines):
18327 Add pt-arm-unwind-resume.
18328 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
18329 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
18330
18331 2015-01-05 Joseph Myers <joseph@codesourcery.com>
18332
18333 [BZ #17748]
18334 * include/fenv.h (__feholdexcept): Declare. Use
18335 libm_hidden_proto.
18336 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
18337 define as weak alias of __feholdexcept. Use libm_hidden_weak.
18338 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18339 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
18340 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
18341 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
18342 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
18343 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18344 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
18345 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
18346 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18347 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
18348 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
18349 (feholdexcept): Likewise.
18350 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18351 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18352 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18353 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18354 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
18355 __feholdexcept instead of feholdexcept.
18356 (default_libc_feholdexcept_setround): Likewise.
18357
18358 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
18359
18360 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
18361 to avoid using stl/str to align destination.
18362
18363 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
18364
18365 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
18366
18367 2015-01-05 Joseph Myers <joseph@codesourcery.com>
18368
18369 [BZ #17796]
18370 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
18371 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
18372 Define as weak alias not strong alias.
18373
18374 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
18375
18376 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
18377 bltzal with addiupc.
18378 (RTLD_START): Ditto.
18379
18380 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
18381
18382 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
18383 for __vdso_* functions in declarations.
18384 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
18385 definitions.
18386 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
18387 INTERNAL_VSYSCALL): Use struct return types to check for error.
18388
18389 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
18390 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
18391 function with cast from llround().
18392 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
18393 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18394 Define.
18395
18396 2015-01-05 Joseph Myers <joseph@codesourcery.com>
18397
18398 [BZ #17793]
18399 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
18400 Define as weak alias not strong alias.
18401
18402 [BZ #17635]
18403 * ctype/ctype-c99.c: New file. isblank implementation moved from
18404 ...
18405 * ctype/ctype-extn.c: ... here.
18406 (__isblank_l): Move to ...
18407 * ctype/ctype-c99_l.c: ... here. New file.
18408 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
18409 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
18410 Remove variable.
18411 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18412 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18413 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18414 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18415 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18416
18417 [BZ #17777]
18418 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
18419 (posix_fadvise64): Define as weak alias not strong alias.
18420 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18421 (posix_fallocate64): Likewise.
18422 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
18423 Remove variable.
18424 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18425 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18426 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18427 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18428 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18429
18430 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
18431
18432 [BZ #16191]
18433 * NEWS: Mention bug fix.
18434 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
18435 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
18436 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
18437 (HOST_STACK_END_ADDR): Likewise.
18438
18439 2015-01-02 Joseph Myers <joseph@codesourcery.com>
18440
18441 [BZ #17748]
18442 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
18443 * math/fegetround.c (fegetround): Rename to __fegetround and
18444 define as weak alias of __fegetround. Use libm_hidden_weak.
18445 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
18446 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
18447 * sysdeps/arm/fegetround.c (fegetround): Likewise.
18448 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
18449 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18450 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
18451 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
18452 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
18453 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18454 Undefine after rather than before function definition; use
18455 parentheses around function name in definition.
18456 (__fegetround): Also undefine macro after function definition.
18457 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
18458 __fegetround and define as weak alias of __fegetround. Use
18459 libm_hidden_weak. Do not undefine as macro.
18460 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18461 Likewise.
18462 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
18463 __fegetround and define as weak alias of __fegetround. Use
18464 libm_hidden_weak.
18465 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18466 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18467 * sysdeps/tile/math_private.h (__fegetround): New inline function.
18468 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
18469 __fegetround and define as weak alias of __fegetround. Use
18470 libm_hidden_weak.
18471 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
18472 __fegetround instead of fegetround.
18473
18474 [BZ #17782]
18475 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
18476 Condition macro definition on [__USE_MISC].
18477
18478 [BZ #17781]
18479 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
18480 (struct sigaction): Change type of sa_flags field to int.
18481
18482 [BZ #17780]
18483 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
18484 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
18485 __glibc_reserved0.
18486
18487 * nptl/version.c (banner): Use single year in copyright notice.
18488
18489 * NEWS: Update copyright dates.
18490 * catgets/gencat.c (print_version): Likewise.
18491 * csu/version.c (banner): Likewise.
18492 * debug/catchsegv.sh: Likewise.
18493 * debug/pcprofiledump.c (print_version): Likewise.
18494 * debug/xtrace.sh (do_version): Likewise.
18495 * elf/ldconfig.c (print_version): Likewise.
18496 * elf/ldd.bash.in: Likewise.
18497 * elf/pldd.c (print_version): Likewise.
18498 * elf/sotruss.sh: Likewise.
18499 * elf/sprof.c (print_version): Likewise.
18500 * iconv/iconv_prog.c (print_version): Likewise.
18501 * iconv/iconvconfig.c (print_version): Likewise.
18502 * locale/programs/locale.c (print_version): Likewise.
18503 * locale/programs/localedef.c (print_version): Likewise.
18504 * login/programs/pt_chown.c (print_version): Likewise.
18505 * malloc/memusage.sh (do_version): Likewise.
18506 * malloc/memusagestat.c (print_version): Likewise.
18507 * malloc/mtrace.pl: Likewise.
18508 * manual/libc.texinfo: Likewise.
18509 * nptl/version.c (banner): Likewise.
18510 * nscd/nscd.c (print_version): Likewise.
18511 * nss/getent.c (print_version): Likewise.
18512 * nss/makedb.c (print_version): Likewise.
18513 * posix/getconf.c (main): Likewise.
18514 * scripts/test-installation.pl: Likewise.
18515 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18516
18517 2015-01-02 Will Newton <will.newton@linaro.org>
18518
18519 * sysdeps/arm/armv7/configure: Removed.
18520 * sysdeps/arm/armv7/configure.ac: Likewise.
18521
18522 2015-01-02 Joseph Myers <joseph@codesourcery.com>
18523
18524 * All files with FSF copyright notices: Update copyright dates
18525 using scripts/update-copyrights.
18526 * intl/plural.c: Regenerated.
18527 * locale/programs/charmap-kw.h: Likewise.
18528 * locale/programs/locfile-kw.h: Likewise.
18529
18530 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18531
18532 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
18533
18534 2014-12-31 Joseph Myers <joseph@codesourcery.com>
18535
18536 [BZ #17748]
18537 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
18538 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
18539 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18540 and define as weak alias of __fegetenv. Use libm_hidden_weak.
18541 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18542 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
18543 define as weak alias of __fegetenv. Use libm_hidden_weak.
18544 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
18545 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18546 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18547 define as weak alias of __fegetenv. Use libm_hidden_weak.
18548 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18549 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18550 define as weak alias of __fegetenv. Use libm_hidden_weak.
18551 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
18552 libm_hidden_def.
18553 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
18554 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
18555 Likewise.
18556 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18557 define as weak alias of __fegetenv. Use libm_hidden_weak.
18558 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18559 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18560 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
18561 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18562 and define as weak alias of __fegetenv. Use libm_hidden_weak.
18563 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
18564 __fegetenv instead of fegetenv.
18565 (libc_feholdsetround_noex_ctx): Likewise.
18566
18567 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
18568
18569 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
18570 (Elf_MIPS_ABIFlags_v0): New structure.
18571 (EF_MIPS_FP64): Define.
18572 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
18573 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
18574 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
18575 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
18576 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
18577 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
18578 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
18579 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
18580 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
18581 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
18582 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
18583 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
18584 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
18585 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
18586 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
18587 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
18588 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
18589 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
18590 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
18591 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
18592 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
18593 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
18594 field.
18595 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
18596 EF_MIPS_FP64.
18597 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
18598 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
18599 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
18600 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
18601 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
18602 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
18603 * sysdeps/mips/tst-abi-interlink.c: Likewise.
18604 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
18605 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
18606 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
18607 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
18608 record the current FP ABI extension.
18609 (mips-mode-switch): Define to show if kernel headers support mode
18610 switching.
18611 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18612 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
18613 supported SYSV ABI version to 3.
18614 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
18615 feature.
18616
18617 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18618 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18619
18620 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
18621 path.
18622 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
18623
18624 2014-12-31 Joseph Myers <joseph@codesourcery.com>
18625
18626 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
18627 __fegetround and redefine to call __fegetround. Remove condition
18628 on [!__NO_MATH_INLINES].
18629 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
18630 function.
18631 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
18632 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18633 Remove macro.
18634 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
18635 instead of <fenv_libc.h>.
18636 (__llrintl): Call fegetround instead of __fegetround.
18637 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
18638 instead of <fenv_libc.h>.
18639 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18640 (__lrintl): Call fegetround instead of __fegetround.
18641 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
18642 instead of <fenv_libc.h>.
18643 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18644 (__rintl): Call fegetround instead of __fegetround.
18645
18646 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18647
18648 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
18649 arrays.
18650
18651 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
18652
18653 [BZ #17775]
18654 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
18655 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
18656 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
18657
18658 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
18659
18660 * sysdeps/i386/tls-macros.h: Include <features.h>.
18661 (TLS_LE): Use non-PIC version for GCC >= 5.0.
18662 (TLS_IE): Likewise.
18663 (TLS_LD): Likewise.
18664 (TLS_GD): Likewise.
18665 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
18666 define for GCC >= 5.0.
18667
18668 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
18669
18670 * math/test-fenv.c (test_single_exception, set_single_exc,
18671 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
18672 feexcp_mask_test, feenable_test, fe_single_test): Add
18673 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
18674 case where they are not used.
18675 * math/libm-test.inc: Likewise.
18676 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
18677 unused in the absence of FP rounding/exception support.
18678 * stdio-common/tst-printf-round.c: Likewise.
18679 * stdlib/tst-strtod-round.c: Likewise.
18680 * stdlib/tst-strtod-underflow.c: Likewise.
18681
18682 2014-12-30 Joseph Myers <joseph@codesourcery.com>
18683
18684 [BZ #17723]
18685 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
18686 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
18687 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18688 __feraiseexcept and define as weak alias of __feraiseexcept. Use
18689 libm_hidden_weak.
18690 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
18691 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18692 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
18693 libm_hidden_def.
18694 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18695 __feraiseexcept and define as weak alias of __feraiseexcept. Use
18696 libm_hidden_weak.
18697 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
18698 Likewise.
18699 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
18700 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18701 __feraiseexcept and define as weak alias of __feraiseexcept. Use
18702 libm_hidden_weak.
18703 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18704 libm_hidden_def.
18705 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18706 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
18707 (__feraiseexcept): Likewise.
18708 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18709 __feraiseexcept and define as weak alias of __feraiseexcept. Use
18710 libm_hidden_weak.
18711 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18712 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18713 libm_hidden_def.
18714 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
18715 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
18716 Use libm_hidden_def.
18717 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
18718 libm_hidden_def.
18719 (feraiseexcept): Define as weak not strong alias. Use
18720 libm_hidden_weak.
18721 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
18722 New inline function. Factored out of ...
18723 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
18724 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
18725 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
18726 feraiseexcept.
18727 * math/w_acos.c (__acos): Likewise.
18728 * math/w_asin.c (__asin): Likewise.
18729 * math/w_ilogb.c (__ilogb): Likewise.
18730 * math/w_j0.c (y0): Likewise.
18731 * math/w_j1.c (y1): Likewise.
18732 * math/w_jn.c (yn): Likewise.
18733 * math/w_log.c (__log): Likewise.
18734 * math/w_log10.c (__log10): Likewise.
18735 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
18736 * sysdeps/aarch64/fpu/math_private.h
18737 (libc_feupdateenv_test_aarch64): Likewise.
18738 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18739 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
18740 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
18741 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18742 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18743 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18744 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
18745 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18746 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18747 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18748
18749 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
18750
18751 [BZ #17732]
18752 * io/test-utime.c (main): Replace %ld with %jd and cast to
18753 intmax_t.
18754 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
18755 * nptl/tst-mutex5.c: Include <stdint.h>.
18756 (do_test): Replace %ld with %jd and cast to intmax_t.
18757 * posix/tst-regex.c (run_test): Likewise.
18758 (run_test_backwards): Likewise.
18759 * rt/tst-clock.c: Include <stdint.h>.
18760 (clock_test): Replace %ld with %jd and cast to intmax_t.
18761 * rt/tst-cpuclock1.c: Include <stdint.h>.
18762 (do_test): Replace %lu with %ju and cast to uintmax_t.
18763 * rt/tst-cpuclock2.c: Include <stdint.h>.
18764 (do_test): Replace %lu with %ju and cast to uintmax_t.
18765 * rt/tst-mqueue1.c: Include <stdint.h>.
18766 (check_attrs): Replace %ld with %jd and cast to intmax_t.
18767 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
18768 intmax_t.
18769 * rt/tst-mqueue4.c (do_test): Likewise.
18770 * rt/tst-timer4.c: Include <stdint.h>.
18771 (check_ts): Replace %ld with %jd and cast to intmax_t.
18772 (do_test): Likewise.
18773 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
18774 and cast to intmax_t.
18775 * sysdeps/pthread/tst-timer.c (main): Likewise.
18776 * time/clocktest.c (main): Likewise.
18777 * time/tst-posixtz.c (do_test): Likewise.
18778 * timezone/tst-timezone.c (main): Likewise.
18779
18780 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
18781 H.J. Lu <hongjiu.lu@intel.com>
18782
18783 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
18784 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18785 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
18786 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
18787 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
18788 version if bit_Fast_Unaligned_Load is set.
18789 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18790 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18791 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18792 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18793 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18794 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18796 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
18797 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
18798 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
18799 to 4.
18800 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
18801 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
18802 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
18803 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
18804
18805 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
18806
18807 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
18808 instead of #if to avoid a Wundef warning.
18809 * stdlib/tst-limits.c (do_test): Likewise.
18810
18811 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
18812 parallel other exception macros.
18813 (fegetenv): Convert from macro to extern inline so that it applies
18814 retroactively to inline functions already seen by the compiler.
18815 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
18816
18817 * posix/Makefile (before-compile): Use $(objpfx) for
18818 posix-conf-vars-def.h.
18819
18820 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18821
18822 * posix/getconf.c (main): Use size_t for type of I.
18823 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
18824 NSPEC.
18825
18826 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
18827 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
18828 * posix/posix-envs.def: Likewise.
18829 * sysdeps/posix/sysconf.c: Likewise.
18830 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
18831 (specs): Remove array.
18832 * scripts/gen-posix-conf-vars.awk: Support generation of specs
18833 array.
18834
18835 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
18836 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
18837 (__sysconf): Use CONF_IS_* macros.
18838
18839 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
18840 ($(objpfx)posix-conf-vars-def.h): New target.
18841 * posix/posix-conf-vars.list: New file.
18842 * posix/posix-conf-vars.h: New file.
18843 * posix/confstr.c: Include posix-conf-vars.h.
18844 (confstr): Use CONF_IS_* macros.
18845 * posix/posix-envs.def: Include posix-conf-vars.h. Use
18846 CONF_IS_* macros.
18847 * scripts/gen-posix-conf-vars.awk: New file.
18848
18849 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
18850
18851 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
18852 fegetround): Add no-op macros to avoid linknamespace issues.
18853
18854 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
18855 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
18856
18857 * sysdeps/unix/sysv/linux/tile/sysdep.h
18858 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
18859 assembly-specific section to avoid a redefinition warning.
18860
18861 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
18862 long before casting to pointer to avoid a cast warning.
18863
18864 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
18865
18866 * sysdeps/tile/tilegx/Implies: New file.
18867
18868 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
18869
18870 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
18871
18872 2014-12-23 Florian Weimer <fweimer@redhat.com>
18873
18874 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
18875
18876 2014-12-22 Joseph Myers <joseph@codesourcery.com>
18877
18878 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
18879 not define.
18880 * sysdeps/unix/sysv/linux/utimes.c: Do not include
18881 <kernel-features.h>.
18882 (__utimes) [__NR_utimes]: Make code unconditional.
18883 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
18884 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18885 (__ASSUME_UTIMES): Do not undefine.
18886 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18887 (__ASSUME_UTIMES): Likewise.
18888 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18889 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
18890 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
18891 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
18892
18893 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
18894
18895 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
18896
18897 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
18898
18899 [BZ #17747]
18900 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
18901 alias to weak alias for j0l, y0l.
18902 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
18903 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
18904
18905 [BZ #17746]
18906 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
18907 conversion.
18908
18909 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
18910
18911 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
18912 to zero if not already defined.
18913
18914 2014-12-22 Joseph Myers <joseph@codesourcery.com>
18915
18916 [BZ #17724]
18917 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
18918 (__kernel_standard_f): Remove. Moved to k_standardf.c.
18919 (__kernel_standard_l): Remove. Moved to k_standardl.c with
18920 (char *) casts added.
18921 * sysdeps/ieee754/k_standardf.c: New file.
18922 * sysdeps/ieee754/k_standardl.c: Likewise.
18923 * math/Makefile (libm-support): Remove k_standard.
18924 (libm-calls): Add k_standard.
18925
18926 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
18927
18928 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18929 Optimize to avoid an unnecessary FPCR read.
18930
18931 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
18932
18933 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18934 Optimize to reduce FPCR/FPSR accesses.
18935
18936 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
18937
18938 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
18939 Call libc_fetestexcept_aarch64.
18940
18941 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
18942
18943 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
18944 Call libc_fesetround_aarch64.
18945
18946 2014-12-22 Joseph Myers <joseph@codesourcery.com>
18947
18948 [BZ #17733]
18949 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
18950 (__bind): Do not define as weak alias.
18951 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
18952 define.
18953 (__getsockname): Do not define as weak alias.
18954
18955 2014-12-22 Will Newton <will.newton@linaro.org>
18956
18957 * manual/install.texi: Document that we require bison 2.7
18958 or above.
18959 * INSTALL: Regenerate.
18960 * configure.ac: Use AC_CHECK_PROG_VER instead of
18961 AC_PATH_PROG when checking for bison and check for
18962 version 2.7 or above.
18963 * configure: Regenerate.
18964
18965 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
18966
18967 [BZ #17745]
18968 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
18969 * sysdeps/tile/ffsll.c (ffsll): To here.
18970
18971 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
18972
18973 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
18974
18975 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
18976 if not defined.
18977 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
18978 definition.
18979 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18980 hidden ___tls_get_addr.
18981 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18982 hidden __tls_get_addr.
18983 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
18984 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
18985 Likewise.
18986
18987 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
18988
18989 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
18990 _dl_init call.
18991
18992 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
18993
18994 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
18995 from "call _dl_init@PLT".
18996 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
18997
18998 2014-12-21 Anders Kaseorg <andersk@mit.edu>
18999
19000 * manual/search.texi: (Array Sort Function): Clarify stable sorting
19001 guarantees.
19002
19003 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
19004
19005 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
19006
19007 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
19008
19009 [BZ #17744]
19010 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
19011 strnlen.
19012
19013 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
19014
19015 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
19016 of multu on MIPSr6.
19017 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
19018 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
19019 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
19020 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
19021 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
19022
19023 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
19024
19025 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
19026 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
19027 (PTR_SUBU): Use subu for mips32r6/mips64r6.
19028 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
19029 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
19030 mips32r6/mips64r6.
19031 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
19032
19033 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
19034
19035 * string/strncat.c (STRNCAT): Simplify implementation.
19036
19037 2014-12-19 David S. Miller <davem@davemloft.net>
19038
19039 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
19040 access the quad as both a long double and as a series of 4 words.
19041
19042 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
19043 link_map->l_info array access.
19044
19045 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
19046
19047 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
19048
19049 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
19050 * math/atest-exp2.c (TIMEOUT): Likewise.
19051 * math/atest-sincos.c (TIMEOUT): Likewise.
19052
19053 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
19054
19055 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
19056 -Wno-error with -fno-builtin-lround.
19057
19058 2014-12-19 Torvald Riegel <triegel@redhat.com>
19059
19060 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
19061 Contains futex constants and functions moved over from ...
19062 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
19063 <lowlevellock-futex.h>.
19064 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19065 (lll_timedwait_tid): Add comments and parentheses around macro
19066 arguments.
19067
19068 2014-12-19 Torvald Riegel <triegel@redhat.com>
19069
19070 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
19071 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
19072 (__lll_private_flag): Remove.
19073 (lll_futex_wait): Likewise.
19074 (lll_futex_timed_wait): Likewise.
19075 (lll_futex_wake): Likewise.
19076 (lll_futex_requeue): Likewise.
19077 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19078 (__lll_timedwait_tid): Spell out argument names.
19079 (lll_timedwait_tid): Add comments and parentheses around macro
19080 arguments.
19081 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
19082 LLL_SHARED and LLL_PRIVATE usable from assembly code.
19083
19084 2014-12-19 Torvald Riegel <triegel@redhat.com>
19085
19086 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
19087 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19088 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19089 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
19090 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
19091 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
19092 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
19093 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
19094 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
19095 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
19096 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
19097 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
19098 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
19099 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
19100 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
19101 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
19102 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
19103 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
19104 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
19105
19106 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
19107
19108 * sysdeps/x86_64/x32/Makefile: New file.
19109
19110 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
19111
19112 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
19113 1L with (mp_limb_t) 1.
19114
19115 2014-12-17 Roland McGrath <roland@hack.frob.com>
19116
19117 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
19118 * nptl/libc_pthread_init.c: ... here.
19119 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
19120 * nptl/register-atfork.c: ... here.
19121
19122 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
19123 Use pthread_sigmask rather than INTERNAL_SYSCALL.
19124 Use assert_perror to check its return value.
19125 (__gai_create_helper_thread): Likewise.
19126
19127 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
19128
19129 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
19130
19131 2014-12-17 Joseph Myers <joseph@codesourcery.com>
19132
19133 [BZ #17725]
19134 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
19135 __profil_counter.
19136 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
19137 Likewise.
19138 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
19139 Likewise.
19140 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
19141 Likewise.
19142 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
19143 (profil_counter): Likewise.
19144 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
19145 (profil_counter): Likewise.
19146 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
19147 Likewise.
19148 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
19149 Likewise.
19150 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
19151 (profil_counter): Likewise.
19152 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
19153 Likewise.
19154 [!__profil_counter] (profil_counter): Define as weak alias of
19155 __profil_counter.
19156 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
19157 (profil_counter): Rename to __profil_counter.
19158 [!__profil_counter] (profil_counter): Define as weak alias of
19159 __profil_counter.
19160 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
19161 (profil_counter): Rename to __profil_counter.
19162 [!__profil_counter] (profil_counter): Define as weak alias of
19163 __profil_counter.
19164 * sysdeps/posix/profil.c: Update comment referring to
19165 profil_counter.
19166 (__profil): Use __profil_counter instead of profil_counter.
19167 * sysdeps/posix/sprofil.c (profil_counter): Rename to
19168 __profil_counter. Use __profil_counter_ushort and
19169 __profil_counter_uint in definitions.
19170 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
19171 instead of profil_counter_uint and profil_counter_ushort.
19172
19173 [BZ #17722]
19174 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
19175 define as weak alias of __inet_makeaddr.
19176 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
19177 as weak alias of __inet_addr.
19178 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
19179 as weak alias of __inet_pton. Use libc_hidden_weak.
19180 * include/arpa/inet.h (__inet_pton): Declare. Use
19181 libc_hidden_proto.
19182 (inet_makeaddr): Don't use libc_hidden_proto.
19183 (__inet_makeaddr): Declare. Use libc_hidden_proto.
19184 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
19185 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
19186 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
19187 Remove variable.
19188 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19189 (test-xfail-POSIX/time.h/linknamespace): Likewise.
19190
19191 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
19192
19193 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
19194
19195 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
19196
19197 * stdio-common/bug-vfprintf-nargs.c (do_test):
19198 Cast value to intptr_t to avoid format warning
19199 for usage with PRIdPTR printing macro.
19200
19201 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
19202
19203 * libio/tst-widetext.c (do_test):
19204 Use format type %td instead of %Zd for ptrdiff_t
19205 in order to avoid format warning.
19206
19207 2014-12-17 Andreas Schwab <schwab@suse.de>
19208
19209 * nscd/mem.c (gc): Add size_t cast to match printf format.
19210
19211 2014-12-16 Roland McGrath <roland@hack.frob.com>
19212
19213 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
19214 (init): Apply PTR_MANGLE to pointers before storing them.
19215 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
19216 before using them.
19217
19218 2014-12-16 Joseph Myers <joseph@codesourcery.com>
19219
19220 [BZ #17719]
19221 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
19222 define as weak alias of __memrchr.
19223 (__memrchr): Do not define as strong alias of memrchr.
19224 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
19225 Remove variable.
19226 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19227 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19228 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19229
19230 [BZ #17717]
19231 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
19232 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
19233 (if_indextoname): Rename to __if_indextoname and define as weak
19234 alias of __if_indextoname. Use libc_hidden_weak.
19235 (if_freenameindex): Rename to __if_freenameindex and define as
19236 weak alias of __if_freenameindex.
19237 (if_nameindex): Rename to __if_nameindex and define as weak alias
19238 of __if_nameindex.
19239 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
19240 __if_nametoindex and define as weak alias of __if_nametoindex.
19241 Use libc_hidden_weak.
19242 (if_freenameindex): Rename to __if_freenameindex and define as
19243 weak alias of __if_freenameindex.
19244 (if_nameindex): Rename to __if_nameindex and define as weak alias
19245 of __if_nameindex.
19246 (if_indextoname): Rename to __if_indextoname and define as weak
19247 alias of __if_indextoname. Use libc_hidden_weak.
19248 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
19249 __if_nametoindex and define as weak alias of __if_nametoindex.
19250 Use libc_hidden_weak.
19251 (if_freenameindex): Rename to __if_freenameindex and define as
19252 weak alias of __if_freenameindex. Use libc_hidden_weak.
19253 (if_nameindex_netlink): Use __if_freenameindex instead of
19254 if_freenameindex.
19255 (if_nameindex): Rename to __if_nameindex and define as weak alias
19256 of __if_nameindex. Use libc_hidden_weak.
19257 (if_indextoname): Rename to __if_indextoname and define as weak
19258 alias of __if_indextoname. Use libc_hidden_weak.
19259 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
19260 libc_hidden_proto.
19261 [!_ISOMAC] (__if_freenameindex): Likewise.
19262 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
19263 if_nametoindex.
19264 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
19265 variable.
19266 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19267 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19268 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19269 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19270 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19271 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19272 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19273
19274 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
19275 Remove variable.
19276 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19277 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19278
19279 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19280
19281 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
19282 subscript above bounds'
19283
19284 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
19285 bounds.
19286
19287 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
19288
19289 * libio/tst-fopenloc.c: Use test-skeleton.c.
19290
19291 * stdlib/tst-bsearch.c: Use test-skeleton.c.
19292 (entry): Rename to ITEM.
19293 (do_test, comp): Adjust.
19294
19295 * stdio-common/tst-fseek.c: Use test-skeleton.c.
19296
19297 2014-12-16 Torvald Riegel <triegel@redhat.com>
19298
19299 * string/tester.c: Include <libc-internal.h>.
19300 (test_memset): Ignore -Wmemset-transposed-args.
19301
19302 2014-12-16 Torvald Riegel <triegel@redhat.com>
19303
19304 * misc/tst-mntent2.c (do_test): Fix warning.
19305
19306 2014-12-16 Torvald Riegel <triegel@redhat.com>
19307
19308 * elf/tst-unique4lib.cc(a): Mark as used.
19309
19310 2014-12-16 Florian Weimer <fweimer@redhat.com>
19311
19312 [BZ #17630]
19313 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
19314 names.
19315
19316 2014-12-16 Allan McRae <allan@archlinux.org>
19317
19318 * stdio-common/Makefile (tests): Re-add bug26.
19319
19320 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
19321
19322 [BZ #17657]
19323 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
19324 static array.
19325
19326 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
19327
19328 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
19329 (__lll_lock_wait): Likewise.
19330 (__lll_timedlock_wait): Likewise.
19331 (__lll_timedwait_tid): Likewise.
19332 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
19333 (__lll_robust_timedlock_wait): Likewise.
19334 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
19335 (lll_cond_trylock): Likewise.
19336 (__lll_lock): Likewise.
19337 (__lll_robust_lock): Likewise.
19338 (__lll_cond_lock): Likewise.
19339 (lll_robust_cond_lock): Likewise.
19340 (__lll_timedlock): Likewise.
19341 (__lll_robust_timedlock): Likewise.
19342 (__lll_unlock): Likewise.
19343 (__lll_robust_unlock): Likewise.
19344 (lll_wait_tid): Likewise.
19345 (lll_timedwait_tid): Likewise.
19346
19347 2014-12-15 Torvald Riegel <triegel@redhat.com>
19348
19349 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
19350
19351 2014-12-15 Torvald Riegel <triegel@redhat.com>
19352
19353 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
19354
19355 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
19356
19357 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
19358 * stdio-common/tst-sprintf.c: Likewise.
19359
19360 2014-12-15 Torvald Riegel <triegel@redhat.com>
19361
19362 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
19363
19364 2014-12-15 Jeff Law <law@redhat.com>
19365
19366 [BZ #16617]
19367 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
19368 on the heap. (CVE-2012-3406)
19369 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
19370 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
19371 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
19372
19373 2014-12-15 Will Newton <will.newton@linaro.org>
19374
19375 * manual/install.texi: Bump required version of texinfo
19376 to 4.7 from 4.5.
19377 * INSTALL: Regenerated.
19378 * configure.ac: Check for makeinfo version 4.7 and above.
19379 * configure: Regenerated.
19380
19381 2014-12-12 Roland McGrath <roland@hack.frob.com>
19382
19383 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
19384 PREFIX, string constant to insert between directory and name.
19385 * sysdeps/posix/shm_open.c: Update caller.
19386 * sysdeps/posix/shm_unlink.c: Likewise.
19387 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
19388 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
19389 (SEM_SHM_PREFIX): New macro.
19390 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
19391 [$(have-thread-library) = no].
19392 * nptl/Makefile (libpthread-routines): Add shm-directory.
19393 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
19394 * sysdeps/nptl/shm-directory.h: New file.
19395 * sysdeps/posix/shm-directory.c
19396 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
19397 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
19398 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
19399 INTERNAL_SYSCALL.
19400 (__where_is_shmfs): Function removed.
19401 (mountpoint, defaultmount, defaultdir, __namedsem_once):
19402 Variables removed.
19403 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
19404 Use SHM_GET_NAME.
19405 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
19406
19407 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
19408 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
19409 unconditional for use inside libpthread.
19410 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
19411
19412 2014-12-12 Roland McGrath <roland@hack.frob.com>
19413
19414 * nptl/pthread_getaffinity.c: New file.
19415 * nptl/pthread_setaffinity.c: New file.
19416 * nptl/pthread_getname.c: New file.
19417 * nptl/pthread_setname.c: New file.
19418
19419 * nptl/pthread_create.c (START_THREAD_DEFN)
19420 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
19421
19422 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19423 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19424
19425 * resolv/res_send.c (send_vc): Disable warning resplen may
19426 be used uninitialized.
19427
19428 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19429
19430 * nptl/tst-mutex6.c
19431 (ATTR_NULL): New define checks ATTR against NULL.
19432 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
19433 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
19434
19435 2014-12-11 James Lemke <jwlemke@codesourcery.com>
19436
19437 [BZ #17581]
19438 * malloc/hooks.c
19439 (mem2mem_check): Revert my previous change.
19440 (malloc_check_get_size): Revert my previous change.
19441 (mem2chunk_check): Revert my previous change.
19442
19443 2014-12-11 Roland McGrath <roland@hack.frob.com>
19444
19445 * sysdeps/posix/shm-directory.c: New file.
19446 * sysdeps/posix/shm-directory.h: New file.
19447 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
19448 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
19449 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
19450 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
19451 Transmute EPERM to EACCES.
19452 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
19453 from ...
19454 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
19455 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
19456
19457 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19458
19459 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
19460 pointer and cast to uintptr_t.
19461 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
19462 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
19463 Add cast to avoid warning.
19464 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
19465
19466 2014-12-11 Joseph Myers <joseph@codesourcery.com>
19467
19468 * nptl/semaphore.h: Move to ...
19469 * sysdeps/pthread/semaphore.h: ... here.
19470 * Makefile (installed-headers): Change nptl/semaphore.h to
19471 sysdeps/pthread/semaphore.h.
19472
19473 2014-12-11 Roland McGrath <roland@hack.frob.com>
19474
19475 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
19476 generated error format strings.
19477
19478 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
19479 -Wformat-extra-args warnings for scanf formats.
19480 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
19481 test of zero-length format (duh).
19482 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
19483 corner-case scanf format test.
19484 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
19485 generated fprintf format string.
19486 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
19487 corner-case sprintf format tests.
19488 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
19489 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
19490 -Wformat-extra-args warnings throughout.
19491 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
19492 (CFLAGS-scanf4.c): Likewise.
19493 (CFLAGS-scanf7.c): Likewise.
19494 (CFLAGS-tst-sprintf.c): Likewise.
19495 (CFLAGS-tst-printf.c): Likewise.
19496 (CFLAGS-tst-printfsz.c): Likewise.
19497
19498 2014-12-11 Joseph Myers <joseph@codesourcery.com>
19499
19500 * include/cpio.h: New file.
19501 * include/fmtmsg.h: Likewise.
19502
19503 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
19504 corresponding format argument to size_t.
19505 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
19506 arguments.
19507 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
19508 corresponding format argument to size_t.
19509 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
19510 arguments.
19511 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
19512 corresponding format argument to size_t.
19513 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
19514 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
19515 (CFLAGS-tst-mbswcs2.c): Likewise.
19516 (CFLAGS-tst-mbswcs3.c): Likewise.
19517 (CFLAGS-tst-mbswcs4.c): Likewise.
19518 (CFLAGS-tst-mbswcs5.c): Likewise.
19519 (CFLAGS-tst-trans.c): Likewise.
19520
19521 2014-12-11 Roland McGrath <roland@hack.frob.com>
19522
19523 * posix/regexbug1.c (main): Use "%s" format with regerror results,
19524 rather than assuming they won't contain any '%'s.
19525
19526 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
19527
19528 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
19529 inhibit_loop_to_libcall to avoid recursive calls.
19530 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
19531 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
19532
19533 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
19534
19535 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
19536 prototype.
19537
19538 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
19539
19540 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
19541 integer value instead of boolean.
19542
19543 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
19544
19545 * malloc/malloc.c: Fix powerof2 check.
19546
19547 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19548
19549 * locale/programs/locfile.h (maybe_swap_uint32):
19550 Remove inline and add unused attribute.
19551
19552 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19553
19554 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19555 Truncating assembler expression to a .long expression.
19556
19557 2014-12-11 Andreas Schwab <schwab@suse.de>
19558
19559 * elf/rtld.c (struct map_args): Constify str member.
19560 (do_preload): Constify fname argument.
19561
19562 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19563
19564 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
19565 constants definition.
19566
19567 2014-12-11 Andreas Schwab <schwab@suse.de>
19568
19569 [BZ #16657]
19570 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
19571 FORCE_ELISION instead of DO_ELISION.
19572 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
19573 Remove.
19574 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
19575 Likewise.
19576
19577 * iconvdata/gconv-modules: Remove duplicate entry.
19578
19579 2014-12-11 Will Newton <will.newton@linaro.org>
19580
19581 Merge gettext 0.19.3 into intl/.
19582
19583 This involves a number of cosmetic changes to comments
19584 and ANSI function definitions and prototypes throughout
19585 all the files. The gettext copyright header is used but
19586 with the date ranges taken from the glibc copy.
19587
19588 * NEWS: Add gettext merge to 2.21.
19589 * intl/bindtextdom.c: Switch to gettext copyright.
19590 Use ANSI definitions and prototypes.
19591 Use gl_* locking primitives rather than __libc_* ones.
19592 Use __builtin_expect rather than __glibc_likely/unlikely.
19593 * intl/dcgettext.c: Switch to gettext copyright.
19594 Use ANSI definitions and prototypes.
19595 * intl/dcigettext.c: Switch to gettext copyright.
19596 Use ANSI definitions and prototypes.
19597 (INTDIV0_RAISES_SIGFPE): New define.
19598 Use gl_* locking primitives rather than __libc_* ones.
19599 Include eval-plural.h instead of plural-eval.c.
19600 Use __builtin_expect rather than __glibc_likely/unlikely.
19601 * intl/dcngettext.c: Switch to gettext copyright.
19602 Use ANSI definitions and prototypes.
19603 * intl/dgettext.c: Likewise.
19604 * intl/dngettext.c: Likewise.
19605 * intl/plural-eval.c: Renamed to...
19606 * intl/eval-plural.h: ...this.
19607 * intl/explodename.c: Switch to gettext copyright.
19608 Use ANSI definitions and prototypes.
19609 (_nl_explode_name): Use strchr instead of __rawmemchr.
19610 * intl/finddomain.c: Switch to gettext copyright.
19611 Use ANSI definitions and prototypes.
19612 Use gl_* locking primitives rather than __libc_* ones.
19613 (_nl_find_domain): Use malloc rather than alloca for
19614 allocation of temporary locale name.
19615 * intl/gettext.c: Switch to gettext copyright.
19616 Use ANSI definitions and prototypes.
19617 * intl/gettextP.h: Switch to gettext copyright.
19618 Use ANSI definitions and prototypes.
19619 Use gl_* locking primitives rather than __libc_* ones.
19620 * intl/gmo.h: Switch to gettext copyright.
19621 (struct sysdep_string): Move struct segment_pair outside of
19622 struct definition.
19623 * intl/hash-string.c: Use ANSI definitions and prototypes.
19624 * intl/hash-string.h: Switch to gettext copyright.
19625 Use ANSI definitions and prototypes.
19626 * intl/l10nflist.c: Switch to gettext copyright.
19627 Use ANSI definitions and prototypes.
19628 (_nl_normalize_codeset): Avoid integer overflow.
19629 * intl/loadinfo.h: Switch to gettext copyright.
19630 Use ANSI definitions and prototypes.
19631 (LIBINTL_DLL_EXPORTED): New define.
19632 (PATH_SEPARATOR): New define.
19633 * intl/loadmsgcat.c: Switch to gettext copyright.
19634 * intl/localealias.c: Switch to gettext copyright.
19635 Use ANSI definitions and prototypes.
19636 (_nl_expand_alias): Use PATH_SEPARATOR.
19637 * intl/ngettext.c: Switch to gettext copyright.
19638 Use ANSI definitions and prototypes.
19639 * intl/plural-exp.c: Likewise.
19640 * intl/plural-exp.h: Switch to gettext copyright.
19641 Use ANSI definitions and prototypes.
19642 (struct expression): Move definition of enum operator outside
19643 of struct definition.
19644 * intl/plural.c: Regenerate.
19645 * intl/plural.y: Switch to gettext copyright.
19646 Use ANSI definitions and prototypes.
19647 Port to bison 3.0.
19648 * intl/textdomain.c: Switch to gettext copyright.
19649 Use ANSI definitions and prototypes.
19650 Use gl_* locking primitives rather than __libc_* ones.
19651
19652 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
19653
19654 * debug/warning-nop.c: Add used atrribute.
19655
19656 2014-12-10 Joseph Myers <joseph@codesourcery.com>
19657
19658 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
19659
19660 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
19661 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
19662 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
19663
19664 2014-12-10 Joseph Myers <joseph@codesourcery.com>
19665 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19666
19667 [BZ #17634]
19668 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
19669 Undefine after defining function. Define as weak alias of
19670 __wcschr. Use libc_hidden_weak.
19671 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
19672 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
19673 (libc_hidden_def): Also define __GI___wcschr alias.
19674 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
19675 __wcschr and define as weak alias of __wcschr.
19676 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
19677 __wcschr.
19678 [!WCSCHR] (DEFAULT_WCSCHR): Define.
19679 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
19680 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
19681 libc_hidden_weak. Do not use libc_hidden_def.
19682 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
19683 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
19684 __GI___wcschr alias.
19685 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
19686 [IS_IN (libc)] (wcschr): Define as macro expanding to
19687 __redirect_wcschr.
19688 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
19689 [IS_IN (libc)] (__wcschr_power6): Likewise.
19690 [IS_IN (libc)] (__wcschr_power7): Likewise.
19691 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
19692 instead of wcschr.
19693 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
19694 __libc_wcschr.
19695 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
19696 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
19697 __wcschr and define as weak alias of __wcschr. Use
19698 libc_hidden_builtin_def.
19699 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
19700 as weak alias of __wcschr. Use libc_hidden_weak.
19701 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
19702 wcschr.
19703 * time/era.c (_nl_init_era_entries): Likewise.
19704 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
19705 variable.
19706 (test-xfail-XPG3/time.h/linknamespace): Likewise.
19707 (test-xfail-XPG4/time.h/linknamespace): Likewise.
19708
19709 2014-12-10 Joseph Myers <joseph@codesourcery.com>
19710
19711 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
19712 format for long int variable.
19713
19714 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
19715
19716 [BZ #10672]
19717 * manual/search.texi: (Array Sort Function): Remove claim how to make
19718 qsort stable.
19719
19720 2014-12-10 Andreas Schwab <schwab@suse.de>
19721
19722 [BZ #12847]
19723 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
19724 user-controlled locks.
19725
19726 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
19727
19728 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
19729 register.
19730
19731 2014-12-10 Joseph Myers <joseph@codesourcery.com>
19732
19733 * configure.ac (--disable-werror): New configure option.
19734 (enable_werror): New AC_SUBST.
19735 * configure: Regenerated.
19736 * config.make.in (enable-werror): New variable.
19737 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
19738 -Wno-error=undef.
19739 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
19740 * manual/install.texi (Configuring and compiling): Document
19741 --disable-werror.
19742 * INSTALL: Regenerated.
19743 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
19744 (CFLAGS-tst-chk2.c): Likewise.
19745 (CFLAGS-tst-chk3.c): Likewise.
19746 (CFLAGS-tst-chk4.cc): Likewise.
19747 (CFLAGS-tst-chk5.cc): Likewise.
19748 (CFLAGS-tst-chk6.cc): Likewise.
19749 (CFLAGS-tst-lfschk1.c): Likewise.
19750 (CFLAGS-tst-lfschk2.c): Likewise.
19751 (CFLAGS-tst-lfschk3.c): Likewise.
19752 (CFLAGS-tst-lfschk4.cc): Likewise.
19753 (CFLAGS-tst-lfschk5.cc): Likewise.
19754 (CFLAGS-tst-lfschk6.cc): Likewise.
19755
19756 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
19757 (main): Disable -Wdeprecated-declarations around calls to
19758 register_printf_function.
19759
19760 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
19761 (do_test): Disable -Wdiv-by-zero around some calls to
19762 fwrite_unlocked and fread_unlocked.
19763
19764 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
19765 (DIAG_POP_NEEDS_COMMENT): Likewise.
19766 (_DIAG_STR1): Likewise.
19767 (_DIAG_STR): Likewise.
19768 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
19769 * stdio-common/bug21.c: Include <libc-internal.h>.
19770 (do_test): Disable -Wformat around call to sscanf.
19771 * stdio-common/scanf14.c: Include <libc-internal.h>.
19772 (main): Disable -Wformat around some calls to scanf functions.
19773
19774 2014-12-09 Torvald Riegel <triegel@redhat.com>
19775
19776 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
19777
19778 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19779
19780 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
19781 stack variable alignment.
19782
19783 2014-12-06 Joseph Myers <joseph@codesourcery.com>
19784
19785 [BZ #17682]
19786 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
19787 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
19788 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
19789 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
19790 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
19791 __getrlimit instead of getrlimit.
19792 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
19793 __gettimeofday instead of gettimeofday.
19794 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19795 Likewise.
19796 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19797 Likewise.
19798 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19799 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
19800 Remove variable.
19801 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19802 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19803
19804 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19805
19806 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
19807 for wide-character tests.
19808
19809 2014-12-04 Roland McGrath <roland@hack.frob.com>
19810
19811 * io/openat64.c: #include <libc-internal.h>
19812 (__openat64): Prototypify. Use ignore_value on MODE.
19813 * io/openat.c: Likewise.
19814 * misc/reboot.c: #include <libc-internal.h>
19815 (reboot): Prototypify. Use ignore_value on HOWTO.
19816 * misc/ptrace.c: #include <libc-internal.h>
19817 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
19818
19819 2014-12-04 Joseph Myers <joseph@codesourcery.com>
19820
19821 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
19822 XPG4, UNIX98 and XOPEN2K.
19823 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
19824 Remove variable.
19825 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19826
19827 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19828
19829 * libio/fileops.c: Use ISO C style for function definitions.
19830 * libio/iofopen.c: Likewise.
19831 * libio/wfileops.c: Likewise.
19832
19833 [BZ #17653]
19834 * libio/fileops.c (_IO_new_file_underflow): Unset cached
19835 offset on EOF.
19836 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19837 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
19838 (fgets_func): Function pointer to fgets and fgetws.
19839 (do_ftell_test): Add test to verify ftell value after read
19840 EOF.
19841 (do_test): Set fgets_func.
19842
19843 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
19844 O_TRUNC flag for w and w+ modes.
19845 (do_rewind_test): Likewise.
19846 (do_ftell_test): Likewise.
19847 (do_write_test): Likewise.
19848
19849 [BZ #17647]
19850 * libio/fileops.c (do_ftell): Seek only when there are
19851 unflushed writes.
19852 * libio/wfileops.c (do_ftell_wide): Likewise.
19853 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
19854 test case.
19855 (do_one_test): Call it.
19856
19857 2014-12-03 Joseph Myers <joseph@codesourcery.com>
19858
19859 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
19860 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
19861 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
19862 Remove variable.
19863 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19864 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19865 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19866
19867 2014-12-02 Joseph Myers <joseph@codesourcery.com>
19868
19869 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
19870 Remove variable.
19871 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19872
19873 [BZ #17668]
19874 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
19875 as weak alias of __getifaddrs. Use libc_hidden_weak.
19876 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19877 __freeifaddrs. Use libc_hidden_weak.
19878 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
19879 define as weak alias of __getifaddrs. Use libc_hidden_weak.
19880 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19881 __freeifaddrs. Use libc_hidden_weak.
19882 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
19883 __getifaddrs and define as weak alias of __getifaddrs. Use
19884 libc_hidden_weak.
19885 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19886 __freeifaddrs. Use libc_hidden_weak.
19887 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
19888 Remove variable.
19889 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19890 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19891
19892 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
19893
19894 [BZ #17601]
19895 * sysdeps/mips/start.S (__start): Use indirect jump to call
19896 __libc_start_main.
19897
19898 2014-12-02 Joseph Myers <joseph@codesourcery.com>
19899
19900 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
19901
19902 * nptl/tst-mutex1.c: Include <stdbool.h>.
19903 [!ATTR] (ATTR_NULL): New macro.
19904 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
19905 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
19906 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
19907
19908 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
19909 to char *.
19910
19911 [BZ #17665]
19912 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
19913 Change conditional to [__USE_MISC].
19914
19915 [BZ #17664]
19916 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
19917 fgets_unlocked.
19918 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
19919 __fgets_unlocked.
19920 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
19921 fgets_unlocked.
19922 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
19923 Remove variable.
19924 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19925 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19926 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19927 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19928 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19929 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19930 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19931 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19932 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19933
19934 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
19935
19936 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19937
19938 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19939 Remove strpbrk objects.
19940 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19941 (__libc_ifunc_impl_list): Remove strpbrk implementation.
19942 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
19943 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
19944 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
19945 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
19946
19947 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19948 Remove strcspn objects.
19949 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19950 (__libc_ifunc_impl_list): Remove strcspn implementation.
19951 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
19952 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
19953 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
19954 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
19955
19956 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19957 Remove strspn objetcs.
19958 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19959 (__libc_ifunc_impl_list): Remove strspn implementation.
19960 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
19961 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19962 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
19963 * sysdeps/powerpc/powerpc64/strspn.S: New file.
19964
19965 2014-12-01 James Lemke <jwlemke@codesourcery.com>
19966
19967 [BZ #17581]
19968 * malloc/hooks.c
19969 (mem2mem_check): Add a terminator to the chain of checking blocks.
19970 (malloc_check_get_size): Use it here.
19971 (mem2chunk_check): Ditto.
19972
19973 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19974
19975 * sysdeps/powerpc/powerpc64/strtok.S: New file.
19976 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
19977
19978 2014-11-29 Carlos O'Donell <carlos@redhat.com>
19979
19980 * bits/ioctl-types.h: Indent preprocessor directives correctly.
19981
19982 * nptl/nptl-init.c: Include libc-internal.h.
19983 (__pthread_initialize_minimal_internal): Use ROUND_UP.
19984
19985 * elf/ldconfig.c (search_dir): Expand comment.
19986
19987 2014-11-29 Joseph Myers <joseph@codesourcery.com>
19988
19989 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
19990 variable.
19991 (linknamespace-symlist-stdlibs-tests): Likewise.
19992 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
19993 instead of $(objpfx)symlist-stdlibs.
19994 (linknamespace-libs-isoc): New variable.
19995 (linknamespace-libs): Use $(linknamespace-libs-isoc).
19996 (linknamespace-libs-ISO): New variable.
19997 (linknamespace-libs-ISO99): Likewise.
19998 (linknamespace-libs-ISO11): Likewise.
19999 (linknamespace-libs-XPG3): Likewise.
20000 (linknamespace-libs-XPG4): Likewise.
20001 (linknamespace-libs-POSIX): Likewise.
20002 (linknamespace-libs-UNIX98): Likewise.
20003 (linknamespace-libs-XOPEN2K): Likewise.
20004 (linknamespace-libs-POSIX2008): Likewise.
20005 (linknamespace-libs-XOPEN2K8): Likewise.
20006 ($(objpfx)symlist-stdlibs): Replace by
20007 $(linknamespace-symlist-stdlibs-tests). Use
20008 $(linknamespace-libs-$*) as set of libraries.
20009 ($(linknamespace-header-tests)): Update dependencies. Use
20010 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
20011 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
20012 * conform/linknamespace.pl: Remove comment about considering
20013 definitions of symbols from irrelevant libraries.
20014
20015 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
20016
20017 [BZ #13862]
20018 * elf/dl-tls.c: Include <atomic.h>.
20019 (oom): Remove #ifdef SHARED/#endif.
20020 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
20021 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
20022 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
20023 big enough.
20024 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
20025 * nptl/Makefile (tests): Add tst-stack4.
20026 (modules-names): Add tst-stack4mod.
20027 ($(objpfx)tst-stack4): New.
20028 (tst-stack4mod.sos): Likewise.
20029 ($(objpfx)tst-stack4.out): Likewise.
20030 ($(tst-stack4mod.sos)): Likewise.
20031 (clean): Likewise.
20032 * nptl/tst-stack4.c: New file.
20033 * nptl/tst-stack4mod.c: Likewise.
20034
20035 2014-11-27 J. Brown <jb999@gmx.de>
20036
20037 * sysdeps/x86/bits/string.h: Add recent CPUs.
20038
20039 2014-11-27 Joseph Myers <joseph@codesourcery.com>
20040
20041 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
20042 sigblock.
20043
20044 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
20045 feof.
20046
20047 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
20048 variable.
20049
20050 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
20051
20052 * nscd/connections.c: Include libc-internal.h because of macro
20053 usage ignore_value.
20054
20055 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20056
20057 * string/bits/string3.h (__warn_memset_zero_len): Don't
20058 declare for gcc newer than 5.0.
20059 (memset): Don't test for zero-length __LEN for gcc newer than
20060 5.0.
20061
20062 2014-11-27 Joseph Myers <joseph@codesourcery.com>
20063
20064 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
20065 size_t for %zu format.
20066
20067 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
20068 difference, not %ju.
20069
20070 2014-11-26 Joseph Myers <joseph@codesourcery.com>
20071
20072 * include/libc-internal.h (ignore_value): New macro.
20073 * nscd/connections.c (restart): Wrap calls to setuid and setgid
20074 with ignore_value.
20075
20076 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
20077 definition.
20078
20079 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
20080 pthread_cleanup_push to void *.
20081
20082 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
20083 Undefine.
20084
20085 [BZ #16619]
20086 [BZ #16740]
20087 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
20088 instead of 1L << 52.
20089
20090 * libio/bug-rewind.c (do_test): Check fwscanf return values.
20091 * libio/bug-rewind2.c (do_test): Likewise.
20092
20093 * debug/test-stpcpy_chk-ifunc.c: Remove file.
20094 * debug/test-strcpy_chk-ifunc.c: Likewise.
20095 * wcsmbs/test-wcschr-ifunc.c: Likewise.
20096 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20097 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20098 * wcsmbs/test-wcslen-ifunc.c: Likewise.
20099 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20100 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20101 * Rules [$(multi-arch) = no] (tests): Do not filter out
20102 $(tests-ifunc).
20103 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
20104 * debug/Makefile (tests-ifunc): Remove variable.
20105 (tests): Do not add $(tests-ifunc).
20106 * wcsmbs/Makefile (tests-ifunc): Remove variable.
20107 (tests): Do not add $(tests-ifunc).
20108 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
20109 [TEST_IFUNC]: Remove conditionals.
20110 * string/test-string.h (TEST_IFUNC): Remove macro.
20111 [TEST_IFUNC]: Remove conditionals.
20112
20113 * string/test-strchr.c [!WIDE] (L): New macro.
20114 [WIDE] (L): Likewise.
20115 (check1): Use CHAR instead of char. Use L on string and character
20116 constants.
20117
20118 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
20119
20120 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
20121 tests.
20122 * sysdeps/powerpc/bits/atomic.h
20123 (__arch_atomic_exchange_and_add_32_acq): Add definition.
20124 (__arch_atomic_exchange_and_add_32_rel): Likewise.
20125 (atomic_exchange_and_add_acq): Likewise.
20126 (atomic_exchange_and_add_rel): Likewise.
20127 * sysdeps/powerpc/powerpc32/bits/atomic.h
20128 (__arch_atomic_exchange_and_add_64_acq): Add definition.
20129 (__arch_atomic_exchange_and_add_64_rel): Likewise.
20130 * sysdeps/powerpc/powerpc64/bits/atomic.h
20131 (__arch_atomic_exchange_and_add_64_acq): Add definition.
20132 (__arch_atomic_exchange_and_add_64_rel): Likewise.
20133
20134 2014-11-26 Torvald Riegel <triegel@redhat.com>
20135
20136 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
20137 Change synchronization of __sched_fifo_min_prio and
20138 __sched_fifo_max_prio.
20139 * nptl/pthread_mutexattr_getprioceiling.c
20140 (pthread_mutexattr_getprioceiling): Likewise.
20141 * nptl/pthread_mutexattr_setprioceiling.c
20142 (pthread_mutexattr_setprioceiling): Likewise.
20143 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20144 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
20145 Likewise.
20146
20147 2014-11-26 Joseph Myers <joseph@codesourcery.com>
20148
20149 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
20150 void.
20151
20152 2014-11-25 Joseph Myers <joseph@codesourcery.com>
20153
20154 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
20155 third argument const.
20156
20157 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
20158
20159 fnmatch: work around GCC compiler warning bug with uninit var
20160 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
20161 This works around a bug with x86-64 GCC 4.9.2 and earlier
20162 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
20163 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
20164 used uninitialized in this function [-Wmaybe-uninitialized]".
20165
20166 2014-11-25 Joseph Myers <joseph@codesourcery.com>
20167
20168 * posix/bug-regex31.c (main): Return RES not 0.
20169
20170 2014-11-25 Anton Blanchard <anton@samba.org>
20171
20172 * sysdeps/powerpc/bits/atomic.h
20173 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
20174
20175 2014-11-24 Sterling Augustine <saugustine@google.com>
20176
20177 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
20178
20179 2014-11-24 Ryan Cumming <etaoins@gmail.com>
20180
20181 [BZ #17608]
20182 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
20183
20184 2014-11-24 Joseph Myers <joseph@codesourcery.com>
20185
20186 [BZ #17633]
20187 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
20188 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
20189 variable.
20190 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20191 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20192
20193 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
20194
20195 * string/strncpy.c (strncpy): Improve performance by using memset.
20196
20197 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
20198
20199 * string/strcpy.c (strcpy):
20200 Improve performance by using strlen and memcpy.
20201
20202 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
20203
20204 * string/strcoll_l.c (get_next_seq): __always_inline.
20205 * string/strcoll_l.c (do_compare): __always_inline.
20206
20207 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20208
20209 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
20210 defined.
20211 * include/mqueue.h: Likewise.
20212 * include/stdlib.h: Likewise.
20213
20214 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
20215 (get_null_defines): Adjust.
20216 * sunrpc/Makefile: Adjust comment.
20217 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
20218 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
20219 (CFLAGS-interp.c): Likewise.
20220 (CFLAGS-ldconfig.c): Likewise.
20221 (CPPFLAGS-.os): Likewise.
20222 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20223 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20224 * extra-modules.mk (extra-modules.mk): Likewise.
20225 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
20226 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
20227 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
20228 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
20229 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
20230 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
20231 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
20232 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
20233 * iconvdata/Makefile (CPPFLAGS): Likewise.
20234 (cpp-srcs-left): Add libof for all iconvdata routines.
20235 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
20236 * include/assert.h: Likewise.
20237 * include/ctype.h: Likewise.
20238 * include/errno.h: Likewise.
20239 * include/libc-symbols.h: Likewise.
20240 * include/math.h: Likewise.
20241 * include/netdb.h: Likewise.
20242 * include/resolv.h: Likewise.
20243 * include/stdio.h: Likewise.
20244 * include/stdlib.h: Likewise.
20245 * include/string.h: Likewise.
20246 * include/sys/stat.h: Likewise.
20247 * include/wctype.h: Likewise.
20248 * intl/l10nflist.c: Likewise.
20249 * libidn/idn-stub.c: Likewise.
20250 * libio/libioP.h: Likewise.
20251 * nptl/libc_multiple_threads.c: Likewise.
20252 * nptl/pthreadP.h: Likewise.
20253 * posix/regex_internal.h: Likewise.
20254 * resolv/res_hconf.c: Likewise.
20255 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
20256 * sysdeps/arm/memmove.S: Likewise.
20257 * sysdeps/arm/sysdep.h: Likewise.
20258 * sysdeps/generic/_itoa.h: Likewise.
20259 * sysdeps/generic/symbol-hacks.h: Likewise.
20260 * sysdeps/gnu/errlist.awk: Likewise.
20261 * sysdeps/gnu/errlist.c: Likewise.
20262 * sysdeps/i386/i586/memcpy.S: Likewise.
20263 * sysdeps/i386/i586/memset.S: Likewise.
20264 * sysdeps/i386/i686/memcpy.S: Likewise.
20265 * sysdeps/i386/i686/memmove.S: Likewise.
20266 * sysdeps/i386/i686/mempcpy.S: Likewise.
20267 * sysdeps/i386/i686/memset.S: Likewise.
20268 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20269 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20270 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
20271 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
20272 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20273 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20274 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
20275 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20276 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20277 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20278 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20279 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20280 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20281 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20282 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20283 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20284 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
20285 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
20286 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
20287 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20288 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20289 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20290 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20291 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20292 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20293 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20294 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
20295 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20296 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
20297 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20298 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20299 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20300 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20301 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20302 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20303 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20304 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20305 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20306 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20307 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20308 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20309 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20310 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20311 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20312 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20313 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20314 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
20315 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
20316 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20317 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20318 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20319 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
20320 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
20321 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20322 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20323 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
20324 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20325 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
20326 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
20327 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20328 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20329 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20330 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
20331 * sysdeps/nptl/bits/libc-lock.h: Likewise.
20332 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20333 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
20334 * sysdeps/posix/closedir.c: Likewise.
20335 * sysdeps/posix/opendir.c: Likewise.
20336 * sysdeps/posix/readdir.c: Likewise.
20337 * sysdeps/posix/rewinddir.c: Likewise.
20338 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
20339 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
20340 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20341 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20342 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20343 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
20344 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
20345 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
20346 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
20347 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
20348 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
20349 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
20350 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
20351 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
20352 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
20353 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
20354 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
20355 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
20356 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
20357 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
20358 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
20359 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
20360 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
20361 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
20362 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
20363 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
20364 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
20365 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
20366 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
20367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
20368 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
20369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
20370 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
20371 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
20372 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
20373 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
20374 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20375 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20376 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
20377 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
20378 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
20379 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
20380 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
20381 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
20382 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20383 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
20384 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
20385 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
20386 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
20387 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
20388 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
20389 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
20390 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20391 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
20392 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
20393 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
20394 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
20395 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
20396 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
20397 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
20398 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
20399 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
20400 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20401 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
20402 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
20403 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
20404 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
20405 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
20406 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
20407 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
20408 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
20409 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
20410 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
20411 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
20412 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
20413 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
20414 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
20415 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
20416 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20417 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
20418 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
20419 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20420 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
20421 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
20422 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20423 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
20424 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
20425 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20426 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20427 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20428 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
20429 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
20430 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
20431 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20432 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20433 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
20434 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20435 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20436 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
20437 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
20438 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20439 * sysdeps/unix/alpha/sysdep.S: Likewise.
20440 * sysdeps/unix/alpha/sysdep.h: Likewise.
20441 * sysdeps/unix/make-syscalls.sh: Likewise.
20442 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20443 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20444 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20445 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
20446 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20447 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20448 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
20449 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20450 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20451 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
20452 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20453 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20454 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20455 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20456 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20457 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20458 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20459 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20460 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20461 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20462 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20463 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20464 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20465 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20466 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20467 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20468 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20471 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
20472 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20473 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20474 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20475 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20476 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20477 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20478 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20479 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20480 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20481 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20482 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20483 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20484 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20485 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20486 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20487 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20488 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20489 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20490 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20491 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20492 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20493 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20494 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20495 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20496 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
20497 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20498 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20499 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20500 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
20501 * sysdeps/x86_64/memcpy.S: Likewise.
20502 * sysdeps/x86_64/memmove.c: Likewise.
20503 * sysdeps/x86_64/memset.S: Likewise.
20504 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
20505 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20506 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20507 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
20508 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20509 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20510 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20511 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20512 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20513 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20514 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20515 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20516 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
20517 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20518 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20519 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
20520 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20521 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20522 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20523 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20524 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
20525 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20526 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20527 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20528 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20529 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20530 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20531 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
20532 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20533 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20534 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
20535 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20536 * sysdeps/x86_64/strcmp.S: Likewise.
20537
20538 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
20539
20540 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
20541 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
20542 * elf/rtld-Rules: Likewise.
20543 * elf/setup-vdso.h: Likewise.
20544 * include/assert.h: Likewise.
20545 * include/bits/stdlib-float.h: Likewise.
20546 * include/errno.h: Likewise.
20547 * include/sys/stat.h: Likewise.
20548 * include/unistd.h: Likewise.
20549 * sysdeps/aarch64/setjmp.S: Likewise.
20550 * sysdeps/alpha/setjmp.S: Likewise.
20551 * sysdeps/arm/__longjmp.S: Likewise.
20552 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
20553 * sysdeps/arm/setjmp.S: Likewise.
20554 * sysdeps/arm/sysdep.h: Likewise.
20555 * sysdeps/generic/_itoa.h: Likewise.
20556 * sysdeps/generic/dl-sysdep.h: Likewise.
20557 * sysdeps/generic/ldsodefs.h: Likewise.
20558 * sysdeps/i386/dl-tls.h: Likewise.
20559 * sysdeps/i386/setjmp.S: Likewise.
20560 * sysdeps/m68k/setjmp.c: Likewise.
20561 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
20562 * sysdeps/mach/hurd/opendir.c: Likewise.
20563 * sysdeps/posix/getcwd.c: Likewise.
20564 * sysdeps/posix/opendir.c: Likewise.
20565 * sysdeps/posix/profil.c: Likewise.
20566 * sysdeps/powerpc/dl-procinfo.h: Likewise.
20567 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20568 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20569 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20570 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20571 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
20572 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20573 * sysdeps/s390/dl-tls.h: Likewise.
20574 * sysdeps/s390/s390-32/setjmp.S: Likewise.
20575 * sysdeps/s390/s390-64/setjmp.S: Likewise.
20576 * sysdeps/sh/sh3/setjmp.S: Likewise.
20577 * sysdeps/sh/sh4/setjmp.S: Likewise.
20578 * sysdeps/unix/alpha/sysdep.h: Likewise.
20579 * sysdeps/unix/arm/sysdep.S: Likewise.
20580 * sysdeps/unix/i386/sysdep.S: Likewise.
20581 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20582 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
20583 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20584 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20585 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20586 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20587 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20588 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20589 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20590 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20591 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20592 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20593 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20596 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20597 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20598 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20599 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20600 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20601 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20602 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20603 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20604 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20605 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20606 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20607 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20608 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20609 * sysdeps/x86_64/setjmp.S: Likewise.
20610
20611 * include/math.h: Use IS_IN instead of IS_IN_libm.
20612 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
20613 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20614 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20615 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
20616 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20617 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20618 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20619 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20620 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20621 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20622 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
20623 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
20624 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
20625 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
20626 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
20627 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
20628 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
20629 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
20630 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
20631 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
20632 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
20633 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
20634 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
20635 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
20636 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
20637 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
20638 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
20639 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
20640 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
20641 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
20642 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
20643 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20644 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20646 Likewise.
20647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
20648 Likewise.
20649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
20650 Likewise.
20651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
20652 Likewise.
20653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
20654 Likewise.
20655 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20656 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
20657 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20658 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20659 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20660 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
20662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
20663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
20664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
20665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
20666 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
20667 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
20668 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20669 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20670 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20671 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20672 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20673 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20674 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20675 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
20676 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
20677 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
20678 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
20679 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
20680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20681 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
20682
20683 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
20684 * nptl/pthreadP.h: Likewise.
20685 * nptl_db/structs.def: Likewise.
20686 * sysdeps/arm/sysdep.h: Likewise.
20687 * sysdeps/nptl/bits/libc-lock.h: Likewise.
20688 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20689 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
20690 * sysdeps/unix/alpha/sysdep.h: Likewise.
20691 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20692 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20693 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20694 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20695 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20696 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20697 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20698 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20699 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20700 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20701 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20702 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20703 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20704 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20707 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20708 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20709 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20711 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20712 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20713 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20714 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20715 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
20716 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20717
20718 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
20719 * nptl/pthreadP.h: Likewise.
20720 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20721 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20722 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20723 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20724 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20725 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20726 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20727 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20728 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20729 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20730 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20731 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20733 Likewise.
20734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20735 Likewise.
20736 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20737 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20738 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20740 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20741 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20742 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20743 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20744
20745 * dlfcn/dladdr.c: Use IS_IN.
20746 * dlfcn/dladdr1.c: Likewise.
20747 * dlfcn/dlclose.c: Likewise.
20748 * dlfcn/dlerror.c: Likewise.
20749 * dlfcn/dlinfo.c: Likewise.
20750 * dlfcn/dlmopen.c: Likewise.
20751 * dlfcn/dlopen.c: Likewise.
20752 * dlfcn/dlsym.c: Likewise.
20753 * dlfcn/dlvsym.c: Likewise.
20754
20755 * include/ifaddrs.h: Use IS_IN.
20756 * inet/check_pf.c: Likewise.
20757 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20758 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
20759
20760 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
20761 IS_IN_ldconfig.
20762 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
20763 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
20764
20765 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
20766 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
20767 IS_IN (libc).
20768
20769 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
20770
20771 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
20772 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20773 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20774 * include/libc-symbols.h (IS_IN_LIB): New macro.
20775 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
20776 * include/netdb.h: Likewise.
20777 * include/stap-probe.h: Remove all uses of IN_LIB.
20778
20779 * Makeconfig (module-cppflags-real): Define MODULE_NAME
20780 instead of IN_MODULE.
20781 * include/libc-symbols.h (IN_MODULE): Define using
20782 MODULE_NAME.
20783 (PASTE_NAME, PASTE_NAME1): New macros.
20784 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
20785 of IN_LIB.
20786 (STAP_PROBE_ASM): Likewise.
20787
20788 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
20789
20790 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
20791 __mach_init in dlopened libc.
20792
20793 2014-11-22 Mike Frysinger <vapier@gentoo.org>
20794
20795 * sysdeps/arm/preconfigure.ac: Delete EABI check.
20796 * sysdeps/arm/preconfigure: Regenerate.
20797
20798 2014-11-21 Roland McGrath <roland@hack.frob.com>
20799
20800 * nptl/pthread_create.c (__pthread_create_2_1): Set
20801 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
20802 when copying values from IATTR into PD.
20803
20804 2014-11-21 Will Newton <will.newton@linaro.org>
20805 Andrew Pinski <andrew.pinski@caviumnetworks.com>
20806
20807 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
20808 Refactor inline-asm. Also add comment.
20809
20810 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
20811 ElfW macro instead of hardcoded Elf64 types.
20812 (la_aarch64_gnu_pltenter): Likewise.
20813 * sysdeps/aarch64/dl-machine.h
20814 (elf_machine_runtime_setup): Use ElfW(Addr).
20815
20816 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20817 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
20818 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
20819 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
20820 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
20821 (R_AARCH64_TLS_DTPMOD64): Rename to ..
20822 (R_AARCH64_TLS_DTPMOD): This.
20823 (R_AARCH64_TLS_DTPREL64): Rename to ...
20824 (R_AARCH64_TLS_DTPREL): This.
20825 (R_AARCH64_TLS_TPREL64): Rename to ...
20826 (R_AARCH64_TLS_TPREL): This.
20827 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
20828 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
20829 R_AARCH64_TLS_TPREL64.
20830 (elf_machine_rela): Likewise.
20831
20832 2014-11-21 Torvald Riegel <triegel@redhat.com>
20833
20834 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
20835 by setting it to 0. 64b atomics are not supported currently.
20836
20837 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20838
20839 [BZ #16469]
20840 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
20841 search domain names.
20842
20843 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20844
20845 [BZ #16469]
20846 * NEWS: Update.
20847 * resolv/res_query.c (__libc_res_nquerydomain): Retain
20848 trailing dot.
20849 * posix/tst-getaddrinfo5.c: New.
20850 * posix/Makefile (tests): Add it.
20851
20852 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20853
20854 [BZ #14498]
20855 * NEWS: Fixed.
20856 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
20857 after parsing line but before break_if_match.
20858 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
20859 if there is a protocol mismatch.
20860
20861 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
20862
20863 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
20864 because the potential race is on the user-supplied stream.
20865
20866 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20867
20868 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
20869 string literal if not passed a buffer.
20870 * manual/job.texi (ctermid): Update reasoning, note deviation
20871 from posix, suggest mtasurace when not passed a buffer, for
20872 future non-preliminary safety notes.
20873
20874 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20875
20876 * manual/users.texi (cuserid): Fix MT-Safety note for the case
20877 of not passing it a buffer.
20878 Reported by Peng Haitao.
20879
20880 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20881
20882 * manual/Makefile ($(objpfx)stamp-summary): Require
20883 check-safety.sh to pass.
20884 * manual/check-safety.sh: Wish for verification that every
20885 @deftypefn and @deftypefun is followed by a @safety remark.
20886
20887 2014-11-20 Roland McGrath <roland@hack.frob.com>
20888
20889 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
20890
20891 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
20892 PTHREAD_CANCEL_ASYNCHRONOUS.
20893 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
20894 send SIGCANCEL.
20895
20896 * nptl/default-sched.h: New file.
20897 * sysdeps/unix/sysv/linux/default-sched.h: New file.
20898 * nptl/pthread_create.c: Include it.
20899 (__pthread_create_2_1): Use collect_default_sched instead of making
20900 Linux syscalls here directly.
20901
20902 2014-11-20 Torvald Riegel <triegel@redhat.com>
20903
20904 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
20905 __pthread_once): Use C11 atomics.
20906
20907 2014-11-20 Torvald Riegel <triegel@redhat.com>
20908
20909 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
20910
20911 2014-11-20 Torvald Riegel <triegel@redhat.com>
20912
20913 * include/atomic.h (__atomic_link_error, __atomic_check_size,
20914 atomic_thread_fence_acquire, atomic_thread_fence_release,
20915 atomic_thread_fence_seq_cst, atomic_load_relaxed,
20916 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
20917 atomic_compare_exchange_weak_relaxed,
20918 atomic_compare_exchange_weak_acquire,
20919 atomic_compare_exchange_weak_release,
20920 atomic_exchange_acquire, atomic_exchange_release,
20921 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
20922 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
20923 atomic_fetch_and_acquire,
20924 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
20925
20926 2014-11-20 Torvald Riegel <triegel@redhat.com>
20927
20928 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
20929 USE_ATOMIC_COMPILER_BUILTINS): Define.
20930 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
20931 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20932 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
20933 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20934 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
20935 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20936 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
20937 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20938 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
20939 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20940 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
20941 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20942 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
20943 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20944 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
20945 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20946 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20947 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20948 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20949 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20950 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
20951 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20952 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20953 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20954 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
20955 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20956 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20957 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20958 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
20959 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20960 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
20961 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20962 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
20963 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20964 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20965 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20966 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
20967 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20968 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
20969 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20970
20971 2014-11-19 Roland McGrath <roland@hack.frob.com>
20972
20973 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
20974 the sched_priority value here. It was already checked when the user
20975 called pthread_attr_setschedparam.
20976
20977 * nptl/tst-bad-schedattr.c: New file.
20978 * nptl/Makefile (tests): Add it.
20979
20980 2014-11-19 Carlos O'Donell <carlos@redhat.com>
20981 Florian Weimer <fweimer@redhat.com>
20982 Joseph Myers <joseph@codesourcery.com>
20983 Adam Conrad <adconrad@0c3.net>
20984 Andreas Schwab <schwab@suse.de>
20985 Brooks <bmoses@google.com>
20986
20987 [BZ #17625]
20988 * wordexp-test.c (__dso_handle): Add prototype.
20989 (__register_atfork): Likewise.
20990 (__app_register_atfork): New function.
20991 (registered_forks): New global.
20992 (register_fork): New function.
20993 (test_case): Add 3 new tests for WRDE_CMDSUB.
20994 (main): Call __app_register_atfork.
20995 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
20996 fork count is non-zero fail the test.
20997 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
20998 is set.
20999 (parse_dollars): Remove check for WRDE_NOCMD.
21000 (parse_dquote): Likewise.
21001
21002 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21003
21004 * Makeconfig (built-modules): List non-library modules to be
21005 built.
21006 (module-cppflags): Include libc-modules.h for
21007 everything except shlib-versions.v.i.
21008 (CPPFLAGS): Use it.
21009 (before-compile): Add libc-modules.h.
21010 ($(common-objpfx)libc-modules.h,
21011 $(common-objpfx)libc-modules.stmp): New targets.
21012 (common-generated): Add libc-modules.h and libc-modules.stmp.
21013 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
21014 * include/libc-symbols.h: Don't include libc-modules.h.
21015 * include/libc-modules.h: Remove file.
21016 * scripts/gen-libc-modules.awk: New script to generate
21017 libc-modules.h.
21018 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
21019 Depend on libc-modules.stmp.
21020
21021 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
21022
21023 * Makeconfig (in-module): Get value of libof set for the
21024 translation unit.
21025 (CPPFLAGS): Use $(in-module).
21026 * Makerules: Don't suffix routine names for nonlib.
21027 * include/libc-modules.h: New file.
21028 * include/libc-symbols.h: Include libc-modules.h
21029 (IS_IN): New macro to replace IS_IN_* macros.
21030 * elf/Makefile: Set libof-* for each routine.
21031 * elf/rtld-Rules: Likewise.
21032 * extra-modules.mk: Likewise.
21033 * iconv/Makefile: Likewise.
21034 * iconvdata/Makefile: Likewise.
21035 * locale/Makefile: Likewise.
21036 * malloc/Makefile: Likewise.
21037 * nss/Makefile: Likewise.
21038 * sysdeps/gnu/Makefile: Likewise.
21039 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
21040 * sysdeps/unix/sysv/linux/Makefile: Likewise.
21041 * sysdeps/s390/s390-64/Makefile: Likewise.
21042 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
21043 CPPFLAGS for nscd instead of nonlib.
21044
21045 2014-11-18 Roland McGrath <roland@hack.frob.com>
21046
21047 * nptl/createthread.c: New file.
21048
21049 * nptl/createthread.c: Moved ...
21050 * sysdeps/unix/sysv/linux/createthread.c: ... here.
21051
21052 * nptl/createthread.c: Add proper top-line comment.
21053 (do_clone): Folded into ...
21054 (create_thread): ... here. Take new arguments STOPPED_START and
21055 THREAD_RAN. Always set PD->stopped_start to something here. Don't
21056 increment __nptl_threads, do event-reporting logic, do
21057 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
21058 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
21059 resource cleanup if sched_setaffinity or sched_setscheduler fails,
21060 just send SIGCANCEL.
21061 * nptl/pthread_create.c: Forward-declare create_thread before
21062 including createthread.c.
21063 (start_thread): Use new macro START_THREAD_DEFN to replace defining
21064 declaration, and new macro START_THREAD_SELF to replace argument.
21065 Remove return statement.
21066 (report_thread_creation): New function.
21067 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
21068 synchronization logic, and __nptl_nthreads increment here, around
21069 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
21070 PD->parent_cancelhandling here, before create_thread. When
21071 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
21072 __deallocate_stack, and ENOMEM translation here.
21073
21074 2014-11-18 Joseph Myers <joseph@codesourcery.com>
21075
21076 [BZ #17616]
21077 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
21078 (mptwo): Rename to __mptwo.
21079 (__inv): Use __mptwo instead of mptwo.
21080 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
21081 (mptwo): Rename to __mptwo.
21082 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
21083 of mpone and __mptwo instead of mptwo.
21084 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
21085 instead of mpone.
21086 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21087 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
21088 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
21089 of mpone and __mptwo instead of mptwo.
21090 (__mpranred): Use __mpone instead of mpone.
21091 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
21092 variable.
21093 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21094 (test-xfail-ISO99/math.h/linknamespace): Likewise.
21095 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21096 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21097 (test-xfail-ISO11/math.h/linknamespace): Likewise.
21098 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21099 (test-xfail-XPG3/math.h/linknamespace): Likewise.
21100 (test-xfail-XPG4/math.h/linknamespace): Likewise.
21101 (test-xfail-POSIX/math.h/linknamespace): Likewise.
21102 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21103 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21104 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21105 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21106 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21107 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21108 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21109 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21110 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21111 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21112
21113 2014-11-18 Tom de Vries <tom@codesoucery.com>
21114
21115 * manual/signal.texi (Primitives Interrupted by Signals): In section,
21116 replace BSD Handler xref with BSD Signal Handling.
21117
21118 2014-11-17 Richard Henderson <rth@redhat.com>
21119
21120 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
21121 (_FP_PACK_RAW_2): Remove.
21122 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
21123 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
21124 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
21125 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
21126 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
21127 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
21128 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
21129 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
21130 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
21131 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
21132 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
21133 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
21134 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
21135 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
21136 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
21137 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
21138
21139 2014-11-14 Roland McGrath <roland@hack.frob.com>
21140
21141 * signal/signal.h [__USE_MISC]
21142 (struct sigvec): Remove type.
21143 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
21144 (sigvec): Remove declaration.
21145 * sysdeps/posix/sigvec.c: Moved ...
21146 * signal/sigvec.c: ... here, replacing old file.
21147 (struct sigvec): New type, copied from old signal.h definition.
21148 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
21149 (__sigvec): Convert definition to prototype.
21150 (sigvec): Replace weak_alias with compat_symbol.
21151 * signal/Versions (libc: GLIBC_2.21): New version set.
21152 * include/signal.h: Remove __sigvec declaration.
21153 * sysdeps/unix/bsd/sigvec.c: Remove file.
21154 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
21155 * manual/signal.texi (BSD Handler): Remove subsection.
21156 Move siginterrupt up to ...
21157 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
21158 (Blocking in BSD): Fold subsection into its parent.
21159 * NEWS: Mention sigvec removal.
21160
21161 2014-11-14 Joseph Myers <joseph@codesourcery.com>
21162
21163 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
21164 (DLA_FMS): Make definition conditional only on [__FMA4__].
21165 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
21166 definition.
21167
21168 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
21169 Make definition conditional only on [PROF].
21170 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
21171 definition.
21172 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
21173 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
21174
21175 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
21176 !__GNUC__].
21177 * include/signal.h (__sigpause): Move declaration above call to
21178 libc_hidden_proto.
21179 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
21180 variable.
21181 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21182 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21183
21184 2014-11-14 David S. Miller <davem@davemloft.net>
21185
21186 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
21187 Define before including <string/memcpy.c> and <string/mempcpy.c>.
21188
21189 2014-11-14 Joseph Myers <joseph@codesourcery.com>
21190
21191 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
21192 * configure: Regenerated.
21193 * manual/install.texi (Tools for Compilation): Document a
21194 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
21195 compiler verified to work.
21196 * INSTALL: Regenerated.
21197
21198 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
21199 redeclare with asm name.
21200 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
21201 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
21202 including <string.h>.
21203 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21204 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
21205 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21206 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
21207 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21208 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21209 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21210
21211 2014-11-13 Joseph Myers <joseph@codesourcery.com>
21212
21213 * stdlib/strtol.c (__strtol): Use prototype definition.
21214
21215 [BZ #17594]
21216 * stdlib/strtol.c (SYM__): New macro.
21217 (SYM__1): Likewise.
21218 (__strtol): Likewise.
21219 (strtol): Rename to __strtol and define as weak alias of
21220 __strtol. Use libc_hidden_weak.
21221
21222 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
21223
21224 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
21225 Use numbered labels in inline assembly.
21226
21227 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
21228
21229 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
21230 Add setjmp LIBC_PROBE.
21231 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
21232 Likewise.
21233 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
21234 Add longjmp, longjmp_target LIBC_PROBE.
21235 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
21236 Likewise.
21237
21238 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
21239
21240 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21241 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
21242 to get rid of unused variable warning.
21243
21244 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
21245
21246 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
21247 Check for unwind_backtrace == NULL only in SHARED case.
21248 (__backchain_backtrace): Compile only in SHARED case.
21249 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
21250 Likewise.
21251 (__backchain_backtrace): Declare as static.
21252
21253 2014-11-12 Roland McGrath <roland@hack.frob.com>
21254
21255 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
21256 (__libc_multiple_threads_ptr): Variable moved ...
21257 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
21258
21259 2014-11-12 Joseph Myers <joseph@codesourcery.com>
21260
21261 * conform/GlibcConform.pm: New file.
21262 * conform/conformtest.pl: Use GlibcConform module.
21263 * conform/linknamespace.pl: New file.
21264 * conform/list-header-symbols.pl: Likewise.
21265 * conform/Makefile (linknamespace-symlists-base): New variable.
21266 (linknamespace-symlists-tests): Likewise.
21267 (linknamespace-header-base): Likewise.
21268 (linknamespace-header-tests): Likewise.
21269 (tests-special): Add new tests.
21270 ($(linknamespace-symlists-tests)): New rule.
21271 (linknamespace-libs): New variable.
21272 ($(objpfx)symlist-stdlibs): New rule.
21273 ($(linknamespace-header-tests)): Likewise.
21274 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
21275 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
21276 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
21277 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
21278 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
21279 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
21280 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
21281 (test-xfail-ISO/math.h/linknamespace): Likewise.
21282 (test-xfail-ISO/signal.h/linknamespace): Likewise.
21283 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
21284 (test-xfail-ISO/time.h/linknamespace): Likewise.
21285 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21286 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
21287 (test-xfail-ISO99/math.h/linknamespace): Likewise.
21288 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21289 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21290 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21291 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21292 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21293 (test-xfail-ISO11/math.h/linknamespace): Likewise.
21294 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21295 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21296 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21297 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21298 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
21299 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
21300 (test-xfail-XPG3/math.h/linknamespace): Likewise.
21301 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
21302 (test-xfail-XPG3/search.h/linknamespace): Likewise.
21303 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
21304 (test-xfail-XPG3/time.h/linknamespace): Likewise.
21305 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
21306 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21307 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21308 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
21309 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21310 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21311 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
21312 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
21313 (test-xfail-XPG4/math.h/linknamespace): Likewise.
21314 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
21315 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21316 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21317 (test-xfail-XPG4/search.h/linknamespace): Likewise.
21318 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21319 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
21320 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
21321 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
21322 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
21323 (test-xfail-XPG4/time.h/linknamespace): Likewise.
21324 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
21325 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21326 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
21327 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21328 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21329 (test-xfail-POSIX/math.h/linknamespace): Likewise.
21330 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
21331 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
21332 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21333 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21334 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
21335 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21336 (test-xfail-POSIX/time.h/linknamespace): Likewise.
21337 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
21338 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21339 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21340 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21341 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21342 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21343 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21344 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21345 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21346 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21347 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
21348 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21349 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21350 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21351 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
21352 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21353 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21354 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
21355 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21356 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21357 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21358 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21359 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21360 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21361 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
21362 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
21363 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21364 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
21365 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21366 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
21367 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21368 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21369 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21370 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
21371 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21372 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21373 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21374 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
21375 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
21376 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
21377 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21378 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21379 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21380 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21381 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
21382 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
21383 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21384 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21385 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21386 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21387 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21388 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21389 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21390 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21391 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21392 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21393 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
21394 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21395 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21396 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
21397 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21398 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21399 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21400 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21401 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21402 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21403 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21404 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21405 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21406 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21407 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21408 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21409 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21410 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21411 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
21412 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21413 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21414 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21415 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21416 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21417 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
21418 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21419 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21420 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21421 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21422 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21423 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21424 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21425 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21426 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21427 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21428 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21429 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21430 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21431 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
21432 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21433 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21434 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21435
21436 [BZ #17589]
21437 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
21438 of fgets_unlocked.
21439
21440 [BZ #17585]
21441 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
21442 (memmem): Rename to __memmem and define as weak alias of
21443 __memmem. Use libc_hidden_weak.
21444 (__memmem): Use libc_hidden_def.
21445 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
21446 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
21447 memmem.
21448
21449 [BZ #17582]
21450 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
21451 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
21452 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
21453 and define as weak alias of __fgets_unlocked. Use
21454 libc_hidden_weak.
21455 (__fgets_unlocked): Use libc_hidden_def.
21456 * include/stdio.h (__fgets_unlocked): Declare. Use
21457 libc_hidden_proto.
21458 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
21459 __fgets_unlocked instead of fgets_unlocked.
21460 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
21461 (GET_NPROCS_CONF_PARSER): Likewise.
21462 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
21463 (GET_NPROCS_CONF_PARSER): Likewise.
21464
21465 [BZ #17574]
21466 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
21467 weak alias of __wmemset. Use libc_hidden_weak.
21468 (__wmemset): Use libc_hidden_def.
21469 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
21470 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
21471 of wmemset.
21472
21473 [BZ #17573]
21474 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
21475 with asm name __mempcpy.
21476 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
21477
21478 [BZ #17572]
21479 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
21480 and define as weak alias of __rawmemchr.
21481 (__rawmemchr): Do not define as strong alias of rawmemchr.
21482
21483 [BZ #17571]
21484 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
21485 alias of __qsort_r.
21486 (qsort): Call __qsort_r instead of qsort_r.
21487 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
21488 (__qsort_r): Declare. Call libc_hidden_proto.
21489 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
21490 instead of qsort_r.
21491 * nscd/gai.c (__qsort_r): Define to qsort_r.
21492 * posix/tst-rfc3484.c (__qsort_r): Likewise.
21493 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
21494 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
21495
21496 [BZ #17570]
21497 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
21498 define as weak alias of __malloc_info.
21499
21500 [BZ #17584]
21501 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
21502 as weak alias of __rewinddir. Don't use libc_hidden_def.
21503 (__rewinddir): Use libc_hidden_def.
21504 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
21505 as weak alias of __rewinddir. Don't use libc_hidden_def.
21506 (__rewinddir): Use libc_hidden_def.
21507 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
21508 weak alias of __rewinddir. Don't use libc_hidden_def.
21509 (__rewinddir): Use libc_hidden_def.
21510 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
21511 (__rewinddir): Use libc_hidden_proto.
21512 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
21513 rewinddir.
21514 (__getcwd): Use __rewinddir instead of rewinddir.
21515
21516 [BZ #17583]
21517 * libio/fileno.c (fileno): Rename to __fileno and define as weak
21518 alias of __fileno. Use libc_hidden_weak.
21519 (__fileno): Use libc_hidden_def.
21520 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
21521 * libio/ftello.c (ftello): Rename to __ftello and define as weak
21522 alias of __ftello.
21523 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
21524 __ftello.
21525 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
21526 (__fread_unlocked): Define as strong alias of _IO_fread. Use
21527 libc_hidden_def.
21528 (fread_unlocked): Don't use libc_hidden_ver.
21529 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
21530 and define as weak alias of __fread_unlocked. Don't use
21531 libc_hidden_def.
21532 (__fread_unlocked): Use libc_hidden_def.
21533 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
21534 (ftello): Don't use libc_hidden_proto.
21535 (__ftello): Declare. Use libc_hidden_proto.
21536 (fread_unlocked): Don't use libc_hidden_proto.
21537 (__fread_unlocked): Declare. Use libc_hidden_proto.
21538 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
21539 and __ftello instead of fileno, fread_unlocked and ftello.
21540
21541 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21542
21543 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
21544 GOT12.
21545 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21546 Likewise.
21547 (_dl_start_user): Likewise.
21548 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
21549
21550 2014-11-12 Carlos O'Donell <carlos@redhat.com>
21551 Siddhesh Poyarekar <siddhesh@redhat.com>
21552
21553 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
21554 Move argv and envp down instead of moving argc up.
21555 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
21556
21557 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
21558
21559 [BZ #17506]
21560 * test-skeleton.c (main): Return successful if one of
21561 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
21562 * string/tst-strcoll-overflow.c: Define expected status.
21563
21564 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
21565
21566 [BZ #17475]
21567 * locale/iso-639.def: Define Bhili and Tulu language codes.
21568
21569 2014-11-11 Alan Hayward <alan.hayward@arm.com>
21570
21571 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
21572
21573 2014-11-10 Renlin Li <Renlin.Li@arm.com>
21574
21575 [BZ #17555]
21576 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
21577
21578 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
21579
21580 * configure.ac: Updated check of minimal required version to
21581 2.22.
21582 * manual/install.texi (Tools for Compilation): Updated version
21583 number.
21584 * configure: Regenerated.
21585 * INSTALL: Likewise.
21586
21587 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
21588
21589 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
21590 __tls_get_addr.
21591
21592 2014-11-07 Joseph Myers <joseph@codesourcery.com>
21593
21594 * include/sys/wait.h (__libc_waitpid): Remove declaration.
21595 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
21596 (__waitpid): Don't define as alias. Use libc_hidden_def not
21597 libc_hidden_weak.
21598 (waitpid): Define as alias of __waitpid.
21599 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
21600 __waitpid.
21601 (__waitpid): Don't define as alias. Use libc_hidden_def not
21602 libc_hidden_weak.
21603 (waitpid): Define as alias of __waitpid.
21604 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
21605 __libc_waitpid alias.
21606 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
21607 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
21608 Likewise.
21609 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
21610 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
21611 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
21612 alias.
21613 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
21614 __waitpid.
21615 (__waitpid): Don't define as alias. Use libc_hidden_def not
21616 libc_hidden_weak.
21617 (waitpid): Define as alias of __waitpid.
21618
21619 2014-11-06 Carlos O'Donell <carlos@redhat.com>
21620
21621 * manual/llio.texi: Add comment that write safety has been
21622 fixed in Linux.
21623
21624 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
21625 (localplt-build-dso): Add elf/ld.so.
21626 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
21627 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
21628 and free for ld.so.
21629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
21630 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
21631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
21632 Likewise.
21633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21634 Likewise.
21635 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
21636 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
21637 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
21638 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
21639 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21640 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
21641 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
21642 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
21643 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21644 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
21645 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21646
21647 2014-11-05 Joseph Myers <joseph@codesourcery.com>
21648
21649 [BZ #14132]
21650 * include/libc-symbols.h (INTUSE): Remove macro.
21651 (INTDEF): Likewise.
21652 (INTVARDEF): Likewise.
21653 (_INTVARDEF): Likewise.
21654 (INTDEF2): Likewise.
21655 (INTVARDEF2): Likewise.
21656 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
21657 rtld_hidden_def instead of INTVARDEF.
21658 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
21659 (_dl_starting_up_internal): Remove declaration.
21660 (_dl_starting_up): Use rtld_hidden_proto.
21661 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
21662 declaration.
21663 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
21664 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
21665 _dl_starting_up.
21666 * elf/dl-writev.h (_dl_writev): Likewise.
21667 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
21668 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
21669 _dl_starting_up_internal.
21670
21671 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21672
21673 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21674 test-skeleton.c.
21675
21676 2014-11-05 Will Newton <will.newton@linaro.org>
21677
21678 * benchtests/Makefile: (bench-malloc): Add malloc thread
21679 scalability benchmark.
21680 * benchtests/bench-malloc-threads.c: New file.
21681
21682 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
21683
21684 * sysdeps/aarch64/strchrnul.S: New file.
21685
21686 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21687
21688 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
21689 definition.
21690 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21691 Likwise.
21692 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21693 Likewise.
21694 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21695 Likewise.
21696 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21697 Likewise.
21698 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21699 Likewise.
21700
21701 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
21702
21703 * catgets/test-gencat.c: Use test-skeleton.c.
21704 * catgets/tst-catgets.c: Likewise.
21705 * csu/tst-empty.c: Likewise.
21706 * elf/tst-audit2.c: Likewise.
21707 * elf/tst-global1.c: Likewise.
21708 * elf/tst-pathopt.c: Likewise.
21709 * elf/tst-piemod1.c: Likewise.
21710 * elf/tst-tls10.c: Likewise.
21711 * elf/tst-tls11.c: Likewise.
21712 * elf/tst-tls12.c: Likewise.
21713 * gnulib/tst-gcc.c: Likewise.
21714 * iconvdata/tst-e2big.c: Likewise.
21715 * iconvdata/tst-loading.c: Likewise.
21716 * iconv/tst-iconv1.c: Likewise.
21717 * iconv/tst-iconv2.c: Likewise.
21718 * inet/test-inet6_opt.c: Likewise.
21719 * inet/tst-gethnm.c: Likewise.
21720 * inet/tst-network.c: Likewise.
21721 * inet/tst-ntoa.c: Likewise.
21722 * intl/tst-codeset.c: Likewise.
21723 * intl/tst-gettext2.c: Likewise.
21724 * intl/tst-gettext3.c: Likewise.
21725 * intl/tst-ngettext.c: Likewise.
21726 * intl/tst-translit.c: Likewise.
21727 * io/test-stat.c: Likewise.
21728 * libio/test-fmemopen.c: Likewise.
21729 * libio/tst-freopen.c: Likewise.
21730 * libio/tst-sscanf.c: Likewise.
21731 * libio/tst-ungetwc1.c: Likewise.
21732 * libio/tst-ungetwc2.c: Likewise.
21733 * libio/tst-widetext.c: Likewise.
21734 * localedata/tst-ctype.c: Likewise.
21735 * localedata/tst-digits.c: Likewise.
21736 * localedata/tst-leaks.c: Likewise.
21737 * localedata/tst-mbswcs1.c: Likewise.
21738 * localedata/tst-mbswcs2.c: Likewise.
21739 * localedata/tst-mbswcs3.c: Likewise.
21740 * localedata/tst-mbswcs4.c: Likewise.
21741 * localedata/tst-mbswcs5.c: Likewise.
21742 * localedata/tst-setlocale.c: Likewise.
21743 * localedata/tst-trans.c: Likewise.
21744 * localedata/tst-wctype.c: Likewise.
21745 * localedata/tst-xlocale1.c: Likewise.
21746 * login/tst-grantpt.c: Likewise.
21747 * malloc/tst-calloc.c: Likewise.
21748 * malloc/tst-malloc.c: Likewise.
21749 * malloc/tst-mallocstate.c: Likewise.
21750 * malloc/tst-mcheck.c: Likewise.
21751 * malloc/tst-mtrace.c: Likewise.
21752 * malloc/tst-obstack.c: Likewise.
21753 * math/atest-exp2.c: Likewise.
21754 * math/atest-exp.c: Likewise.
21755 * math/atest-sincos.c: Likewise.
21756 * math/test-matherr.c: Likewise.
21757 * math/test-misc.c: Likewise.
21758 * math/test-powl.c: Likewise.
21759 * math/tst-definitions.c: Likewise.
21760 * misc/tst-dirname.c: Likewise.
21761 * misc/tst-efgcvt.c: Likewise.
21762 * misc/tst-fdset.c: Likewise.
21763 * misc/tst-hsearch.c: Likewise.
21764 * misc/tst-mntent2.c: Likewise.
21765 * nptl/tst-sem7.c: Likewise.
21766 * nptl/tst-sem8.c: Likewise.
21767 * nptl/tst-sem9.c: Likewise.
21768 * nss/test-netdb.c: Likewise.
21769 * posix/tst-fnmatch.c: Likewise.
21770 * posix/tst-getlogin.c: Likewise.
21771 * posix/tst-gnuglob.c: Likewise.
21772 * posix/tst-mmap.c: Likewise.
21773 * pwd/tst-getpw.c: Likewise.
21774 * resolv/tst-inet_ntop.c: Likewise.
21775 * rt/tst-timer.c: Likewise.
21776 * stdio-common/test-fseek.c: Likewise.
21777 * stdio-common/test-popen.c: Likewise.
21778 * stdio-common/test-vfprintf.c: Likewise.
21779 * stdio-common/tst-cookie.c: Likewise.
21780 * stdio-common/tst-fileno.c: Likewise.
21781 * stdio-common/tst-gets.c: Likewise.
21782 * stdio-common/tst-obprintf.c: Likewise.
21783 * stdio-common/tst-perror.c: Likewise.
21784 * stdio-common/tst-sprintf2.c: Likewise.
21785 * stdio-common/tst-sprintf3.c: Likewise.
21786 * stdio-common/tst-sprintf.c: Likewise.
21787 * stdio-common/tst-swprintf.c: Likewise.
21788 * stdio-common/tst-tmpnam.c: Likewise.
21789 * stdio-common/tst-unbputc.c: Likewise.
21790 * stdio-common/tst-wc-printf.c: Likewise.
21791 * stdlib/tst-environ.c: Likewise.
21792 * stdlib/tst-fmtmsg.c: Likewise.
21793 * stdlib/tst-limits.c: Likewise.
21794 * stdlib/tst-rand48-2.c: Likewise.
21795 * stdlib/tst-rand48.c: Likewise.
21796 * stdlib/tst-random2.c: Likewise.
21797 * stdlib/tst-random.c: Likewise.
21798 * stdlib/tst-strtol.c: Likewise.
21799 * stdlib/tst-strtoll.c: Likewise.
21800 * stdlib/tst-tls-atexit.c: Likewise.
21801 * stdlib/tst-xpg-basename.c: Likewise.
21802 * string/test-ffs.c: Likewise.
21803 * string/tst-bswap.c: Likewise.
21804 * string/tst-inlcall.c: Likewise.
21805 * string/tst-strtok.c: Likewise.
21806 * string/tst-strxfrm.c: Likewise.
21807 * sysdeps/x86_64/tst-audit10.c: Likewise.
21808 * sysdeps/x86_64/tst-audit3.c: Likewise.
21809 * sysdeps/x86_64/tst-audit4.c: Likewise.
21810 * sysdeps/x86_64/tst-audit5.c: Likewise.
21811 * time/tst-ftime_l.c: Likewise.
21812 * time/tst-getdate.c: Likewise.
21813 * time/tst-mktime3.c: Likewise.
21814 * time/tst-mktime.c: Likewise.
21815 * time/tst-posixtz.c: Likewise.
21816 * time/tst-strptime2.c: Likewise.
21817 * time/tst-strptime3.c: Likewise.
21818 * wcsmbs/tst-btowc.c: Likewise.
21819 * wcsmbs/tst-mbrtowc.c: Likewise.
21820 * wcsmbs/tst-mbsrtowcs.c: Likewise.
21821 * wcsmbs/tst-wchar-h.c: Likewise.
21822 * wcsmbs/tst-wcpncpy.c: Likewise.
21823 * wcsmbs/tst-wcrtomb.c: Likewise.
21824 * wcsmbs/tst-wcsnlen.c: Likewise.
21825 * wcsmbs/tst-wcstof.c: Likewise.
21826
21827 2014-11-04 Joseph Myers <joseph@codesourcery.com>
21828
21829 [BZ #14132]
21830 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
21831 INTDEF.
21832 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
21833 declaration.
21834 (_dl_mcount): Use rtld_hidden_proto.
21835 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
21836 _dl_mcount.
21837 * elf/rtld.c (_rtld_global_ro): Likewise.
21838
21839 [BZ #14132]
21840 * elf/dl-init.c (_dl_init): Don't use INTDEF.
21841 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
21842 of _dl_init_internal.
21843 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
21844 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
21845 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
21846 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21847 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
21848 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
21849 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
21850 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
21851 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
21852 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
21853 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
21854 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
21855 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21856 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21857 * sysdeps/tile/dl-start.S (_start): Likewise.
21858 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
21859 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
21860
21861 [BZ #14132]
21862 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
21863 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
21864 (rtld_progname): Make macro definition unconditional.
21865 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
21866 INTDEF.
21867 (dlmopen_doit): Do not use INTUSE with _dl_argv.
21868 (dl_main): Likewise.
21869 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21870 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
21871 instead of _dl_argv_internal.
21872 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21873 __GI__dl_argv instead of INTUSE(_dl_argv).
21874 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
21875 __GI__dl_argv instead of _dl_argv_internal.
21876
21877 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
21878 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
21879 macro.
21880 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
21881 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
21882 New macro.
21883 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
21884 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
21885 macro.
21886 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
21887 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
21888
21889 2014-11-04 Andreas Schwab <schwab@suse.de>
21890
21891 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
21892
21893 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21894
21895 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
21896 mtvsrd instruction in binary form.
21897
21898 2014-11-03 Andreas Schwab <schwab@suse.de>
21899
21900 [BZ #17522]
21901 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
21902 for less than MB_LEN_MAX use a local buffer of that size.
21903 * libio/tst-fputws.c: New file.
21904 * libio/Makefile (tests): Add tst-fputws.
21905
21906 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
21907
21908 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
21909 the size of the fpu_fr.fpu_dregs[] array.
21910
21911 2014-11-01 Joseph Myers <joseph@codesourcery.com>
21912
21913 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
21914 (__nanosleep): Do not define as alias.
21915 (nanosleep): Define as alias of __nanosleep.
21916 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
21917 __libc_nanosleep name.
21918
21919 2014-10-31 Joseph Myers <joseph@codesourcery.com>
21920
21921 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
21922 install.texi in comment.
21923
21924 2014-10-31 Torvald Riegel <triegel@redhat.com>
21925
21926 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
21927 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
21928 ... add here and use lwsync or sync ...
21929 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
21930 ... and add here using lwsync.
21931
21932 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
21933
21934 * elf/dl-machine-reject-phdr.h: New file.
21935 * elf/dl-load.c: #include that.
21936 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
21937 if that returned true.
21938
21939 2014-10-31 Roland McGrath <roland@hack.frob.com>
21940
21941 [BZ #17496]
21942 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
21943 gen-as-const-headers chunk. Add a big scare comment after the last
21944 safe place to touch before-compile.
21945
21946 2014-10-31 Joseph Myers <joseph@codesourcery.com>
21947
21948 * manual/install.texi (Tools for Compilation): Update autoconf
21949 version requirements.
21950 * INSTALL: Regenerated.
21951
21952 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
21953 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
21954 (__libc_pselect): Likewise.
21955
21956 [BZ #14138]
21957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
21958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21961
21962 2014-10-31 Torvald Riegel <triegel@redhat.com>
21963
21964 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
21965 correct barrier instruction.
21966 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
21967 Likewise.
21968 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
21969 Likewise.
21970
21971 2014-10-30 Roland McGrath <roland@hack.frob.com>
21972
21973 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
21974 after defining inlines. Instead, just use parens to defeat macro
21975 expansion of __isctype in its declaration.
21976
21977 2014-10-30 Joseph Myers <joseph@codesourcery.com>
21978
21979 * include/sys/uio.h (__libc_readv): Remove declaration.
21980 (__libc_writev): Likewise.
21981 * misc/readv.c (__libc_readv): Rename to __readv.
21982 (__readv): Do not define as alias.
21983 (readv): Define as alias of __readv.
21984 * misc/writev.c (__libc_writev): Rename to __writev.
21985 (__writev): Do not define as alias.
21986 (writev): Define as alias of __writev.
21987 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
21988 (__readv): Do not define as alias.
21989 (readv): Define unconditionally as alias of __readv.
21990 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
21991 (__writev): Do not define as alias.
21992 (writev): Define unconditionally as alias of __writev.
21993 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
21994 name.
21995 (writev): Do not define __libc_writev name.
21996
21997 2014-10-30 Roland McGrath <roland@hack.frob.com>
21998
21999 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
22000 (convert_charseq): New function, broken out of ...
22001 (use_from_charmap): ... here. Call it.
22002 (use_to_charmap): Use convert_charseq and free instead of duplicating
22003 its code with a variable-length stack struct.
22004
22005 2014-10-30 Joseph Myers <joseph@codesourcery.com>
22006
22007 * include/fcntl.h (__libc_creat): Remove declaration.
22008 * io/creat.c (__libc_creat): Rename to creat.
22009 (creat): Do not define as alias.
22010 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
22011 of creat instead of __libc_creat.
22012 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
22013 to creat.
22014 (creat): Do not define as alias.
22015 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
22016 __libc_creat.
22017 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
22018 __libc_creat name.
22019 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
22020 Likewise.
22021
22022 2014-10-29 Carlos O'Donell <carlos@redhat.com>
22023
22024 * manual/llio.texi: Add comments discussing why write() may be
22025 considered MT-unsafe on Linux.
22026
22027 2014-10-28 Carlos O'Donell <carlos@redhat.com>
22028
22029 * dl-load.c (local_strdup): Remove.
22030 (expand_dynamic_string_token): Use __strdup.
22031 (decompose_rpath): Likewise.
22032 (_dl_map_object): Likewise.
22033
22034 2014-10-28 Joseph Myers <joseph@codesourcery.com>
22035
22036 [BZ #14132]
22037 * sysdeps/generic/unwind-dw2-fde.c
22038 (__register_frame_info_bases_internal): Do not declare.
22039 (__register_frame_info_table_bases_internal): Likewise.
22040 (__deregister_frame_info_bases_internal): Likewise.
22041 (__register_frame_info_bases): Declare and use hidden_proto before
22042 definition. Use hidden_def instead of INTDEF.
22043 (__register_frame_info_table_bases): Likewise.
22044 (__deregister_frame_info_bases): Likewise.
22045 (__register_frame_info): Do not use INTUSE.
22046 (__register_frame): Likewise.
22047 (__register_frame_info_table): Likewise.
22048 (__register_frame_table): Likewise.
22049 (__deregister_frame_info): Likewise.
22050 (__deregister_frame): Likewise.
22051
22052 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
22053
22054 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22055 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
22056 not undefine.
22057 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
22058 Likewise.
22059 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
22060 Likewise.
22061
22062 2014-10-27 Joseph Myers <joseph@codesourcery.com>
22063
22064 [BZ #14138]
22065 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
22066 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
22067 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
22068 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
22069 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
22070 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
22071 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
22072 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
22073 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
22074 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
22075 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
22076 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
22077 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
22078 syscall.
22079 (setfsuid): Likewise.
22080 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
22081 (setfsuid): Likewise.
22082 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
22083 (setfsuid): Likewise.
22084 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
22085 Likewise.
22086 (setfsuid): Likewise.
22087 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
22088 (setfsuid): Likewise.
22089 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
22090 Likewise.
22091 (setfsuid): Likewise.
22092
22093 2014-10-27 Andreas Schwab <schwab@suse.de>
22094
22095 [BZ #17501]
22096 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
22097 check for Slow_SSE4_2 feature bit.
22098 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
22099 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22100 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
22101 Likewise. Fix check for Fast_Unaligned_Load feature bit.
22102
22103 2014-10-24 Roland McGrath <roland@hack.frob.com>
22104
22105 * configure.ac: Validate compiler version with a empirical test of
22106 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
22107 $CC -v output.
22108 * configure: Regenerated.
22109
22110 * inet/htons.c (htons): Prototypify.
22111 * inet/htonl.c (htonl): Likewise.
22112
22113 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22114
22115 * string/strncat.c (strncat): Improve performance by using strlen.
22116
22117 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22118
22119 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
22120
22121 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22122
22123 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
22124 Call libc_fetestexcept_aarch64.
22125
22126 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22127
22128 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
22129 Call libc_feholdexcept_aarch64.
22130
22131 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22132
22133 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
22134 Call get_rounding_mode.
22135
22136 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22137
22138 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22139 Simplify logic.
22140
22141 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
22142
22143 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
22144 Simplify logic.
22145
22146 2014-10-24 Joseph Myers <joseph@codesourcery.com>
22147
22148 [BZ #14138]
22149 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
22150 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
22151 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
22152 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
22153 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
22154 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
22155 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
22156 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
22157 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
22158 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
22159 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22160 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
22161 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
22162 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
22163 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
22164 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
22165 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
22166 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
22167 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
22168 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
22169 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
22170 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
22171 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
22172 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
22173 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
22174 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
22175 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
22176 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
22177 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
22178 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
22179 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
22180 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
22181 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
22182 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
22183 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
22184 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
22185 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
22186 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
22187 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
22188 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
22189 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
22190 syscall.
22191 (geteuid): Likewise.
22192 (getgid): Likewise.
22193 (getuid): Likewise.
22194 (getresgid): Likewise.
22195 (getresuid): Likewise.
22196 (getgroups): Likewise.
22197 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
22198 (geteuid): Likewise.
22199 (getgid): Likewise.
22200 (getuid): Likewise.
22201 (getresgid): Likewise.
22202 (getresuid): Likewise.
22203 (getgroups): Likewise.
22204 * sysdeps/unix/sysv/linux/m68k/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/s390/s390-32/syscalls.list (getegid):
22212 Likewise.
22213 (geteuid): Likewise.
22214 (getgid): Likewise.
22215 (getuid): Likewise.
22216 (getresgid): Likewise.
22217 (getresuid): Likewise.
22218 (getgroups): Likewise.
22219 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
22220 (geteuid): Likewise.
22221 (getgid): Likewise.
22222 (getuid): Likewise.
22223 (getresgid): Likewise.
22224 (getresuid): Likewise.
22225 (getgroups): Likewise.
22226 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
22227 Likewise.
22228 (geteuid): Likewise.
22229 (getgid): Likewise.
22230 (getuid): Likewise.
22231 (getgroups): Likewise.
22232
22233 [BZ #14138]
22234 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
22235 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
22236 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
22237 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22238 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
22239 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
22240 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
22241 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
22242 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
22243 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
22244 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
22245 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
22246 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
22247 __chown.
22248 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
22249 (lchown): Likewise.
22250 (fchown): Likewise.
22251 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
22252 Likewise.
22253 (lchown): Likewise.
22254 (fchown): Likewise.
22255 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
22256 (lchown): Likewise.
22257 (fchown): Likewise.
22258 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
22259 Likewise.
22260 (lchown): Likewise.
22261 (fchown): Likewise.
22262
22263 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22264
22265 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
22266 Simplify logic.
22267
22268 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22269
22270 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22271 Cleanup logic.
22272
22273 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22274
22275 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22276 Remove unused include.
22277
22278 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22279
22280 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
22281 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
22282 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
22283 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
22284
22285 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
22286 Helge Deller <deller@gmx.de>
22287
22288 [BZ #17508]
22289 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
22290 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
22291 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
22292
22293 2014-10-23 Joseph Myers <joseph@codesourcery.com>
22294
22295 [BZ #14132]
22296 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
22297 Remove macro definition.
22298 (__ashrdi3_v_glibc20): Likewise.
22299 (__lshrdi3_v_glibc20): Likewise.
22300 (__cmpdi2_v_glibc20): Likewise.
22301 (__ucmpdi2_v_glibc20): Likewise.
22302 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
22303 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22304 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22305 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22306 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22307 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
22308
22309 2014-10-22 Roland McGrath <roland@hack.frob.com>
22310
22311 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
22312 old GNU extension [0] syntax.
22313 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
22314 alloca rather than an array member with variable length.
22315 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
22316 * nscd/nscd.c (invalidate_db): New function, broken out of ...
22317 (parse_opt): ... here. Likewise use alloca there.
22318 Validate the -i argument before checking for rootness.
22319 (send_shutdown): New function, broken out of ...
22320 (parse_opt): ... here.
22321
22322 2014-10-22 Roland McGrath <roland@hack.frob.com>
22323
22324 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
22325 macro to get at the _rt_local_ro field.
22326 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
22327 ([PIC] case) or _dl_hwcap ([!PIC] case).
22328 * sysdeps/arm/setjmp.S: Likewise.
22329
22330 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
22331 * sysdeps/arm/configure.ac: New check to define it.
22332 * sysdeps/arm/configure: Regenerated.
22333 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
22334 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
22335 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
22336 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
22337 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
22338 Use move/movt pair instead of a load.
22339 (LDST_GLOBAL): Macro removed.
22340 (LDR_GLOBAL): New macro replaces it.
22341 (LDR_HIDDEN): New macro.
22342 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
22343 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
22344
22345 * setjmp/tst-setjmp-static.c: New file.
22346 * setjmp/Makefile (tests): Add it.
22347 (tests-static): New variable.
22348
22349 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
22350
22351 [BZ #17485]
22352 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
22353
22354 2014-10-21 Joseph Myers <joseph@codesourcery.com>
22355
22356 [BZ #14132]
22357 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
22358
22359 2014-10-21 Roland McGrath <roland@hack.frob.com>
22360
22361 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
22362
22363 2014-10-20 Roland McGrath <roland@hack.frob.com>
22364
22365 * io/fts.c (dirent_not_directory): New function.
22366 (fts_build): Call it.
22367
22368 2014-10-20 Roland McGrath <roland@hack.frob.com>
22369
22370 * nptl/version.c (__nptl_main): Use normal __write rather than
22371 INTERNAL_SYSCALL.
22372 (banner): Update copyright years.
22373
22374 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
22375 gettimeofday.
22376 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22377 * nptl/pthread_cond_timedwait.c: Likewise.
22378 * nptl/pthread_mutex_timedlock.c: Likewise.
22379 * nptl/sem_timedwait.c: Likewise.
22380
22381 * sysdeps/nptl/bits/libc-lock.h
22382 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22383 (__libc_lock_init_recursive): Return void, not 0.
22384 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
22385 (__libc_rwlock_init): Likewise.
22386 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
22387
22388 2014-10-20 Torvald Riegel <triegel@redhat.com>
22389
22390 [BZ #15215]
22391 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
22392 (__pthread_once_slow): ... here.
22393 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
22394 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
22395
22396 2014-10-20 Torvald Riegel <triegel@redhat.com>
22397
22398 [BZ #15215]
22399 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
22400 __PTHREAD_ONCE_FORK_GEN_INCR): New.
22401 * sysdeps/nptl/fork.c (__libc_fork): Use them.
22402 * nptl/pthread_once.c (__pthread_once): Likewise.
22403 Update comments.
22404
22405 2014-10-20 Joseph Myers <joseph@codesourcery.com>
22406
22407 [BZ #14138]
22408 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
22409 name.
22410 (writev): Use __libc_writev as strong name.
22411 * sysdeps/unix/sysv/linux/readv.c: Remove file.
22412 * sysdeps/unix/sysv/linux/writev.c: Likewise.
22413
22414 2014-10-17 Roland McGrath <roland@hack.frob.com>
22415
22416 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
22417
22418 * sysdeps/i386/nptl/tls.h
22419 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
22420 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
22421 New macros.
22422 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
22423 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
22424 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
22425 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
22426 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
22427 Call CHECK_THREAD_SYSINFO instead of doing an assert.
22428
22429 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22430 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
22431 on [__NR_futex].
22432 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
22433 broken out of ...
22434 (__pthread_mutex_init): ... here. Call it.
22435 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
22436 Conditionalize PI cases on [__NR_futex].
22437 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
22438 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
22439 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22440
22441 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
22442 conditional on [SIGSETXID].
22443 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
22444 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
22445 is defined. Likewise for SIGSETXID.
22446 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
22447 Conditionalize definitions on [SIGSETXID].
22448 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
22449 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
22450 unblocking on [SIGCANCEL].
22451
22452 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
22453 [__NR_set_robust_list].
22454
22455 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22456
22457 * string/strcoll_l.c (get_next_seq): Fix up formatting.
22458 (do_compare): Likewise.
22459
22460 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
22461
22462 [BZ #15884]
22463 * string/strcoll_l.c: Don't include stdio.h.
22464 (coll_seq): Remove members idxarr and rulearr.
22465 (get_next_seq_cached): Remove function.
22466 (get_next_seq): Likewise.
22467 (get_next_seq_nocache): Rename to get_next_seq.
22468 (do_compare): Remove function.
22469 (do_compare_nocache): Rename to do_compare.
22470 (STRCOLL): Remove weight and rules cache.
22471
22472 2014-10-16 Roland McGrath <roland@hack.frob.com>
22473
22474 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
22475 * sysdeps/arm/sfp-machine.h: ... to here.
22476 * sysdeps/arm/Implies: Remove arm/soft-fp.
22477
22478 2014-10-14 Joseph Myers <joseph@codesourcery.com>
22479
22480 * conform/data/sys/utsname.h-data (*_t): Allow.
22481 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
22482 [POSIX] (WEXITED): Do not expect constant.
22483 [POSIX] (WSTOPPED): Likewise.
22484 [POSIX] (WNOHANG): Likewise.
22485 [POSIX] (WNOWAIT): Likewise.
22486 [POSIX] (siginfo_t): Do not expect type or elements.
22487 [POSIX] (pid_t): Do not expect type.
22488 [POSIX] (signal.h): Do not allow header.
22489 [POSIX] (sys/resource.h): Likewise.
22490 [POSIX] (si_*): Do not allow pattern.
22491 [POSIX] (W*): Likewise.
22492 [POSIX] (P_*): Likewise.
22493 [POSIX] (BUS_*): Likewise.
22494 [POSIX] (CLD_*): Likewise.
22495 [POSIX] (FPE_*): Likewise.
22496 [POSIX] (ILL_*): Likewise.
22497 [POSIX] (POLL_*): Likewise.
22498 [POSIX] (SEGV_*): Likewise.
22499 [POSIX] (SI_*): Likewise.
22500 [POSIX] (TRAP_*): Likewise.
22501 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
22502 variable.
22503
22504 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
22505
22506 [BZ #12926]
22507 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
22508 infinite loop when __recvmsg returns 0.
22509
22510 2014-10-10 Joseph Myers <joseph@codesourcery.com>
22511
22512 * CANCEL-FCT-WAIVE: Remove file.
22513 * CANCEL-FILE-WAIVE: Likewise.
22514
22515 [BZ #14132]
22516 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
22517 instead of INTVARDEF.
22518 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22519 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
22520 rtld_hidden_data_def instead of INTVARDEF.
22521 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22522 * elf/dl-deps.c (expand_dst): Likewise.
22523 * elf/dl-load.c (_dl_dst_count): Likewise.
22524 (_dl_dst_substitute): Likewise.
22525 (decompose_rpath): Likewise.
22526 (_dl_init_paths): Likewise.
22527 (open_path): Likewise.
22528 (_dl_map_object): Likewise.
22529 * elf/rtld.c (dl_main): Likewise.
22530 (process_dl_audit): Likewise.
22531 (process_envvars): Likewise.
22532 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
22533 Remove declaration.
22534 (__libc_enable_secure): Use rtld_hidden_proto.
22535
22536 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22537
22538 * elf/dl-load.c
22539 (add_path): New function broken out of _dl_rtld_di_serinfo.
22540 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
22541
22542 2014-10-09 Joseph Myers <joseph@codesourcery.com>
22543
22544 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
22545 parentheses around macro arguments.
22546 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
22547 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
22548 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
22549 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
22550 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
22551 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22552 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22553 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
22554 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
22555 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
22556 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
22557 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
22558 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
22559 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
22560 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
22561 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
22562 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
22563 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
22564 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
22565 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
22566 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
22567 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
22568 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
22569 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22570 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22571 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
22572 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
22573 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
22574 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
22575 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
22576 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
22577 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
22578 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
22579 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
22580 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
22581 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
22582 Likewise.
22583 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
22584 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22585 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22586 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
22587 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
22588 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
22589 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
22590 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
22591 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
22592 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
22593 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
22594 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
22595 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
22596 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
22597 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
22598 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22599 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22600 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
22601 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
22602 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
22603 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
22604 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
22605 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
22606 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
22607 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
22608 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
22609 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
22610 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
22611 (_FP_FRAC_SRS_1): Likewise.
22612 (_FP_FRAC_CLZ_1): Likewise.
22613 (_FP_MUL_MEAT_1_imm): Likewise.
22614 (_FP_MUL_MEAT_1_wide): Likewise.
22615 (_FP_MUL_MEAT_1_hard): Likewise.
22616 (_FP_SQRT_MEAT_1): Likewise.
22617 (_FP_FRAC_ASSEMBLE_1): Likewise.
22618 (_FP_FRAC_DISASSEMBLE_1): Likewise.
22619 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
22620 (__FP_CLZ_2): Likewise.
22621 (_FP_MUL_MEAT_2_wide): Likewise.
22622 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22623 (_FP_MUL_MEAT_2_gmp): Likewise.
22624 (_FP_MUL_MEAT_2_120_240_double): Likewise.
22625 (_FP_SQRT_MEAT_2): Likewise.
22626 (_FP_FRAC_ASSEMBLE_2): Likewise.
22627 (_FP_FRAC_DISASSEMBLE_2): Likewise.
22628 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
22629 (_FP_FRAC_CLZ_4): Likewise.
22630 (_FP_MUL_MEAT_4_wide): Likewise.
22631 (_FP_MUL_MEAT_4_gmp): Likewise.
22632 (_FP_SQRT_MEAT_4): Likewise.
22633 (_FP_FRAC_ASSEMBLE_4): Likewise.
22634 (_FP_FRAC_DISASSEMBLE_4): Likewise.
22635 * soft-fp/op-common.h (_FP_CMP): Likewise.
22636 (_FP_CMP_EQ): Likewise.
22637 (_FP_CMP_UNORD): Likewise.
22638 (_FP_TO_INT): Likewise.
22639 (_FP_FROM_INT): Likewise.
22640 [!__FP_CLZ] (__FP_CLZ): Likewise.
22641 (_FP_DIV_HELP_imm): Likewise.
22642 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
22643 Likewise.
22644 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
22645 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
22646 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
22647 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
22648 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
22649 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22650 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22651 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
22652 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
22653 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
22654 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
22655 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
22656 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
22657 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
22658 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
22659 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
22660 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
22661 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
22662 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
22663 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
22664 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
22665 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
22666 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
22667 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22668 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22669 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
22670 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
22671 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
22672 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
22673 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
22674 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
22675 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
22676 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
22677 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
22678 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
22679 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
22680 (FP_UNPACK_RAW_SP): Likewise.
22681 (FP_PACK_RAW_S): Likewise.
22682 (FP_PACK_RAW_SP): Likewise.
22683 (FP_UNPACK_S): Likewise.
22684 (FP_UNPACK_SP): Likewise.
22685 (FP_UNPACK_SEMIRAW_S): Likewise.
22686 (FP_UNPACK_SEMIRAW_SP): Likewise.
22687 (FP_PACK_S): Likewise.
22688 (FP_PACK_SP): Likewise.
22689 (FP_PACK_SEMIRAW_S): Likewise.
22690 (FP_PACK_SEMIRAW_SP): Likewise.
22691 (_FP_SQRT_MEAT_S): Likewise.
22692 (FP_CMP_S): Likewise.
22693 (FP_CMP_EQ_S): Likewise.
22694 (FP_CMP_UNORD_S): Likewise.
22695 (FP_TO_INT_S): Likewise.
22696 (FP_FROM_INT_S): Likewise.
22697
22698 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
22699
22700 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
22701 (FP_EX_INVALID_IMZ): Likewise.
22702 (FP_EX_INVALID_IMZ_FMA): Likewise.
22703 (FP_EX_INVALID_ISI): Likewise.
22704 (FP_EX_INVALID_ZDZ): Likewise.
22705 (FP_EX_INVALID_IDI): Likewise.
22706 (FP_EX_INVALID_SQRT): Likewise.
22707 (FP_EX_INVALID_CVI): Likewise.
22708 (FP_EX_INVALID_VC): Likewise.
22709 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
22710 "invalid" exceptions.
22711 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
22712 (_FP_ADD_INTERNAL): Likewise.
22713 (_FP_MUL): Likewise.
22714 (_FP_FMA): Likewise.
22715 (_FP_DIV): Likewise.
22716 (_FP_CMP_CHECK_NAN): Likewise.
22717 (_FP_SQRT): Likewise.
22718 (_FP_TO_INT): Likewise.
22719 (FP_EXTEND): Likewise.
22720
22721 2014-10-09 Allan McRae <allan@archlinux.org>
22722
22723 * po/fr.po: Update French translation from translation project.
22724
22725 2014-10-09 Joseph Myers <joseph@codesourcery.com>
22726
22727 [BZ #14132]
22728 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
22729 of INTDEF.
22730 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
22731 (__cxa_atexit): Use libc_hidden_proto.
22732 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
22733
22734 [BZ #14132]
22735 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
22736 declaration.
22737 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
22738 [!_ISOMAC] (__iswspace_l_internal): Likewise.
22739 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
22740 [!_ISOMAC] (__iswctype_internal): Likewise.
22741 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
22742 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
22743 alias.
22744 (fcntl): Remove __fcntl_internal alias.
22745 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
22746 __connect_internal alias.
22747 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
22748 Likewise.
22749
22750 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
22751 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
22752 FP_DENORM_ZERO.
22753 (_FP_CHECK_FLUSH_ZERO): New macro.
22754 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
22755 (_FP_CMP): Likewise.
22756 (_FP_CMP_EQ): Likewise.
22757 (_FP_TO_INT): Do not set inexact for subnormal arguments if
22758 FP_DENORM_ZERO.
22759 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
22760 (FP_TRUNC): Likewise.
22761
22762 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
22763 treated as invalid conversion, not as normal exponent.
22764
22765 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
22766 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
22767 (_FP_CMP_EQ): Likewise.
22768 (_FP_CMP_UNORD): Likewise.
22769 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
22770 (FP_CMP_EQ_D): Likewise.
22771 (FP_CMP_UNORD_D): Likewise.
22772 * soft-fp/extended.h (FP_CMP_E): Likewise.
22773 (FP_CMP_EQ_E): Likewise.
22774 (FP_CMP_UNORD_E): Likewise.
22775 * soft-fp/quad.h (FP_CMP_Q): Likewise.
22776 (FP_CMP_EQ_Q): Likewise.
22777 (FP_CMP_UNORD_Q): Likewise.
22778 * soft-fp/single.h (FP_CMP_S): Likewise.
22779 (FP_CMP_EQ_S): Likewise.
22780 (FP_CMP_UNORD_S): Likewise.
22781 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
22782 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
22783 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
22784 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
22785 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
22786 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
22787 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
22788 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
22789 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
22790 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
22791 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
22792 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
22793 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
22794 to FP_CMP_Q.
22795 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
22796 FP_CMP_Q.
22797 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
22798 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
22799 FP_CMP_EQ_Q.
22800 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
22801 FP_CMP_Q.
22802 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
22803 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
22804 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
22805 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
22806 FP_CMP_EQ_Q.
22807 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
22808 FP_CMP_Q.
22809 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
22810 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
22811 FP_CMP_EQ_Q.
22812 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
22813 FP_CMP_Q.
22814 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
22815 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
22816 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
22817 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
22818 FP_CMP_EQ_Q.
22819
22820 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
22821 a subnormal result, set the underflow exception if trapping on
22822 underflow is enabled.
22823 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
22824 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
22825 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
22826 redefine to 0.
22827 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
22828 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22829 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22830 * soft-fp/extendxftf2.c (__extendxftf2): Use
22831 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
22832
22833 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
22834 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
22835 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22836 FP_HANDLE_EXCEPTIONS.
22837 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
22838 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22839 FP_HANDLE_EXCEPTIONS.
22840 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
22841 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22842 FP_HANDLE_EXCEPTIONS.
22843 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
22844 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22845 FP_HANDLE_EXCEPTIONS.
22846
22847 2014-10-08 Joseph Myers <joseph@codesourcery.com>
22848
22849 [BZ #14132]
22850 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
22851 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
22852 use INTUSE.
22853 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
22854 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
22855 Remove alias.
22856 (__adjtimex): Define using libc_hidden_ver.
22857 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
22858 Remove declaration.
22859 (ntp_gettime): Call __adjtimex directly.
22860 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
22861 Remove declaration.
22862 (ntp_gettimex): Call __adjtimex directly.
22863 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
22864 __adjtimex_internal alias.
22865
22866 2014-10-08 Roland McGrath <roland@hack.frob.com>
22867
22868 [BZ #17460]
22869 * nscd/nscd.c (more_help): Rewrite list of tables collection
22870 using xstrdup and asprintf.
22871
22872 * nscd/nscd_conf.c: Remove local xstrdup declaration.
22873
22874 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22875 Roland McGrath <roland@hack.frob.com>
22876
22877 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
22878 (do_lookup_unique): ... local function 'enter' here; update callers.
22879
22880 2014-10-06 Joseph Myers <joseph@codesourcery.com>
22881
22882 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
22883 compat_symbol calls on [SHARED].
22884 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
22885 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
22886 Remove.
22887 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22888 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
22889 (oldsetrlimit): Remove.
22890 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22892 (lchown): New syscall entry.
22893 (oldsetrlimit): Remove.
22894 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22895 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
22896 (oldsetrlimit): Remove.
22897 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22898
22899 [BZ #14138]
22900 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
22901 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
22902 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
22903 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
22904 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22905 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
22906 (fchown): Likewise.
22907 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
22908 (fchown): Likewise.
22909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
22910 Likewise.
22911
22912 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22913
22914 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
22915 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
22916 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
22917 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
22918 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
22919 Likewise.
22920 (__old_sem_post): Likewise.
22921
22922 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
22923
22924 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
22925 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
22926 HAVE_CLOCK_GETTIME_VSYSCALL macros.
22927 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
22928 Use INLINE_VSYSCALL macro.
22929 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
22930 __vdso_clock_gettime.
22931 * sysdeps/unix/sysv/linux/tile/init-first.c
22932 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
22933 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
22934 __vdso_clock_gettime.
22935
22936 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
22937 to set up frame more cleanly.
22938
22939 * sysdeps/tile/memcmp.c: New file.
22940
22941 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
22942
22943 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
22944 * sysdeps/tile/tilegx/strcasestr.c: New file.
22945 * sysdeps/tile/tilegx/strnlen.c: New file.
22946 * sysdeps/tile/tilegx/strstr.c: New file.
22947
22948 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
22949
22950 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
22951
22952 * nptl/tst-setuid3.c: Write errors to stdout.
22953
22954 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22955
22956 * elf/dl-deps.c
22957 (preload): New functions broken out of _dl_map_object_deps.
22958 (_dl_map_object_deps): Remove a nested function. Update call sites.
22959
22960 2014-10-01 Joseph Myers <joseph@codesourcery.com>
22961
22962 [BZ #14138]
22963 * sysdeps/unix/sysv/linux/execve.c: Remove file.
22964 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
22965
22966 2014-10-01 Steve Ellcey <sellcey@mips.com>
22967
22968 * sysdeps/mips/strcmp.S: New.
22969
22970 2014-09-30 Joseph Myers <joseph@codesourcery.com>
22971
22972 [BZ #14138]
22973 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
22974 (linkat): Likewise.
22975 (mkdirat): Likewise.
22976 (readlinkat): Likewise.
22977 (renameat): Likewise.
22978 (symlinkat): Likewise.
22979 (unlinkat): Likewise.
22980 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
22981 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
22982 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
22983 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
22984 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
22985 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
22986 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
22987
22988 2014-09-30 Will Newton <will.newton@linaro.org>
22989
22990 * math/math.h: Define long double math functions if
22991 _LIBC_TEST is defined.
22992 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
22993
22994 * localedata/Makefile: Move assignment to tests-special
22995 into an ifdef testing run-built-tests.
22996 * timezone/Makefile: Likewise.
22997
22998 2014-09-29 Joseph Myers <joseph@codesourcery.com>
22999
23000 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
23001 with $(BASH) not $(SHELL).
23002
23003 2014-09-29 Carlos O'Donell <carlos@redhat.com>
23004 Matthew LeGendre <legendre1@llnl.gov>
23005
23006 [BZ #17411]
23007 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
23008 l_reloc_result.
23009
23010 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
23011
23012 * stdio-common/printf_fp.c
23013 (hack_digit): New function, broken out of ...
23014 (__printf_fp): ... local function here. Update call sites.
23015 hack_digit now takes an additional parameter that is a pointer
23016 to a struct of the referenced locals. Those locals moved inside
23017 the struct and references updated.
23018
23019 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
23020
23021 * aclocal.m4: Require autoconf 2.69.
23022 * configure: Regenerated.
23023 * sysdeps/aarch64/configure: Likewise.
23024 * sysdeps/alpha/configure: Likewise.
23025 * sysdeps/arm/armv7/configure: Likewise.
23026 * sysdeps/arm/configure: Likewise.
23027 * sysdeps/ia64/configure: Likewise.
23028 * sysdeps/mach/configure: Likewise.
23029 * sysdeps/mips/configure: Likewise.
23030 * sysdeps/s390/configure: Likewise.
23031 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
23032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
23033
23034 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
23035 file.
23036 * sysdeps/ia64/configure.ac: Likewise.
23037
23038 2014-09-26 Joseph Myers <joseph@codesourcery.com>
23039
23040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
23041 specify symbol version for ld.so. Do not include entry for
23042 libpthread.
23043 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23044 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23045 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23046
23047 [BZ #14171]
23048 * Makeconfig [$(build-shared) = yes]
23049 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
23050 makefiles.
23051 [$(build-shared) = yes && $(soversions.mk-done) = t]
23052 ($(common-objpfx)gnu/lib-names.h): Remove rule.
23053 [$(build-shared) = yes && $(soversions.mk-done) = t]
23054 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
23055 to Makerules.
23056 [$(build-shared) = yes && $(soversions.mk-done) = t]
23057 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
23058 here.
23059 [$(build-shared) = yes && $(soversions.mk-done) = t]
23060 (common-generated): Don't append gnu/lib-names.h and
23061 gnu/lib-names.stmp here.
23062 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
23063 (lib-names-h-abi): New variable.
23064 [$(build-shared) = yes && $(soversions.mk-done) = t]
23065 (lib-names-stmp-abi): Likewise.
23066 [$(build-shared) = yes && $(soversions.mk-done) = t &&
23067 abi-variants] (before-compile): Append
23068 $(common-objpfx)$(lib-names-h-abi).
23069 [$(build-shared) = yes && $(soversions.mk-done) = t &&
23070 abi-variants] (common-generated): Append gnu/lib-names.h.
23071 [$(build-shared) = yes && $(soversions.mk-done) = t &&
23072 abi-variants] (install-others-nosubdir): Depend on
23073 $(inst_includedir)/$(lib-names-h-abi).
23074 [$(build-shared) = yes && $(soversions.mk-done) = t &&
23075 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
23076 [$(build-shared) = yes && $(soversions.mk-done) = t]
23077 ($(common-objpfx)$(lib-names-h-abi)): New rule.
23078 [$(build-shared) = yes && $(soversions.mk-done) = t]
23079 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
23080 [$(build-shared) = yes && $(soversions.mk-done) = t]
23081 (common-generated): Append $(lib-names-h-abi) and
23082 $(lib-names-stmp-abi).
23083 * scripts/lib-names.awk: Do not handle multi being set.
23084 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
23085 Remove variable.
23086 (abi-lp64_be-ld-soname): Likewise.
23087 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
23088 Likewise.
23089 (abi-hard-ld-soname): Likewise.
23090 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
23091 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
23092 Remove variable.
23093 (abi-o32_hard-ld-soname): Likewise.
23094 (abi-o32_soft_2008-ld-soname): Likewise.
23095 (abi-o32_hard_2008-ld-soname): Likewise.
23096 (abi-n32_soft-ld-soname): Likewise.
23097 (abi-n32_hard-ld-soname): Likewise.
23098 (abi-n32_soft_2008-ld-soname): Likewise.
23099 (abi-n32_hard_2008-ld-soname): Likewise.
23100 (abi-n64_soft-ld-soname): Likewise.
23101 (abi-n64_hard-ld-soname): Likewise.
23102 (abi-n64_soft_2008-ld-soname): Likewise.
23103 (abi-n64_hard_2008-ld-soname): Likewise.
23104 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
23105 Likewise.
23106 (abi-64-v2-ld-soname): Likewise.
23107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
23108 ld.so entries.
23109 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
23110 variable.
23111 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
23112 entry.
23113 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
23114 variable.
23115 (abi-64-ld-soname): Likewise.
23116 (abi-x32-ld-soname): Likewise.
23117 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
23118 entry.
23119 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23120
23121 2014-09-23 Joseph Myers <joseph@codesourcery.com>
23122
23123 [BZ #14138]
23124 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
23125 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
23126 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
23127 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
23128 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
23129 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
23130 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
23131 syscall entry for GLIBC_2.2 symbol version.
23132 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
23133 Likewise.
23134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23135 (setrlimit): Likewise.
23136 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
23137 Likewise.
23138
23139 2014-09-23 Will Newton <will.newton@linaro.org>
23140
23141 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
23142 _LINUX_ARM_SYSDEP_H include guard too.
23143 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
23144 define.
23145
23146 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
23147
23148 * sysdeps/unix/sysv/linux/eventfd.c:
23149 Make first argument unsigned.
23150 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
23151 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
23152
23153 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
23154
23155 * socket/recvmmsg.c (recvmmsg): Drop const argument.
23156 * socket/sys/socket.h: Likewise.
23157 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
23158
23159 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23160
23161 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
23162
23163 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
23164
23165 * time/tst-ftime.c: New test.
23166 * time/Makefile (tests): Add tst-ftime.
23167
23168 2014-09-17 Joseph Myers <joseph@codesourcery.com>
23169
23170 * soft-fp/extended.h: Fix comment formatting.
23171 * soft-fp/op-1.h: Likewise.
23172 * soft-fp/op-2.h: Likewise.
23173 * soft-fp/op-4.h: Likewise.
23174 * soft-fp/op-8.h: Likewise.
23175 * soft-fp/op-common.h: Likewise.
23176 * soft-fp/soft-fp.h: Likewise.
23177
23178 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
23179
23180 2014-09-16 Joseph Myers <joseph@codesourcery.com>
23181
23182 [BZ #6652]
23183 * Makeconfig (soversions-default-setname): Remove variable.
23184 ($(common-objpfx)soversions.i): Don't pass default_setname to
23185 soversions.awk.
23186 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
23187 oldest_abi to abi-versions.awk.
23188 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
23189 * config.make.in (oldest-abi): Remove variable.
23190 * configure.ac (--enable-oldest-abi): Remove configure option.
23191 * configure: Regenerated.
23192 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
23193 text.
23194 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
23195 * scripts/soversions.awk: Do not handle default_setname variable.
23196 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
23197 variable.
23198 * sysdeps/mach/hurd/configure: Regenerated.
23199 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
23200 variable.
23201 * sysdeps/unix/sysv/linux/configure: Regenerated.
23202
23203 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23204
23205 * elf/Makefile (CFLAGS-interp.c): Remove.
23206 ($(elf-objpfx)runtime-linker.h): Generate header with linker
23207 path string.
23208 * elf/interp.c: Include generated runtime-linker.h
23209
23210 * Makerules (lib%.so): Don't include $(+interp) in
23211 prerequisites.
23212 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
23213 * dlfcn/eval.c: Remove file.
23214
23215 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
23216 macros.
23217
23218 [BZ #17266]
23219 * misc/sys/cdefs.h: Define __extern_always_inline for clang
23220 4.2 and newer.
23221
23222 [BZ #17370]
23223 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
23224
23225 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23226 Jakub Jelinek <jakub@redhat.com>
23227
23228 [BZ #17266]
23229 * libio/stdio.h: Check definition of __fortify_function
23230 instead of __extern_always_inline to include bits/stdio2.h.
23231 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
23232 check if __extern_always_inline is defined.
23233 [__USE_MISC || __USE_XOPEN]: Likewise.
23234 [__USE_ISOC99] Likewise.
23235 * misc/sys/cdefs.h (__fortify_function): Define only if
23236 __extern_always_inline is defined.
23237 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
23238 __extern_always_inline and __extern_inline only for g++-4.3
23239 and newer or a compatible gcc.
23240
23241 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
23242
23243 [BZ #17371]
23244 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23245 last change to handle zero prefix length.
23246
23247 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23248
23249 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
23250 _SC_REGEX_VERSION.
23251
23252 * posix/getconf.c (vars): Add _POSIX_IPV6 and
23253 _POSIX_RAW_SOCKETS.
23254
23255 2014-09-13 Allan McRae <allan@archlinux.org>
23256
23257 * po/ru.po: Update Russian translation from translation project.
23258
23259 2014-09-12 Roland McGrath <roland@hack.frob.com>
23260
23261 * locale/programs/locale.c (show_locale_vars): Inline local function
23262 into its sole call site. Clean up some style nits.
23263 (print_item): New function, broken out of ...
23264 (show_info): ... local function here. Clean up style nits.
23265
23266 * locale/programs/ld-ctype.c (set_one_default): New function, broken
23267 out of ...
23268 (set_class_defaults): ... local function set_default here.
23269 Define set_default as a macro locally to pass constant parameters.
23270 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
23271 rather than a shared local.
23272
23273 * stdlib/rpmatch.c (try): New function, broken out of ...
23274 (rpmatch): ... local function here. Also, prototypify definition.
23275
23276 2014-09-12 Joseph Myers <joseph@codesourcery.com>
23277
23278 * scripts/soversions.awk: Do not handle configuration names.
23279 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
23280 vendor and os variables to soversions.awk.
23281 * configure.ac: Do not modify gnu-* host_os.
23282 * configure: Regenerated
23283 * shlib-versions: Remove first column with configuration names.
23284 * nptl/shlib-versions: Likewise.
23285 * nptl_db/shlib-versions: Likewise.
23286 * sysdeps/hppa/shlib-versions: Likewise.
23287 * sysdeps/m68k/shlib-versions: Likewise.
23288 * sysdeps/mach/hurd/shlib-versions: Likewise.
23289 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
23290 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
23291 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
23292 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
23293 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
23294 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
23295 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
23296 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
23297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23298 Likewise.
23299 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23300 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23301 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23302 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23303 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23304 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
23305 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23306 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23307
23308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23309 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
23310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23311 Regenerated.
23312 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
23313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23314 Condition symbol version definitions on [HAVE_ELFV2_ABI].
23315
23316 * shlib-versions: Remove OS-specific entries. Moved to files in
23317 sysdeps.
23318 * sysdeps/mach/hurd/shlib-versions: New file.
23319 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23320
23321 * nptl/shlib-versions: Remove architecture-specific entries.
23322 Moved to files in sysdeps.
23323 * shlib-versions: Likewise.
23324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
23325 file.
23326 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23327 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23328 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23329 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23330
23331 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
23332 (UDP_NO_CHECK6_RX): Likewise.
23333
23334 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23335
23336 * sysdeps/posix/sysconf.c (__sysconf): Spell
23337 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
23338
23339 2014-08-12 Florian Weimer <fweimer@redhat.com>
23340
23341 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
23342 loading.
23343 * iconv/Versions (__gconv_transliterate): Export for use from
23344 gconv modules.
23345 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
23346 (struct __gconv_trans_data, __gconv_trans_fct,
23347 __gconv_trans_context_fct, __gconv_trans_query_fct,
23348 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
23349 definitions.
23350 (struct __gconv_step_data): Remove __trans member.
23351 (__gconv_transliterate): Declaration moved from gconv_int.h. No
23352 longer hidden. Remove unused trans_data argument.
23353 * iconv/gconv_int.h (struct trans_struct): Remove definition.
23354 (__gconv_translit_find): Remove declaration.
23355 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
23356 prototype.
23357 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
23358 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
23359 trans_data argument. Add hidden definition.
23360 (__gconv_translit_find): Remove.
23361 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
23362 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
23363 * iconv/skeleton.c: Remove transliteration initialization.
23364 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
23365 __gconv_step_data initialization.
23366 * libio/iofwide.c (__libio_translit_): Remove.
23367 (_IO_fwide): Adjust struct __gconv_step_data initialization.
23368 * wcsmbs/btowc.c (__btowc): Likewise.
23369 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23370 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23371 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23372 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23373 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
23374 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23375 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23376 * wcsmbs/wctob.c (wctob): Likewise.
23377
23378 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23379
23380 [BZ #16194]
23381 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
23382 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
23383 register usage.
23384 * sysdeps/x86/Makefile: Adjust.
23385
23386 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
23387 Roland McGrath <roland@hack.frob.com>
23388
23389 * locale/weight.h: Add include guard.
23390 (findidx): Make static rather than auto; take new parameters
23391 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
23392 * locale/weightwc.h: Likewise.
23393 * posix/fnmatch_loop.c
23394 (FCT): Change type of EXTRA from int32_t to wint_t.
23395 Don't include either header inside the function.
23396 Call FINDIDX rather than findidx, and pass new arguments.
23397 #undef FINDIDX at the end of the file.
23398 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
23399 FINDIDX before including fnmatch_loop.c for the non-wide version.
23400 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
23401 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
23402 for the wide version.
23403 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
23404 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
23405 Pass new arguments to findidx.
23406 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
23407 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
23408 Don't #include it inside the function. Pass new arguments to findidx.
23409 * posix/regex_internal.h
23410 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
23411 (re_string_elem_size_at): Don't #include it inside the function.
23412 Pass new arguments to findidx.
23413 * string/strcoll_l.c: #include WEIGHT_H at top level.
23414 (get_next_seq): Don't #include it inside the function.
23415 Pass new arguments to findidx.
23416 (get_next_seq_nocache): Likewise.
23417 * string/strxfrm_l.c: #include WEIGHT_H at top level.
23418 (STRXFRM): Don't #include it inside the function.
23419 Pass new arguments to findidx.
23420
23421 2014-09-11 Florian Weimer <fweimer@redhat.com>
23422
23423 [BZ #17344]
23424 * malloc/malloc.c (unlink): Turn asserts into a call to
23425 malloc_printerr.
23426
23427 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
23428
23429 [BZ #17370]
23430 * libio/wfileops (do_ftell_wide): Free OUT.
23431
23432 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
23433
23434 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
23435
23436 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23437
23438 [BZ #17363]
23439 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
23440 group if the current group is empty.
23441
23442 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23443
23444 * benchtests/bench-memset.c (test_main): Add more test from size
23445 from 32 to 512 bytes.
23446 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23447 Add POWER8 memset object.
23448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23449 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
23450 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
23451 implementation.
23452 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
23453 Likewise.
23454 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
23455 multiarch POWER8 memset optimization.
23456 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
23457 POWER8 memset optimization.
23458
23459 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23460 Remove bzero multiarch objects.
23461 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
23462 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
23463 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
23464 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
23465 Remove define.
23466 [__bzero]: Redefine to specific name.
23467 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23468 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23469 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
23470 define.
23471 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23472 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23473
23474 2014-09-10 Florian Weimer <fweimer@redhat.com>
23475
23476 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
23477 warnings into errors.
23478
23479 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
23480 __cxa_thread_atexit_impl prototype.
23481
23482 2014-09-09 Steve Ellcey <sellcey@mips.com>
23483
23484 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
23485 Fix capitalization of error message.
23486
23487 2014-09-09 Steve Ellcey <sellcey@mips.com>
23488
23489 * sysdeps/mips/preconfigure: Modify ABI tests.
23490
23491 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
23492
23493 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
23494
23495 2014-09-07 Roland McGrath <roland@hack.frob.com>
23496 Carlos O'Donell <carlos@systemhalted.org>
23497
23498 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
23499 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
23500 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
23501 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
23502 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
23503 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
23504 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
23505 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
23506 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
23507 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
23508 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
23509 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
23510 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
23511 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
23512 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
23513 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
23514 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
23515 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
23516 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
23517 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
23518 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
23519 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
23520 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
23521 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
23522 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
23523 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
23524 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
23525 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
23526 Deconditionalize the code that was previously under [RESET_PID].
23527 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
23528 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
23529 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
23530 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
23531 include sysdep.h.
23532
23533 2014-09-08 Allan McRae <allan@archlinux.org>
23534
23535 * version.h (RELEASE): Set to "development".
23536 (VERSION): Set to "2.20.90"
23537
23538 2014-09-07 Allan McRae <allan@archlinux.org
23539
23540 * version.h (RELEASE): Set to "stable".
23541 (VERSION): Set to "2.20"
23542 * include/features.h (__GLIBC_MINOR__): Set to 20.
23543
23544 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
23545 Liebler.
23546
23547 * po/ko.po: Update Korean translation from translation project.
23548
23549 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
23550
23551 [BZ #17354]
23552 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
23553 macro for handling signed relocations.
23554
23555 2014-09-03 Florian Weimer <fweimer@redhat.com>
23556
23557 [BZ #17325]
23558 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
23559 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
23560 assert.
23561 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
23562 * iconvdata/ibm935.c (BODY): Likewise.
23563 * iconvdata/ibm937.c (BODY): Likewise.
23564 * iconvdata/ibm939.c (BODY): Likewise.
23565 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
23566 assert.
23567 * iconvdata/Makefile (iconv-test.out): Pass module list to test
23568 script.
23569 * iconvdata/run-iconv-test.sh: New test loop for checking for
23570 decoder crashers.
23571
23572 2014-09-02 Khem Raj <raj.khem@gmail.com>
23573
23574 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
23575 libm_hidden_ver.
23576
23577 2014-09-01 Allan McRae <allan@archlinux.org>
23578
23579 * po/eo.po: Update Esperanto translation from translation project.
23580
23581 * po/ca.po: Update Catalan translation from translation project.
23582
23583 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
23584
23585 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
23586 __proc_dostop call.
23587
23588 2014-08-27 Mark Wielaard <mjw@redhat.com>
23589
23590 [BZ #17319]
23591 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
23592 to call set_thread_area instead of hand written asm.
23593 (__NR_set_thread_area): Removed define.
23594 (TLS_FLAG_WRITABLE): Likewise.
23595 (__ASSUME_SET_THREAD_AREA): Remove check.
23596 (TLS_EBX_ARG): Remove define.
23597 (TLS_LOAD_EBX): Likewise.
23598
23599 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
23600
23601 Simplify atomicity of socket creation in bind.
23602
23603 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
23604 looking up the name after linking the file.
23605
23606 2014-08-27 Allan McRae <allan@archlinux.org>
23607
23608 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23609
23610 2014-08-26 Florian Weimer <fweimer@redhat.com>
23611
23612 [BZ #17187]
23613 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
23614 trans_compare, open_translit, __gconv_translit_find):
23615 Remove module loading code.
23616
23617 2014-08-26 Allan McRae <allan@archlinux.org>
23618
23619 * po/vi.po: Update Vietnamese translation from translation project.
23620
23621 * po/uk.po: Update Ukrainian translation from translation project.
23622
23623 * po/fr.po: Update French translation from translation project.
23624
23625 * po/ru.po: Update Russian translation from translation project.
23626
23627 * po/pl.po: Update Polish translation from translation project.
23628
23629 * po/cs.po: Update Czech translation from translation project.
23630
23631 * po/de.po: Update German translation from translation project.
23632
23633 * po/bg.po: Update Bulgarian translation from translation project.
23634
23635 * po/sv.po: Update Sweedish translation from translation project.
23636
23637 * po/nl.po: Update Dutch translation from translation project.
23638
23639 * po/es.po: Update Spanish translation from translation project.
23640
23641 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23642
23643 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
23644
23645 * catgets/Makefile (CPPFLAGS-gencat): Remove.
23646 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
23647 (CPPFLAGS-iconvconfig): Likewise.
23648 * timezone/Makefile (CPPFLAGS-zic): Likewise.
23649
23650 * include/libc-symbols.h: Remove unnecessary check for
23651 NOT_IN_libc.
23652 * nptl/pthreadP.h: Likewise.
23653 * sysdeps/aarch64/setjmp.S: Likewise.
23654 * sysdeps/alpha/setjmp.S: Likewise.
23655 * sysdeps/arm/sysdep.h: Likewise.
23656 * sysdeps/i386/setjmp.S: Likewise.
23657 * sysdeps/m68k/setjmp.c: Likewise.
23658 * sysdeps/posix/getcwd.c: Likewise.
23659 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23660 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23661 * sysdeps/s390/s390-32/setjmp.S: Likewise.
23662 * sysdeps/s390/s390-64/setjmp.S: Likewise.
23663 * sysdeps/sh/sh3/setjmp.S: Likewise.
23664 * sysdeps/sh/sh4/setjmp.S: Likewise.
23665 * sysdeps/unix/alpha/sysdep.h: Likewise.
23666 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23667 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23668 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23669 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23672 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23673 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23674 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23675 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23676 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23677 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23679 * sysdeps/x86_64/setjmp.S: Likewise.
23680
23681 2014-08-13 Joseph Myers <joseph@codesourcery.com>
23682
23683 [BZ #17263]
23684 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
23685 <stdint.h>.
23686 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
23687 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
23688
23689 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23690
23691 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
23692
23693 [BZ #17262]
23694 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
23695 and __x86_64__ when disabling x87 inline functions.
23696
23697 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
23698
23699 [BZ #17259]
23700 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
23701 asm statement with __cpuid_count.
23702
23703 2014-08-12 Mike Frysinger <vapier@gentoo.org>
23704
23705 * configure.ac: Change __ehdr_start code to dereference the struct.
23706 Run readelf on the output to look for relocations.
23707 * configure: Regenerated.
23708
23709 2014-08-12 Joseph Myers <joseph@codesourcery.com>
23710
23711 [BZ #17261]
23712 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
23713 value to 0.
23714 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
23715
23716 2014-08-12 Roland McGrath <roland@hack.frob.com>
23717
23718 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
23719
23720 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
23721
23722 [BZ #16892]
23723 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
23724 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
23725
23726 2014-08-12 Sean Anderson <seanga2@gmail.com>
23727
23728 * malloc/malloc.c: Fix typo in comment.
23729
23730 2014-08-09 Allan McRae <allan@archlinux.org>
23731
23732 * Regenerate libc.po.
23733
23734 2014-08-08 Mike Frysinger <vapier@gentoo.org>
23735
23736 * intl/tst-gettext2.sh: Check every lang file for creation.
23737
23738 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
23739
23740 * sysdeps/aarch64/fpu/math_private.h
23741 (libc_feholdsetround_noex_aarch64_ctx): New function.
23742
23743 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
23744
23745 * sysdeps/arm/armv6/strcpy.S (strcpy):
23746 Fix performance issue in misaligned cases.
23747
23748 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23749
23750 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
23751 Move definition from termios.h.
23752 (struct termio): Likewise.
23753 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23754 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23755 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23756 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23757 Likewise.
23758 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
23759 Move definition to ioctl-types.h
23760 (struct termio): Likewise.
23761 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23762 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23763 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23764 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23765 Likewise.
23766
23767 2014-08-05 Richard Henderson <rth@redhat.com>
23768
23769 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
23770 exceptions.
23771 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
23772 Add fraiseexcpt.
23773 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
23774 Use __feraiseexcept.
23775 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
23776 Protect libm symbols with IS_IN_libm.
23777
23778 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
23779
23780 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
23781
23782 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
23783
23784 2014-08-04 Will Newton <will.newton@linaro.org>
23785
23786 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
23787 file.
23788
23789 2014-08-04 Mike Frysinger <vapier@gentoo.org>
23790
23791 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
23792 variants for each function.
23793
23794 2014-08-04 Roland McGrath <roland@hack.frob.com>
23795
23796 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
23797 appended ...
23798 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
23799 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
23800 appended ...
23801 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
23802 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
23803 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
23804 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
23805 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23806 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
23807 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
23808 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
23809 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
23810 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
23811 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
23812 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
23813 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
23814 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
23815 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23816 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
23817 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
23818 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
23819 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
23820 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
23821 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
23822 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
23823 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
23824 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
23825 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
23826 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
23827 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
23828 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
23829 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
23830 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
23831 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
23832 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
23833 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
23834 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
23835 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
23836 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
23837 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
23838 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
23839 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
23840 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
23841 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
23842 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
23843 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
23844 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
23845 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
23846 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
23847 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
23848 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
23849 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
23850 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
23851 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
23852 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
23853 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
23854 Update #include.
23855 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
23856 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
23857
23858 2014-08-04 Roland McGrath <roland@hack.frob.com>
23859
23860 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
23861 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
23862 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
23863 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
23864 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
23865 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
23866
23867 2014-08-04 Roland McGrath <roland@hack.frob.com>
23868
23869 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
23870 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
23871 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23872 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
23873
23874 2014-08-04 Roland McGrath <roland@hack.frob.com>
23875
23876 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
23877 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
23878 (__libc_vfork): Define function under this name.
23879 (__vfork): Define as an alias.
23880 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
23881 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
23882
23883 2014-08-04 Roland McGrath <roland@hack.frob.com>
23884
23885 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
23886 that was previously under [RESET_PID].
23887 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
23888
23889 2014-08-04 Andreas Schwab <schwab@suse.de>
23890
23891 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
23892
23893 2014-08-03 Mike Frysinger <vapier@gentoo.org>
23894
23895 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
23896 (main): Likewise.
23897
23898 2014-08-01 Roland McGrath <roland@hack.frob.com>
23899
23900 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
23901
23902 2014-08-01 Richard Henderon <rth@redhat.com>
23903
23904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
23905 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
23906 typo in exact zero test.
23907 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23908 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23909 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23910
23911 2014-08-01 Roland McGrath <roland@hack.frob.com>
23912
23913 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
23914 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
23915 * sysdeps/arm/sysdep.h: ... here.
23916 [!__ASSEMBLER__]: Include <stdint.h>.
23917
23918 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23919
23920 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
23921 (HAVE_WCTYPE_H): Likewise.
23922 (HAVE_ISWCTYPE): Likewise.
23923 (ENABLE_NLS): Likewise.
23924 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
23925 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
23926
23927 * posix/regex_internal.c: Check if DEBUG is defined and is
23928 set.
23929
23930 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
23931 (HAVE_MBSRTOWCS): Likewise.
23932 * posix/fnmatch.c: Include string.h unconditionally.
23933
23934 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
23935
23936 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
23937 reversal.
23938
23939 2014-07-31 Roland McGrath <roland@hack.frob.com>
23940
23941 * sysdeps/generic/safe-fatal.h: New file.
23942 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
23943 * nptl/forward.c: Include it.
23944 (__pthread_unwind): Use __safe_fatal as default action, rather
23945 than a bogus use of INTERNAL_SYSCALL that could never work.
23946
23947 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
23948 * configure.ac (libc_cv_builtin_trap): New test.
23949 * configure: Regenerated.
23950 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
23951 (ABORT_INSTRUCTION): Define using __builtin_trap.
23952
23953 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
23954 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
23955 * sysdeps/nptl/nptl-signals.h: New file.
23956 * nptl/pthreadP.h: Include <nptl-signals.h>.
23957
23958 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23959
23960 * sysdeps/s390/s390-64/utf16-utf32-z9.c
23961 (ONE_DIRECTION): Define.
23962 * sysdeps/s390/s390-64/utf8-utf16-z9.c
23963 (ONE_DIRECTION): Define.
23964 * sysdeps/s390/s390-64/utf8-utf32-z9.c
23965 (ONE_DIRECTION): Define.
23966
23967 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23968
23969 * sysdeps/s390/Makefile: Delete file.
23970 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
23971 * sysdeps/s390/__longjmp.c: Delete file.
23972 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
23973 Remove fields __flags and __reserved.
23974 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
23975 and add versioning.
23976 * sysdeps/s390/rtld-__longjmp.c: Delete file.
23977 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
23978 * sysdeps/s390/rtld-setjmp.S: Likewise.
23979 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
23980 * sysdeps/s390/s390-32/__longjmp.c: ... here.
23981 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
23982 * sysdeps/s390/s390-32/setjmp.S: ... here.
23983 Add versioning.
23984 (__sigsetjmp): Remove setting __flags field.
23985 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
23986 * sysdeps/s390/s390-64/__longjmp.c: ... here.
23987 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
23988 * sysdeps/s390/s390-64/setjmp.S: ... here.
23989 Add versioning.
23990 (__sigsetjmp): Remove setting __flags field.
23991 * sysdeps/s390/setjmp.S: Delete file.
23992 * sysdeps/s390/sigjmp.c: Likewise.
23993 * sysdeps/s390/v1-longjmp.c: Likewise.
23994 * sysdeps/s390/v1-setjmp.h: Likewise.
23995 * sysdeps/s390/v1-sigjmp.c: Likewise.
23996 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
23997 Remove v1-longjmp_chk.
23998 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
23999 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
24000 Include debug/longjmp_chk.c and add versioning.
24001 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
24002 Include nptl/pt-longjmp.c and add versioning.
24003 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
24004 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
24005 Include __longjmp.c.
24006 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24007 Move to ...
24008 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
24009 (__getcontext): Remove setting __flags field.
24010 Add versioning.
24011 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24012 Don't restore upper high grps.
24013 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
24014 Likewise.
24015 (__swapcontext): Remove setting uc_flags field.
24016 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
24017 Delete file.
24018 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24019 Include __longjmp.c.
24020 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24021 Move to ...
24022 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
24023 (__getcontext): Remove setting __flags field.
24024 Add versioning.
24025 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
24026 (__swapcontext): Remove setting uc_flags field.
24027 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
24028 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
24029 Remove fields uc_high_gprs and __reserved.
24030 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
24031 New file with reverted content.
24032 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
24033 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
24034 Regenerated.
24035 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
24036 Regenerated.
24037
24038 2014-07-31 Andreas Schwab <schwab@suse.de>
24039
24040 * config.h.in (HAVE_IFUNC): Define to 0.
24041 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
24042 definedness.
24043
24044 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
24045
24046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24047 memmove-avx-unaligned, memcpy-avx-unaligned and
24048 mempcpy-avx-unaligned.
24049 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24050 Add tests for AVX memcpy functions.
24051 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
24052 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
24053 memcpy_chk.
24054 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
24055 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
24056 memmove_chk.
24057 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
24058 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
24059 mempcpy_chk.
24060 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
24061 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
24062 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
24063
24064 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24065
24066 [BZ #17213]
24067 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
24068 powerpc64le.
24069
24070 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
24071
24072 [BZ #16839]
24073 * manual/llio.texi: Add section about open file description locks.
24074 * manual/examples/ofdlocks.c: Example of open file description
24075 lock usage.
24076 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
24077 F_OFD_SETLK, and F_OFD_SETLKW.
24078
24079 2014-07-23 Allan McRae <allan@archlinux.org>
24080
24081 * po/es.po: Update Spanish translation from translation project.
24082
24083 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
24084
24085 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
24086
24087 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
24088
24089 [BZ #17078]
24090 * sysdeps/arm/dl-machine.h (elf_machine_rela)
24091 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
24092 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
24093
24094 2014-07-17 Joseph Myers <joseph@codesourcery.com>
24095
24096 [BZ #17088]
24097 * math/fesetenv.c (__fesetenv)
24098 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
24099 * math/feupdateenv.c (__feupdateenv)
24100 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
24101
24102 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
24103 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
24104 (__ASSUME_SOCKETCALL): Do not define.
24105
24106 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
24107 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
24108 (__ASSUME_SOCKETCALL): Do not define.
24109 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
24110 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24111 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24112 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24113 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24114 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
24115 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24116 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24117
24118 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
24119 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
24120 (__ASSUME_SOCKETCALL): Do not define.
24121 (__ASSUME_IPC64): Define unconditionally.
24122 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24123 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24124 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24125 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24126 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
24127 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24128 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
24129 Likewise.
24130
24131 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
24132 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
24133 (__ASSUME_SOCKETCALL): Do not define.
24134 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
24135 (__ASSUME_FUTEX_LOCK_PI): Likewise.
24136 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24137 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24138 (__ASSUME_REQUEUE_PI): Define unconditionally.
24139 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
24140 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
24141 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24142 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
24143 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24144 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24145
24146 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
24147 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
24148 (__ASSUME_SOCKETCALL): Do not define.
24149 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
24150 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24151 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24152 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
24153 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24154 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24155
24156 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
24157 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
24158 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24159 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
24160 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24161 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
24162 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24163 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
24164 (__ASSUME_GETCPU_SYSCALL): Likewise.
24165
24166 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
24167 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
24168 cases for individual architectures.
24169 * sysdeps/gnu/configure: Regenerated.
24170 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
24171 LIBC_SLIBDIR_RTLDDIR.
24172 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
24173 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
24174 LIBC_SLIBDIR_RTLDDIR.
24175 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
24176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
24177 LIBC_SLIBDIR_RTLDDIR.
24178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24179 Regenerated.
24180 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
24181 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
24182 file.
24183 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
24184 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
24185 file.
24186 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
24187 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
24188 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
24189 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
24190
24191 * sysdeps/aarch64/shlib-versions: Move to ...
24192 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
24193 * sysdeps/alpha/shlib-versions: Move to ...
24194 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
24195 * sysdeps/arm/shlib-versions: Move to ...
24196 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
24197 * sysdeps/hppa/shlib-versions: Move all contents except for
24198 libgcc_s entry to ...
24199 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
24200 entry from ...
24201 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
24202 * sysdeps/ia64/shlib-versions: Move to ...
24203 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
24204 entry from ...
24205 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
24206 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
24207 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
24208 * sysdeps/microblaze/shlib-versions: Move to ...
24209 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
24210 * sysdeps/mips/shlib-versions: Move to ...
24211 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
24212 entry from ...
24213 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
24214 * sysdeps/tile/shlib-versions: Move to ...
24215 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
24216 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
24217 from ...
24218 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
24219 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
24220 entry from ...
24221 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
24222
24223 2014-07-17 Will Newton <will.newton@linaro.org>
24224
24225 * sysdeps/arm/bits/atomic.h
24226 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
24227 (__arch_compare_and_exchange_bool_16_int): Likewise.
24228 (__arch_compare_and_exchange_bool_64_int): Likewise.
24229
24230 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
24231 into an #else block.
24232
24233 2014-07-16 Roland McGrath <roland@hack.frob.com>
24234
24235 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
24236 just Linux configurations. Test empirically that the compiler sets
24237 __ARM_EABI__, rather than using the tuple to decide.
24238 * sysdeps/arm/preconfigure: Regenerated.
24239 * sysdeps/unix/sysv/linux/arm/configure: File removed.
24240 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
24241 contents appended ...
24242 * sysdeps/arm/configure.ac: ... here.
24243 * sysdeps/arm/configure: Regenerated.
24244
24245 2014-07-15 Roland McGrath <roland@hack.frob.com>
24246
24247 * nptl/pthread_kill.c: New file.
24248 * nptl/pthread_sigmask.c: New file.
24249 * nptl/pthread_sigqueue.c: New file.
24250
24251 * sysdeps/nptl/lowlevellock.h: New file.
24252 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
24253 * sysdeps/nptl/lowlevellock-futex.h: New file.
24254
24255 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
24256 Remove dead declarations.
24257
24258 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
24259
24260 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
24261 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
24262 config-cflags-avx2.
24263 * sysdeps/x86_64/configure.ac: Likewise.
24264 * sysdeps/i386/configure: Regenerated.
24265 * sysdeps/x86_64/configure: Likewise.
24266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24267 memset-avx2 only if config-cflags-avx2 is yes.
24268 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24269 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
24270 defined.
24271 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
24272 only if HAVE_AVX2_SUPPORT is defined.
24273 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24274
24275 2014-07-14 Alan Modra <amodra@gmail.com>
24276
24277 [BZ #17153]
24278 * elf/elf.h (DT_PPC64_NUM): Correct value.
24279 * NEWS: Add to fixed bug list.
24280
24281 2014-07-13 Jim Meyering <meyering@fb.com>
24282
24283 [BZ 17150]
24284 regex: don't deref NULL upon heap allocation failure
24285 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
24286 failure in one more place.
24287 To trigger the segfault, configure grep -with-included-regex,
24288 build it, and run these commands:
24289 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
24290
24291 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
24292
24293 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24294
24295 2014-07-11 Richard Henderson <rth@redhat.com>
24296
24297 * sysdeps/aarch64/libm-test-ulps: Update.
24298
24299 2014-07-10 Florian Weimer <fweimer@redhat.com>
24300
24301 [BZ #17135]
24302 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
24303 * nptl/allocatestack.c (__nptl_setxid_error): New function.
24304 (__nptl_setxid): Initialize error member. Call
24305 __nptl_setxid_error.
24306 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
24307 * nptl/descr.h (struct xid_command): Add error member.
24308 * nptl/tst-setuid3.c: New file.
24309 * nptl/Makefile (tests): Add it.
24310
24311 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24312
24313 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
24314 New define.
24315 (__lll_trylock): Use __lll_base_trylock.
24316 (__lll_cond_trylock): Likewise.
24317
24318 2014-07-10 Roland McGrath <roland@hack.frob.com>
24319
24320 * nptl/pthread_create.c (start_thread): Use atomic_or and
24321 lll_futex_wake directly rather than lll_robust_dead.
24322 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24323 (lll_robust_dead): Macro removed.
24324 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
24325 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24326 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24327 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24328 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24329 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24330 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24331 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24332 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24333 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24334 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24335 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24336 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24337 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24338 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24339
24340 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24341 Use atomic_compare_and_exchange_val_acq directly rather than
24342 lll_robust_trylock.
24343 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24344 (__lll_robust_trylock, lll_robust_trylock): Removed.
24345 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24346 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24347 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24348 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24349 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24350 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24351 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24352 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24353 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24354 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24355 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24356 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24357 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24358 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24359
24360 2014-07-02 Florian Weimer <fweimer@redhat.com>
24361
24362 * manual/locale.texi (Locale Names): New section documenting
24363 locale name syntax. Adjust menu and node chaining accordingly.
24364 (Choosing Locale): Reference Locale Names, Locale Categories.
24365 Mention setting LC_ALL=C. Reflect that name syntax is now
24366 documented.
24367 (Locale Categories): New section title. Reference Locale Names.
24368 LC_ALL is an environment variable, but not a category.
24369 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
24370 description, now in Locale Name. Reference that section. Locale
24371 name syntax is now documented.
24372
24373 2014-07-02 Florian Weimer <fweimer@redhat.com>
24374
24375 [BZ #17137]
24376 * locale/findlocale.c (name_present, valid_locale_name): New
24377 functions.
24378 (_nl_find_locale): Use the loc_name variable to store name
24379 candidates. Call name_present and valid_locale_name to check and
24380 validate locale names. Return an error if the locale is invalid.
24381
24382 2014-07-02 Florian Weimer <fweimer@redhat.com>
24383
24384 * locale/setlocale.c (setlocale): Use strdup for allocating
24385 composite name copy.
24386
24387 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24388
24389 Sync up with gnulib.
24390 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
24391 [!_LIBC && ENABLE_NLS]: Include gettext.h.
24392 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
24393 and _GL_ARG_NONNULL.
24394 [USE_UNLOCKED_IO]: Include unlocked-io.h.
24395 [!_LIBC]: Include code for Windows and Cygwin.
24396 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
24397 Include prototype for int strerror_r.
24398 [!_LIBC] (is_open): New function.
24399 (flush_stdout): New function.
24400 (print_errno_message): Use it.
24401 (error): Likewise.
24402 (error_at_line): Likewise.
24403 (error_tail) Add function attribute macros. Use
24404 __builtin_expect.
24405
24406 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
24407
24408 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
24409
24410 * io/ftw.c: Include sys/param.h unconditionally.
24411
24412 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
24413
24414 [BZ #17125]
24415 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
24416 libc_freeres_ptr.
24417 (freecache): New function to free CACHE on exit.
24418
24419 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
24420 initialization.
24421
24422 2014-07-09 David S. Miller <davem@davemloft.net>
24423
24424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24425
24426 * sysdeps/sparc/nptl/internaltypes.h: Delete.
24427 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
24428 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
24429 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
24430 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
24431 * sysdeps/sparc/nptl/sem_init.c: Likewise.
24432 * sysdeps/sparc/nptl/sem_post.c: Likewise.
24433 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
24434 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
24435 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
24436 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
24437 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
24438 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
24439
24440 2014-07-09 Andreas Schwab <schwab@suse.de>
24441
24442 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
24443 output.
24444 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
24445 (do_test): Likewise.
24446
24447 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24448
24449 2014-07-09 Will Newton <will.newton@linaro.org>
24450
24451 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
24452 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
24453 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
24454 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
24455 * sysdeps/hppa/start.S (_start): Likewise.
24456
24457 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24458
24459 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
24460
24461 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
24462 defined.
24463
24464 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24465
24466 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
24467 after checking that it is non-NULL.
24468
24469 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
24470
24471 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24472
24473 * sysdeps/powerpc/memmove.c: Remove file.
24474 * sysdeps/powerpc/powerpc32/power4/memcopy.h
24475 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
24476 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24477 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
24478 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
24479 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
24480 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
24481 string memmove instead of removed powerpc one.
24482
24483 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24484 [weak_alias]: Fix compiler warning due trailing data.
24485 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
24486 [weak_alias]: Likewise.
24487 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
24488 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
24489
24490 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24491 (__libc_ifunc_impl_list): Add memmove functions.
24492
24493 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24494
24495 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
24496 Remove code.
24497 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
24498 Likewise.
24499 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
24500 Likewise.
24501 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
24502 Likewise.
24503 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
24504 Likewise.
24505 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
24506 Likewise.
24507 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
24508 Likewise.
24509 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
24510 Likewise.
24511 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
24512 Likewise.
24513 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
24514 Likewise.
24515 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
24516 Likewise.
24517 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
24518 Likewise.
24519 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
24520 Likewise.
24521 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
24522 Likewise.
24523 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
24524 Likewise.
24525 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
24526 Likewise.
24527 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
24528 Likewise.
24529
24530 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24531
24532 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
24533 to avoid alignment traps in non-cacheable memory.
24534 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24535
24536 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
24537 multiarch objects.
24538 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
24539 file: multiarch power7 memmove.
24540 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
24541 multiarch default memmove.
24542 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
24543 multiarch memove for powerpc32/power4.
24544
24545 * string/bcopy.c: Use full path to include memmove.c.
24546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
24547 multiarch objects.
24548 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
24549 bcopy for powerpc64.
24550 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
24551 bcopy for powerpc64.
24552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
24553 and memmove implementations.
24554 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
24555 optimized multiarch memmove for POWER7/powerpc64.
24556 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
24557 default multiarch memmove for powerpc64.
24558 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
24559 multiarch for powerpc64.
24560 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
24561 for POWER7/powerpc64.
24562 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
24563 memmove for POWER7/powerpc64.
24564
24565 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
24566 glibc default one.
24567
24568 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
24569 __ELF_NATIVE_CLASS equal to 64.
24570
24571 2014-07-07 Roland McGrath <roland@hack.frob.com>
24572
24573 * sysdeps/nptl/lowlevellock.h: File removed.
24574
24575 * NEWS: NPTL is no longer an add-on!
24576 * nptl/internaltypes.h: Moved ...
24577 * sysdeps/nptl/internaltypes.h: ... here.
24578 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
24579 * sysdeps/nptl/fork.c: Likewise.
24580 * sysdeps/nptl/gai_misc.h: Likewise.
24581 * sysdeps/nptl/librt-cancellation.c: Likewise.
24582 * sysdeps/nptl/jmp-unwind.c: Likewise.
24583 * sysdeps/nptl/setxid.h: Likewise.
24584 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
24585 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
24586 * sysdeps/unix/sysv/linux/arm/Implies: New file.
24587 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
24588 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
24589 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
24590 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
24591 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
24592 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
24593 * sysdeps/unix/sysv/linux/mips/Implies: New file.
24594 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
24595 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
24596 * sysdeps/unix/sysv/linux/sh/Implies: New file.
24597 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
24598 * sysdeps/unix/sysv/linux/tile/Implies: New file.
24599 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
24600 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
24601 * nptl/Makeconfig: Moved ...
24602 * sysdeps/nptl/Makeconfig: ... here.
24603 * nptl/configure: File removed.
24604 * nptl/ANNOUNCE: File removed.
24605 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
24606 * sysdeps/unix/sysv/linux/configure: Regenerated.
24607
24608 * nptl/Makefile (routines): Add libc_pthread_init,
24609 libc_multiple_threads, register-atfork and unregister-atfork.
24610 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
24611 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
24612 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
24613 pthread-pi-defines.sym, structsem.sym.
24614 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
24615 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
24616 [$(subdir) = nptl] (tests): Add tst-setgetname.
24617 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
24618 * sysdeps/unix/sysv/linux/sigaction.c: Just include
24619 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
24620 [!LIBC_SIGACTION]: Remove aliases.
24621 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24622 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24623 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24624 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
24625 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24626 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
24627 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24628 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24629 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24630 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
24631 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
24632 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
24633 __libc_allocate_rtsig_private.
24634 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
24635 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
24636 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24637 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24638 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
24639 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
24640 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
24641 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
24642 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
24643 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
24644 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
24645 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
24646 * nptl/internaltypes.h: ... here.
24647 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
24648 * sysdeps/nptl/jmp-unwind.c: ... here.
24649 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
24650 * nptl/libc-lowlevellock.c: ... here.
24651 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
24652 * nptl/libc_multiple_threads.c: ... here.
24653 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
24654 * nptl/libc_pthread_init.c: ... here.
24655 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
24656 * nptl/lowlevelbarrier.sym: ... here.
24657 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
24658 * nptl/lowlevelcond.sym: ... here.
24659 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
24660 * nptl/lowlevellock.c: ... here.
24661 * nptl/lowlevellock.h: Moved ...
24662 * sysdeps/nptl/lowlevellock.h: ... here.
24663 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
24664 * nptl/lowlevelrobustlock.c: ... here.
24665 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
24666 * nptl/lowlevelrobustlock.sym: ... here.
24667 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
24668 * nptl/lowlevelrwlock.sym: ... here.
24669 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
24670 * nptl/pt-fork.c: ... here.
24671 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
24672 * nptl/pthread-pi-defines.sym: ... here.
24673 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
24674 * nptl/pthread_attr_getaffinity.c: ... here.
24675 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
24676 * nptl/pthread_attr_setaffinity.c: ... here.
24677 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
24678 * nptl/pthread_mutex_cond_lock.c: ... here.
24679 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
24680 Update #include.
24681 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
24682 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
24683 * nptl/pthread_once.c: ... here, replacing old file.
24684 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
24685 * nptl/pthread_yield.c: ... here.
24686 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
24687 * nptl/register-atfork.c: ... here.
24688 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
24689 * nptl/sem_post.c: ... here.
24690 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
24691 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
24692 * nptl/sem_timedwait.c: ... here.
24693 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
24694 * nptl/sem_trywait.c: ... here.
24695 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
24696 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
24697 * nptl/sem_wait.c: ... here.
24698 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
24699 * nptl/structsem.sym: ... here.
24700 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
24701 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
24702 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
24703 * nptl/unregister-atfork.c: ... here.
24704 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
24705 * nptl/unwindbuf.sym: ... here.
24706 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
24707 * sysdeps/nptl/fork.c: ... here.
24708 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
24709 * sysdeps/nptl/fork.h: ... here.
24710 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
24711 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
24712 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
24713 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
24714 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
24715 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
24716 * sysdeps/unix/sysv/linux/getpid.c: ... here.
24717 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
24718 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
24719 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
24720 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
24721 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
24722 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
24723 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
24724 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
24725 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
24726 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
24727 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
24728 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
24729 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
24730 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
24731 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
24732 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
24733 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
24734 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
24735 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
24736 * sysdeps/unix/sysv/linux/raise.c: ... here.
24737 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
24738 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
24739 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
24740 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
24741 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
24742 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
24743 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
24744 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
24745 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
24746 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
24747 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
24748 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
24749 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
24750 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
24751 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
24752
24753 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24754
24755 * sysdeps/generic/memcopy.h: Add comment for
24756 MEMCPY_OK_FOR_FWD_MEMMOVE.
24757
24758 2014-07-04 Will Newton <will.newton@linaro.org>
24759
24760 * string/memchr.c: Merge from gnulib.
24761 [_LIBC]: Remove conditionals.
24762 (__ptr_t): Remove define.
24763 (LONG_MAX_32_BITS): Likewise.
24764 (LONG_MAX): Likewise.
24765 (MEMCHR): Use ANSI prototype and optimize algorithm.
24766
24767 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
24768
24769 2014-07-03 Roland McGrath <roland@hack.frob.com>
24770
24771 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
24772 (lll_futex_timed_wait_bitset): Fix syscall argument count.
24773
24774 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
24775 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
24776 in a bare environment with no <stdlib.h> installed.
24777 * sysdeps/nptl/configure: Regenerated.
24778
24779 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
24780
24781 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
24782 AC_EGREP_CPP for kernel header checks, so they only succeed if
24783 including <linux/version.h> actually works right.
24784 * sysdeps/unix/sysv/linux/configure: Regenerated.
24785
24786 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
24787 value so it's not diagnosed as unused.
24788
24789 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
24790 thing) with "ifeq ($(subdir),rt)".
24791
24792 2014-07-03 Richard Henderson <rth@redhat.com>
24793
24794 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
24795 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
24796 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
24797
24798 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
24799 (math_force_eval): New.
24800
24801 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
24802 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
24803
24804 * sysdeps/alpha/fpu/s_round.c: Remove file.
24805 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
24806
24807 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
24808 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
24809 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24810 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
24811 (_dl_start, print_statistics): Likewise.
24812 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
24813 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24814
24815 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24816 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24817 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24818 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24819 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24820 (HP_SMALL_TIMING_AVAIL): Define.
24821 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24822 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24823 (HP_SMALL_TIMING_AVAIL): Define.
24824 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24825 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24826
24827 * sysdeps/aarch64/hp-timing.h: New file.
24828
24829 * sysdeps/generic/hp-timing.h: Remove dead comment.
24830 * sysdeps/generic/hp-timing-common.h: New file.
24831 * sysdeps/alpha/hp-timing.h: Include it.
24832 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
24833 * sysdeps/i386/i686/hp-timing.h: Likewise.
24834 * sysdeps/ia64/hp-timing.h: Likewise.
24835 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24836 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24837 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24838 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24839 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
24840 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
24841 (hp_timing_t): New.
24842
24843 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
24844 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
24845 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
24846 * elf/rtld.c (_dl_start_final): Likewise.
24847 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
24848 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24849 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24850 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24851 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24852 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24853 (HP_TIMING_DIFF_INIT): Remove.
24854 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24855 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24856 (HP_TIMING_DIFF_INIT): Remove.
24857 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24858 * sysdeps/i386/i686/hp-timing.c: Remove file.
24859 * sysdeps/x86_64/hp-timing.c: Remove file.
24860 * sysdeps/ia64/hp-timing.c: Remove file.
24861 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
24862 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
24863 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
24864 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
24865
24866 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
24867 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
24868 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
24869 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24870 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24871 (HP_TIMING_ACCUM): Remove.
24872 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24873 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
24874 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24875
24876 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
24877 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
24878 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
24879 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
24880 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
24881 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24882 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
24883 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24884
24885 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
24886
24887 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
24888
24889 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
24890
24891 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24892
24893 Sync up with gettext.
24894 * intl/loadmsgcat.c: Define O_BINARY if not defined.
24895 [_MSC_VER]: Include malloc.h
24896 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
24897 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
24898 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
24899 TEMP_FAILURE_RETRY. Cast return of alloca.
24900 [!_LIBC] Call gl_rwlock_init.
24901 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
24902
24903 2014-07-02 Roland McGrath <roland@hack.frob.com>
24904
24905 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
24906 before checking its value.
24907
24908 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24909
24910 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
24911
24912 * debug/memcpy_chk.c: Don't include pagecopy.h.
24913 * debug/mempcpy_chk.c: Likewise.
24914 * string/memcpy.c: Likewise.
24915 * string/memmove.c: Likewise.
24916 * sysdeps/powerpc/memmove.c: Likewise.
24917 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
24918 definition of PAGE_COPY_FWD_MAYBE here...
24919 * sysdeps/generic/pagecopy.h: ... from here.
24920 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
24921
24922 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24923 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24924
24925 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
24926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
24927 optimizations.
24928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24929 (__libc_ifunc_impl_list): Likewise.
24930 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
24931 multiarch strcat for PPC64.
24932 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
24933 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
24934
24935 2014-07-02 Roland McGrath <roland@hack.frob.com>
24936
24937 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
24938
24939 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24940
24941 * intl/loadmsgcat.c: Remove declaration of
24942 get_sysdep_segment_value.
24943 (get_sysdep_segment_value): Use ISO C style.
24944 (_nl_load_domain): Use ISO C style. Get rid of redundant
24945 semicolon. Fix typo and formatting in comment.
24946 (_nl_unload_domain): Use ISO C style.
24947
24948 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
24949
24950 2014-07-02 Will Newton <will.newton@linaro.org>
24951
24952 * malloc/obstack.c: Merge from gnulib master.
24953 [HAVE_CONFIG_H]: Remove conditional code.
24954 [!_LIBC]: Include config.h.
24955 [!ELIDE_CODE]: Don't include inttypes.h, include
24956 stdint.h unconditionally.
24957 (print_and_abort): Mark as _Noreturn.
24958 (_obstack_allocated_p): Mark as __attribute_pure__.
24959 (obstack_free): Rename to __obstack_free.
24960 [!__attribute__]: Remove conditional code.
24961 * malloc/obstack.h: Merge from gnulib master.
24962 [__cplusplus]: Move conditional down.
24963 [!__attribute_pure__]: Define __attribute_pure__ here
24964 if it is not already defined.
24965 (_obstack_memory_used): Mark as __attribute_pure__.
24966 [!__obstack_free]: Define as obstack_free.
24967 [__GNUC__]: Remove check for ancient NeXT gcc.
24968
24969 2014-07-02 Will Newton <will.newton@linaro.org>
24970 Paul Eggert <eggert@cs.ucla.edu>
24971
24972 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
24973
24974 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24975
24976 * resolv/gethnamaddr.c: Add comment warning that the file is
24977 not maintained.
24978
24979 2014-07-01 Carlos O'Donell <carlos@redhat.com>
24980
24981 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
24982 entries.
24983
24984 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
24985 entry for aio_cancel and aio_cancel64.
24986 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
24987 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
24988 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
24989 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
24990 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
24991 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
24992 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
24993 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
24994 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
24995 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
24996 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
24997 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
24998 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
24999
25000 2014-07-01 Roland McGrath <roland@hack.frob.com>
25001
25002 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
25003 * nptl/pthread_mutex_lock.c: Likewise.
25004 * nptl/pthread_mutex_timedlock.c: Likewise.
25005 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
25006
25007 2014-07-01 Richard henderson <rth@redhat.com>
25008
25009 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
25010 (__isnan, __isnanl): Remove.
25011 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
25012
25013 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25014
25015 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
25016
25017 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25018
25019 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25020
25021 * resolv/nss_dns/dns-host.c (getanswer_r)
25022 [MULTI_PTRS_ARE_ALIASES]: Remove code.
25023
25024 2014-07-01 Joseph Myers <joseph@codesourcery.com>
25025
25026 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25027 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
25028 undefine.
25029 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
25030 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
25031
25032 2014-07-01 Roland McGrath <roland@hack.frob.com>
25033
25034 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
25035 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
25036
25037 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
25038 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
25039
25040 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
25041 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
25042 ... here.
25043 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
25044 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
25045
25046 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
25047 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
25048 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
25049 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
25050
25051 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
25052 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
25053 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
25054 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
25055 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
25056 Moved ...
25057 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
25058 ... here.
25059 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
25060 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
25061 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
25062 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
25063 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
25064 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
25065 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
25066 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
25067 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
25068 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
25069 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
25070 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
25071 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
25072 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
25073 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
25074 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
25075 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
25076 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
25077 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
25078 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
25079 ... here.
25080 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
25081 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
25082 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
25083 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
25084 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
25085 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
25086 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
25087 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
25088
25089 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
25090
25091 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
25092 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
25093 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
25094 Add sysdep.
25095
25096 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25097
25098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25099
25100 2014-06-30 Joseph Myers <joseph@codesourcery.com>
25101
25102 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25103 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25104
25105 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25106
25107 * sysdeps/arm/libm-test-ulps: Regenerated.
25108
25109 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
25110 Roland McGrath <roland@hack.frob.com>
25111
25112 * test-skeleton.c (signal_handler): Kill the whole process group
25113 before killing the child individually.
25114 (main): Report any failure on `setpgid'.
25115
25116 2014-06-30 Roland McGrath <roland@hack.frob.com>
25117
25118 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
25119 from _TLS_H to _ARM_NPTL_TLS_H.
25120 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
25121 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
25122
25123 2014-06-30 Joseph Myers <joseph@codesourcery.com>
25124
25125 [BZ #16539]
25126 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
25127 (__expm1l): Return argument unchanged when small but not
25128 subnormal.
25129
25130 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
25131 include macro name.
25132 (_FP_UNPACK_RAW_1_P): Likewise.
25133 (_FP_PACK_RAW_1): Likewise.
25134 (_FP_PACK_RAW_1_P): Likewise.
25135 (_FP_MUL_MEAT_1_wide): Likewise.
25136 (_FP_MUL_MEAT_DW_1_hard): Likewise.
25137 (_FP_MUL_MEAT_1_hard): Likewise.
25138 (_FP_DIV_MEAT_1_imm): Likewise.
25139 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
25140 (_FP_DIV_MEAT_1_udiv): Likewise.
25141 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
25142 (_FP_UNPACK_RAW_2): Likewise.
25143 (_FP_UNPACK_RAW_2_P): Likewise.
25144 (_FP_PACK_RAW_2): Likewise.
25145 (_FP_PACK_RAW_2_P): Likewise.
25146 (_FP_MUL_MEAT_DW_2_wide): Likewise.
25147 (_FP_MUL_MEAT_2_wide): Likewise.
25148 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
25149 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25150 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
25151 (_FP_MUL_MEAT_2_gmp): Likewise.
25152 (_FP_DIV_MEAT_2_udiv): Likewise.
25153 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
25154 (_FP_FRAC_SRL_4): Likewise.
25155 (_FP_FRAC_SRST_4): Likewise.
25156 (_FP_FRAC_SRS_4): Likewise.
25157 (_FP_UNPACK_RAW_4): Likewise.
25158 (_FP_UNPACK_RAW_4_P): Likewise.
25159 (_FP_PACK_RAW_4): Likewise.
25160 (_FP_PACK_RAW_4_P): Likewise.
25161 (_FP_MUL_MEAT_DW_4_wide): Likewise.
25162 (_FP_MUL_MEAT_4_wide): Likewise.
25163 (_FP_MUL_MEAT_4_gmp): Likewise.
25164 (umul_ppppmnnn): Likewise.
25165 (_FP_DIV_MEAT_4_udiv): Likewise.
25166 (__FP_FRAC_ADD_4): Likewise.
25167 (__FP_FRAC_SUB_3): Likewise.
25168 (__FP_FRAC_SUB_4): Likewise.
25169 (__FP_FRAC_DEC_3): Likewise.
25170 (__FP_FRAC_DEC_4): Likewise.
25171 (__FP_FRAC_ADDI_4): Likewise.
25172 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
25173 (_FP_FRAC_SRL_8): Likewise.
25174 (_FP_FRAC_SRS_8): Likewise.
25175
25176 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
25177 include macro name.
25178 (FP_UNPACK_RAW_EP): Likewise.
25179 (FP_PACK_RAW_E): Likewise.
25180 (FP_PACK_RAW_EP): Likewise.
25181 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
25182 (_FP_ISSIGNAN): Likewise.
25183 (_FP_ADD_INTERNAL): Likewise.
25184 (_FP_FMA): Likewise.
25185 (_FP_CMP): Likewise.
25186 (_FP_SQRT): Likewise.
25187 (_FP_TO_INT): Likewise.
25188 (_FP_FROM_INT): Likewise.
25189 (FP_EXTEND): Likewise.
25190 (_FP_DIV_MEAT_N_loop): Likewise.
25191
25192 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
25193
25194 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
25195 throughout.
25196
25197 2014-06-29 Joseph Myers <joseph@codesourcery.com>
25198
25199 [BZ #17097]
25200 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
25201 result with correct sign in case of exponents that produce
25202 overflow except for X very close to 1.
25203
25204 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
25205
25206 mktime: merge #if/#ifdef usage from glibc
25207 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
25208 as that works with both Glibc's and Gnulib's style.
25209 See thread starting at Siddhesh Poyarekar's bug report at:
25210 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
25211
25212 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25213
25214 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
25215 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
25216 * sysdeps/tile/tilegx/memmove.c: Remove file.
25217
25218 2014-06-27 Joseph Myers <joseph@codesourcery.com>
25219
25220 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
25221 abi-name definition.
25222 * scripts/soversions.awk: Do not handle or generate ABI lines.
25223 * shlib-versions: Remove ABI entries.
25224 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
25225 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
25226
25227 2014-06-27 Roland McGrath <roland@hack.frob.com>
25228
25229 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
25230 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
25231 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
25232 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
25233 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
25234 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
25235 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
25236 Moved ...
25237 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
25238 ... here.
25239 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
25240 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
25241 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
25242 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
25243 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
25244 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
25245 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
25246 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
25247 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
25248 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
25249 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
25250 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
25251 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
25252 Moved ...
25253 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
25254 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
25255 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
25256 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
25257 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
25258 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
25259 Moved ...
25260 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
25261 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
25262 Moved ...
25263 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
25264 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
25265 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
25266 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
25267 Moved ...
25268 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
25269 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
25270 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
25271 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
25272 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
25273 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
25274 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
25275 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
25276 Moved ...
25277 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
25278 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
25279 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
25280 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
25281 Moved ...
25282 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
25283 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
25284 Moved ...
25285 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
25286 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
25287 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
25288 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
25289 Moved ...
25290 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
25291 ... here.
25292 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
25293 Identical file removed.
25294 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
25295 Moved ...
25296 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
25297 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
25298 Identical file removed.
25299 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
25300 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
25301 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
25302 Moved ...
25303 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
25304 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
25305 Identical file removed.
25306 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
25307 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
25308 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
25309 Identical file removed.
25310 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
25311 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
25312 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
25313 Identical file removed.
25314 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
25315 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
25316 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
25317 Identical file removed.
25318 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
25319 Moved ...
25320 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
25321 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
25322 Identical file removed.
25323 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
25324 Moved ...
25325 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
25326 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
25327 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
25328 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
25329 Identical file removed.
25330 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
25331 Moved ...
25332 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
25333 ... here.
25334 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
25335 Identical file removed.
25336 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
25337 Moved ...
25338 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
25339 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
25340 Identical file removed.
25341 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
25342 Moved ...
25343 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
25344 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
25345 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
25346 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
25347 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
25348 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
25349 Moved ...
25350 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
25351 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
25352 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
25353
25354 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
25355 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
25356 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
25357 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
25358 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
25359
25360 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
25361
25362 [BZ #17092]
25363 * nscd/nscd.c (monitor_child): Return exit status of child
25364 instead of return value from wait syscall.
25365
25366 2014-06-27 Joseph Myers <joseph@codesourcery.com>
25367
25368 * configure.ac (libc_commonpagesize): Remove variable.
25369 (libc_relro_required): Likewise.
25370 (libc_cv_z_relro): Remove configure test.
25371 * configure: Regenerated.
25372 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
25373 variable.
25374 (libc_relro_required): Likewise.
25375 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
25376 (libc_relro_required): Likewise.
25377 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
25378 (libc_relro_required): Likewise.
25379 * sysdeps/arm/preconfigure: Regenerated.
25380 * sysdeps/ia64/preconfigure: Remove file.
25381 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
25382 variable.
25383 (libc_relro_required): Likewise.
25384
25385 [BZ #16561]
25386 [BZ #16562]
25387 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
25388 (__ieee754_yn): Set FE_TONEAREST mode internally and then
25389 recompute overflowing results in original rounding mode.
25390 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
25391 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
25392 recompute overflowing results in original rounding mode.
25393 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
25394 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25395 recompute overflowing results in original rounding mode.
25396 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
25397 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25398 recompute overflowing results in original rounding mode.
25399 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
25400 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25401 recompute overflowing results in original rounding mode.
25402 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
25403 (libc_feholdsetround_ctx): New macro.
25404 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
25405 * sysdeps/i386/fpu/libm-test-ulps: Update.
25406 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
25407
25408 2014-06-26 Joseph Myers <joseph@codesourcery.com>
25409
25410 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
25411 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
25412 corresponding .cpsetup call.
25413
25414 2014-06-26 Roland McGrath <roland@hack.frob.com>
25415
25416 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
25417 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
25418 * sysdeps/arm/Makefile [$(subdir) = csu]
25419 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
25420 (static-only-routines): Add aeabi_read_tp here.
25421 (shared-only-routines): Add libc-aeabi_read_tp here.
25422 (CFLAGS-libc-start.c): Add -fexceptions here.
25423 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
25424 (sysdep_routines, static-only-routines, shared-only-routines):
25425 Don't add to these here.
25426 (CFLAGS-libc-start.c): Likewise.
25427
25428 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
25429 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25430 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
25431 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25432 * sysdeps/arm/Makefile [$(subdir) = rt]
25433 (librt-sysdep_routines, librt-shared-only-routines):
25434 Append rt-aeabi_unwind_cpp_pr1 here.
25435 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
25436 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
25437 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
25438 (libpthread-sysdep_routines, libpthread-shared-only-routines):
25439 Append nptl-aeabi_unwind_cpp_pr1 here.
25440 (tests): Filter out tst-cleanupx4 here.
25441 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
25442 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
25443 Don't do those here.
25444
25445 2014-06-26 Joseph Myers <joseph@codesourcery.com>
25446
25447 * scripts/list-sources.sh: Do not handle ports specially.
25448
25449 2014-06-26 Roland McGrath <roland@hack.frob.com>
25450
25451 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
25452 * sysdeps/arm/feupdateenv.c: Likewise.
25453
25454 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
25455
25456 2014-06-26 Joseph Myers <joseph@codesourcery.com>
25457
25458 * manual/texinfo.tex: Update to version 2014-05-05.10 with
25459 trailing whitespace removed.
25460 * scripts/config.guess: Update to version 2014-03-23.
25461 * scripts/config.sub: Update to version 2014-05-01
25462 * scripts/install-sh: Update to version 2013-12-25.23.
25463 * scripts/move-if-change: Update from gnulib.
25464
25465 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25466
25467 * debug/memmove_chk.c: Remove pagecopy.h include.
25468
25469 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
25470
25471 * time/mktime.c (leapyear): Remove inline keyword. The code is now
25472 identical to gnulib mktime.
25473
25474 2014-06-26 Joseph Myers <joseph@codesourcery.com>
25475
25476 * configure.ac: Do not test for machine being rs6000. Do not test
25477 for powerpc*-*soft.
25478 * configure: Regenerated.
25479
25480 [BZ #11505]
25481 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
25482 test.
25483 * configure: Regenerated.
25484 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
25485 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
25486 Remove configure test.
25487 * sysdeps/arm/configure: Regenerated.
25488 * sysdeps/nptl/configure.ac: Do not check
25489 libc_cv_asm_cfi_directives.
25490 * sysdeps/nptl/configure: Regenerated.
25491 * sysdeps/x86_64/nptl/configure.ac: Remove file.
25492 * sysdeps/x86_64/nptl/configure: Remove generated file.
25493 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
25494 unconditional.
25495 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
25496
25497 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25498
25499 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
25500 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
25501 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
25502 it is defined.
25503
25504 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
25505 instead of whether it is defined.
25506 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
25507 * sysdeps/hppa/dl-machine.h: Likewise.
25508 * sysdeps/ia64/dl-machine.h: Likewise.
25509 * sysdeps/m68k/dl-machine.h: Likewise.
25510 * sysdeps/microblaze/dl-machine.h: Likewise.
25511 * sysdeps/mips/dl-machine.: Likewise.
25512 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25513 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25514 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25515 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25516 * sysdeps/sh/dl-machine.h: Likewise.
25517 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25518 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25519 * sysdeps/tile/dl-machine.h: Likewise.
25520 * sysdeps/x86_64/dl-machine.h: Likewise.
25521
25522 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
25523 code.
25524 (verify_persistent_db): Likewise.
25525
25526 2014-06-26 Roland McGrath <roland@hack.frob.com>
25527
25528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
25529 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
25530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
25531 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
25532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25533 Moved ...
25534 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
25535 ... here.
25536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
25537 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
25538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
25539 Identical file removed.
25540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
25541 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
25542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
25543 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
25544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
25545 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
25546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
25547 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
25548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
25549 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
25550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25551 Moved ...
25552 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
25553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
25554 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
25555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
25556 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
25557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25558 Moved ...
25559 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
25560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
25561 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
25562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
25563 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
25564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25565 Identical file removed.
25566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
25567 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
25568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
25569 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
25570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25571 Moved ...
25572 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
25573 ... here.
25574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
25575 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
25576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
25577 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
25578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
25579 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
25580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
25581 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
25582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
25583 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
25584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25585 Moved ...
25586 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
25587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
25588 Moved ...
25589 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
25590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
25591 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
25592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25593 Moved ...
25594 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
25595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
25596 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
25597
25598 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
25599 folded into ...
25600 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
25601 * sysdeps/unix/sysv/linux/s390/Versions
25602 (libpthread: GLIBC_2.19): New version set.
25603 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
25604 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
25605 (librt: GLIBC_2.3.3): New version set.
25606 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
25607 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
25608 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
25609 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
25610 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
25611 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
25612 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
25613 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
25614 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
25615 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
25616 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
25617 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
25618 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
25619 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
25620 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
25621 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
25622 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
25623 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
25624 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
25625 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
25626 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
25627 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
25628 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
25629 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
25630 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
25631 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
25632 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
25633 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
25634 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
25635 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
25636 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
25637 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
25638 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
25639 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
25640 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
25641 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
25642 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
25643 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
25644 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
25645 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
25646 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
25647 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
25648 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
25649 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
25650 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
25651
25652 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
25653 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
25654 (__libc_vfork): Define the function under this name.
25655 [!NOT_IN_libc] (__vfork): Make this an alias.
25656 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25657 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
25658 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
25659 (__libc_vfork): Define the function under this name.
25660 [!NOT_IN_libc] (__vfork): Make this an alias.
25661 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25662 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
25663 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
25664 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
25665 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
25666 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25667
25668 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
25669 code that was previously under [RESET_PID].
25670 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
25671 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
25672 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
25673
25674 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
25675 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
25676 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
25677 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
25678 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
25679 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
25680 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
25681 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
25682 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
25683 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
25684 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
25685 Moved ...
25686 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
25687 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
25688 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
25689 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
25690 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
25691 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
25692 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
25693 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
25694 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
25695 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
25696 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
25697 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
25698 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
25699 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
25700 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
25701 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
25702 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
25703 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
25704 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
25705 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
25706 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
25707 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
25708 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
25709 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
25710 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
25711 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
25712 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
25713 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
25714 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
25715
25716 2014-06-25 Roland McGrath <roland@hack.frob.com>
25717
25718 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
25719 that was previously under [RESET_PID].
25720 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
25721
25722 2014-06-25 Joseph Myers <joseph@codesourcery.com>
25723
25724 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
25725 not undefine and redefine.
25726 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
25727 [O_CLOEXEC]: Make code unconditional.
25728 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
25729 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
25730 <kernel-features.h>.
25731 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
25732 conditional variable definition.
25733 (shm_open) [O_CLOEXEC]: Make code unconditional.
25734 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
25735 code.
25736
25737 * configure.ac (USE_REGPARMS): Don't define here.
25738 * configure: Regenerated.
25739 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
25740 * sysdeps/i386/configure: Regenerated.
25741
25742 * nptl/createthread.c: Don't include kernel-features.h.
25743 * nptl/pthread_cancel.c: Likewise.
25744 * nptl/pthread_condattr_setclock.c: Likewise.
25745 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
25746 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
25747 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
25748 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
25749 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
25750 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
25751 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25752 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
25753 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25754 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
25755 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
25756 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
25757 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
25758 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
25759 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
25760 * nscd/gai.c: Likewise.
25761 * nss/nss_db/db-open.c: Likewise.
25762 * sysdeps/generic/ldsodefs.h: Likewise.
25763 * sysdeps/sh/nptl/tls.h: Likewise.
25764 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25765 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
25766 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
25767 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
25768 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
25769 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25770 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
25771 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25772 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25773 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25774 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25775 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25776 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
25777 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
25778 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
25779 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
25780 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
25781 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
25782 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
25783 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
25784 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
25785 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
25786 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
25787 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
25788 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
25789 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
25790 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
25791 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
25792 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25793 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
25794 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
25795 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
25796 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
25797 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25798 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25799 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25800 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25801 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
25802 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
25803 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25804 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25805 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
25806 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
25807 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25808 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
25809 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
25810 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
25811 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
25812 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
25813 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
25814 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
25815 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
25816 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
25817 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25818 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
25819 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25820 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25821 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
25822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
25824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
25825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
25826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
25827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
25828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
25829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
25830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
25833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
25834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
25835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
25836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
25842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
25843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
25844 * sysdeps/unix/sysv/linux/pread.c: Likewise.
25845 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
25846 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
25847 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
25848 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
25849 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
25850 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
25851 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
25852 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
25853 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
25854 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
25855 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
25856 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
25857 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
25858 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
25859 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
25860 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25861 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
25862 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
25863 * sysdeps/unix/sysv/linux/system.c: Likewise.
25864 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
25865 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25866 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25867 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25868 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25869 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25870 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25871
25872 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
25873 * configure: Regenerated.
25874 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
25875
25876 * configure.ac (base_machine): Do not set specially for particular
25877 machines here.
25878 * configure: Regenerated.
25879 * sysdeps/powerpc/preconfigure: Move machine and base_machine
25880 settings from configure.ac.
25881 * sysdeps/i386/preconfigure: New file.
25882 * sysdeps/s390/preconfigure: Likewise.
25883 * sysdeps/sh/preconfigure: Likewise.
25884 * sysdeps/sparc/preconfigure: Likewise.
25885
25886 2014-06-25 Roland McGrath <roland@hack.frob.com>
25887
25888 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
25889 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
25890 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
25891 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
25892 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
25893 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
25894 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
25895 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
25896 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
25897 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
25898 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
25899 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
25900 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
25901 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
25902 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
25903 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
25904 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
25905 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
25906 * sysdeps/sparc/sparc64/Makefile: ... appended here.
25907
25908 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
25909 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
25910 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
25911 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
25912 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
25913 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
25914 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
25915 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
25916 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
25917 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
25918 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
25919 * sysdeps/sparc/sparc32/sem_post.c: ... here.
25920 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
25921 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
25922 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
25923 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
25924 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
25925 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
25926 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
25927 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
25928 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
25929 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
25930 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
25931 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
25932 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
25933 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
25934 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
25935 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
25936 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
25937 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
25938 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
25939 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
25940 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
25941 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
25942 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
25943 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
25944 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
25945 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
25946
25947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
25948 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
25949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
25950 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
25951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25952 Moved ...
25953 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
25954 ... here.
25955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
25956 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
25957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
25958 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
25959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
25960 Moved ...
25961 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
25962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
25963 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
25964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
25965 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
25966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
25967 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
25968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25969 Moved ...
25970 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
25971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25972 Moved ...
25973 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
25974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
25975 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
25976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25977 Moved ...
25978 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
25979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
25980 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
25981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
25982 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
25983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
25984 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
25985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
25986 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
25987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25988 Moved ...
25989 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
25990 ... here.
25991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
25992 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
25993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
25994 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
25995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
25996 Moved ...
25997 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
25998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
25999 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
26000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
26001 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
26002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
26003 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
26004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26005 Moved ...
26006 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
26007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26008 Moved ...
26009 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
26010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
26011 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
26012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26013 Moved ...
26014 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
26015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
26016 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
26017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
26018 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
26019
26020 2014-06-25 Joseph Myers <joseph@codesourcery.com>
26021
26022 * timezone/checktab.awk: Update from tzcode 2014e.
26023 * timezone/private.h: Likewise.
26024 * timezone/tzfile.h: Likewise.
26025 * timezone/zdump.c: Likewise.
26026 * timezone/zic.c: Likewise.
26027
26028 * sysdeps/unix/sysv/linux/kernel-features.h
26029 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
26030 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
26031 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
26032 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26033 Remove conditional code.
26034
26035 2014-06-25 Will Newton <will.newton@linaro.org>
26036
26037 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
26038 (_dl_arm_cap_flags): Add HWCAP2 values.
26039 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
26040 (_DL_HWCAP_COUNT): Increase to 37.
26041 (_DL_HWCAP_LAST): New define.
26042 (_DL_HWCAP2_LAST): New define.
26043 (_dl_procinfo): Add support for printing
26044 AT_HWCAP2 entries.
26045 (_dl_string_hwcap): Use _dl_hwcap_string.
26046
26047 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26048
26049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26050
26051 2014-06-25 Joseph Myers <joseph@codesourcery.com>
26052
26053 * README: Do not mention ports directory.
26054
26055 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
26056 Remove macro.
26057 * sysdeps/unix/sysv/linux/futimes.c: Do not include
26058 <kernel-features.h>.
26059 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
26060 conditional variable definition.
26061 (__futimes): Update comment.
26062 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
26063 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
26064
26065 [BZ #16560]
26066 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
26067 arguments close to 0.
26068 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
26069 Likewise.
26070 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
26071 Likewise.
26072 * math/auto-libm-test-in: Add more tests of exp10.
26073 * math/auto-libm-test-out: Regenerated.
26074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26075
26076 * sysdeps/unix/sysv/linux/kernel-features.h
26077 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
26078 * sysdeps/unix/sysv/linux/readv.c: Do not include
26079 <kernel-features.h>.
26080 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26081 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26082 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26083 unconditional.
26084 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26085 conditional code.
26086 * sysdeps/unix/sysv/linux/writev.c: Do not include
26087 <kernel-features.h>.
26088 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26089 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26090 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26091 unconditional.
26092 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26093 conditional code.
26094
26095 2014-06-25 Will Newton <will.newton@linaro.org>
26096
26097 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
26098 comment changes throughout the file. Remove checks
26099 for HAVE_*_H definitions that are not required.
26100 (__gen_tempname): Call abort if an unknown kind value is
26101 passed.
26102
26103 2014-06-25 Andreas Schwab <schwab@suse.de>
26104
26105 [BZ #17086]
26106 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
26107 scalbln, scalblnf, scalblnl in libc.
26108
26109 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26110
26111 [BZ #17086]
26112 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
26113 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26114 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26115
26116 2014-06-24 Roland McGrath <roland@hack.frob.com>
26117
26118 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
26119 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
26120 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
26121 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
26122 Update #include.
26123 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
26124 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
26125 Update #include.
26126 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
26127 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
26128 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
26129 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
26130 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
26131 * sysdeps/x86/bits/pthreadtypes.h: ... here.
26132 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
26133 * sysdeps/x86/bits/semaphore.h: ... here.
26134 * sysdeps/x86/nptl/elide.h: Moved ...
26135 * sysdeps/x86/elide.h: ... here.
26136 * sysdeps/x86_64/nptl/Implies: File removed.
26137 * sysdeps/i386/nptl/Implies: File removed.
26138
26139 2014-06-24 Joseph Myers <joseph@codesourcery.com>
26140
26141 [BZ #16539]
26142 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
26143 return the argument for normal arguments with exponent below -64.
26144 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26145 Likewise.
26146 * math/auto-libm-test-in: Add another test of expm1.
26147 * math/auto-libm-test-out: Regenerated.
26148
26149 [BZ #16287]
26150 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
26151 calling __erfcl for arguments at least 16.
26152 * math/auto-libm-test-in: Add more tests of erf.
26153 * math/auto-libm-test-out: Regenerated.
26154
26155 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
26156 individual architectures.
26157 * sysdeps/unix/sysv/linux/configure: Regenerated.
26158 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
26159 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
26160 * sysdeps/unix/sysv/linux/powerpc/configure.ac
26161 (ldd_rewrite_script): Define variable.
26162 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
26164 file.
26165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
26166 generated file.
26167 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
26168 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
26169 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
26170 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
26171 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
26172 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
26173 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
26174 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
26175
26176 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26177
26178 [BZ #17084]
26179 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
26180 Rename member __data.d to __data.__elision_data.
26181
26182 2014-06-24 Wilco <wdijkstr@arm.com>
26183
26184 * NEWS: Add 16918 to fixed bug list.
26185
26186 2014-06-24 Wilco <wdijkstr@arm.com>
26187
26188 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
26189
26190 2014-06-24 Wilco <wdijkstr@arm.com>
26191
26192 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
26193 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
26194 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
26195 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
26196 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
26197 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
26198 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
26199 Use _FPU_MASK_RM.
26200
26201 2014-06-24 Wilco <wdijkstr@arm.com>
26202
26203 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
26204
26205 2014-06-24 Wilco <wdijkstr@arm.com>
26206
26207 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
26208 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
26209 * sysdeps/arm/fesetround.c (fesetround): Remove space.
26210 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
26211
26212 2014-06-24 Wilco <wdijkstr@arm.com>
26213
26214 [BZ #16918]
26215 * sysdeps/arm/feupdateenv.c (feupdateenv):
26216 Rewrite to reduce FPSCR accesses and fix return value.
26217
26218 2014-06-24 Wilco <wdijkstr@arm.com>
26219
26220 * sysdeps/arm/fclrexcpt.c (feclearexcept):
26221 Optimize to avoid unnecessary FPSCR writes.
26222 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
26223 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
26224 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
26225 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
26226
26227 2014-06-24 Wilco <wdijkstr@arm.com>
26228
26229 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
26230 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
26231 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
26232 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
26233 Call libc_fetestexcept_vfp.
26234 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
26235 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
26236 __SOFTFP__ ifdef so that they can be built for softfp.
26237
26238 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26239
26240 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
26241 argument type signed char.
26242
26243 * Makerules (check-abi): Dump diff of symlist if the test
26244 fails.
26245
26246 2014-06-23 Roland McGrath <roland@hack.frob.com>
26247
26248 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
26249 using abort.
26250
26251 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26252 Remove unused variable ST.
26253
26254 2014-06-23 Joseph Myers <joseph@codesourcery.com>
26255
26256 [BZ #16354]
26257 [BZ #17061]
26258 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
26259 small arguments before calling __expm1.
26260 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
26261 small arguments before calling __expm1f.
26262 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
26263 small arguments before calling __expm1l.
26264 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26265 Likewise.
26266 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
26267 * math/auto-libm-test-in: Add more cosh tests. Do not allow
26268 spurious underflow for some cosh tests.
26269 * math/auto-libm-test-out: Regenerated.
26270 * sysdeps/i386/fpu/libm-test-ulps: Update.
26271
26272 [BZ #17050]
26273 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
26274 (__ieee754_y1): Set errno if return value overflows.
26275 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
26276 (__ieee754_y1f): Set errno if return value overflows.
26277 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
26278 (__ieee754_y1l): Set errno if return value overflows.
26279 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
26280 (__ieee754_y1l): Set errno if return value overflows.
26281 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
26282 * math/auto-libm-test-out: Regenerated.
26283
26284 * math/gen-auto-libm-tests.c: Document use of
26285 ignore-zero-inf-sign.
26286 (input_flag_type): Add value flag_ignore_zero_inf_sign.
26287 (input_flags): Add ignore-zero-inf-sign.
26288 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
26289 * math/gen-libm-test.pl (generate_testfile): Handle
26290 ignore-zero-inf-sign.
26291 * math/auto-libm-test-in: Mark some cpow tests with
26292 ignore-zero-inf-sign and some with xfail-rounding.
26293 * math/auto-libm-test-out: Regenerated.
26294 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
26295 * sysdeps/i386/fpu/libm-test-ulps: Update.
26296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26297
26298 [BZ #16315]
26299 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
26300 overflowing or underflowing operations take place with sign of
26301 result.
26302 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26303 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26304 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
26305 (__ieee754_pow): Recompute overflowing and underflowing results in
26306 original rounding mode.
26307 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
26308 (__powl_helper): Allow negative argument X and scale negated value
26309 as needed. Avoid passing value outside [-1, 1] to f2xm1.
26310 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
26311 overflowing or underflowing operations take place with sign of
26312 result.
26313 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
26314 Include <math.h>.
26315 * math/auto-libm-test-in: Add more tests of pow.
26316 * math/auto-libm-test-out: Regenerated.
26317 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
26318 (pow_tonearest_test_data): Remove.
26319 (pow_test_tonearest): Likewise.
26320 (pow_towardzero_test_data): Likewise.
26321 (pow_test_towardzero): Likewise.
26322 (pow_downward_test_data): Likewise.
26323 (pow_test_downward): Likewise.
26324 (pow_upward_test_data): Likewise.
26325 (pow_test_upward): Likewise.
26326 (main): Don't call removed functions.
26327 * sysdeps/i386/fpu/libm-test-ulps: Update.
26328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26329
26330 2014-06-23 Roland McGrath <roland@hack.frob.com>
26331
26332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
26333 Moved ...
26334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
26335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26336 Moved ...
26337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
26338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26339 Moved ...
26340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
26341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26342 Moved ...
26343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
26344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26345 File removed.
26346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26347 File removed.
26348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
26349 File removed.
26350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
26351 File removed.
26352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
26353 File removed.
26354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
26355 File removed.
26356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
26357 File removed.
26358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26359 File removed.
26360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
26361 File removed.
26362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26363 File removed.
26364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
26365 File removed.
26366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
26367 File removed.
26368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
26369 Moved ...
26370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
26371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
26372 Moved ...
26373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
26374 ... here.
26375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
26376 Moved ...
26377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
26378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
26379 Moved ...
26380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
26381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
26382 Moved ...
26383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
26384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
26385 Moved ...
26386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
26387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
26388 Moved ...
26389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
26390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
26391 Moved ...
26392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
26393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
26394 Moved ...
26395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
26396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
26397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
26398 ... here.
26399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
26400 Moved ...
26401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
26402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26403 Moved ...
26404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26405 ... here.
26406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
26407 Moved ...
26408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26409 ... here.
26410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26411 Moved ...
26412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26413 ... here.
26414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26415 Moved ...
26416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
26417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26418 Moved ...
26419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
26420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
26421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
26422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26423 Moved ...
26424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
26425 ... here.
26426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26427 Moved ...
26428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
26429 ... here.
26430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26431 Moved ...
26432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
26433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26434 Moved ...
26435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
26436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26437 Moved ...
26438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
26439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26440 Moved ...
26441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
26442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26443 Moved ...
26444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
26445 ... here.
26446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26447 Moved ...
26448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
26449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26450 Moved ...
26451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
26452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26453 Moved ...
26454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
26455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26456 Moved ...
26457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
26458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
26459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
26460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26461 Moved ...
26462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
26463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26464 Moved ...
26465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
26466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26467 Moved ...
26468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
26469 ... here.
26470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26471 Moved ...
26472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
26473 ... here.
26474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26475 Moved ...
26476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
26477 ... here.
26478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26479 Moved ...
26480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
26481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26482 Moved ...
26483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
26484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26485 Moved ...
26486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
26487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26488 Moved ...
26489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
26490 ... here.
26491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26492 Moved ...
26493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
26494 ... here.
26495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26496 Moved ...
26497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
26498 ... here.
26499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26500 Moved ...
26501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
26502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26503 Moved ...
26504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
26505
26506 2014-06-23 Will Newton <will.newton@linaro.org>
26507 Wilco <wdijkstr@arm.com>
26508
26509 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
26510 implementation. Include get-rounding-mode.h.
26511 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
26512 [!libc_feholdsetround_noex_ctx]: Define
26513 libc_feholdsetround_noex_ctx.
26514 [!libc_feholdsetround_noexf_ctx]: Define
26515 libc_feholdsetround_noexf_ctx.
26516 [!libc_feholdsetround_noexl_ctx]: Define
26517 libc_feholdsetround_noexl_ctx.
26518 (libc_feholdsetround_ctx): New function.
26519 (libc_feresetround_ctx): New function.
26520 (libc_feholdsetround_noex_ctx): New function.
26521 (libc_feresetround_noex_ctx): New function.
26522
26523 2014-06-23 Roland McGrath <roland@hack.frob.com>
26524
26525 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
26526 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
26527 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
26528 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
26529 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
26530 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
26531
26532 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
26533 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
26534 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
26535 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
26536 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
26537 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
26538 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
26539 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
26540 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
26541 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
26542 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
26543 Moved ...
26544 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
26545 ... here.
26546 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
26547 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
26548 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
26549 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
26550 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
26551 Moved ...
26552 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
26553 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
26554 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
26555 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
26556 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
26557 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
26558 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
26559 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
26560 Moved ...
26561 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
26562 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
26563 Moved ...
26564 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
26565 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
26566 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
26567 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
26568 Moved ...
26569 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
26570 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
26571 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
26572 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
26573 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
26574 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
26575 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
26576 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
26577 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
26578 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
26579 Moved ...
26580 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
26581 ... here.
26582 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
26583 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
26584 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
26585 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
26586 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
26587 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
26588 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
26589 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
26590 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
26591 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
26592 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
26593 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
26594 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
26595 Moved ...
26596 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
26597 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
26598 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
26599 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
26600 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
26601 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
26602 Moved ...
26603 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
26604 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
26605 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
26606 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
26607 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
26608
26609 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
26610 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
26611 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
26612 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
26613 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
26614 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
26615 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
26616 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
26617 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
26618 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
26619 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
26620 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
26621 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
26622 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
26623 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
26624 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
26625 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
26626 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
26627 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
26628 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
26629 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
26630 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
26631 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
26632 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
26633 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
26634 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
26635 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
26636 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
26637
26638 2014-06-23 Joseph Myers <joseph@codesourcery.com>
26639
26640 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26641 (FALLOC_FL_COLLAPSE_RANGE): New macro.
26642 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
26643 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
26644 (IPV6_PMTUDISC_INTERFACE): Likewise.
26645 (IPV6_PMTUDISC_OMIT): Likewise.
26646
26647 2014-06-23 Andreas Schwab <schwab@suse.de>
26648
26649 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
26650 Remove unused errout label.
26651
26652 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26653
26654 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
26655 macro: hardware supports Vector Crypto instructions.
26656
26657 2014-06-23 Will Newton <will.newton@linaro.org>
26658
26659 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
26660 rather than __builtin_expect.
26661
26662 * elf/dl-lookup.c (undefined_msg): Remove variable.
26663 (_dl_lookup_symbol_x): Replace undefined_msg with string
26664 literal.
26665
26666 * elf/dl-lookup.c (do_lookup_unique): New function.
26667 (do_lookup_x): Move STB_GNU_UNIQUE handling code
26668 to a separate function.
26669
26670 2014-06-23 Andreas Schwab <schwab@suse.de>
26671
26672 [BZ #17079]
26673 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
26674 before reading the next line.
26675
26676 2014-06-23 Will Newton <will.newton@linaro.org>
26677
26678 * test-skeleton.c (signal_handler): Use printf and %m
26679 rather than perror. Use printf rather than fprintf to
26680 stderr. Use puts rather than fputs to stderr.
26681 (main): Likewise.
26682
26683 2014-06-22 Ludovic Courtès <ludo@gnu.org>
26684
26685 * nscd/nscd.c (thread_info_t): Remove typedef.
26686 (thread_info): Remove variable.
26687
26688 2014-06-21 Allan McRae <allan@archlinux.org>
26689
26690 * NEWS: Mention CVE-2014-4043.
26691
26692 2014-06-20 Roland McGrath <roland@hack.frob.com>
26693
26694 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
26695 * nptl/smp.h: ... here.
26696
26697 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
26698
26699 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
26700 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
26701 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
26702 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
26703
26704 * nptl/allocatestack.c: Include <stack-aliasing.h>.
26705 * nptl/stack-aliasing.h: New file.
26706 * sysdeps/i386/i686/stack-aliasing.h: New file.
26707 * sysdeps/i386/i686/nptl/Makefile: File removed.
26708 * sysdeps/x86_64/stack-aliasing.h: New file.
26709 * sysdeps/x86_64/nptl/Makefile
26710 (CFLAGS-pthread_create.c): Variable removed.
26711
26712 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
26713 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
26714 old file.
26715 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
26716 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
26717 old file.
26718
26719 2014-06-21 Joseph Myers <joseph@codesourcery.com>
26720
26721 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26722 (__ASSUME_SIGFRAME_V2): Remove macro.
26723 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
26724 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
26725 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
26726 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
26727 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
26728 Declare as function. Remove conditional macro definitions.
26729 (__default_rt_sa_restorer): Likewise.
26730 (__default_sa_restorer_v1): Remove declaration.
26731 (__default_sa_restorer_v2): Likewise.
26732 (__default_rt_sa_restorer_v1): Likewise.
26733 (__default_rt_sa_restorer_v2): Likewise.
26734 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
26735 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
26736 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
26737
26738 2014-06-20 Roland McGrath <roland@hack.frob.com>
26739
26740 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
26741 (libpthread-routines): Add sysdep.
26742 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
26743 * sysdeps/unix/sysv/linux/sparc/Versions
26744 (libpthread: GLIBC_2.3.3): New version set.
26745 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
26746 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
26747 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
26748 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
26749 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
26750 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
26751 Moved ...
26752 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
26753 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
26754 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
26755 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
26756 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
26757 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
26758 * sysdeps/sparc/nptl/sem_init.c: ... here.
26759 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
26760 * sysdeps/sparc/nptl/sem_post.c: ... here.
26761 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
26762 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
26763 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
26764 * sysdeps/sparc/nptl/sem_wait.c: ... here.
26765 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
26766 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
26767 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
26768 (libpthread-routines): Add cpu_relax.
26769 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
26770 File removed.
26771 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
26772 (librt: GLIBC_2.3.3): New version set.
26773 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
26774 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
26775 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
26776 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
26777 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
26778 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
26779 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
26780 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
26781 Moved ...
26782 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
26783 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
26784 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
26785 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
26786 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
26787 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
26788 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
26789 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
26790 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
26791 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
26792 Moved ...
26793 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
26794 Update #include.
26795 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
26796 Moved ...
26797 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
26798 Update #include.
26799 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
26800 Moved ...
26801 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
26802 Update #include.
26803 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
26804 Moved ...
26805 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
26806 Update #include.
26807 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
26808 Moved ...
26809 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
26810 Update #include.
26811 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
26812 Moved ...
26813 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
26814 Update #include.
26815 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
26816 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
26817 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
26818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
26819 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
26820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
26821 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
26822 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
26823 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
26824 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
26825 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26826 Moved ...
26827 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
26828 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
26829 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
26830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
26831 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
26832
26833 2014-06-20 Joseph Myers <joseph@codesourcery.com>
26834
26835 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
26836 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
26837 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26838 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
26839 * nscd/nscd.c: Likewise.
26840 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
26841 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
26842 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
26843 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
26844
26845 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
26846 <kernel-features.h>.
26847 (init_mq_netlink): Remove conditional have_sock_cloexec
26848 definitions. Remove code conditional on have_sock_cloexec < 0.
26849 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
26850 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
26851 * sysdeps/unix/sysv/linux/opensock.c: Do not include
26852 <kernel-features.h>.
26853 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
26854 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
26855
26856 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
26857
26858 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26859 Add tests for memset_chk and memset.
26860
26861 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
26862 with AVX2_Usable.
26863
26864 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
26865
26866 [BZ #16046]
26867 * elf/tst-dl-iter-static.c: New file.
26868 * elf/Makefile (tests-static): Add tst-dl-iter-static.
26869
26870 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
26871 error.
26872
26873 2014-06-20 Joseph Myers <joseph@codesourcery.com>
26874
26875 * sysdeps/unix/sysv/linux/kernel-features.h
26876 (__ASSUME_F_GETOWN_EX): Remove macro.
26877 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
26878 <kernel-features.h>.
26879 (miss_F_GETOWN_EX): Remove variable or macro.
26880 (do_fcntl): Do not check miss_F_GETOWN_EX.
26881 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
26882
26883 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
26884 Remove macro.
26885 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
26886 [!__ASSUME_AT_RANDOM]: Remove conditional code.
26887 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
26888
26889 * sysdeps/unix/sysv/linux/kernel-features.h
26890 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
26891 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
26892 [ADJ_OFFSET_SS_READ]: Make code unconditional.
26893 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
26894
26895 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
26896
26897 [BZ #17075]
26898 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
26899 Fix calculation of the symbol's value.
26900 * sysdeps/arm/tst-armtlsdescloc.c: New file.
26901 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
26902 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
26903 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
26904 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
26905 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
26906 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
26907 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
26908 (modules-names): Add `tst-armtlsdescmod',
26909 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
26910 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
26911 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26912 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
26913 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
26914 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26915 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
26916 ($(objpfx)tst-armtlsdescloc): New dependency.
26917 ($(objpfx)tst-armtlsdescextnow): Likewise.
26918 ($(objpfx)tst-armtlsdescextlazy): Likewise.
26919 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
26920 TLS scheme support.
26921 * sysdeps/arm/configure: Regenerate.
26922
26923 2014-06-20 Joseph Myers <joseph@codesourcery.com>
26924
26925 * include/fcntl.h (__atfct_seterrno): Remove prototype.
26926 (__atfct_seterrno_2): Likewise.
26927 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
26928 <kernel-features.h>.
26929 (__ASSUME_ATFCTS): Do not undefine and redefine.
26930 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
26931 (__have_atfcts): Remove conditional definition.
26932 (__fxstatat([__NR_fstatat64]: Make code unconditional.
26933 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
26934 unreachable if [__ASSUME_ATFCTS].
26935 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
26936 not undefine and redefine.
26937 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
26938 <kernel-features.h>.
26939 (faccessat) [__NR_faccessat]: Make code unconditional.
26940 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
26941 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
26942 <kernel-features.h>.
26943 (fchmodat) [__NR_fchmodat]: Make code unconditional.
26944 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26945 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
26946 <kernel-features.h>.
26947 (fchownat) [__NR_fchownat]: Make code unconditional.
26948 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
26949 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
26950 <kernel-features.h>.
26951 (futimesat) [__NR_futimesat]: Make code unconditional.
26952 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
26953 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26954 <kernel-features.h>.
26955 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26956 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26957 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26958 <kernel-features.h>.
26959 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
26960 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26961 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
26962 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26963 <kernel-features.h>.
26964 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
26965 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26966 * sysdeps/unix/sysv/linux/linkat.c: Do not include
26967 <kernel-features.h>.
26968 (linkat) [__NR_linkat]: Make code unconditional.
26969 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26970 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
26971 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
26972 <kernel-features.h>.
26973 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
26974 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26975 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
26976 <kernel-features.h>.
26977 (mkdirat) [__NR_mkdirat]: Make code unconditional.
26978 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
26979 * sysdeps/unix/sysv/linux/openat.c: Do not include
26980 <kernel-features.h>.
26981 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
26982 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
26983 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
26984 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
26985 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
26986 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
26987 <kernel-features.h>.
26988 (readlinkat) [__NR_readlinkat]: Make code unconditional.
26989 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
26990 result of INLINE_SYSCALL directly, not via int variable.
26991 * sysdeps/unix/sysv/linux/renameat.c: Do not include
26992 <kernel-features.h>.
26993 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
26994 (renameat) [__NR_renameat]: Make code unconditional.
26995 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
26996 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
26997 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
26998 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
26999 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
27000 (__ASSUME_ATFCTS): Do not undefine and redefine.
27001 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
27002 <kernel-features.h>.
27003 (symlinkat) [__NR_symlinkat]: Make code unconditional.
27004 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27005 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
27006 <kernel-features.h>.
27007 (unlinkat) [__NR_unlinkat]: Make code unconditional.
27008 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27009 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
27010 (__ASSUME_ATFCTS): Do not undefine and redefine.
27011 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27012 <kernel-features.h>.
27013 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
27014 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27015 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27016 <kernel-features.h>.
27017 (__xmknodat) [__NR_mknodat]: Make code unconditional.
27018 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27019
27020 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
27021
27022 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
27023
27024 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
27025
27026 [BZ #17069]
27027 * posix/regcomp.c (parse_reg_exp): Deallocate partially
27028 constructed tree before returning error.
27029 * posix/bug-regexp36.c: Expand test case.
27030
27031 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
27032
27033 [BZ #6803]
27034 * math/libm-test.inc (scalbln_test_date):
27035 Add errno expectations.
27036 * math/w_scalblnf.c: New File.
27037 Add wrapper which checks for setting errno to ERANGE.
27038 Add weak_alias for corresponding scalbln function.
27039 * math/w_scalbln.c: Likewise.
27040 * math/w_scalblnl.c: Likewise.
27041 * math/Makefile (libm-calls): Add w_scalbln.
27042 * sysdeps/ieee754/flt-32/s_scalblnf.c:
27043 Remove weak_alias for corresponding scalbln function.
27044 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27045 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27046 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27047 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27048 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27049 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27050 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
27051 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27052 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
27053 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
27054 Remove long_double_symbol for scalblnl function in libm, libc.
27055 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
27056 Add wrapper which checks for setting errno to ERANGE.
27057 Add long_double_symbol for scalblnl function in libm, libc.
27058 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
27059 Remove long_double_symbol for scalblnl in libm.
27060 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
27061 Add wrapper which checks for setting errno to ERANGE.
27062 Add long_double_symbol for scalblnl function in libm.
27063 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
27064 Do not use wrapper because of own implementation.
27065
27066 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
27067
27068 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
27069 3 bytes for __pad1 for x32.
27070 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
27071
27072 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
27073 H.J. Lu <hongjiu.lu@intel.com>
27074
27075 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
27076 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
27077 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27078 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27079 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
27080
27081 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
27082
27083 [BZ #17069]
27084 * posix/regcomp.c (parse_expression): Deallocate partially
27085 constructed tree before returning error.
27086 * posix/Makefile.c (tests): Add bug-regex36.
27087 (generated): Add bug-regex36.mtrace.
27088 (tests-special): Add $(objpfx)bug-regex36-mem.out
27089 (bug-regex36-ENV): New variable.
27090 ($(objpfx)bug-regex36-mem.out): New rule.
27091 * posix/bug-regex36.c: New file.
27092
27093 2014-06-19 Will Newton <will.newton@linaro.org>
27094
27095 * malloc/malloc.c (systrim): If extra is zero then return
27096 early.
27097
27098 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27099
27100 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
27101
27102 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
27103
27104 * sysdeps/aarch64/strchr.S: New file.
27105
27106 2014-06-18 Joseph Myers <joseph@codesourcery.com>
27107
27108 [BZ #17022]
27109 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
27110 from arguments -2 or below.
27111 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
27112 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
27113
27114 2014-06-18 Andreas Schwab <schwab@suse.de>
27115
27116 [BZ #17062]
27117 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
27118 of a bracket expr not to run off the end of the string.
27119 * posix/Makefile (tests): Add tst-fnmatch3.
27120 * posix/tst-fnmatch3.c: New file.
27121
27122 2014-06-18 Joseph Myers <joseph@codesourcery.com>
27123
27124 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
27125 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27126 [$(cross-compiling) = no]: Likewise.
27127 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27128 [$(cross-compiling) = no]: Likewise.
27129
27130 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27131
27132 [BZ #17031]
27133 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
27134 double, adjusted for any remainder from the high double.
27135 * math/libm-test.inc (nearbyint): Add tests.
27136 (rint): Likewise.
27137
27138 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27139
27140 * nptl/sysdeps/powerpc/Makefile: Moved ...
27141 * sysdeps/powerpc/nptl/Makefile: ... here.
27142 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
27143 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
27144 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
27145 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
27146 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
27147 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
27148 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
27149 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
27150 * nptl/sysdeps/powerpc/tls.h: Moved ...
27151 * sysdeps/powerpc/nptl/tls.h: ... here.
27152
27153 2014-06-16 Joseph Myers <joseph@codesourcery.com>
27154
27155 [BZ #16681]
27156 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
27157 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
27158 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
27159 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
27160 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
27161 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
27162 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
27163 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
27164 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
27165
27166 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
27167
27168 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27169
27170 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
27171
27172 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
27173 defined operator.
27174
27175 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
27176 $TIMEOUTFACTOR.
27177
27178 2014-06-16 Florian Weimer <fweimer@redhat.com>
27179
27180 [BZ #17058]
27181 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
27182 non-executed part of the test.
27183
27184 2014-06-16 Andreas Schwab <schwab@suse.de>
27185
27186 * string/bits/string2.h (strdup, strndup): Update feature guard.
27187
27188 2014-06-14 David S. Miller <davem@davemloft.net>
27189
27190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27191
27192 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
27193
27194 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
27195 that was previously under [RESET_PID].
27196 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
27197
27198 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
27199 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
27200 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
27201 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27202 (__libc_vfork): New strong alias.
27203 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
27204
27205 2014-06-14 Andi Kleen <ak@linux.intel.com>
27206
27207 * sysdeps/generic/elide.h: New file.
27208
27209 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27210
27211 * Makefile (installed-headers): Adjust path of pthread.h header.
27212
27213 2014-06-13 Roland McGrath <roland@hack.frob.com>
27214
27215 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
27216 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
27217 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
27218 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
27219
27220 * nptl/sysdeps/s390/Makefile: Moved ...
27221 * sysdeps/s390/nptl/Makefile: ... here.
27222 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
27223 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
27224 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
27225 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
27226 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
27227 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
27228 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
27229 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
27230 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
27231 * sysdeps/s390/nptl/pthreaddef.h: ... here.
27232 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
27233 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
27234 * nptl/sysdeps/s390/tls.h: Moved ...
27235 * sysdeps/s390/nptl/tls.h: ... here.
27236
27237 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
27238 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
27239
27240 2014-06-13 David S. Miller <davem@davemloft.net>
27241
27242 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
27243 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
27244 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
27245 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
27246 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
27247 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
27248 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
27249 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
27250 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
27251 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
27252 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
27253 Remove RESET_PID cpp guards.
27254 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
27255 Remove RESET_PID cpp guards.
27256 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
27257
27258 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
27259
27260 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
27261 __sp to uintptr_t.
27262
27263 2014-06-13 Andi Kleen <ak@linux.intel.com>
27264
27265 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
27266 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
27267 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
27268 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
27269 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
27270 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
27271 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
27272 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
27273 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
27274 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
27275 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
27276 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
27277 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
27278 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
27279 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
27280 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
27281 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
27282 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
27283 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
27284 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
27285
27286 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
27287 (pthread_rwlock_rdlock): Add elision.
27288 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
27289 (pthread_rwlock_wrlock): Add elision.
27290 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
27291 (pthread_rwlock_trywrlock): Add elision.
27292 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
27293 (pthread_rwlock_tryrdlock): Add elision.
27294 * nptl/pthread_rwlock_unlock.c: Include elide.h.
27295 (pthread_rwlock_tryrdlock): Add elision unlock.
27296 * nptl/sysdeps/pthread/pthread.h:
27297 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
27298 (PTHREAD_RWLOCK_INITIALIZER,
27299 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
27300 Handle new elision field.
27301 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
27302 * sysdeps/arm/nptl/bits/pthreadtypes.h
27303 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27304 * sysdeps/sh/nptl/bits/pthreadtypes.h
27305 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27306 * sysdeps/tile/nptl/bits/pthreadtypes.h
27307 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27308 * sysdeps/a/nptl/bits/pthreadtypes.h
27309 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27310 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27311 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27312 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27313 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27314 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
27315 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27316 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27317 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27318 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27319 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27320 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27321 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27322 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27323 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27324 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
27325 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27326 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
27327 (elision_init): Set try_xbegin to zero when no RTM.
27328 * sysdeps/x86/nptl/bits/pthreadtypes.h
27329 (pthread_rwlock_t): Change __pad1 to __rwelision.
27330 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27331
27332 2014-06-13 Andi Kleen <ak@linux.intel.com>
27333
27334 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
27335 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
27336 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
27337 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
27338
27339 2014-06-13 Meador Inge <meadori@codesourcery.com>
27340
27341 [BZ #16996]
27342 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
27343 that the cached result has been set before returning it.
27344
27345 2014-06-12 Roland McGrath <roland@hack.frob.com>
27346
27347 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
27348 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
27349 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
27350 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
27351 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
27352 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
27353
27354 * nptl/sysdeps/sparc/Makefile: Moved ...
27355 * sysdeps/sparc/nptl/Makefile: ... here.
27356 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
27357 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
27358 * nptl/sysdeps/sparc/tls.h: Moved ...
27359 * sysdeps/sparc/nptl/tls.h: ... here.
27360 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
27361 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
27362 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
27363 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
27364 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
27365 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
27366 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
27367 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
27368 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
27369 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
27370 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
27371 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
27372 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
27373 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
27374 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
27375 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
27376 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
27377 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
27378 Update #include.
27379 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
27380 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
27381 Update #include.
27382 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
27383 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
27384 Update #include.
27385 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
27386 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
27387 Update #include.
27388
27389 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27390
27391 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
27392 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
27393
27394 * sysdeps/pthread/posix-timer.h: Include <list.h>.
27395 (struct list_links): Type removed.
27396 (struct thread_node, struct timer_node): Replace struct list_links
27397 with struct list_head.
27398 (list_unlink_ip): Likewise.
27399 * sysdeps/pthread/timer_routines.c
27400 (timer_free_list, thread_free_list, thread_active_list): Likewise.
27401 (list_append, list_insbefore): Likewise.
27402 (list_init): Function removed.
27403 (thread_init, init_module): Use INIT_LIST_HEAD instead.
27404 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
27405 * sysdeps/pthread/Makefile: ... here, new file.
27406
27407 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
27408 * sysdeps/nptl/Implies: ... here.
27409 * sysdeps/unix/sysv/linux/Implies: Add nptl.
27410 * nptl/sysdeps/pthread/list.h: Moved ...
27411 * include/list.h: ... here.
27412 * nptl/sysdeps/pthread/createthread.c: Moved ...
27413 * nptl/createthread.c: ... here.
27414 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
27415 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
27416 * nptl/pt-longjmp.c: ... here.
27417 * nptl/sysdeps/pthread/Makefile: Moved ...
27418 * sysdeps/nptl/Makefile: ... here.
27419 * nptl/sysdeps/pthread/Subdirs: Moved ...
27420 * sysdeps/nptl/Subdirs: ... here.
27421 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
27422 * sysdeps/nptl/aio_misc.h: ... here.
27423 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
27424 * sysdeps/nptl/bits/libc-lock.h: ... here.
27425 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
27426 * sysdeps/nptl/bits/libc-lockP.h: ... here.
27427 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
27428 * sysdeps/nptl/bits/stdio-lock.h: ... here.
27429 * nptl/sysdeps/pthread/configure: Moved ...
27430 * sysdeps/nptl/configure: ... here.
27431 * nptl/sysdeps/pthread/configure.ac: Moved ...
27432 * sysdeps/nptl/configure.ac: ... here.
27433 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
27434 * sysdeps/nptl/gai_misc.h: ... here.
27435 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
27436 * sysdeps/nptl/librt-cancellation.c: ... here.
27437 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
27438 * sysdeps/nptl/malloc-machine.h: ... here.
27439 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
27440 * sysdeps/nptl/pthread-functions.h: ... here.
27441 * nptl/sysdeps/pthread/pthread.h: Moved ...
27442 * sysdeps/nptl/pthread.h: ... here.
27443 * nptl/sysdeps/pthread/setxid.h: Moved ...
27444 * sysdeps/nptl/setxid.h: ... here.
27445 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
27446 * sysdeps/nptl/sigfillset.c: ... here.
27447 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
27448 * sysdeps/nptl/tcb-offsets.h: ... here.
27449 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
27450 * sysdeps/nptl/tst-mqueue8x.c: ... here.
27451 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
27452 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
27453 * nptl/sysdeps/pthread/allocalim.h: Moved ...
27454 * sysdeps/pthread/allocalim.h: ... here.
27455 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
27456 * sysdeps/pthread/bits/sigthread.h: ... here.
27457 * nptl/sysdeps/pthread/flockfile.c: Moved ...
27458 * sysdeps/pthread/flockfile.c: ... here.
27459 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
27460 * sysdeps/pthread/ftrylockfile.c: ... here.
27461 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
27462 * sysdeps/pthread/funlockfile.c: ... here.
27463 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
27464 * sysdeps/pthread/posix-timer.h: ... here.
27465 * nptl/sysdeps/pthread/timer_create.c: Moved ...
27466 * sysdeps/pthread/timer_create.c: ... here.
27467 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
27468 * sysdeps/pthread/timer_delete.c: ... here.
27469 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
27470 * sysdeps/pthread/timer_getoverr.c: ... here.
27471 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
27472 * sysdeps/pthread/timer_gettime.c: ... here.
27473 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
27474 * sysdeps/pthread/timer_routines.c: ... here.
27475 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
27476 * sysdeps/pthread/timer_settime.c: ... here.
27477 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
27478 * sysdeps/pthread/tst-timer.c: ... here.
27479 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
27480 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
27481
27482 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
27483 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
27484
27485 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
27486 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
27487 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
27488 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
27489 Update #include target.
27490 * nptl/sysdeps/i386/i686/Makefile: Moved ...
27491 * sysdeps/i386/i686/nptl/Makefile: ... here.
27492 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
27493 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
27494 Update #include target.
27495 * nptl/sysdeps/i386/i686/tls.h: Moved ...
27496 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
27497 * nptl/sysdeps/i386/Makefile: Moved ...
27498 * sysdeps/i386/nptl/Makefile: ... here.
27499 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
27500 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
27501 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
27502 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
27503 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
27504 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
27505 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
27506 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
27507 * sysdeps/i386/nptl/pthreaddef.h: ... here.
27508 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
27509 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
27510 * nptl/sysdeps/i386/tls.h: Moved ...
27511 * sysdeps/i386/nptl/tls.h: ... here.
27512
27513 * sysdeps/sh/Makefile [$(subdir) = csu]
27514 (gen-as-const-headers): Add tcb-offsets.sym.
27515 * nptl/sysdeps/sh/Makefile: File removed.
27516 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
27517 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
27518 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
27519 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
27520 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
27521 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
27522 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
27523 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
27524 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
27525 * sysdeps/sh/nptl/pthreaddef.h: ... here.
27526 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
27527 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
27528 * nptl/sysdeps/sh/tls.h: Moved ...
27529 * sysdeps/sh/nptl/tls.h: ... here.
27530 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
27531 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
27532 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
27533 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
27534 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
27535 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
27536 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
27537 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
27538 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
27539 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
27540 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
27541 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
27542 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
27543 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
27544 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
27545 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
27546 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
27547 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
27548 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
27549 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
27550 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
27551 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
27552 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
27553 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
27554 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
27555 Moved ...
27556 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
27557 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
27558 Moved ...
27559 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
27560 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
27561 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
27562 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
27563 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
27564 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
27565 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
27566 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
27567 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
27568 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
27569 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
27570 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
27571 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
27572 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
27573 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
27574 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
27575 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
27576 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
27577 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
27578
27579 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
27580
27581 * posix/spawn_faction_addopen.c: Include string.h.
27582
27583 2014-06-11 Roland McGrath <roland@hack.frob.com>
27584
27585 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
27586 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
27587 * nptl/sysdeps/x86_64/Makefile: Moved ...
27588 * sysdeps/x86_64/nptl/Makefile: ... here.
27589 * nptl/sysdeps/x86_64/configure: Moved ...
27590 * sysdeps/x86_64/nptl/configure: ... here.
27591 * nptl/sysdeps/x86_64/configure.ac: Moved ...
27592 * sysdeps/x86_64/nptl/configure.ac: ... here.
27593 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
27594 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
27595 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
27596 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
27597 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
27598 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
27599 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
27600 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
27601 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
27602 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
27603 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
27604 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
27605 * nptl/sysdeps/x86_64/tls.h: Moved ...
27606 * sysdeps/x86_64/nptl/tls.h: ... here.
27607 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
27608 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
27609 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
27610 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
27611
27612 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
27613
27614 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27615
27616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27617
27618 2014-06-11 Joseph Myers <joseph@codesourcery.com>
27619
27620 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
27621 type.
27622 [POSIX] (off_t): Likewise.
27623 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
27624 [POSIX] (S_ISBLK): Require macro.
27625 [POSIX] (S_ISCHR): Likewise.
27626 [POSIX] (S_ISDIR): Likewise.
27627 [POSIX] (S_ISFIFO): Likewise.
27628 [POSIX] (S_ISREG): Likewise.
27629 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
27630 optional-macro.
27631 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
27632 type.
27633 [POSIX] (time_t): Likewise.
27634 [POSIX] (timer_t): Likewise.
27635
27636 2014-06-11 Florian Weimer <fweimer@redhat.com>
27637
27638 [BZ #17048]
27639 * posix/spawn_int.h (struct __spawn_action): Make the path string
27640 non-const to support deallocation.
27641 * posix/spawn_faction_addopen.c
27642 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
27643 * posix/spawn_faction_destroy.c
27644 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
27645 path in all spawn_do_open actions.
27646 * posix/tst-spawn.c (do_test): Exercise the copy operation in
27647 posix_spawn_file_actions_addopen.
27648
27649 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
27650
27651 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
27652 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
27653 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
27654 conditional code always true.
27655 (__libc_vfork): New alias.
27656
27657 2014-06-11 Roland McGrath <roland@hack.frob.com>
27658
27659 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27660 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
27661
27662 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
27663
27664 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27665 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
27666
27667 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27668 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
27669
27670 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27671 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
27672
27673 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
27674
27675 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
27676 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
27677 multiarch strcmp for PPC64.
27678 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
27679 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
27680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
27681 multiarch optimizations.
27682 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27683 (__libc_ifunc_impl_list): Likewise.
27684
27685 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27686
27687 * benchtests/scripts/validate_benchout.py: New script.
27688 * benchtests/Makefile (bench-func): Call it.
27689 * benchtests/scripts/benchout.schema.json: New file.
27690
27691 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
27692
27693 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
27694 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
27695 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
27696 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
27697 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
27698 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
27699 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
27700 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
27701 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
27702 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
27703 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
27704 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
27705 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
27706 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
27707 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
27708 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
27709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
27710 Moved ...
27711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
27712 ... here.
27713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
27714 Moved ...
27715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
27716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
27717 Moved ...
27718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
27719 ... here.
27720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
27721 Moved ...
27722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
27723 ... here.
27724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
27725 Moved ...
27726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
27727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
27728 Moved ...
27729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
27730 ... here.
27731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
27732 Moved ...
27733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
27734 ... here.
27735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
27736 Moved ...
27737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
27738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
27739 Moved ...
27740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
27741 ... here.
27742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
27743 Moved ...
27744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
27745 ... here.
27746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
27747 Moved ...
27748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
27749 ... here.
27750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
27751 Moved ...
27752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
27753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
27754 Moved ...
27755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
27756 ... here.
27757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
27758 Moved ...
27759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
27760 ... here.
27761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
27762 Moved ...
27763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
27764 ... here.
27765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
27766 Moved ...
27767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
27768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
27769 Moved ...
27770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
27771 ... here.
27772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
27773 Moved ...
27774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
27775 ... here.
27776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
27777 Moved ...
27778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
27779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
27780 Moved ...
27781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
27782 ... here.
27783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
27784 Moved ...
27785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
27786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
27787 Moved ...
27788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
27789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
27790 Moved ...
27791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
27792 ... here.
27793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
27794 Moved ...
27795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
27796 ... here.
27797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
27798 Moved ...
27799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
27800 ... here.
27801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
27802 Moved ...
27803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
27804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
27805 Moved ...
27806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
27807 ... here.
27808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
27809 Moved ...
27810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
27811 ... here.
27812 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
27813 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
27814 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
27815 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
27816 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
27817 Moved ...
27818 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
27819 ... here.
27820 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
27821 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
27822 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
27823 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
27824 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
27825 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
27826 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
27827 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
27828 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
27829 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
27830 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
27831 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
27832 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
27833 Moved ...
27834 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
27835 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
27836 Moved ...
27837 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
27838 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
27839 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
27840 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
27841 Moved ...
27842 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
27843 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
27844 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
27845 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
27846 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
27847 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
27848 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
27849
27850 2014-06-10 Wilco <wdijkstr@arm.com>
27851
27852 * math/test-fenv-return.c: New file.
27853 * math/Makefile: Add new test test-fenv-return.
27854
27855 2014-06-10 Joseph Myers <joseph@codesourcery.com>
27856
27857 [BZ #17042]
27858 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
27859 when x - 1 is zero.
27860 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
27861 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
27862 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
27863 0.0L for an argument of 1.0L.
27864 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27865 Likewise.
27866 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
27867 value when x - 1 is zero.
27868 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
27869 * sysdeps/i386/fpu/libm-test-ulps: Update.
27870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27871
27872 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
27873
27874 [BZ #15119]
27875 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
27876
27877 2014-06-09 Roland McGrath <roland@hack.frob.com>
27878
27879 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
27880 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
27881
27882 2014-06-09 Roland McGrath <roland@hack.frob.com>
27883
27884 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27885 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
27886
27887 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27888 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
27889
27890 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27891 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
27892
27893 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27894 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
27895
27896 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
27897 if not already defined.
27898 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
27899 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
27900 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
27901 (TLS_INIT_TP): Use it.
27902 (TLS_DEFINE_INIT_TP): New macro.
27903 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
27904
27905 2014-06-09 Joseph Myers <joseph@codesourcery.com>
27906
27907 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
27908 constant.
27909 [POSIX] (IXANY): Likewise.
27910 [POSIX] (OLCUC): Likewise.
27911 [POSIX || POSIX2008] (CBAUD): Do not allow.
27912 [POSIX || POSIX2008] (DEFECHO): Likewise.
27913 [POSIX || POSIX2008] (ECHOCTL): Likewise.
27914 [POSIX || POSIX2008] (ECHOKE): Likewise.
27915 [POSIX || POSIX2008] (ECHOPRT): Likewise.
27916 [POSIX || POSIX2008] (EXTA): Likewise.
27917 [POSIX || POSIX2008] (EXTB): Likewise.
27918 [POSIX || POSIX2008] (FLUSHO): Likewise.
27919 [POSIX || POSIX2008] (LOBLK): Likewise.
27920 [POSIX || POSIX2008] (PENDIN): Likewise.
27921 [POSIX || POSIX2008] (SWTCH): Likewise.
27922 [POSIX || POSIX2008] (VDISCARD): Likewise.
27923 [POSIX || POSIX2008] (VDSUSP): Likewise.
27924 [POSIX || POSIX2008] (VLNEXT): Likewise.
27925 [POSIX || POSIX2008] (VREPRINT): Likewise.
27926 [POSIX || POSIX2008] (VSTATUS): Likewise.
27927 [POSIX || POSIX2008] (VWERASE): Likewise.
27928 (B*): Change to B[0123456789]*.
27929 * conform/data/time.h-data [POSIX || UNIX98]
27930 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
27931 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27932 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
27933 [POSIX] (tm_*): Do not allow.
27934
27935 2014-06-07 Joseph Myers <joseph@codesourcery.com>
27936
27937 * Makefile (install): Don't set LANGUAGE.
27938 * Makefile.in (install): Likewise.
27939 * assert/Makefile (test-assert-ENV): Remove variable.
27940 (test-assert-perr-ENV): Likewise.
27941 * elf/Makefile (neededtest4-ENV): Likewise.
27942 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27943 [$(cross-compiling) = no]: Don't set LANGUAGE.
27944 * io/ftwtest-sh (LANG): Remove variable.
27945 * libio/Makefile (tst-widetext-ENV): Likewise.
27946 * manual/install.texi (Running make install): Don't refer to
27947 environment settings for make install.
27948 * INSTALL: Regenerated.
27949 * nptl/tst-tls6.sh: Don't set LANG.
27950 * posix/globtest.sh (LANG): Remove variable.
27951 * string/Makefile (tester-ENV): Likewise.
27952 (inl-tester-ENV): Likewise.
27953 (noinl-tester-ENV): Likewise.
27954 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27955 [$(cross-compiling) = no]: Don't set LANGUAGE.
27956 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
27957 without explicit environment settings.
27958
27959 2014-06-06 Roland McGrath <roland@hack.frob.com>
27960
27961 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
27962 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
27963 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
27964 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
27965
27966 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
27967
27968 * crypt/crypt-private.h [DOS]: Add some includes taken from the
27969 other files in the crypt directory.
27970 * crypt/crypt.c: Remove duplicate includes.
27971 * crypt/crypt-entry.c: Likewise.
27972 * crypt/crypt_util.c: Likewise.
27973
27974 2014-06-06 Joseph Myers <joseph@codesourcery.com>
27975
27976 * Makeconfig (run-program-env): New variable.
27977 (run-program-prefix-before-env): Likewise.
27978 (run-program-prefix-after-env): Likewise.
27979 (run-program-prefix): Define in terms of new variables.
27980 (built-program-cmd-before-env): New variable.
27981 (built-program-cmd-after-env): Likewise.
27982 (built-program-cmd): Define in terms of new variables.
27983 (test-program-prefix-before-env): New variable.
27984 (test-program-prefix-after-env): Likewise.
27985 (test-program-prefix): Define in terms of new variables.
27986 (test-program-cmd-before-env): New variable.
27987 (test-program-cmd-after-env): Likewise.
27988 (test-program-cmd): Define in terms of new variables.
27989 * Rules (make-test-out): Use $(run-program-env).
27990 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
27991 (help): Do not mention environment variables. Mention
27992 --timeoutfactor option.
27993 (timeoutfactor): New variable.
27994 (blacklist_exports): Remove function.
27995 (exports): Remove variable.
27996 (command): Do not include ${exports}.
27997 * manual/install.texi (Configuring and compiling): Do not mention
27998 test wrappers preserving environment variables. Mention that last
27999 assignment to a variable must take precedence.
28000 * INSTALL: Regenerated.
28001 * benchtests/Makefile (run-bench): Use $(run-program-env).
28002 * catgets/Makefile ($(objpfx)test1.cat): Use
28003 $(built-program-cmd-before-env), $(run-program-env) and
28004 $(built-program-cmd-after-env).
28005 ($(objpfx)test2.cat): Do not specify environment variables
28006 explicitly.
28007 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
28008 $(run-program-env) and $(built-program-cmd-after-env).
28009 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
28010 $(run-program-env) and $(test-program-cmd-after-env).
28011 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
28012 explicitly.
28013 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
28014 run_program_env and test_program_cmd_after_env arguments.
28015 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
28016 * elf/tst-pathopt.sh: Use run_program_env argument.
28017 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
28018 $(test-wrapper-env) and $(run-program-env).
28019 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
28020 run_program_env arguments.
28021 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
28022 * intl/Makefile ($(objpfx)tst-gettext.out): Use
28023 $(test-program-prefix-before-env), $(run-program-env) and
28024 $(test-program-prefix-after-env).
28025 ($(objpfx)tst-gettext2.out): Likewise.
28026 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
28027 run_program_env and test_program_prefix_after_env arguments.
28028 * intl/tst-gettext2.sh: Likewise.
28029 * intl/tst-gettext4.sh: Do not set environment variables
28030 explicitly.
28031 * intl/tst-gettext6.sh: Likewise.
28032 * intl/tst-translit.sh: Likewise.
28033 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
28034 $(test-program-prefix-before-env), $(run-program-env) and
28035 $(test-program-prefix-after-env).
28036 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
28037 run_program_env and test_program_prefix_after_env arguments.
28038 * math/Makefile (run-regen-ulps): Use $(run-program-env).
28039 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
28040 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
28041 explicitly with each use of ${test_wrapper_env}.
28042 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
28043 $(test-program-prefix-before-env), $(run-program-env) and
28044 $(test-program-prefix-after-env).
28045 * posix/tst-getconf.sh: Do not set environment variables
28046 explicitly.
28047 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
28048 run_program_env and test_program_prefix_after_env arguments.
28049 * stdio-common/tst-printf.sh: Do not set environment variables
28050 explicitly.
28051 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
28052 $(test-program-prefix-before-env), $(run-program-env) and
28053 $(test-program-prefix-after-env).
28054 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
28055 run_program_env and test_program_prefix_after_env arguments.
28056 Split $test calls into $test_pre and $test.
28057 * timezone/Makefile (build-testdata): Use
28058 $(built-program-cmd-before-env), $(run-program-env) and
28059 $(built-program-cmd-after-env).
28060
28061 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28062
28063 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
28064 strlen for non SHARED builds.
28065
28066 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28067
28068 * nptl/allocatestack.c (check_list): Inlined function...
28069 (__reclaim_stacks): ... here.
28070
28071 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
28072
28073 [BZ #15698]
28074 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28075 memory overrun.
28076
28077 2014-06-05 Joseph Myers <joseph@codesourcery.com>
28078
28079 * Rules (make-test-out): Include
28080 LOCPATH=$(common-objpfx)localedata in default environment.
28081 * debug/Makefile (tst-chk1-ENV): Remove variable.
28082 (tst-chk2-ENV): Likewise.
28083 (tst-chk3-ENV): Likewise.
28084 (tst-chk4-ENV): Likewise.
28085 (tst-chk5-ENV): Likewise.
28086 (tst-chk6-ENV): Likewise.
28087 (tst-lfschk1-ENV): Likewise.
28088 (tst-lfschk2-ENV): Likewise.
28089 (tst-lfschk3-ENV): Likewise.
28090 (tst-lfschk4-ENV): Likewise.
28091 (tst-lfschk5-ENV): Likewise.
28092 (tst-lfschk6-ENV): Likewise.
28093 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
28094 (tst-iconv7-ENV): Likewise.
28095 * intl/Makefile (LOCPATH-ENV): Likewise.
28096 (tst-codeset-ENV): Likewise.
28097 (tst-gettext3-ENV): Likewise.
28098 (tst-gettext5-ENV): Likewise.
28099 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
28100 (tst-fopenloc-ENV): Likewise.
28101 (tst-fgetws-ENV): Remove variable.
28102 (tst-ungetwc1-ENV): Likewise.
28103 (tst-ungetwc2-ENV): Likewise.
28104 (bug-ungetwc2-ENV): Likewise.
28105 (tst-swscanf-ENV): Likewise.
28106 (bug-ftell-ENV): Likewise.
28107 (tst-fgetwc-ENV): Likewise.
28108 (tst-fseek-ENV): Likewise.
28109 (tst-ftell-partial-wide-ENV): Likewise.
28110 (tst-ftell-active-handler-ENV): Likewise.
28111 (tst-ftell-append-ENV): Likewise.
28112 * posix/Makefile (tst-fnmatch-ENV): Likewise.
28113 (tst-regexloc-ENV): Likewise.
28114 (bug-regex1-ENV): Likewise.
28115 (tst-regex-ENV): Likewise.
28116 (tst-regex2-ENV): Likewise.
28117 (bug-regex5-ENV): Likewise.
28118 (bug-regex6-ENV): Likewise.
28119 (bug-regex17-ENV): Likewise.
28120 (bug-regex18-ENV): Likewise.
28121 (bug-regex19-ENV): Likewise.
28122 (bug-regex20-ENV): Likewise.
28123 (bug-regex22-ENV): Likewise.
28124 (bug-regex23-ENV): Likewise.
28125 (bug-regex25-ENV): Likewise.
28126 (bug-regex26-ENV): Likewise.
28127 (bug-regex30-ENV): Likewise.
28128 (bug-regex32-ENV): Likewise.
28129 (bug-regex33-ENV): Likewise.
28130 (bug-regex34-ENV): Likewise.
28131 (bug-regex35-ENV): Likewise.
28132 (tst-rxspencer-ENV): Likewise.
28133 (tst-rxspencer-no-utf8-ENV): Likewise.
28134 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
28135 (tst-sscanf-ENV): Likewise.
28136 (tst-swprintf-ENV): Likewise.
28137 (tst-swscanf-ENV): Likewise.
28138 (test-vfprintf-ENV): Likewise.
28139 (scanf13-ENV): Likewise.
28140 (bug14-ENV): Likewise.
28141 (tst-grouping-ENV): Likewise.
28142 * stdlib/Makefile (tst-strtod-ENV): Likewise.
28143 (tst-strtod3-ENV): Likewise.
28144 (tst-strtod4-ENV): Likewise.
28145 (tst-strtod5-ENV): Likewise.
28146 (testmb2-ENV): Likewise./
28147 * string/Makefile (tst-strxfrm-ENV): Likewise.
28148 (tst-strxfrm2-ENV): Likewise.
28149 (bug-strcoll1-ENV): Likewise.
28150 (test-strcasecmp-ENV): Likewise.
28151 (test-strncasecmp-ENV): Likewise.
28152 * time/Makefile (tst-strptime-ENV): Likewise.
28153 (tst-ftime_l-ENV): Likewise.
28154 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
28155 (tst-mbrtowc-ENV): Likewise.
28156 (tst-wcrtomb-ENV): Likewise.
28157 (tst-mbrtowc2-ENV): Likewise.
28158 (tst-c16c32-1-ENV): Likewise.
28159 (tst-mbsnrtowcs-ENV): Likewise.
28160
28161 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
28162
28163 * manual/resource.texi (How to get information about the memory
28164 subsystem?): Fix typo.
28165 Reported by Peon de la Parra Ivan <peon@keba.com>
28166
28167 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
28168
28169 [BZ #16882]
28170 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
28171 (pthread_spin_lock): Branch out of spin loop to proper location.
28172 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
28173 (pthread_spin_lock): Likewise.
28174
28175 * nptl/tst-spin4.c: New test.
28176 * nptl/Makefile (tests): Add tst-spin4.
28177
28178 2014-06-03 Andreas Schwab <schwab@suse.de>
28179
28180 [BZ #15946]
28181 * resolv/res_send.c (send_dg): Reload file descriptor after
28182 calling reopen.
28183
28184 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
28185
28186 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28187
28188 2014-06-03 Richard Henderson <rth@redhat.com>
28189
28190 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
28191 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
28192 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
28193 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
28194 in the SAVE_PID block.
28195 (__libc_vfork): New alias.
28196 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
28197
28198 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
28199 child in registers, not on the stack. Remove RESET_PID conditionals.
28200 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
28201
28202 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
28203
28204 * sysdeps/aarch64/libm-test-ulps: Regenerate.
28205
28206 2014-06-03 Wilco <wdijkstr@arm.com>
28207
28208 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
28209 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
28210 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28211 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
28212 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
28213 Likewise.
28214
28215 2014-06-03 Wilco <wdijkstr@arm.com>
28216
28217 * sysdeps/aarch64/fpu/math_private.h
28218 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
28219 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
28220 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
28221 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28222 Fix declarations.
28223
28224 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
28225
28226 * crypt/crypt-private.h: Include ufc-crypt.h.
28227 (__b64_from_24bit): Declare extern.
28228 * crypt/crypt_util.c(__b64_from_24bit): New function.
28229 (b64t): New static const variable.
28230 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
28231 (b64t): Remove variable.
28232 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
28233 * crypt/sha256-crypt.c: Include crypt-private.h.
28234 (b64t): Remove variable.
28235 (__sha256_crypt_r): Remove b64_from_24bit and replace
28236 with __b64_from_24bit.
28237 * crypt/sha512-crypt.c: Likewise.
28238
28239 2014-06-02 Roland McGrath <roland@hack.frob.com>
28240
28241 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
28242 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
28243 Label the code __libc_vfork rather than __vfork.
28244 [!NOT_IN_libc] (vfork): Define as weak alias.
28245 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
28246 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
28247 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
28248
28249 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28250
28251 * malloc/malloc.c (malloc_info): Fix format specifier for
28252 n_mmaps.
28253
28254 2014-06-02 Wilco <wdijkstr@arm.com>
28255
28256 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
28257 FPCR write.
28258
28259 2014-06-02 Wilco <wdijkstr@arm.com>
28260
28261 [BZ #17009]
28262 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
28263 Rewrite to reduce FPCR/FPSR accesses.
28264
28265 2014-06-01 David S. Miller <davem@davemloft.net>
28266
28267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28268
28269 2014-05-31 David S. Miller <davem@davemloft.net>
28270
28271 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
28272 to occur in round to nearest mode when |x| >= 2.0
28273
28274 2014-05-30 Richard Henderson <rth@twiddle.net>
28275
28276 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
28277 (PSEUDO_RET_NOERRNO): Remove.
28278 (ret): Don't redefine.
28279 (ret_NOERRNO): Define in terms of ret.
28280 (ret_ERRVAL): Likewise.
28281
28282 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
28283 use of PSEUDO_RET; perform the error check directly.
28284
28285 2014-05-30 Marko Myllynen <myllynen@redhat.com>
28286
28287 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
28288 with __int128_t.
28289
28290 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28291
28292 * malloc/malloc (malloc_info): Fix formatting.
28293
28294 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28295 Roland McGrath <roland@hack.frob.com>
28296
28297 * malloc/malloc (malloc_info): Also print mmapped statistics.
28298
28299 2014-05-30 Roland McGrath <roland@hack.frob.com>
28300
28301 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
28302 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
28303
28304 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
28305
28306 * malloc/malloc.c (malloc_info): Inline mi_arena.
28307
28308 2014-05-29 Richard Henderson <rth@twiddle.net>
28309
28310 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
28311 Remove comma before expanding ASM_ARGS_##nr.
28312 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
28313 Make _x0 a strict output; make _x8 a strict input; adjust expansion
28314 of ASM_ARGS_##nr.
28315 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
28316 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
28317 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
28318 (ASM_ARGS_1): Add leading comma.
28319
28320 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
28321 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
28322 to __errno_location.
28323 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
28324 Remove the expected plt for __errno_location.
28325
28326 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28327 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
28328 call to __read_tp.
28329
28330 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28331 Always allocate 64 bytes of stack frame. Use ldp/stp to create
28332 it and break it down.
28333 (DOCARGS_0, DOCARGS_1): Do nothing.
28334 (DOCARGS_2): Update to store into the new stack frame.
28335 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
28336 (UNDOCARGS_1): Update to restore from the new stack frame.
28337 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
28338 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
28339
28340 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28341 (SINGLE_THREAD_P): New parameter for result regno.
28342 (PSEUDO): Update to match; use cbz instead of beq.
28343
28344 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28345 Use ENTRY to define the _nocancel entry point. Share the syscall
28346 and syscall error check paths with the cancel path.
28347 (PSEUDO_END): New.
28348
28349 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
28350 whitespace; tabs before and after asm mnemonics.
28351
28352 2014-05-29 Eric Wong <normalperson@yhbt.net>
28353
28354 [BZ #15132]
28355 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28356 Call fstat64 or stat64 internally, depending on arguments passed.
28357 Replace stat buffer argument with file descriptor argument.
28358 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
28359 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28360 Pass fd to __internal_statvfs instead of calling fstat64.
28361 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
28362 Pass fd to __internal_statvfs64 instead of calling fstat64.
28363 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
28364 Pass -1 to __internal_statvfs instead of calling stat64.
28365 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
28366 Pass -1 to __internal_statvfs64 instead of calling stat64.
28367
28368 2014-05-28 Roland McGrath <roland@hack.frob.com>
28369
28370 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
28371 that was previously under [RESET_PID].
28372 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
28373
28374 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
28375 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
28376
28377 2014-05-27 Roland McGrath <roland@hack.frob.com>
28378
28379 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
28380
28381 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
28382 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
28383
28384 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
28385
28386 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
28387
28388 2014-05-27 Andreas Schwab <schwab@suse.de>
28389
28390 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
28391 TLS_INIT_TP macro.
28392 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
28393 * elf/rtld.c (init_tls, dl_main): Likewise.
28394 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
28395 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
28396 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
28397 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
28398 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
28399 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
28400 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
28401 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
28402 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
28403 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
28404 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
28405 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
28406 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
28407 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
28408 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
28409 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
28410 * sysdeps/generic/tls.h: Update description.
28411
28412 2014-05-27 Will Newton <will.newton@linaro.org>
28413
28414 [BZ #16990]
28415 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
28416 and restore r2 rather than just restoring.
28417
28418 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28419
28420 [BZ #16724]
28421 * libio/tst-ftell-append.c: New test case.
28422 * libio/Makefile (tests): Add test case.
28423 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
28424 append mode.
28425 * libio/wfileops.c (do_ftell_wide): Likewise.
28426
28427 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28428
28429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28430
28431 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
28432 ...
28433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
28434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28435 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
28436 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
28437 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
28438 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
28439 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
28440 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
28441 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28442 Moved ...
28443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
28444 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28445 Moved ...
28446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
28447 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
28448 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
28449 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
28450 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
28451 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
28452 ...
28453 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
28454 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
28455 Moved ...
28456 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
28457 here.
28458 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
28459 ...
28460 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
28461 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
28462 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
28463
28464 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
28465 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
28466 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
28467 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
28468
28469 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
28470 merge into ...
28471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
28472 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
28473 ...
28474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
28475 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
28476 ...
28477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
28478 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28479 Moved ...
28480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
28481 here.
28482 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28483 Moved ...
28484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
28485 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28486 Moved ...
28487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
28488
28489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
28490 conditional [RESET_PID].
28491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
28492 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
28493 removed.
28494 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
28495 removed.
28496
28497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
28498 <tcb-offsets.h>.
28499 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28500 (__libc_vfork): New strong alias.
28501 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
28502 removed.
28503 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
28504 Removed.
28505
28506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
28507 <tcb-offsets.h>.
28508 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
28509 (__libc_vfork): New strong alias.
28510 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
28511 removed.
28512 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
28513 removed.
28514
28515 2014-05-26 Carlos O'Donell <carlos@redhat.com>
28516
28517 * malloc/malloc.c (mi_arena): New function.
28518 (malloc_info): Remove nested function mi_arena. Call non-nosted
28519 function mi_arena.
28520
28521 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28522
28523 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
28524 by insrwi.
28525 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
28526 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28527 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
28528 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
28529 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
28530 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
28531 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
28532
28533 2014-05-26 Andreas Schwab <schwab@suse.de>
28534
28535 [BZ #16984]
28536 * locale/programs/repertoire.c (repertoire_read): Add slash
28537 between I18NPATH element and file name.
28538 * locale/programs/locfile.c (locfile_read): Likewise.
28539
28540 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
28541
28542 * nptl/pthread_mutexattr_settype.c
28543 (__pthread_mutexattr_settype):
28544 Disable lock elision for PTHREAD_MUTEX_NORMAL.
28545
28546 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
28547
28548 * nptl/tst-mutex5 (do_test):
28549 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
28550
28551 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28552
28553 * benchtests/README: Document 'init' directive.
28554 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
28555 BENCH_INIT.
28556 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
28557 (parse_file): Recognize 'init' directive.
28558
28559 2014-05-26 Kyle McMartin <kyle@redhat.com>
28560
28561 [BZ #16796]
28562 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
28563 alignment of struct pthread.
28564
28565 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28566
28567 [BZ #16878]
28568 * nscd/netgroupcache.c (addgetnetgrentX): Look for
28569 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28570 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
28571 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28572
28573 2014-05-25 Richard Henderson <rth@twiddle.net>
28574
28575 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28576 (SINGLE_THREAD_P_PIC): Remove.
28577 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
28578 (SINGLE_THREAD_P_PIC): Remove.
28579
28580 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
28581 branch to syscall error ...
28582 (PSEUDO): ... here.
28583 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
28584 from __local_syscall_error to .Lsyscall_error.
28585 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
28586 (SYSCALL_ERROR): Update label name.
28587
28588 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28589 Do not use DOARGS/UNDOARGS.
28590 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
28591 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
28592 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
28593 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
28594 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
28595
28596 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
28597 block comment.
28598
28599 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
28600 define if !NOT_IN_libc.
28601 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
28602 define with non-default symbol versions.
28603
28604 2014-05-23 Richard Henderson <rth@twiddle.net>
28605
28606 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
28607 (vfork, __vfork): Define via compat_symbol.
28608
28609 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
28610 [!HAVE_IFUNC] (vfork_compat): Remove.
28611 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
28612
28613 2014-05-23 Joseph Myers <joseph@codesourcery.com>
28614
28615 [BZ #16978]
28616 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
28617 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
28618 variable.
28619
28620 2014-05-23 Richard Henderson <rth@twiddle.net>
28621
28622 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
28623 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
28624 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
28625 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
28626
28627 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
28628 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
28629 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
28630 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
28631 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
28632 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
28633 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
28634 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
28635 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
28636 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
28637 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
28638 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
28639 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
28640 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
28641 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
28642 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
28643 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
28644 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
28645 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
28646 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
28647 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
28648 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
28649 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
28650 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
28651 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
28652 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
28653 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
28654 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
28655 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
28656 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
28657 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
28658 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
28659 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
28660 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
28661 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
28662 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
28663 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
28664 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
28665 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
28666 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
28667 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
28668 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
28669 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
28670 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
28671 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
28672 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
28673 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
28674 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
28675 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
28676 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
28677 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
28678 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
28679 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
28680 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
28681 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
28682 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
28683
28684 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
28685 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
28686 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
28687 before exiting on error.
28688 (__libc_vfork): New strong alias.
28689 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
28690 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
28691
28692 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
28693 that was previously under [RESET_PID].
28694 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
28695
28696 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
28697
28698 2014-05-23 Joseph Myers <joseph@codesourcery.com>
28699
28700 [BZ #16977]
28701 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
28702 value when x - 1 is zero.
28703 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
28704 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
28705 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
28706 0.0L for an argument of 1.0L.
28707 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
28708 Likewise.
28709 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
28710 value when x - 1 is zero.
28711 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
28712 * sysdeps/i386/fpu/libm-test-ulps: Update.
28713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28714
28715 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
28716
28717 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
28718 alphasort and versionsort.
28719
28720 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28721
28722 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
28723 macro.
28724 [copysignf]: Likewise.
28725
28726 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28727
28728 * crypt/md5-crypt.c: Fix formatting.
28729
28730 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
28731
28732 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
28733 (b64_from_24bit): New function.
28734
28735 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28736
28737 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
28738 libc_hidden_builtin_def to ifunc.
28739 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28740 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
28741
28742 2014-05-21 Roland McGrath <roland@hack.frob.com>
28743
28744 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
28745 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
28746
28747 2014-05-21 Joseph Myers <joseph@codesourcery.com>
28748
28749 * nscd/Depend (linuxthreads): Remove.
28750 (nptl): Add.
28751 * resolv/Depend (linuxthreads): Remove.
28752 * rt/Depend (linuxthreads): Remove.
28753
28754 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
28755 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
28756 $(common-objpfx)elf/.
28757 (link-libc-before-gnulib): Likewise.
28758 (elfobjdir): Remove variable.
28759 * Makefile (install): Use $(elf-objpfx) instead of
28760 $(common-objpfx)elf/.
28761 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
28762 $(elfobjdir)/.
28763 (link-libc-deps): Likewise.
28764 ($(common-objpfx)libc.so): Likewise.
28765 ($(common-objpfx)linkobj/libc.so): Likewise.
28766 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
28767 instead of $(common-objpfx)elf/.
28768 (symbolic-link-list): Likewise.
28769 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28770 [$(cross-compiling) = no]: Likewise.
28771 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
28772 $(elfobjdir)/.
28773 (static-gnulib-arch): Likewise.
28774 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28775 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
28776 $(common-objpfx)elf/.
28777
28778 2014-05-21 Richard Henderson <rth@redhat.com>
28779
28780 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28781 (SINGLE_THREAD_P): Use the correct width load. Fold
28782 into the ldr offset.
28783
28784 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
28785 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
28786
28787 2014-05-20 Joseph Myers <joseph@codesourcery.com>
28788
28789 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
28790 (libgcc_s_resume): Use __attribute_used__.
28791 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
28792 Likewise.
28793
28794 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28795
28796 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
28797 optimization when used with float constants.
28798
28799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28800
28801 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
28802
28803 [BZ #16915]
28804 * locale/nl_langinfo_l.c: Make direct reference to every
28805 _nl_current_CATEGORY symbol.
28806 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
28807 (tests-static): Add tst-langinfo-static.
28808 (tests-special): Add tst-langinfo-static.out.
28809 ($(objpfx)tst-langinfo.out): Redirect output.
28810 ($(objpfx)tst-langinfo-static.out): New.
28811 * localedata/tst-langinfo.sh: Send output to stdout.
28812 * localedata/tst-langinfo-static.c: New file.
28813
28814 [BZ #16965]
28815 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
28816 when the shift amount is modulo the limb size.
28817
28818 2014-05-20 Richard Henderson <rth@redhat.com>
28819
28820 [BZ #16967]
28821 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
28822 Change type of sa_flags from unsigned int to int.
28823
28824 [BZ #16966]
28825 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
28826
28827 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
28828
28829 2014-05-20 Will Newton <will.newton@linaro.org>
28830
28831 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28832 Test the return value of the system call in the nocancel case.
28833
28834 2014-05-20 Will Newton <will.newton@linaro.org>
28835 Yvan Roux <yvan.roux@linaro.org>
28836
28837 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
28838 #include of asm/ptrace.h.
28839 (PTRACE_GET_THREAD_AREA): Remove #undef.
28840 (PTRACE_GETHBPREGS): Likewise.
28841 (PTRACE_SETHBPREGS): Likewise.
28842 (struct user_regs_struct): New structure.
28843 (struct user_fpsimd_struct): New structure.
28844 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
28845 #include of asm/ptrace.h and second #include of sys/user.h.
28846 (PTRACE_GET_THREAD_AREA): Remove #undef.
28847 (PTRACE_GETHBPREGS): Likewise.
28848 (PTRACE_SETHBPREGS): Likewise.
28849 (ELF_NGREG): Use new struct user_regs_struct.
28850 (elf_fpregset_t): Use new struct user_fpsimd_struct.
28851
28852 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28853
28854 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
28855 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
28856
28857 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
28858
28859 [BZ #16958]
28860 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
28861 membar to avoid block loads/stores to overlap previous stores.
28862
28863 2014-05-17 Richard Henderson <rth@redhat.com>
28864
28865 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
28866 Create the __##syscall_name##_nocancel entry point.
28867 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
28868 Remove; let the sysdep-cancel.h code create it.
28869
28870 2014-05-17 David S. Miller <davem@davemloft.net>
28871
28872 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
28873 Protect with __USE_GNU.
28874 (TIOCSET_TEMPT): Likewise.
28875 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28876 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
28877 these are already provided in bits/ioctl-types.h
28878
28879 2014-05-16 Roland McGrath <roland@hack.frob.com>
28880
28881 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
28882 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
28883
28884 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
28885 Use wait4 regardless of [__NR_waitpid].
28886
28887 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28888
28889 PR libgcc/60166
28890 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28891 (_FP_NANSIGN_Q): Set the quiet bit.
28892
28893 2014-05-16 Joseph Myers <joseph@codesourcery.com>
28894
28895 * benchtests/Makefile
28896 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
28897 not $(common-objpfx)math/libm.so.
28898 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
28899 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
28900 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
28901 $(common-objpfx)dlfcn/libdl.so.
28902 ($(objpfx)tst-audit8): Depend on $(libm), not
28903 $(common-objpfx)math/libm.so.
28904 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
28905 not $(common-objpfx)dlfcn/libdl.so.
28906 * math/Makefile
28907 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28908 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
28909 [$(build-shared) = yes].
28910 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
28911 $(common-objpfx)nptl/libpthread.so.
28912 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
28913 $(common-objpfx)math/libm.so$(libm.so-version) or
28914 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
28915 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
28916 $(common-objpfx)dlfcn/libdl.so.
28917 * setjmp/Makefile (link-libm): Remove variable.
28918 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
28919 * stdio-common/Makefile (link-libm): Remove variable.
28920 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
28921 * stdlib/Makefile (link-libm): Remove variable.
28922 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
28923 ($(objpfx)tst-strtod-round): Likewise.
28924 ($(objpfx)tst-tininess): Likewise.
28925 ($(objpfx)tst-strtod-underflow): Likewise.
28926 ($(objpfx)tst-strtod6): Likewise.
28927 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
28928 $(libdl), not $(common-objpfx)nptl/libpthread.so and
28929 $(common-objpfx)dlfcn/libdl.so.
28930
28931 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28932
28933 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
28934 BSD terminal modes definitions.
28935
28936 2014-05-16 Roland McGrath <roland@hack.frob.com>
28937
28938 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
28939 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
28940
28941 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
28942 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
28943 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
28944 Don't do #include_next.
28945 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
28946 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
28947 Don't do #include_next.
28948 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
28949 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
28950 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
28951 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
28952
28953 2014-05-16 Allan McRae <allan@archlinux.org>
28954
28955 * po/sv.po: Update Swedish translation from translation project.
28956
28957 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
28958 in sed expression.
28959
28960 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
28961
28962 [BZ #16917]
28963 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
28964 errno if the TIOCGPTN ioctl fails with an error different than
28965 EINVAL.
28966 * login/tst-ptsname.c: New file.
28967 * login/Makefile (tests): Add tst-ptsname.
28968
28969 [BZ #16943]
28970 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
28971 and prlimit64.
28972
28973 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28974
28975 [BZ #16849]
28976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
28977 herrno to return EAI_AGAIN.
28978
28979 2014-05-14 Roland McGrath <roland@hack.frob.com>
28980
28981 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
28982 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
28983 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
28984 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
28985 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
28986 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
28987 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
28988 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
28989 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
28990 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
28991 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
28992 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
28993 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
28994 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
28995 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
28996 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
28997 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
28998 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
28999 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
29000 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
29001 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
29002 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
29003 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
29004 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
29005 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
29006 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
29007 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
29008 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
29009 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
29010 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
29011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
29012 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
29013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
29014 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
29015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29016 Moved ...
29017 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
29018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
29019 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
29020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
29021 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
29022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
29023 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
29024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
29025 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
29026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
29027 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
29028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
29029 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
29030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
29031 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
29032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
29033 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
29034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
29035 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
29036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
29037 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
29038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
29039 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
29040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
29041 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
29042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
29043 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
29044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29045 Moved ...
29046 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
29047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
29048 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
29049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
29050 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
29051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
29052 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
29053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
29054 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
29055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
29056 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
29057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
29058 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
29059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
29060 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
29061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
29062 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
29063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
29064 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
29065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29066 Moved ...
29067 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
29068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
29069 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
29070
29071 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
29072 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
29073 (libpthread-sysdep_routines): Add elision-related stuff here instead.
29074 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
29075 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
29076 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
29077 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
29078 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
29079 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
29080 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
29081 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
29082 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
29083 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
29084 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
29085 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
29086 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
29087 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
29088 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
29089 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
29090 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
29091 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
29092 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
29093 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
29094 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
29095 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
29096 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
29097 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
29098 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
29099 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
29100 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
29101 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
29102
29103 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
29104 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
29105
29106 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
29107 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
29108 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
29109 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
29110 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
29111 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
29112 Moved ...
29113 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
29114 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
29115 Moved ...
29116 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
29117 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
29118 Moved ...
29119 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
29120 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
29121 Moved ...
29122 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
29123 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
29124 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
29125 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29126 Moved ...
29127 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
29128 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
29129 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
29130 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
29131 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
29132 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
29133 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
29134 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29135 Moved ...
29136 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
29137 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29138 Moved ...
29139 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29140 ... here.
29141 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
29142 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
29143 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
29144 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
29145 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29146 Moved ...
29147 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29148 ... here.
29149 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
29150 Moved ...
29151 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
29152 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
29153 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
29154 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
29155 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
29156 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
29157 Moved ...
29158 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
29159 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29160 Moved ...
29161 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
29162 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29163 Moved ...
29164 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
29165 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
29166 Moved ...
29167 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
29168 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
29169 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
29170 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
29171 Moved ...
29172 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
29173 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
29174 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
29175 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
29176 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
29177 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
29178 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
29179 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29180 Moved ...
29181 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
29182 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29183 Moved ...
29184 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29185 ... here.
29186 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
29187 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
29188 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
29189 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
29190 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29191 Moved ...
29192 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29193 ... here.
29194 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
29195 Moved ...
29196 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
29197 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
29198 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
29199 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
29200 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
29201 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
29202 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
29203 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
29204 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
29205 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
29206 Moved ...
29207 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
29208 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29209 Moved ...
29210 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
29211 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29212 Moved ...
29213 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
29214 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
29215 Moved ...
29216 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
29217 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
29218 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
29219 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
29220 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
29221 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29222 Moved ...
29223 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
29224 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
29225 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
29226 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
29227 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
29228 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
29229 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
29230 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29231 Moved ...
29232 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
29233 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29234 Moved ...
29235 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29236 ... here.
29237 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
29238 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
29239 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
29240 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
29241 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29242 Moved ...
29243 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29244 ... here.
29245 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
29246 Moved ...
29247 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
29248 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
29249 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
29250 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
29251 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
29252 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
29253 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
29254 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
29255 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
29256 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
29257 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
29258
29259 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
29260 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
29261
29262 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
29263 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
29264
29265 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
29266 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
29267 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
29268 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
29269 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
29270 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
29271 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
29272 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
29273 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
29274 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
29275 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
29276 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
29277 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
29278 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
29279 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
29280 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
29281 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
29282 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
29283 Moved ...
29284 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
29285 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
29286 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
29287 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
29288 Moved ...
29289 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
29290 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
29291 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
29292 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
29293 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
29294 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
29295 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
29296 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
29297 Moved ...
29298 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
29299 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
29300 Moved ...
29301 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
29302 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
29303 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
29304 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
29305 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
29306 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
29307 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
29308 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
29309 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
29310 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
29311 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
29312 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
29313 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
29314 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
29315 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
29316 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
29317 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
29318
29319 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
29320 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
29321 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
29322 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
29323 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
29324
29325 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
29326 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
29327 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
29328 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
29329 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
29330 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
29331 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
29332 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
29333 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
29334 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
29335
29336 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
29337 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
29338
29339 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
29340 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
29341 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
29342 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
29343 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
29344 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
29345 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
29346 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
29347 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
29348 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
29349 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
29350 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
29351 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
29352 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
29353 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
29354 Update #include.
29355 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
29356 Likewise.
29357 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29358 Likewise.
29359 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29360 Likewise.
29361 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29362 Likewise.
29363 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
29364 Likewise.
29365 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
29366 Likewise.
29367 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29368 Likewise.
29369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
29370 Likewise.
29371 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
29372 Likewise.
29373 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
29374 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
29375 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
29376 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
29377 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
29378 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
29379 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
29380 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
29381 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
29382 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
29383 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
29384 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
29385 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
29386 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
29387 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
29388
29389 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
29390 that was previously under [RESET_PID].
29391 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29392 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
29393 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
29394
29395 * sysdeps/i386/nptl/Implies: New file.
29396 * sysdeps/x86_64/nptl/Implies: New file.
29397 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
29398 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
29399 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
29400 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
29401
29402 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
29403 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29404 (__libc_vfork): New strong alias.
29405 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
29406 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
29407
29408 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
29409 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29410 (__libc_vfork): New strong alias.
29411 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
29412 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
29413
29414 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
29415 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29416 (__libc_vfork): New strong alias.
29417 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
29418 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
29419 * nptl/pt-vfork.c: New file.
29420 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
29421 (libpthread: GLIBC_2.20): New version set (empty).
29422
29423 2014-05-14 Will Newton <will.newton@linaro.org>
29424
29425 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
29426 rather than #if.
29427
29428 2014-05-14 Joseph Myers <joseph@codesourcery.com>
29429
29430 [BZ #16564]
29431 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
29432 arguments with exponent 65 or above.
29433 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
29434 arguments 0x1p113L or above.
29435 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
29436 to arguments 0x1p107L or above.
29437 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
29438 positive arguments with exponent 65 or above.
29439 * math/auto-libm-test-in: Add more tests of log1p.
29440 * math/auto-libm-test-out: Regenerated.
29441
29442 [BZ #16928]
29443 * math/s_cacos.c (__cacos): Ensure zero real part of result from
29444 non-finite arguments is +0.
29445 * math/s_cacosf.c (__cacosf): Likewise.
29446 * math/s_cacosl.c (__cacosl): Likewise.
29447 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
29448 * sysdeps/i386/fpu/libm-test-ulps: Update.
29449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29450
29451 [BZ #16927]
29452 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
29453 value.
29454 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29455 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
29456 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
29457 for explicit high bit of mantissa when testing for argument equal
29458 to 1.
29459 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
29460 * sysdeps/i386/fpu/libm-test-ulps: Update.
29461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29462
29463 [BZ #16516]
29464 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
29465 (__erf): Scale by 16 instead of 8 in potentially underflowing
29466 case. Ensure exception if result actually underflows.
29467 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
29468 (__erff): Scale by 16 instead of 8 in potentially underflowing
29469 case. Ensure exception if result actually underflows.
29470 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
29471 (efx8): Remove variable.
29472 (__erfl): Scale by 16 instead of 8 in potentially underflowing
29473 case. Ensure exception if result actually underflows.
29474 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
29475 (efx8): Remove variable.
29476 (__erfl): Scale by 16 instead of 8 in potentially underflowing
29477 case. Ensure exception if result actually underflows.
29478 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
29479 (efx8): Remove variable.
29480 (__erfl): Scale by 16 instead of 8 in potentially underflowing
29481 case. Ensure exception if result actually underflows.
29482 * math/auto-libm-test-in: Add more tests of erf.
29483 * math/auto-libm-test-out: Regenerated.
29484
29485 2014-05-14 Andreas Schwab <schwab@suse.de>
29486
29487 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
29488 Remove code conditionalized on USE___THREAD.
29489
29490 * config.h.in (HAVE_PT_CHOWN): Define as 0.
29491 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
29492 not definedness.
29493
29494 2014-05-14 Joseph Myers <joseph@codesourcery.com>
29495
29496 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
29497 Define unconditionally.
29498 (__ASSUME_O_CLOEXEC): Likewise.
29499 (__ASSUME_SOCK_CLOEXEC): Likewise.
29500 (__ASSUME_IN_NONBLOCK): Likewise.
29501 (__ASSUME_PIPE2): Likewise.
29502 (__ASSUME_EVENTFD2): Likewise.
29503 (__ASSUME_SIGNALFD4): Likewise.
29504 (__ASSUME_DUP3): Likewise.
29505 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29506 (__ASSUME_DUP3): Do not define.
29507 (__ASSUME_EVENTFD2): Likewise.
29508 (__ASSUME_IN_NONBLOCK): Likewise.
29509 (__ASSUME_O_CLOEXEC): Likewise.
29510 (__ASSUME_PIPE2): Likewise.
29511 (__ASSUME_SIGNALFD4): Likewise.
29512 (__ASSUME_SOCK_CLOEXEC): Likewise.
29513 (__ASSUME_UTIMES): Undefine.
29514 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29515 (__ASSUME_UTIMES): Do not define.
29516 (__ASSUME_O_CLOEXEC): Likewise.
29517 (__ASSUME_SOCK_CLOEXEC): Likewise.
29518 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
29519 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
29520 0x020621].
29521 (__ASSUME_PIPE2): Likewise.
29522 (__ASSUME_EVENTFD2): Likewise.
29523 (__ASSUME_SIGNALFD4): Likewise.
29524 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
29525 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
29526 Do not define.
29527 (__ASSUME_EVENTFD2): Likewise.
29528 (__ASSUME_SIGNALFD4): Likewise.
29529 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29530 (__ASSUME_32BITUIDS): Likewise.
29531 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29532 (__ASSUME_IPC64): Likewise.
29533 (__ASSUME_ST_INO_64_BIT): Likewise.
29534 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
29535 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
29536 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29537 (__ASSUME_UTIMES): Do not define.
29538 (__ASSUME_PSELECT): Likewise.
29539 (__ASSUME_PPOLL): Likewise.
29540 (__ASSUME_O_CLOEXEC): Likewise.
29541 (__ASSUME_SOCK_CLOEXEC): Likewise.
29542 (__ASSUME_IN_NONBLOCK): Likewise.
29543 (__ASSUME_PIPE2): Likewise.
29544 (__ASSUME_EVENTFD2): Likewise.
29545 (__ASSUME_SIGNALFD4): Likewise.
29546 (__ASSUME_DUP3): Likewise.
29547 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29548 (__ASSUME_UTIMES): Likewise.
29549 (__ASSUME_O_CLOEXEC): Likewise.
29550 (__ASSUME_SOCK_CLOEXEC): Likewise.
29551 (__ASSUME_IN_NONBLOCK): Likewise.
29552 (__ASSUME_PIPE2): Likewise.
29553 (__ASSUME_EVENTFD2): Likewise.
29554 (__ASSUME_SIGNALFD4): Likewise.
29555 (__ASSUME_DUP3): Likewise.
29556 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29557 (__ASSUME_UTIMES): Likewise.
29558 (__ASSUME_O_CLOEXEC): Likewise.
29559 (__ASSUME_SOCK_CLOEXEC): Likewise.
29560 (__ASSUME_IN_NONBLOCK): Likewise.
29561 (__ASSUME_PIPE2): Likewise.
29562 (__ASSUME_EVENTFD2): Likewise.
29563 (__ASSUME_SIGNALFD4): Likewise.
29564 (__ASSUME_DUP3): Likewise.
29565 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
29566 Likewise.
29567 (__ASSUME_UTIMES): Likewise.
29568 (__ASSUME_EVENTFD2): Likewise.
29569 (__ASSUME_SIGNALFD4): Likewise.
29570 * sysdeps/unix/sysv/linux/tile/kernel-features.h
29571 (__ASSUME_O_CLOEXEC): Likewise.
29572 (__ASSUME_SOCK_CLOEXEC): Likewise.
29573 (__ASSUME_IN_NONBLOCK): Likewise.
29574 (__ASSUME_PIPE2): Likewise.
29575 (__ASSUME_EVENTFD2): Likewise.
29576 (__ASSUME_SIGNALFD4): Likewise.
29577 (__ASSUME_DUP3): Likewise.
29578 (__ASSUME_UTIMES): Undefine.
29579
29580 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
29581 feclearexcept. Remove symbol versioning code.
29582 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
29583 symbol versioning code.
29584 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
29585 symbol versioning code.
29586 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
29587 feupdateenv. Remove symbol versioning code.
29588 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
29589 fegetexceptflag. Remove symbol versioning code.
29590 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
29591 fesetexceptflag. Remove symbol versioning code.
29592 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
29593 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
29594 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
29595 (__posix_fadvise64_l32): Remove prototype.
29596 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
29597 code.
29598
29599 2014-05-13 Roland McGrath <roland@hack.frob.com>
29600
29601 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
29602 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
29603 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
29604 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
29605
29606 2014-05-13 Sami Kerola <kerolasa@iki.fi>
29607
29608 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
29609 current working directory
29610
29611 2014-05-13 Roland McGrath <roland@hack.frob.com>
29612
29613 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
29614 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
29615 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
29616 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
29617 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
29618 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
29619 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
29620 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
29621 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
29622 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
29623 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
29624 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
29625 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
29626 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
29627 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
29628 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
29629 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
29630 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
29631 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
29632 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
29633 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
29634 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
29635 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
29636 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
29637 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
29638 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
29639 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
29640 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
29641 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
29642 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
29643 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
29644 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
29645 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
29646 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
29647 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
29648 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
29649 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
29650 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
29651 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
29652 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
29653 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
29654 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
29655
29656 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
29657 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
29658
29659 * sysdeps/unix/sysv/linux/arm/Makefile
29660 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
29661 Add rt-aeabi_unwind_cpp_pr1.
29662 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
29663 Add nptl-aeabi_unwind_cpp_pr1.
29664 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
29665 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
29666 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
29667 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29668 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
29669 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29670
29671 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
29672 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
29673 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
29674 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
29675
29676 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
29677 Deconditionalize the code that was previously under [RESET_PID].
29678 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
29679
29680 * sysdeps/generic/exit-thread.h: New file.
29681 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
29682 * include/unistd.h (__exit_thread): Remove declaration.
29683 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
29684 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
29685 * csu/libc-start.c: Include <exit-thread.h>.
29686 (LIBC_START_MAIN): Pass no argument to __exit_thread.
29687 * nptl/pthread_create.c: Include <exit-thread.h>.
29688 (start_thread): Call __exit_thread in place of __exit_thread_inline.
29689 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
29690 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
29691 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
29692 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
29693 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
29694 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
29695 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
29696 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
29697 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
29698 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
29699 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
29700 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
29701 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
29702 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
29703 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
29704 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
29705
29706 2014-05-13 Andreas Schwab <schwab@suse.de>
29707
29708 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
29709
29710 2014-05-12 Joseph Myers <joseph@codesourcery.com>
29711
29712 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29713 (__ASSUME_UTIMES): Do not condition on kernel version.
29714 (__ASSUME_PSELECT): Define unconditionally.
29715 (__ASSUME_PPOLL): Likewise.
29716 (__ASSUME_ATFCTS): Likewise.
29717 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
29718 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
29719 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
29720 (__ASSUME_UTIMENSAT): Define unconditionally.
29721 (__ASSUME_PRIVATE_FUTEX): Likewise.
29722 (__ASSUME_FALLOCATE): Likewise.
29723 (__ASSUME_O_CLOEXEC): Likewise.
29724 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
29725 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
29726 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
29727 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
29728 (__ASSUME_IN_NONBLOCK): Likewise.
29729 (__ASSUME_PIPE2): Likewise.
29730 (__ASSUME_EVENTFD2): Likewise.
29731 (__ASSUME_SIGNALFD4): Likewise.
29732 (__ASSUME_DUP3): Likewise.
29733 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29734 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
29735 (__ASSUME_AT_RANDOM): Likewise.
29736 (__ASSUME_PREADV): Likewise.
29737 (__ASSUME_PWRITEV): Likewise.
29738 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
29739 (__ASSUME_F_GETOWN_EX): Define unconditionally.
29740 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
29741 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29742 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
29743 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29744 (__ASSUME_O_CLOEXEC): Define unconditionally.
29745 (__ASSUME_PSELECT): Do not undefine conditionally.
29746 (__ASSUME_PPOLL): Likewise.
29747 (__ASSUME_ATFCTS): Likewise.
29748 (__ASSUME_SET_ROBUST_LIST): Likewise.
29749 (__ASSUME_UTIMENSAT): Likewise.
29750 (__ASSUME_FDATASYNC): Define unconditionally.
29751 * sysdeps/unix/sysv/linux/arm/kernel-features.h
29752 (__ASSUME_SIGFRAME_V2): Likewise.
29753 )__ASSUME_EVENTFD2): Likewise.
29754 (__ASSUME_SIGNALFD4): Likewise.
29755 (__ASSUME_PSELECT): Do not undefine conditionally.
29756 (__ASSUME_PPOLL): Likewise.
29757 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29758 (__ASSUME_PSELECT): Define unconditionally.
29759 (__ASSUME_PPOLL): Likewise.
29760 (__ASSUME_O_CLOEXEC): Likewise.
29761 (__ASSUME_SOCK_CLOEXEC): Likewise.
29762 (__ASSUME_IN_NONBLOCK): Likewise.
29763 (__ASSUME_PIPE2): Likewise.
29764 (__ASSUME_EVENTFD2): Likewise.
29765 (__ASSUME_SIGNALFD4): Likewise.
29766 (__ASSUME_DUP3): Likewise.
29767 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29768 (__ASSUME_O_CLOEXEC): Likewise.
29769 (__ASSUME_SOCK_CLOEXEC): Likewise.
29770 (__ASSUME_IN_NONBLOCK): Likewise.
29771 (__ASSUME_PIPE2): Likewise.
29772 (__ASSUME_EVENTFD2): Likewise.
29773 (__ASSUME_SIGNALFD4): Likewise.
29774 (__ASSUME_DUP3): Likewise.
29775 * sysdeps/unix/sysv/linux/mips/kernel-features.h
29776 (__ASSUME_EVENTFD2): Likewise.
29777 (__ASSUME_SIGNALFD4): Likewise.
29778 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29779
29780 2014-05-12 Andreas Schwab <schwab@suse.de>
29781
29782 [BZ #16932]
29783 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
29784 (_nss_nis_gethostbyname4_r): Return error if item length is larger
29785 than maximum RPC packet size.
29786 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
29787 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
29788 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
29789 (_nss_nis_getservbyport_r): Likewise.
29790
29791 2014-05-12 Will Newton <will.newton@linaro.org>
29792
29793 * malloc/Makefile (tests): Add tst-mallopt.
29794 * malloc/tst-mallopt.c: New file.
29795
29796 2014-05-09 Roland McGrath <roland@hack.frob.com>
29797
29798 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
29799 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
29800
29801 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29802
29803 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
29804 (tst-tlsmod6.so): Likewise.
29805
29806 2014-05-09 Roland McGrath <roland@hack.frob.com>
29807
29808 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
29809
29810 2014-05-09 Joseph Myers <joseph@codesourcery.com>
29811
29812 [BZ #16064]
29813 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
29814 and <dl-procinfo.h>.
29815 (__fegetenv): Save SSE state in envp->__eip if supported.
29816 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
29817 envp->__eip if supported.
29818 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
29819 and <dl-procinfo.h>.
29820 (__fesetenv): Always set __eip, __cs_selector, __opcode,
29821 __data_offset and __data_selector in environment to 0. Set SSE
29822 state if supported.
29823 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
29824 test-fenv-sse.
29825 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
29826 -mfpmath=sse.
29827 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
29828
29829 2014-05-09 Will Newton <will.newton@linaro.org>
29830
29831 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
29832 and libc_relro_required for ARM.
29833 * sysdeps/arm/preconfigure: Regenerate.
29834
29835 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
29836 Stefan Liebler <stli@linux.vnet.ibm.com>
29837
29838 * config.make.in (enable-lock-elision): New Makefile variable.
29839 * configure.ac: Likewise.
29840 * configure: Regenerate.
29841 * sysdeps/s390/configure.ac:
29842 Add check for gcc transactions support.
29843 * sysdeps/s390/configure: Regenerate.
29844 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
29845 Build elision files if enabled.
29846 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
29847 Add lock elision support for s390.
29848 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
29849 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
29850 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
29851 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
29852 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
29853 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
29854 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29855 Likewise.
29856 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
29857 Likewise.
29858 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
29859 Likewise.
29860 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
29861 Likewise.
29862 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
29863 (__lll_timedlock_elision, __lll_lock_elision)
29864 (__lll_unlock_elision, __lll_trylock_elision)
29865 (lll_timedlock_elision, lll_lock_elision)
29866 (lll_unlock_elision, lll_trylock_elision): Add.
29867 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29868 (pthread_mutex_t): Add lock elision support for s390.
29869
29870 2014-05-14 Wilco <wdijkstr@arm.com>
29871
29872 * sysdeps/arm/fclrexcpt.c: Cleanup.
29873 * sysdeps/arm/fedisblxcpt.c: Cleanup.
29874 * sysdeps/arm/feenablxcpt.c: Cleanup.
29875 * sysdeps/arm/fegetenv.c: Cleanup.
29876 * sysdeps/arm/fegetexcept.c: Cleanup.
29877 * sysdeps/arm/fegetround.c: Cleanup.
29878 * sysdeps/arm/feholdexcpt.c: Cleanup.
29879 * sysdeps/arm/fesetenv.c: Cleanup.
29880 * sysdeps/arm/fesetround.c: Cleanup.
29881 * sysdeps/arm/feupdateenv.c: Cleanup.
29882 * sysdeps/arm/fgetexcptflg.c: Cleanup.
29883 * sysdeps/arm/fraiseexcpt.c: Cleanup.
29884 * sysdeps/arm/fsetexcptflg.c: Cleanup.
29885 * sysdeps/arm/ftestexcept.c: Cleanup.
29886 * sysdeps/arm/get-rounding-mode.h: Cleanup.
29887 * sysdeps/arm/setfpucw.c: Cleanup.
29888
29889 2014-05-09 Will Newton <will.newton@linaro.org>
29890
29891 * sysdeps/arm/armv7/strcmp.S: New file.
29892 * NEWS: Mention addition of ARMv7 optimized strcmp.
29893
29894 2014-05-08 Roland McGrath <roland@hack.frob.com>
29895
29896 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
29897 look for %.ac rather than %.in.
29898
29899 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
29900 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
29901 * sysdeps/mach/hurd/configure: Regenerated.
29902 * sysdeps/unix/sysv/linux/configure: Regenerated.
29903
29904 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
29905
29906 2014-05-07 Steve Ellcey <sellcey@mips.com>
29907
29908 [BZ# 16922]
29909 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
29910 (LONG_SUB): Ditto.
29911 (PTR_SUB): Ditto.
29912
29913 2014-05-07 Andreas Schwab <schwab@suse.de>
29914
29915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
29916 when skipping over non-matching result from nscd.
29917
29918 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
29919
29920 [BZ #16876]
29921 * nptl/sockperf.c (client): Check socket return value.
29922
29923 [BZ #16877]
29924 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
29925 nscd security class.
29926
29927 2014-05-06 Roland McGrath <roland@hack.frob.com>
29928
29929 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
29930 * sysdeps/arm/unwind.h: ... here.
29931
29932 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
29933
29934 [BZ# 16916]
29935 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
29936 Define.
29937
29938 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
29939
29940 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
29941 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
29942 multiarch strncpy for PPC64.
29943 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
29944 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
29945 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
29946 multiarch optimizations.
29947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29948 (__libc_ifunc_impl_list): Likewise.
29949 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
29950 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
29951 multiarch stpncpy for PPC64.
29952 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
29953 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
29954
29955 2014-05-06 Andreas Schwab <schwab@suse.de>
29956
29957 [BZ #16912]
29958 * gmon/mcount.c (_MCOUNT_DECL): Use
29959 atomic_compare_and_exchange_bool_acq instead of
29960 catomic_compare_and_exchange_bool_acq.
29961
29962 2014-05-05 Roland McGrath <roland@hack.frob.com>
29963
29964 * elf/Makefile (others, install-bin): Remove pldd.
29965 (pldd-modules): Variable removed.
29966 ($(objpfx)pldd): Target removed.
29967 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
29968 (others, install-bin): Append pldd here.
29969 ($(objpfx)pldd): New target.
29970
29971 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
29972 to 0, so the first #if test emitted later doesn't see it undefined.
29973 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
29974 * sysdeps/gnu/errlist.c: Regenerated.
29975
29976 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29977
29978 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29979 [libc_hidden_builtin_def]: Define to empty value.
29980 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
29981 [libc_hidden_builtin_def]: Likewise.
29982 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
29983 [libc_hidden_builtin_def]: Likewise.
29984 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
29985 [libc_hidden_builtin_def]: Likewise.
29986 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
29987 __redirect_memcpy and define ifunc as default hidden symbol.
29988 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
29989 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
29990
29991 2014-05-04 Adam Conrad <adconrad@0c3.net>
29992
29993 * locale/iso-4217.def: Reintroduce XDR currency.
29994
29995 2014-05-04 Allan McRae <allan@archlinux.org>
29996
29997 * po/eo.po: Update Esperanto translation from translation project.
29998
29999 2014-05-02 Carlos O'Donell <carlos@redhat.com>
30000
30001 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
30002 and FEATURE_INDEX_MAX to 1.
30003 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
30004
30005 2014-05-01 Steve Ellcey <sellcey@mips.com>
30006
30007 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
30008 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
30009 * iconvdata/big5.c (ONE_DIRECTION): Define.
30010 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
30011 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
30012 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
30013 * iconvdata/cp932.c (ONE_DIRECTION): Define.
30014 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
30015 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
30016 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
30017 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
30018 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
30019 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
30020 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
30021 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
30022 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
30023 * iconvdata/gbk.c (ONE_DIRECTION): Define.
30024 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
30025 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
30026 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
30027 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
30028 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
30029 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
30030 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
30031 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
30032 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
30033 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
30034 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
30035 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
30036 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
30037 * iconvdata/iso646.c (ONE_DIRECTION): Define.
30038 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
30039 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
30040 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
30041 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
30042 * iconvdata/johab.c (ONE_DIRECTION): Define.
30043 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
30044 * iconvdata/sjis.c (ONE_DIRECTION): Define.
30045 * iconvdata/t.61.c (ONE_DIRECTION): Define.
30046 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
30047 * iconvdata/tscii.c (ONE_DIRECTION): Define.
30048 * iconvdata/uhc.c (ONE_DIRECTION): Define.
30049 * iconvdata/unicode.c (ONE_DIRECTION): Define.
30050 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
30051 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
30052 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
30053
30054 2014-05-01 Roland McGrath <roland@hack.frob.com>
30055
30056 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
30057 (_IO_JUMPS_OFFSET): Define to 0.
30058
30059 * nptl/sysdeps/pthread/bits/libc-lock.h
30060 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30061 (__libc_lock_define_initialized_recursive): Always define using
30062 initializer. Modern compilers treat uninitialized (implicit zero) and
30063 explicit zero initializers the same (i.e. put the datum in bss).
30064
30065 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
30066
30067 * nscd/nscd-client.h: Include <string.h>.
30068
30069 2014-05-01 David S. Miller <davem@davemloft.net>
30070
30071 [BZ #16885]
30072 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
30073 multiple zero bytes exist at the end of a string.
30074 Reported by Aurelien Jarno <aurelien@aurel32.net>
30075
30076 * string/test-strcmp.c (check): Add explicit test for situations where
30077 there are multiple zero bytes after the first.
30078
30079 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
30080
30081 [BZ #16890]
30082 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
30083 when compiling wprintf.
30084 * stdio-common/tstdiomisc.c (t3): New function.
30085 (main): Call it.
30086
30087 2014-05-01 Steve Ellcey <sellcey@mips.com>
30088
30089 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
30090 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
30091 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
30092 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
30093
30094 2014-05-01 Steve Ellcey <sellcey@mips.com>
30095
30096 * stdlib/longlong.h: Updated from GCC.
30097
30098 2014-05-01 Will Newton <will.newton@linaro.org>
30099 Bernard Ogden <bernie.ogden@linaro.org>
30100
30101 * NEWS: Update fixed bug list.
30102
30103 [BZ #15119]
30104 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
30105
30106 2014-04-30 David S. Miller <davem@davemloft.net>
30107
30108 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
30109 (libc_feholdexcept_setround_sparc_ctx): New function.
30110 (libc_fesetenv_sparc_ctx): Likewise.
30111 (libc_feupdateenv_sparc_ctx): Likewise.
30112 (libc_feholdsetround_sparc_ctx): Likewise.
30113 (libc_feholdexcept_setround_ctx): Define.
30114 (libc_feholdexcept_setroundf_ctx): Likewise.
30115 (libc_feholdexcept_setroundl_ctx): Likewise.
30116 (libc_fesetenv_ctx): Likewise.
30117 (libc_fesetenvf_ctx): Likewise.
30118 (libc_fesetenvl_ctx): Likewise.
30119 (libc_feupdateenv_ctx): Likewise.
30120 (libc_feupdateenvf_ctx): Likewise.
30121 (libc_feupdateenvl_ctx): Likewise.
30122 (libc_feresetround_ctx): Likewise.
30123 (libc_feresetroundf_ctx): Likewise.
30124 (libc_feresetroundl_ctx): Likewise.
30125 (libc_feholdsetround_ctx): Likewise.
30126 (libc_feholdsetroundf_ctx): Likewise.
30127 (libc_feholdsetroundl_ctx): Likewise.
30128
30129 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30130 with __USE_GNU instead of XOPEN cpp guards.
30131
30132 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
30133 0.
30134
30135 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30136 with XOPEN cpp guards.
30137
30138 2014-04-30 Julian Brown <julian@codesourcery.com>
30139
30140 [BZ #16888]
30141 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
30142 handling.
30143
30144 2014-04-30 Joseph Myers <joseph@codesourcery.com>
30145
30146 [BZ #9894]
30147 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
30148 Change to 2.6.32.
30149 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
30150 * sysdeps/unix/sysv/linux/configure: Regenerated.
30151 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
30152 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
30153 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
30154 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
30155 * README: Update reference to required Linux kernel version.
30156 * manual/install.texi (Linux): Update reference to required Linux
30157 kernel headers version.
30158 * INSTALL: Regenerated.
30159
30160 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
30161 header inclusion.
30162 [POSIX] (limits.h): Likewise.
30163 [POSIX] (math.h): Likewise.
30164 [POSIX] (sys/wait.h): Likewise.
30165 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
30166 function.
30167 [POSIX] (stddef.h): Do not allow header inclusion.
30168
30169 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30170
30171 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
30172
30173 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
30174
30175 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
30176 Return immediately after lll_futex_wake.
30177
30178 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30179
30180 [BZ #16791]
30181 * nscd/nscd-client.h (datahead_init_common): Initialize entire
30182 structure.
30183 (datahead_init_pos): Call datahead_init_common early.
30184 (datahead_init_neg): Likewise.
30185
30186 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
30187 datahead_init_neg): New functions.
30188 * nscd/aicache.c (addhstaiX): Use them.
30189 * nscd/grpcache.c (cache_addgr): Likewise.
30190 * nscd/hstcache.c (cache_addhst): Likewise.
30191 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30192 * nscd/netgroupcache.c (do_notfound): Likewise.
30193 (addgetnetgrentX): Likewise.
30194 (addinnetgrX): Likewise.
30195 * nscd/pwdcache.c (cache_addpw): Likewise.
30196 * nscd/servicescache.c (cache_addserv): Likewise.
30197
30198 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30199 Atsushi Onoe <atsushi@onoe.org>
30200
30201 [BZ #14308]
30202 [BZ #12994]
30203 [BZ #13651]
30204 * resolv/res_query.c (__libc_res_nsearch): Return if at least
30205 one response is valid.
30206 * resolv/res_send.c (send_dg): Check for validity of other
30207 response if the current response is a referral.
30208
30209 2014-04-29 Steve Ellcey <sellcey@mips.com>
30210
30211 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
30212
30213 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
30214
30215 [BZ #16823]
30216 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
30217 Always divide by positive zero when computing -Inf result.
30218 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30219 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30220
30221 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30222
30223 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
30224 FPSCR if value do not change.
30225 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30226 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
30227 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30228 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30229 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
30230 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
30231 function.
30232
30233 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
30234
30235 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
30236 * sysdeps/unix/sysv/linux/hppa: Move directory from
30237 ports/systeps/unix/sysv/linux/hppa.
30238 * README: Update listing for hppa-*-linux-gnu.
30239
30240 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
30241
30242 [BZ #16754]
30243 * manual/stdio.texi (Hook functions): Fix types of stream hook
30244 functions.
30245 [BZ #16854]
30246 * socket/sys/socket.h: Fix typo in comment.
30247
30248 2014-04-28 Wilco <wdijkstr@arm.com>
30249
30250 * sysdeps/arm/fenv_private.h: New file.
30251 * sysdeps/arm/math_private.h: New file.
30252 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
30253
30254 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
30255
30256 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
30257 with __int128_t.
30258 (La_x86_64_retval): Likewise.
30259
30260 2014-04-24 Ian Bolton <ian.bolton@arm.com>
30261
30262 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
30263 fpsr if value didn't change.
30264 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
30265 to fpcr if value didn't change.
30266 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
30267 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
30268 fpsr or fpcr if value didn't change.
30269 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30270 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
30271 fpcr if value didn't change.
30272 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
30273 to fpsr if value didn't change.
30274
30275 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30276
30277 * nptl/tst-sem3.c: Use test-skeleton.c
30278 (main): Rename to do_test. Use return instead of
30279 exit.
30280 * nptl/tst-sem4.c: Use test-skeleton.c
30281 (main): Rename to do_test.
30282
30283 2014-04-22 David S. Miller <davem@davemloft.net>
30284
30285 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30286 (struct sigaction): New struct member __glibc_reserved0, change
30287 type of sa_flags to int.
30288
30289 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
30290
30291 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
30292 (COUNT_LEADING_ZEROS_0): Define for AArch64.
30293
30294 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30295
30296 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
30297 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
30298
30299 2014-04-22 Will Newton <will.newton@linaro.org>
30300 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
30301
30302 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
30303 (__longjmp): Add longjmp and longjmp_target SystemTap
30304 probes.
30305 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
30306 (__sigsetjmp): Add setjmp SystemTap probe.
30307
30308 2014-04-17 Carlos O'Donell <carlos@redhat.com>
30309
30310 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
30311 match manual order.
30312
30313 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30314
30315 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
30316
30317 * sysdeps/powerpc/fpu/fenv_private.h
30318 (libc_feholdexcept_setroundl_ctx): Define to
30319 libc_feholdexcept_setround_ppc_ctx.
30320 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
30321 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
30322 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
30323 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
30324
30325 2014-04-17 Ian Bolton <ian.bolton@arm.com>
30326
30327 * sysdeps/aarch64/math-tests.h: New file.
30328
30329 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
30330
30331 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
30332 New.
30333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30334 Check and set bit_AVX2_Usable.
30335 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
30336 macro.
30337 (bit_AVX2): Likewise.
30338 (index_AVX2_Usable): Likewise.
30339 (CPUID_AVX2): Likewise.
30340 (HAS_AVX2): Likewise.
30341
30342 2014-04-17 Will Newton <will.newton@linaro.org>
30343
30344 * manual/setjmp.texi (System V contexts): Add note that
30345 calling setcontext on a context created by a call to a
30346 signal handler is undefined. Update text to note that
30347 setcontext from a signal handler is possible but not
30348 recommended.
30349
30350 [BZ #16629]
30351 * stdlib/tst-setcontext.c: Include signal.h.
30352 (main): Check that the signal stack before and
30353 after swapcontext is the same.
30354
30355 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
30356 Re-implement to restore registers in user code and avoid
30357 rt_sigreturn system call.
30358
30359 2014-04-17 Wilco <wdijkstr@arm.com>
30360
30361 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
30362 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
30363 * math/test-fenv.c: Skip exception trap tests on targets which only
30364 support non-stop mode.
30365
30366 2014-04-17 Ian Bolton <ian.bolton@arm.com>
30367 Wilco Dijkstra <wilco.dijkstra@arm.com>
30368
30369 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
30370 (libc_feholdsetround_aarch64_ctx)
30371 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
30372 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
30373 (libc_feresetround_ctx, libc_feresetroundf_ctx)
30374 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
30375 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
30376 (libc_feresetround_noexl_ctx): Define.
30377
30378 2014-04-16 Richard Henderson <rth@redhat.com>
30379
30380 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
30381
30382 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
30383 unwind tables.
30384
30385 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
30386 const from the non-libc, non-ldso copy.
30387
30388 * sysdeps/alpha/libm-test-ulps: Regenerate.
30389
30390 2014-04-16 Ian Bolton <ian.bolton@arm.com>
30391 Wilco Dijkstra <wilco.dijkstra@arm.com>
30392
30393 * sysdeps/aarch64/fpu/math_private.h: New file.
30394
30395 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
30396
30397 * sysdeps/aarch64/libm-test-ulps: Regenerate.
30398
30399 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
30400
30401 [BZ #16275]
30402 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
30403 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
30404 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
30405 Intel MPX bound registers before _dl_profile_fixup.
30406 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
30407 registers after _dl_profile_fixup. Save and restore bound
30408 registers bnd0/bnd1 when calling _dl_call_pltexit.
30409 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
30410 (LR_BND_OFFSET): Likewise.
30411 (LRV_BND0_OFFSET): Likewise.
30412 (LRV_BND1_OFFSET): Likewise.
30413
30414 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30415
30416 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
30417 to...
30418 * sysdeps/mach/hurd/i386/tls.h: ... here.
30419 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
30420 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
30421 fields.
30422
30423 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30424
30425 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
30426
30427 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
30428
30429 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30430
30431 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
30432
30433 [BZ #14770]
30434 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
30435 * sysdeps/s390/configure: Regenerate.
30436
30437 [BZ #16824]
30438 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
30439 Set round-to-nearest internally to reduce error accumulation.
30440
30441 2014-04-16 Alan Modra <amodra@gmail.com>
30442
30443 [BZ #16740]
30444 [BZ #16619]
30445 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
30446 * math/libm-test.inc (frexp_test_data): Add tests.
30447 * NEWS: Update fixed bug list.
30448
30449 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30450
30451 * benchtests/Makefile: Depend on libraries in build directory.
30452 (bench-math): Separate out math tests.
30453 (bench-pthread): Separate out pthread tests.
30454 (bench): Include math and pthread tests.
30455
30456 2014-04-14 Carlos O'Donell <carlos@redhat.com>
30457
30458 [BZ #16831]
30459 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
30460 _dl_debug_initialize.
30461
30462 * configure.ac: Remove SELinux header check.
30463 * configure: Regenerate.
30464 * nscd/selinux.c (perms): Array of const char* to permission names.
30465 (nscd_request_avc_has_perm): Call security_deny_unknown to find
30466 default policy. Call string_to_security_class and string_to_av_perm to
30467 translate strings. Enforce default policy and call avs_has_perm with
30468 results of translated strings.
30469
30470 2014-04-13 David S. Miller <davem@davemloft.net>
30471
30472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30473
30474 2014-04-12 Allan McRae <allan@archlinux.org>
30475
30476 [BZ #16838]
30477 * manual/string.texi (Collation Functions): Fix qsort argument
30478 order in example.
30479 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30480
30481 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
30482
30483 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
30484 Make the test a no-op if there are no exceptions defined.
30485
30486 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
30487
30488 * elf/Makefile (tests): make tst-dlopen-aout conditional on
30489 enable-hardcoded-path-in-tests
30490
30491 2014-04-11 Will Newton <will.newton@linaro.org>
30492
30493 * benchtests/Makefile (extra-objs): Add json-lib.o.
30494 (bench-func): Tidy up JSON output.
30495 * benchtests/bench-skeleton.c: Include json-lib.h.
30496 (main): Use JSON library functions to do output of
30497 benchmark results.
30498 * benchtests/bench-timing-type.c (main): Output the
30499 timing type simply, leaving formatting to the user.
30500 * benchtests/json-lib.c: New file.
30501 * benchtests/json-lib.h: Likewise.
30502
30503 2014-04-11 Torvald Riegel <triegel@redhat.com>
30504
30505 [BZ #15215]
30506 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
30507 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
30508 memory barriers. Add comments.
30509 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
30510 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
30511 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
30512 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
30513 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
30514 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
30515
30516 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
30517
30518 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
30519 * sysdeps/s390/s390-64/configure.ac: ... this ...
30520 * sysdeps/s390/configure.ac: ... to here.
30521 * sysdeps/s390/s390-32/configure: Delete file.
30522 * sysdeps/s390/s390-64/configure: Delete file.
30523 * sysdeps/s390/configure: Regenerate.
30524
30525 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
30526
30527 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
30528
30529 2014-04-11 Will Newton <will.newton@linaro.org>
30530
30531 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
30532 to zero if it is not defined elsewhere. (mtrim): Test
30533 the value of MALLOC_DEBUG with #if rather than #ifdef.
30534
30535 2014-04-10 Torvald Riegel <triegel@redhat.com>
30536
30537 * benchtests/pthread_once-inputs: New file.
30538 * benchtests/pthread_once-source.c: New file.
30539 * benchtests/README: Update documentation.
30540
30541 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
30542 H.J. Lu <hongjiu.lu@intel.com>
30543
30544 [BZ #16275]
30545 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
30546 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
30547 * sysdeps/x86_64/configure: Regenerated.
30548 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
30549 macro.
30550 (REGISTER_SAVE_RAX): Likewise.
30551 (REGISTER_SAVE_RCX): Likewise.
30552 (REGISTER_SAVE_RDX): Likewise.
30553 (REGISTER_SAVE_RSI): Likewise.
30554 (REGISTER_SAVE_RDI): Likewise.
30555 (REGISTER_SAVE_R8): Likewise.
30556 (REGISTER_SAVE_R9): Likewise.
30557 (REGISTER_SAVE_BND0): Likewise.
30558 (REGISTER_SAVE_BND1): Likewise.
30559 (REGISTER_SAVE_BND2): Likewise.
30560 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
30561 bound registers when calling _dl_fixup.
30562
30563 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30564
30565 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
30566 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
30567 of its definition.
30568 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
30569 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
30570 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
30571 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
30572 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
30573 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
30574 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
30575
30576 2014-04-09 Peter Brett <peter@peter-b.co.uk>
30577
30578 [BZ #15514]
30579 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
30580 pathconf(_PC_NAME_MAX).
30581
30582 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30583
30584 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
30585 Remove macro usage.
30586 (__PTHREAD_SPINS): Move definition to ...
30587 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30588 (__PTHREAD_SPINS): ... here.
30589 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30590 (__PTHREAD_SPIN): Likewise.
30591 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
30592 (__PTHREAD_SPIN): Likewise.
30593 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
30594 (__PTHREAD_SPIN): Likewise.
30595 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
30596 (__PTHREAD_SPIN): Likewise.
30597 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30598 (__PTHREAD_SPIN): Likewise.
30599 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30600 (__PTHREAD_SPIN): Likewise.
30601 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
30602 (__PTHREAD_SPIN): Likewise.
30603 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30604 (__PTHREAD_SPIN): Likewise.
30605 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30606 (__PTHREAD_SPIN): Likewise.
30607 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30608 (__PTHREAD_SPIN): Likewise.
30609 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30610 (__PTHREAD_SPIN): Likewise.
30611 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
30612 (__PTHREAD_SPIN): Likewise.
30613
30614 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
30615 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
30616 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
30617 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
30618 imply folder.
30619 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
30620 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
30621 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
30622 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
30623 correct imply path.
30624 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
30625 strlen symbol for non multi-arch builds.
30626 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
30627 missing hidden_def and weak_alias.
30628
30629 2014-04-08 Carlos O'Donell <carlos@redhat.com>
30630
30631 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
30632
30633 2014-04-07 Will Newton <will.newton@linaro.org>
30634
30635 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
30636 and contents. [!_LIBC] Remove #ifndef and contents.
30637 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
30638 * string/memccpy.c (__memccpy): Use ANSI prototype.
30639 * string/memfrob.c (memfrob): Likewise.
30640 * string/strcoll.c (STRCOLL): Likewise.
30641 * string/strlen.c (strlen): Likewise.
30642 * string/strtok.c (STRTOK): Likewise.
30643 * string/strcat.c: Remove unused #include of memcopy.h.
30644 (strcat): Use ANSI prototype.
30645 * string/strchr.c: Remove unused #include of memcopy.h.
30646 (strchr): Use ANSI prototype.
30647 * string/strcmp.c: Remove unused #include of memcopy.h.
30648 (strcmp): Use ANSI prototype.
30649 * string/strcpy.c: Remove unused #include of memcopy.h.
30650 (strcpy): Use ANSI prototype.
30651
30652 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30653
30654 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
30655 * config.make.in (config-extra-cppflags): Set it from
30656 libc_extra_cppflags.
30657 * configure.ac (libc_extra_cflags): Make it accumulate over
30658 configure fragments.
30659 (libc_extra_cppflags): New flag.
30660 * configure. Regenerate.
30661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30662 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
30663 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
30664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
30665
30666 [BZ #16815]
30667 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
30668 result for FE_DOWNWARD rounding mode.
30669 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
30670 Likewise.
30671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30672
30673 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
30674
30675 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
30676 in function argument name.
30677
30678 2014-04-03 David Svoboda <svoboda@cert.org>
30679
30680 [BZ #5666]
30681 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
30682 explicitly.
30683
30684 2014-04-03 Roland McGrath <roland@hack.frob.com>
30685
30686 * elf/dl-unmap-segments.h: New file.
30687 * sysdeps/generic/ldsodefs.h
30688 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
30689 * elf/dl-close.c: Include <dl-unmap-segments.h>.
30690 * elf/dl-fptr.c: Likewise.
30691 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
30692 * sysdeps/aarch64/tlsdesc.c: Likewise.
30693 * sysdeps/arm/tlsdesc.c: Likewise.
30694 * sysdeps/i386/tlsdesc.c: Likewise.
30695 * sysdeps/tile/dl-runtime.c: Likewise.
30696 * sysdeps/x86_64/tlsdesc.c: Likewise.
30697 * elf/dl-load.h: New file.
30698 * elf/dl-load.c: Include it.
30699 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
30700 Macros moved to dl-load.h.
30701 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
30702 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
30703 Use _dl_unmap_segments in place of __munmap.
30704 Break out segment-mapping loop into ...
30705 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
30706
30707 2014-04-03 Will Newton <will.newton@linaro.org>
30708
30709 * elf/dl-lookup.c (do_lookup_x): Remove comment
30710 referring to nested function and move variable
30711 declarations down to before first use.
30712
30713 2014-04-02 Joseph Myers <joseph@codesourcery.com>
30714
30715 [BZ #16799]
30716 [BZ #16800]
30717 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
30718 with 0 numerator.
30719 * math/s_catanf.c (__catanf): Likewise.
30720 * math/s_catanh.c (__catanh): Likewise.
30721 * math/s_catanhf.c (__catanhf): Likewise.
30722 * math/s_catanhl.c (__catanhl): Likewise.
30723 * math/s_catanl.c (__catanl): Likewise.
30724 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
30725 by positive zero when computing -Inf result.
30726 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
30727 (catanh_test): Likewise.
30728 * sysdeps/i386/fpu/libm-test-ulps: Update.
30729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30730
30731 [BZ #16789]
30732 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
30733 instead of using underflowing value in computing result.
30734 * math/s_clog10.c (__clog10): Likewise.
30735 * math/s_clog10f.c (__clog10f): Likewise.
30736 * math/s_clog10l.c (__clog10l): Likewise.
30737 * math/s_clogf.c (__clogf): Likewise.
30738 * math/s_clogl.c (__clogl): Likewise.
30739 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
30740 (clog10_test): Likewise.
30741 * sysdeps/i386/fpu/libm-test-ulps: Update.
30742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30743
30744 2014-04-02 Alan Modra <amodra@gmail.com>
30745
30746 [BZ #16739]
30747 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
30748 output when value is near a power of two. Use int64_t for lx and
30749 remove casts. Use decimal rather than hex exponent constants.
30750 Don't use long double multiplication when double will suffice.
30751 * math/libm-test.inc (nextafter_test_data): Add tests.
30752 * NEWS: Add 16739 and 16786 to bug list.
30753
30754 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
30755
30756 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
30757
30758 2014-04-01 Will Newton <will.newton@linaro.org>
30759
30760 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
30761 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
30762
30763 2014-04-01 Florian Weimer <fweimer@redhat.com>
30764
30765 [BZ #13347]
30766 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
30767 * nptl/tst-setuid2.c: New file.
30768 * nptl/Makefile (xtests): Add tst-setuid2.
30769
30770 2014-04-01 Alan Modra <amodra@gmail.com>
30771
30772 [BZ #16786]
30773 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
30774
30775 2014-03-31 Joseph Myers <joseph@codesourcery.com>
30776
30777 [BZ #6803]
30778 [BZ #6804]
30779 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
30780 set errno as appropriate.
30781 * math/w_scalbf.c (__scalbf): Likewise.
30782 * math/w_scalbl.c (__scalbl): Likewise.
30783 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
30784 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
30785 * math/libm-test.inc (scalb_test_data): Add errno expectations.
30786 Add more NaN tests.
30787
30788 [BZ #16349]
30789 * math/w_atan2.c: Include <errno.h>.
30790 (__atan2): Set errno for result underflowing to zero.
30791 * math/w_atan2f.c: Include <errno.h>.
30792 (__atan2f): Set errno for result underflowing to zero.
30793 * math/w_atan2l.c: Include <errno.h>.
30794 (__atan2l): Set errno for result underflowing to zero.
30795 * math/auto-libm-test-in: Don't allow missing errno for some atan2
30796 tests.
30797 * math/auto-libm-test-out: Regenerated.
30798
30799 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30800
30801 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30802 Encode instruction correctly in little endian.
30803 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30804 Likewise.
30805 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30806 Likewise.
30807 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30808 Likewise.
30809 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30810 Likewise.
30811
30812 2014-03-31 Joseph Myers <joseph@codesourcery.com>
30813
30814 [BZ #9894]
30815 * sysdeps/unix/sysv/linux/kernel-features.h
30816 [__sparc__ && !__arch64__ && !__sparc_v9__]
30817 (__ASSUME_SET_ROBUST_LIST): Do not define.
30818 [__sparc__ && !__arch64__ && !__sparc_v9__]
30819 (__ASSUME_FUTEX_LOCK_PI): Likewise.
30820 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
30821 Likewise.
30822 * sysdeps/unix/sysv/linux/arm/kernel-features.h
30823 (__ASSUME_FUTEX_LOCK_PI): Undefine.
30824 (__ASSUME_REQUEUE_PI): Likewise.
30825 (__ASSUME_SET_ROBUST_LIST): Likewise.
30826 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30827 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
30828 Undefine.
30829 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30830 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
30831 Likewise.
30832 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
30833 Likewise.
30834 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
30835 Likewise.
30836 * sysdeps/unix/sysv/linux/mips/kernel-features.h
30837 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
30838 Undefine.
30839 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
30840 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
30841 Likewise.
30842
30843 [BZ #16648]
30844 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30845 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
30846 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
30847
30848 2014-03-31 Will Newton <will.newton@linaro.org>
30849
30850 * benchtests/Makefile (bench): Add ffs and ffsll to list
30851 of tests.
30852 * benchtests/ffs-inputs: New file.
30853 * benchtests/ffsll-inputs: Likewise.
30854
30855 2014-03-29 Joseph Myers <joseph@codesourcery.com>
30856
30857 [BZ #16770]
30858 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
30859 too large before casting to int.
30860 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
30861 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
30862 * math/libm-test.inc (scalb_test_data): Add more tests.
30863
30864 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30865
30866 * benchtests/Makefile (DETAILED_OPT): New make option.
30867 (bench-func): Run benchmark program with -d if DETAILED_OPT is
30868 set.
30869 * benchtests/bench-skeleton.c: Include stdbool.h.
30870 (main): Store and print timings per input.
30871 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
30872 member to each argument value.
30873 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
30874 (_print_arg_data): Initialize per-input timing to 0.
30875
30876 * benchtests/Makefile (timing-type): New binary.
30877 (bench-clean): Also remove bench-timing-type.
30878 (bench): New target for timing-type.
30879 (bench-func): Print output in JSON format.
30880 * benchtests/bench-skeleton.c (main): Print output in JSON
30881 format.
30882 * benchtests/bench-timing-type.c: New file.
30883 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
30884 (TIMING_PRINT_STATS): Remove.
30885 * benchtests/scripts/bench.py (_print_arg_data): Store variant
30886 name separately.
30887
30888 * benchtests/bench-modf.c: Remove.
30889 * benchtests/modf-inputs: New inputs file.
30890
30891 2014-03-28 Joseph Myers <joseph@codesourcery.com>
30892
30893 [BZ #16362]
30894 * math/s_clog10.c (M_PI_LOG10E): New macro.
30895 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
30896 imaginary parts are 0.
30897 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
30898 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
30899 imaginary parts are 0.
30900 * math/s_clog10l.c (M_PI_LOG10El): New macro.
30901 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
30902 imaginary parts are 0.
30903 * math/libm-test.inc (clog10_test_data): Update expected results
30904 for when real and imaginary parts are 0.
30905
30906 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30907
30908 * elf/dl-load.c: Finish conversion of __builtin_expect into
30909 __glibc_{un}likely.
30910
30911 2014-03-27 Joseph Myers <joseph@codesourcery.com>
30912
30913 [BZ #16348]
30914 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
30915 1+x for argument with exponent below -67.
30916 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
30917 Likewise.
30918 * math/auto-libm-test-in: Add more tests of exp.
30919 * math/auto-libm-test-out: Regenerated.
30920
30921 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30922
30923 [BZ #16759]
30924 * inet/getnetgrent_r.c (get_nonempty_val): New function.
30925 (nscd_getnetgrent): Use it.
30926
30927 [BZ #16760]
30928 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
30929 of stpcpy.
30930
30931 2014-03-27 Andi Kleen <ak@linux.intel.com>
30932
30933 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
30934 (lll_robust_lock, lll_cond_lock, lll_timedlock)
30935 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30936 (lll_robust_unlock): Remove out of line section. Use cfi
30937 intrinsics.
30938 (LLL_STUB_UNWIND_INFO*): Remove.
30939 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
30940 (lll_robust_lock, lll_cond_lock, lll_timedlock)
30941 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30942 (lll_robust_unlock): Remove out of line section. Use cfi
30943 intrinsics.
30944 (LLL_STUB_UNWIND_INFO*): Remove.
30945
30946 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30947
30948 [BZ #16758]
30949 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
30950 blank values.
30951
30952 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
30953
30954 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
30955
30956 2014-03-26 Joseph Myers <joseph@codesourcery.com>
30957
30958 [BZ #16198]
30959 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
30960 fnstenv.
30961 * math/test-fenv-preserve.c: New file.
30962 * math/Makefile (tests): Add test-fenv-preserve.
30963
30964 2014-03-26 Will Newton <will.newton@linaro.org>
30965
30966 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
30967
30968 2014-03-25 Roland McGrath <roland@hack.frob.com>
30969
30970 * scripts/versionlist.awk: Partition the version sets and emit all
30971 GLIBC_* (sorted) before all others (sorted).
30972
30973 2014-03-25 Joseph Myers <joseph@codesourcery.com>
30974
30975 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
30976 GLIBC_2.2.5 version.
30977
30978 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30979
30980 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
30981 calls.
30982
30983 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
30984 previous change.
30985
30986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30987
30988 2014-03-25 Andreas Schwab <schwab@suse.de>
30989
30990 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
30991 label to be used after in6ailist is initialized.
30992
30993 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30994
30995 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30996 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30997
30998 2014-03-25 Joseph Myers <joseph@codesourcery.com>
30999
31000 [BZ #16357]
31001 [BZ #16599]
31002 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
31003 min_plus_half.
31004 (fp_formats): Update initializers.
31005 (init_fp_formats): Initialize new field.
31006 (output_for_one_input_case): Allow underflow for results up to
31007 min_plus_half.
31008 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
31009 * math/auto-libm-test-in: Don't mark some underflows from asin and
31010 atanh as spurious.
31011 * math/auto-libm-test-out: Regenerated.
31012 * sysdeps/i386/fpu/libm-test-ulps: Update.
31013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31014
31015 2014-03-25 Andreas Schwab <schwab@suse.de>
31016
31017 * libio/Makefile (tst-ftell-partial-wide-ENV)
31018 (tst-ftell-active-handler-ENV): Define.
31019
31020 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
31021
31022 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
31023
31024 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
31025
31026 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
31027
31028 2014-03-24 Joseph Myers <joseph@codesourcery.com>
31029
31030 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
31031 * sysdeps/x86_64/fpu/multiarch/e_exp.c
31032 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
31033
31034 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
31035
31036 [BZ #16634]
31037 * elf/dl-load.c (open_verify): Add mode parameter.
31038 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
31039 (open_path): Change from boolean 'secure' to complete flag 'mode'
31040 (_dl_map_object): Adjust.
31041 * elf/Makefile (tests): Add tst-dlopen-aout.
31042 * elf/tst-dlopen-aout.c: New test.
31043
31044 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
31045
31046 [BZ #16714]
31047 * sysdeps/unix/sysv/linux/s390/bits/stat.h
31048 (struct stat): Rename member pad0 to __glibc_reserved0.
31049
31050 [BZ #16712]
31051 * sysdeps/s390/s390-32/bits/wordsize.h
31052 (__WORDSIZE32_SIZE_ULONG): New define.
31053 * sysdeps/s390/s390-64/bits/wordsize.h
31054 (__WORDSIZE32_SIZE_ULONG): Likewise.
31055 * sysdeps/generic/stdint.h (SIZE_MAX):
31056 Define as UL if __WORDSIZE32_SIZE_ULONG.
31057
31058 [BZ #16713]
31059 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31060 (__glibc_reserved0): New variable.
31061 (sa_flags): Change type to int.
31062
31063 * posix/Makefile (before-compile): Use += before-compile instead
31064 of a :=.
31065
31066 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31067 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31068
31069 2014-03-20 Andreas Schwab <schwab@suse.de>
31070
31071 [BZ #16743]
31072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
31073 non-matching result from nscd.
31074
31075 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31076
31077 * scripts/bench.py: Moved to ...
31078 * benchtests/scripts/bench.py: ... here.
31079 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
31080
31081 2014-03-24 Andreas Schwab <schwab@suse.de>
31082
31083 [BZ #16002]
31084 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
31085 alloca_account and account alloca use for struct in6ailist.
31086
31087 2014-03-24 Joseph Myers <joseph@codesourcery.com>
31088
31089 [BZ #16284]
31090 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
31091 rounding mode to recompute results that overflow to infinity or
31092 underflow to zero.
31093 * math/auto-libm-test-in: Don't mark tests as expected to fail for
31094 bug 16284.
31095 * math/auto-libm-test-out: Regenerated.
31096 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
31097 (ccosh_test): Likewise.
31098 (csin_test_data): Use plus_oflow.
31099 (csin_test): Use ALL_RM_TEST.
31100 (csinh_test_data): Use plus_oflow.
31101 (csinh_test): Use ALL_RM_TEST.
31102 * sysdeps/i386/fpu/libm-test-ulps: Update.
31103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31104
31105 2014-03-21 Joseph Myers <joseph@codesourcery.com>
31106
31107 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
31108 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
31109 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
31110
31111 [BZ #16731]
31112 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
31113 when x - 1 is zero.
31114 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
31115 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
31116 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31117 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
31118 argument is 1.
31119 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
31120 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
31121 zero.
31122 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
31123 * sysdeps/i386/fpu/libm-test-ulps: Update.
31124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31125
31126 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31127
31128 * scripts/bench.pl: Remove file.
31129 * scripts/bench.py: New benchmark script.
31130 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
31131 * benchtests/README: Mention python dependency.
31132 * scripts/pylintrc: New file.
31133 * scripts/pylint: New file.
31134
31135 * bits/mathdef.h: Use #ifdef instead of #if.
31136 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
31137 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31138 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
31139 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31140 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
31141 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31142
31143 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31144 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
31145
31146 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
31147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
31148 and strpbrk-ppc64 objects.
31149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31150 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
31151 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
31152 multiarch strpbrk for POWER7.
31153 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
31154 multiarch strpbrk for PPC64.
31155 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
31156 ifunc selector.
31157 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
31158 strpbrk for POWER7.
31159
31160 2014-03-20 Joseph Myers <joseph@codesourcery.com>
31161
31162 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
31163 (atan_test): Likewise.
31164 (atanh_test_data): Use NO_TEST_INLINE for two tests.
31165 (atanh_test): Use ALL_RM_TEST.
31166 (atan2_test_data): Likewise.
31167 (cabs_test): Likewise.
31168 (cacosh_test): Likewise.
31169 (carg_test): Likewise.
31170 (casin_test): Likewise.
31171 (casinh_test): Likewise.
31172 (cbrt_test): Likewise.
31173 (csqrt_test): Likewise.
31174 (erf_test): Likewise.
31175 (erfc_test): Likewise.
31176 (pow10_test): Likewise.
31177 (exp2_test): Likewise.
31178 (hypot_test): Likewise.
31179 (j0_test): Likewise.
31180 (j1_test): Likewise.
31181 (lgamma_test): Likewise.
31182 (gamma_test): Likewise.
31183 (sincos_test): Likewise.
31184 (tanh_test): Likewise.
31185 (y0_test): Likewise.
31186 (y1_test): Likewise.
31187 * sysdeps/i386/fpu/libm-test-ulps: Update.
31188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31189
31190 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31191
31192 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
31193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
31194 and strcspn-ppc64 objects.
31195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31196 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
31197 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
31198 multiarch strcspn for POWER7.
31199 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
31200 multiarch strcspn for PPC64.
31201 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
31202 ifunc selector.
31203 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
31204 strcspn for POWER7.
31205
31206 2014-03-20 Joseph Myers <joseph@codesourcery.com>
31207
31208 * math/gen-libm-test.pl (generate_testfile): Expect only function
31209 name as argument to AUTO_TESTS_* and pass results for all rounding
31210 modes to parse_args.
31211 (parse_auto_input): Separate inputs of automatic tests from
31212 outputs before storing in %auto_tests.
31213 * math/libm-test.inc (acos_test_data): Update call to
31214 AUTO_TESTS_f_f.
31215 (acos_test): Use ALL_RM_TEST.
31216 (acos_tonearest_test_data): Remove.
31217 (acos_test_tonearest): Likewise.
31218 (acos_towardzero_test_data): Likewise.
31219 (acos_test_towardzero): Likewise.
31220 (acos_downward_test_data): Likewise.
31221 (acos_test_downward): Likewise.
31222 (acos_upward_test_data): Likewise.
31223 (acos_test_upward): Likewise.
31224 (acosh_test_data): Update call to AUTO_TESTS_f_f.
31225 (asin_test_data): Likewise.
31226 (asin_test): Use ALL_RM_TEST.
31227 (asin_tonearest_test_data): Remove.
31228 (asin_test_tonearest): Likewise.
31229 (asin_towardzero_test_data): Likewise.
31230 (asin_test_towardzero): Likewise.
31231 (asin_downward_test_data): Likewise.
31232 (asin_test_downward): Likewise.
31233 (asin_upward_test_data): Likewise.
31234 (asin_test_upward): Likewise.
31235 (asinh_test_data): Update call to AUTO_TESTS_f_f.
31236 (atan_test_data): Likewise.
31237 (atanh_test_data): Likewise.
31238 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
31239 (cabs_test_data): Update call to AUTO_TESTS_c_f.
31240 (carg_test_data): Likewise.
31241 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
31242 (ccos_test_data): Update call to AUTO_TESTS_c_c.
31243 (ccosh_test_data): Likewise.
31244 (cexp_test_data): Likewise.
31245 (clog_test_data): Likewise.
31246 (clog10_test_data): Likewise.
31247 (cos_test_data): Update call to AUTO_TESTS_f_f.
31248 (cos_test): Use ALL_RM_TEST.
31249 (cos_tonearest_test_data): Remove.
31250 (cos_test_tonearest): Likewise.
31251 (cos_towardzero_test_data): Likewise.
31252 (cos_test_towardzero): Likewise.
31253 (cos_downward_test_data): Likewise.
31254 (cos_test_downward): Likewise.
31255 (cos_upward_test_data): Likewise.
31256 (cos_test_upward): Likewise.
31257 (cosh_test_data): Update call to AUTO_TESTS_f_f.
31258 (cosh_test): Use ALL_RM_TEST.
31259 (cosh_tonearest_test_data): Remove.
31260 (cosh_test_tonearest): Likewise.
31261 (cosh_towardzero_test_data): Likewise.
31262 (cosh_test_towardzero): Likewise.
31263 (cosh_downward_test_data): Likewise.
31264 (cosh_test_downward): Likewise.
31265 (cosh_upward_test_data): Likewise.
31266 (cosh_test_upward): Likewise.
31267 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
31268 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
31269 (ctan_test_data): Likewise.
31270 (ctan_test): Use ALL_RM_TEST.
31271 (ctan_tonearest_test_data): Remove.
31272 (ctan_test_tonearest): Likewise.
31273 (ctan_towardzero_test_data): Likewise.
31274 (ctan_test_towardzero): Likewise.
31275 (ctan_downward_test_data): Likewise.
31276 (ctan_test_downward): Likewise.
31277 (ctan_upward_test_data): Likewise.
31278 (ctan_test_upward): Likewise.
31279 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
31280 (ctanh_test): Use ALL_RM_TEST.
31281 (ctanh_tonearest_test_data): Remove.
31282 (ctanh_test_tonearest): Likewise.
31283 (ctanh_towardzero_test_data): Likewise.
31284 (ctanh_test_towardzero): Likewise.
31285 (ctanh_downward_test_data): Likewise.
31286 (ctanh_test_downward): Likewise.
31287 (ctanh_upward_test_data): Likewise.
31288 (ctanh_test_upward): Likewise.
31289 (erf_test_data): Update call to AUTO_TESTS_f_f.
31290 (erfc_test_data): Likewise.
31291 (exp_test_data): Likewise.
31292 (exp_test): Use ALL_RM_TEST.
31293 (exp_tonearest_test_data): Remove.
31294 (exp_test_tonearest): Likewise.
31295 (exp_towardzero_test_data): Likewise.
31296 (exp_test_towardzero): Likewise.
31297 (exp_downward_test_data): Likewise.
31298 (exp_test_downward): Likewise.
31299 (exp_upward_test_data): Likewise.
31300 (exp_test_upward): Likewise.
31301 (exp10_test_data): Update call to AUTO_TESTS_f_f.
31302 (exp10_test): Use ALL_RM_TEST.
31303 (exp10_tonearest_test_data): Remove.
31304 (exp10_test_tonearest): Likewise.
31305 (exp10_towardzero_test_data): Likewise.
31306 (exp10_test_towardzero): Likewise.
31307 (exp10_downward_test_data): Likewise.
31308 (exp10_test_downward): Likewise.
31309 (exp10_upward_test_data): Likewise.
31310 (exp10_test_upward): Likewise.
31311 (exp2_test_data): Update call to AUTO_TESTS_f_f.
31312 (expm1_test_data): Likewise.
31313 (expm1_test): Use ALL_RM_TEST.
31314 (expm1_tonearest_test_data): Remove.
31315 (expm1_test_tonearest): Likewise.
31316 (expm1_towardzero_test_data): Likewise.
31317 (expm1_test_towardzero): Likewise.
31318 (expm1_downward_test_data): Likewise.
31319 (expm1_test_downward): Likewise.
31320 (expm1_upward_test_data): Likewise.
31321 (expm1_test_upward): Likewise.
31322 (fma_test_data): Update call to AUTO_TESTS_fff_f.
31323 (fma_test): Use ALL_RM_TEST.
31324 (fma_towardzero_test_data): Remove.
31325 (fma_test_towardzero): Likewise.
31326 (fma_downward_test_data): Likewise.
31327 (fma_test_downward): Likewise.
31328 (fma_upward_test_data): Likewise.
31329 (fma_test_upward): Likewise.
31330 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
31331 (j0_test_data): Update call to AUTO_TESTS_f_f.
31332 (j1_test_data): Likewise.
31333 (jn_test_data): Update call to AUTO_TESTS_if_f.
31334 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
31335 (log_test_data): Update call to AUTO_TESTS_f_f.
31336 (log10_test_data): Likewise.
31337 (log1p_test_data): Likewise.
31338 (log2_test_data): Likewise.
31339 (pow_test_data): Update call to AUTO_TESTS_ff_f.
31340 (pow_tonearest_test_data): Likewise.
31341 (sin_test_data): Update call to AUTO_TESTS_f_f.
31342 (sin_test): Use ALL_RM_TEST.
31343 (sin_tonearest_test_data): Remove.
31344 (sin_test_tonearest): Likewise.
31345 (sin_towardzero_test_data): Likewise.
31346 (sin_test_towardzero): Likewise.
31347 (sin_downward_test_data): Likewise.
31348 (sin_test_downward): Likewise.
31349 (sin_upward_test_data): Likewise.
31350 (sin_test_upward): Likewise.
31351 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
31352 (sinh_test_data): Update call to AUTO_TESTS_f_f.
31353 (sinh_test): Use ALL_RM_TEST.
31354 (sinh_tonearest_test_data): Remove.
31355 (sinh_test_tonearest): Likewise.
31356 (sinh_towardzero_test_data): Likewise.
31357 (sinh_test_towardzero): Likewise.
31358 (sinh_downward_test_data): Likewise.
31359 (sinh_test_downward): Likewise.
31360 (sinh_upward_test_data): Likewise.
31361 (sinh_test_upward): Likewise.
31362 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
31363 (sqrt_test): Use ALL_RM_TEST.
31364 (sqrt_tonearest_test_data): Remove.
31365 (sqrt_test_tonearest): Likewise.
31366 (sqrt_towardzero_test_data): Likewise.
31367 (sqrt_test_towardzero): Likewise.
31368 (sqrt_downward_test_data): Likewise.
31369 (sqrt_test_downward): Likewise.
31370 (sqrt_upward_test_data): Likewise.
31371 (sqrt_test_upward): Likewise.
31372 (tan_test_data): Update call to AUTO_TESTS_f_f.
31373 (tan_test): Use ALL_RM_TEST.
31374 (tan_tonearest_test_data): Remove.
31375 (tan_test_tonearest): Likewise.
31376 (tan_towardzero_test_data): Likewise.
31377 (tan_test_towardzero): Likewise.
31378 (tan_downward_test_data): Likewise.
31379 (tan_test_downward): Likewise.
31380 (tan_upward_test_data): Likewise.
31381 (tan_test_upward): Likewise.
31382 (tanh_test_data): Update call to AUTO_TESTS_f_f.
31383 (tgamma_test_data): Likewise.
31384 (y0_test_data): Likewise.
31385 (y1_test_data): Likewise.
31386 (yn_test_data): Update call to AUTO_TESTS_if_f.
31387 (main): Do not call removed functions.
31388
31389 2014-03-19 Joseph Myers <joseph@codesourcery.com>
31390
31391 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
31392 (ldexp_test_data): Remove.
31393 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
31394 scalbn_test_data.
31395 (scalb_test): Use ALL_RM_TEST.
31396
31397 2014-03-19 Andreas Schwab <schwab@suse.de>
31398
31399 * nscd/nscd.service: Also invalidate netgroup cache on reload.
31400
31401 2014-03-19 Joseph Myers <joseph@codesourcery.com>
31402
31403 [BZ #16649]
31404 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31405 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
31406 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
31407 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31408 (__ASSUME_PREADV): Undefine.
31409 (__ASSUME_PWRITEV): Likewise.
31410
31411 2014-03-18 Roland McGrath <roland@hack.frob.com>
31412
31413 * bits/mman-linux.h: Add comment about non-Linux use.
31414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
31415 bits/mman-linux.h resting place.
31416
31417 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
31418 * bits/mman-linux.h: ... here.
31419
31420 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31421
31422 * conform/conformtest.pl: Add standard definition when calling C
31423 preprocessor on data files.
31424 (checknamespace): Remove unused variable.
31425
31426 2014-03-18 Joseph Myers <joseph@codesourcery.com>
31427
31428 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
31429 minus_oflow, plus_uflow and minus_uflow in expected results.
31430 * math/libm-test.inc (scalbn_test_data): Add more tests of
31431 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
31432 minus_uflow.
31433 (scalbn_test): Use ALL_RM_TEST.
31434 (scalbln_test_data): Add more tests of negative arguments. Use
31435 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
31436 (scalbln_test): Use ALL_RM_TEST.
31437
31438 2014-03-18 Roland McGrath <roland@hack.frob.com>
31439
31440 * scripts/abilist.awk: Ignore symbols marked with .hidden.
31441
31442 2014-03-18 Will Newton <will.newton@linaro.org>
31443
31444 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
31445 inaccurate comment.
31446
31447 2014-03-18 Joseph Myers <joseph@codesourcery.com>
31448
31449 * Makerules [!subdir] (check-abi): Exit with error status if a
31450 test failed.
31451
31452 2014-03-17 Joseph Myers <joseph@codesourcery.com>
31453
31454 * math/libm-test.inc (nearbyint_test_data): Include all tests used
31455 for rint. Include results for all rounding modes.
31456 (nearbyint_test): Use ALL_RM_TEST.
31457 (rint_test_data): Include all tests used for nearbyint.
31458
31459 2014-03-17 Will Newton <will.newton@linaro.org>
31460
31461 * nptl/sysdeps/pthread/pthread.h: Revert previous
31462 change.
31463
31464 * sysdeps/generic/ldsodefs.h: Revert previous
31465 change.
31466
31467 * libio/genops.c: Revert previous change.
31468 * libio/libioP.h: Likewise.
31469 * stdio-common/vfprintf.c: Likewise.
31470
31471 * sysdeps/generic/math_private.h: Revert previous
31472 change.
31473
31474 * sysdeps/generic/math_private.h: Check whether
31475 HAVE_RM_CTX is defined with #ifdef rather
31476 than #if.
31477
31478 * argp/argp-fmtstream.h: Check whether
31479 __STRICT_ANSI__ is defined with #ifdef rather
31480 than #if.
31481 * argp/argp.h: Likewise.
31482
31483 * libio/genops.c: Check whether
31484 _IO_JUMPS_OFFSET is defined with #ifdef rather
31485 than #if.
31486 * libio/libioP.h: Likewise.
31487 * stdio-common/vfprintf.c: Likewise.
31488
31489 * sysdeps/generic/ldsodefs.h: Check whether
31490 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
31491 than #if.
31492
31493 * nptl/sysdeps/pthread/pthread.h: Check
31494 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
31495 its value.
31496
31497 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31498
31499 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
31500 setting O_APPEND.
31501 * libio/tst-ftell-active-handler.c (do_append_test): Add a
31502 test case.
31503
31504 [BZ #16680]
31505 * libio/fileops.c (_IO_file_open): Seek to end of file but
31506 don't cache the offset.
31507 (get_file_offset): Remove function.
31508 (do_ftell): Use cached offset when available.
31509 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
31510 don't cache the offset.
31511 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
31512 case.
31513 (do_one_test): Call it.
31514 (do_ftell_test): Fix up expected old offset for a+ mode.
31515 * libio/wfileops.c (do_ftell_wide): Used cached offset when
31516 available.
31517
31518 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
31519 up test status with function return status.
31520 (do_write_test): Likewise.
31521 (do_append_test): Likewise.
31522
31523 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
31524 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
31525 Remove.
31526
31527 2014-03-17 Joseph Myers <joseph@codesourcery.com>
31528
31529 * math/gen-libm-test.pl (parse_args): Handle results specified for
31530 each rounding mode separately.
31531 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
31532 tests and results from lrint_tonearest_test_data,
31533 lrint_towardzero_test_data, lrint_downward_test_data and
31534 lrint_upward_test_data.
31535 (lrint_test): Use ALL_RM_TEST.
31536 (lrint_tonearest_test_data): Remove.
31537 (lrint_test_tonearest): Likewise.
31538 (lrint_towardzero_test_data): Likewise.
31539 (lrint_test_towardzero): Likewise.
31540 (lrint_downward_test_data): Likewise.
31541 (lrint_test_downward): Likewise.
31542 (lrint_upward_test_data): Likewise.
31543 (lrint_test_upward): Likewise.
31544 (llrint_test_data): Merge in per-rounding-mode tests and results
31545 from llrint_tonearest_test_data, llrint_towardzero_test_data,
31546 llrint_downward_test_data and llrint_upward_test_data.
31547 (llrint_test): Use ALL_RM_TEST.
31548 (llrint_tonearest_test_data): Remove.
31549 (llrint_test_tonearest): Likewise.
31550 (llrint_towardzero_test_data): Likewise.
31551 (llrint_test_towardzero): Likewise.
31552 (llrint_downward_test_data): Likewise.
31553 (llrint_test_downward): Likewise.
31554 (llrint_upward_test_data): Likewise.
31555 (llrint_test_upward): Likewise.
31556 (rint_test_data): Merge in per-rounding-mode tests and results
31557 from rint_tonearest_test_data, rint_towardzero_test_data,
31558 rint_downward_test_data and rint_upward_test_data. Add
31559 per-rounding-mode results for tests not in those arrays.
31560 (rint_test): Use ALL_RM_TEST.
31561 (rint_tonearest_test_data): Remove.
31562 (rint_test_tonearest): Likewise.
31563 (rint_towardzero_test_data): Likewise.
31564 (rint_test_towardzero): Likewise.
31565 (rint_downward_test_data): Likewise.
31566 (rint_test_downward): Likewise.
31567 (rint_upward_test_data): Likewise.
31568 (rint_test_upward): Likewise.
31569 (main): Don't call removed functions.
31570
31571 2014-03-14 Roland McGrath <roland@hack.frob.com>
31572
31573 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
31574 "Compiled on ..." crapola. It is anti-useful.
31575
31576 2014-03-14 Joseph Myers <joseph@codesourcery.com>
31577
31578 * scripts/evaluate-test.sh: Handle fourth argument to determine
31579 whether test run should stop on failure.
31580 * Makeconfig (stop-on-test-failure): New variable.
31581 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
31582 $(stop-on-test-failure).
31583 * Makefile (tests): Give a summary of results from testing and
31584 exit with failure status if they include an ERROR or FAIL.
31585 (xtests): Likewise.
31586 * manual/install.texi (Configuring and compiling): Mention
31587 stop-on-test-failure=y.
31588 * INSTALL: Regenerated.
31589
31590 2014-03-14 Roland McGrath <roland@hack.frob.com>
31591
31592 * scripts/versionlist.awk: New file.
31593 * Makerules [$(build-shared) = yes]
31594 (postclean-generated): Add Versions.def, not Versions.def.v and
31595 Versions.def.v.i.
31596 ($(common-objpfx)Versions.def.v.i): Target removed.
31597 ($(common-objpfx)Versions.def): New target.
31598 ($(common-objpfx)Versions.all): Depend on that rather that
31599 $(common-objpfx)Versions.def.v.
31600 * Versions.def: File removed.
31601
31602 * Makeconfig (+gccwarn): Add -Wundef.
31603 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
31604 a dl-sysdep.h breaking its contract.
31605 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
31606 * include/stackinfo.h: New file.
31607 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
31608 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
31609 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
31610 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
31611 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
31612 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
31613 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31614 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31615 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31616 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31617 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31618 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
31619 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31620 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31621 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31622
31623 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31624
31625 [BZ #16707]
31626 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
31627 implementation.
31628 * math/libm-test.inc (round_test_data): Add more tests.
31629
31630 [BZ #16706]
31631 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
31632 implementation.
31633 * math/libm-test.inc (nearbyint_test_data): Add more tests.
31634
31635 [BZ #16701]
31636 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
31637 implementation.
31638 * math/libm-test.inc (ceil_test_data): Add more tests.
31639
31640 * math/libm-test.inc (trunc_test_data): Add more tests related to
31641 BZ#16414.
31642
31643 2014-03-14 Roland McGrath <roland@hack.frob.com>
31644
31645 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
31646 with #if rather than #ifdef.
31647 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
31648
31649 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
31650
31651 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
31652 first. Disable AVX-512 GCC support if assembler doesn't support
31653 it.
31654 * sysdeps/x86_64/configure: Regenerated.
31655
31656 2014-03-13 Carlos O'Donell <carlos@redhat.com>
31657
31658 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
31659 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
31660 (__old_pthread_attr_setstack): Likewise.
31661 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
31662 [!_STACK_GROWS_DOWN]: Likewise.
31663
31664 2014-03-13 Mike Frysinger <vapier@gentoo.org>
31665
31666 * config.make.in (have-bash2): Delete.
31667 * configure.ac (libc_cv_have_bash2): Delete.
31668 * configure: Regenerate.
31669 * elf/Makefile (common-ldd-rewrite): Rename to ...
31670 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
31671 (sh-ldd-rewrite): Delete.
31672 (bash-ldd-rewrite): Delete.
31673 (have-bash2): Delete checks.
31674 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
31675 ldd-rewrite.
31676
31677 * config.make.in (have-ksh): Delete.
31678 (KSH): Delete.
31679 * configure.ac (libc_cv_have_ksh): Delete.
31680 * configure: Regenerate.
31681
31682 * elf/Makefile: Delete $(have-ksh) check.
31683 ($(objpfx)sotruss): Change KSH to BASH.
31684 * elf/sotruss.ksh: Rename to ...
31685 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
31686 function style to match POSIX. Drop ksh vim mode setting.
31687
31688 * manual/time.texi (Specifying the Time Zone with TZ): Change
31689 Tuesday to Thursday.
31690
31691 * debug/tst-longjmp_chk2.c: Update header comment.
31692 (stackoverflow_handler): Add comment. Call assert on pass value.
31693
31694 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
31695
31696 [BZ #16194]
31697 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
31698 (HAVE_AVX512_ASM_SUPPORT): Likewise.
31699 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
31700 (La_x86_64_vector): Add zmm.
31701 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
31702 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
31703 ($(objpfx)tst-audit10): New target.
31704 ($(objpfx)tst-audit10.out): Likewise.
31705 (tst-audit10-ENV): New.
31706 (AVX512-CFLAGS): Likewise.
31707 (CFLAGS-tst-audit10.c): Likewise.
31708 (CFLAGS-tst-auditmod10a.c): Likewise.
31709 (CFLAGS-tst-auditmod10b.c): Likewise.
31710 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
31711 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
31712 * sysdeps/x86_64/configure: Regenerated.
31713 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
31714 AVX-512 zmm register support.
31715 (_dl_x86_64_save_sse): Likewise.
31716 (_dl_x86_64_restore_sse): Likewise.
31717 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
31718 size vector registers.
31719 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
31720 (ZMM_SIZE): Likewise.
31721 * sysdeps/x86_64/tst-audit10.c: New file.
31722 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
31723 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
31724
31725 2014-03-13 Roland McGrath <roland@hack.frob.com>
31726
31727 * configure.ac (HAVE_EHDR_START): New check.
31728 * configure: Regenerated.
31729 * config.h.in (HAVE_EHDR_START): New #undef.
31730 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
31731 assuming the lowest-addressed segment maps the start of the file.
31732
31733 2014-03-13 Joseph Myers <joseph@codesourcery.com>
31734
31735 * INSTALL: Regenerated.
31736
31737 2014-03-13 Will Newton <will.newton@linaro.org>
31738
31739 * manual/setjmp.texi (System V contexts): Improve
31740 clarity and grammar of documentation.
31741
31742 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
31743
31744 [BZ #16381]
31745 * elf/Makefile (tests): Add tst-pie2.
31746 (tests-pie): Add tst-pie2.
31747 * elf/tst-pie2.c: New file.
31748 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
31749 for ET_EXEC.
31750 * elf/rtld.c (map_doit): Load executable as lt_executable.
31751 (dl_main): Likewise.
31752
31753 2014-03-12 Joseph Myers <joseph@codesourcery.com>
31754
31755 [BZ #16642]
31756 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31757 (__ASSUME_PSELECT): Undefine.
31758
31759 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31760
31761 [BZ #16689]
31762 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
31763 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
31764 static build.
31765 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
31766 selector for static builds.
31767
31768 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31769
31770 [BZ #16695]
31771 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
31772 key in the buffer.
31773
31774 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31775
31776 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
31777 IFUNC selector for static builds.
31778
31779 2014-03-11 Joseph Myers <joseph@codesourcery.com>
31780
31781 * sysdeps/mips/math_private.h [__mips_hard_float]
31782 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
31783 libc_feresetround_mips_ctx.
31784 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
31785 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
31786 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
31787
31788 [BZ #16677]
31789 * math/s_nextafter.c (__nextafter): Do not return value from
31790 overflowing computation.
31791 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31792 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
31793 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31794 Likewise.
31795 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
31796 Likewise.
31797 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31798 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
31799
31800 2014-03-11 Roland McGrath <roland@hack.frob.com>
31801
31802 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
31803 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
31804 Move sfi_sp use from the load-multiple (that no longer sets sp) to
31805 the new mov targetting sp.
31806
31807 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31808
31809 [BZ #16683]
31810 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
31811 Define it for static builds as well.
31812 (NO_BZERO_IMPL): Likewise.
31813
31814 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
31815
31816 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
31817 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
31818 multiarch strspn for PPC64.
31819 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
31820 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
31821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31822 (__libc_ifunc_impl_list): Likewise.
31823 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
31824 multiarch optimizations
31825 * string/strspn.c (strspn): Using macro to redefine symbol name.
31826
31827 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
31828 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31829
31830 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
31831 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
31832 multiarch strncat for PPC64.
31833 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
31834 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
31835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31836 (__libc_ifunc_impl_list): Likewise.
31837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
31838 multiarch optimizations
31839
31840 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31841
31842 [BZ #16639]
31843 * nscd/nscd.service: Make service type forking.
31844
31845 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31846
31847 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
31848 sign in non default rounding modes.
31849 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
31850
31851 2014-03-08 Joseph Myers <joseph@codesourcery.com>
31852
31853 * math/libm-test.inc (ALL_RM_TEST): New macro.
31854 (ceil_test): Use ALL_RM_TEST.
31855 (cimag_test): Likewise.
31856 (conj_test): Likewise.
31857 (copysign_test): Likewise.
31858 (cproj_test): Likewise.
31859 (creal_test): Likewise.
31860 (fabs_test): Likewise.
31861 (floor_test): Likewise.
31862 (fmax_test): Likewise.
31863 (fmin_test): Likewise.
31864 (fmod_test): Likewise.
31865 (fpclassify_test): Likewise.
31866 (frexp_test): Likewise.
31867 (ilogb_test): Likewise.
31868 (isfinite_test): Likewise.
31869 (finite_test): Likewise.
31870 (isgreater_test): Likewise.
31871 (isgreaterequal_test): Likewise.
31872 (isinf_test): Likewise.
31873 (isless_test): Likewise.
31874 (islessequal_test): Likewise.
31875 (islessgreater_test): Likewise.
31876 (isnan_test): Likewise.
31877 (isnormal_test): Likewise.
31878 (issignaling_test): Likewise.
31879 (isunordered_test): Likewise.
31880 (logb_test): Likewise.
31881 (logb_downward_test_data): Remove.
31882 (logb_test_downward): Likewise.
31883 (lround_test): Use ALL_RM_TEST.
31884 (llround_test): Likewise.
31885 (modf_test): Likewise.
31886 (nexttoward_test): Likewise.
31887 (remainder_test): Likewise.
31888 (drem_test): Likewise.
31889 (remainder_tonearest_test_data): Likewise.
31890 (remainder_test_tonearest): Likewise.
31891 (drem_test_tonearest): Likewise.
31892 (remainder_towardzero_test_data): Likewise.
31893 (remainder_test_towardzero): Likewise.
31894 (drem_test_towardzero): Likewise.
31895 (remainder_downward_test_data): Likewise.
31896 (remainder_test_downward): Likewise.
31897 (drem_test_downward): Likewise.
31898 (remainder_upward_test_data): Likewise.
31899 (remainder_test_upward): Likewise.
31900 (drem_test_upward): Likewise.
31901 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
31902 (round_test): Use ALL_RM_TEST.
31903 (signbit_test): Likewise.
31904 (trunc_test): Likewise.
31905 (significand_test): Likewise.
31906 (main): Don't call removed functions.
31907
31908 2014-03-07 Joseph Myers <joseph@codesourcery.com>
31909
31910 [BZ #16674]
31911 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
31912 || __USE_XOPEN2K8].
31913 (ILL_ILLOPN): Likewise.
31914 (ILL_ILLADR): Likewise.
31915 (ILL_ILLTRP): Likewise.
31916 (ILL_PRVOPC): Likewise.
31917 (ILL_PRVREG): Likewise.
31918 (ILL_COPROC): Likewise.
31919 (ILL_BADSTK): Likewise.
31920 (FPE_INTDIV): Likewise.
31921 (FPE_INTOVF): Likewise.
31922 (FPE_FLTDIV): Likewise.
31923 (FPE_FLTOVF): Likewise.
31924 (FPE_FLTUND): Likewise.
31925 (FPE_FLTRES): Likewise.
31926 (FPE_FLTINV): Likewise.
31927 (FPE_FLTSUB): Likewise.
31928 (SEGV_MAPERR): Likewise.
31929 (SEGV_ACCERR): Likewise.
31930 (BUS_ADRALN): Likewise.
31931 (BUS_ADRERR): Likewise.
31932 (BUS_OBJERR): Likewise.
31933 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31934 (TRAP_TRACE): Likewise.
31935 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31936 __USE_XOPEN2K8].
31937 (CLD_KILLED): Likewise.
31938 (CLD_DUMPED): Likewise.
31939 (CLD_TRAPPED): Likewise.
31940 (CLD_STOPPED): Likewise.
31941 (CLD_CONTINUED): Likewise.
31942 (POLL_IN): Likewise.
31943 (POLL_OUT): Likewise.
31944 (POLL_MSG): Likewise.
31945 (POLL_ERR): Likewise.
31946 (POLL_PRI): Likewise.
31947 (POLL_HUP): Likewise.
31948 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
31949 Likewise.
31950 (ILL_ILLOPN): Likewise.
31951 (ILL_ILLADR): Likewise.
31952 (ILL_ILLTRP): Likewise.
31953 (ILL_PRVOPC): Likewise.
31954 (ILL_PRVREG): Likewise.
31955 (ILL_COPROC): Likewise.
31956 (ILL_BADSTK): Likewise.
31957 (FPE_INTDIV): Likewise.
31958 (FPE_INTOVF): Likewise.
31959 (FPE_FLTDIV): Likewise.
31960 (FPE_FLTOVF): Likewise.
31961 (FPE_FLTUND): Likewise.
31962 (FPE_FLTRES): Likewise.
31963 (FPE_FLTINV): Likewise.
31964 (FPE_FLTSUB): Likewise.
31965 (SEGV_MAPERR): Likewise.
31966 (SEGV_ACCERR): Likewise.
31967 (BUS_ADRALN): Likewise.
31968 (BUS_ADRERR): Likewise.
31969 (BUS_OBJERR): Likewise.
31970 (BUS_MCEERR_AR): Likewise.
31971 (BUS_MCEERR_AO): Likewise.
31972 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31973 (TRAP_TRACE): Likewise.
31974 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31975 __USE_XOPEN2K8].
31976 (CLD_KILLED): Likewise.
31977 (CLD_DUMPED): Likewise.
31978 (CLD_TRAPPED): Likewise.
31979 (CLD_STOPPED): Likewise.
31980 (CLD_CONTINUED): Likewise.
31981 (POLL_IN): Likewise.
31982 (POLL_OUT): Likewise.
31983 (POLL_MSG): Likewise.
31984 (POLL_ERR): Likewise.
31985 (POLL_PRI): Likewise.
31986 (POLL_HUP): Likewise.
31987 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
31988 (ILL_ILLOPN): Likewise.
31989 (ILL_ILLADR): Likewise.
31990 (ILL_ILLTRP): Likewise.
31991 (ILL_PRVOPC): Likewise.
31992 (ILL_PRVREG): Likewise.
31993 (ILL_COPROC): Likewise.
31994 (ILL_BADSTK): Likewise.
31995 (FPE_INTDIV): Likewise.
31996 (FPE_INTOVF): Likewise.
31997 (FPE_FLTDIV): Likewise.
31998 (FPE_FLTOVF): Likewise.
31999 (FPE_FLTUND): Likewise.
32000 (FPE_FLTRES): Likewise.
32001 (FPE_FLTINV): Likewise.
32002 (FPE_FLTSUB): Likewise.
32003 (SEGV_MAPERR): Likewise.
32004 (SEGV_ACCERR): Likewise.
32005 (BUS_ADRALN): Likewise.
32006 (BUS_ADRERR): Likewise.
32007 (BUS_OBJERR): Likewise.
32008 (BUS_MCEERR_AR): Likewise.
32009 (BUS_MCEERR_AO): Likewise.
32010 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32011 (TRAP_TRACE): Likewise.
32012 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32013 __USE_XOPEN2K8].
32014 (CLD_KILLED): Likewise.
32015 (CLD_DUMPED): Likewise.
32016 (CLD_TRAPPED): Likewise.
32017 (CLD_STOPPED): Likewise.
32018 (CLD_CONTINUED): Likewise.
32019 (POLL_IN): Likewise.
32020 (POLL_OUT): Likewise.
32021 (POLL_MSG): Likewise.
32022 (POLL_ERR): Likewise.
32023 (POLL_PRI): Likewise.
32024 (POLL_HUP): Likewise.
32025 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
32026 Likewise.
32027 (ILL_ILLOPN): Likewise.
32028 (ILL_ILLADR): Likewise.
32029 (ILL_ILLTRP): Likewise.
32030 (ILL_PRVOPC): Likewise.
32031 (ILL_PRVREG): Likewise.
32032 (ILL_COPROC): Likewise.
32033 (ILL_BADSTK): Likewise.
32034 (ILL_BADIADDR): Likewise.
32035 (ILL_BREAK): Likewise.
32036 (FPE_INTDIV): Likewise.
32037 (FPE_INTOVF): Likewise.
32038 (FPE_FLTDIV): Likewise.
32039 (FPE_FLTOVF): Likewise.
32040 (FPE_FLTUND): Likewise.
32041 (FPE_FLTRES): Likewise.
32042 (FPE_FLTINV): Likewise.
32043 (FPE_FLTSUB): Likewise.
32044 (FPE_DECOVF): Likewise.
32045 (FPE_DECDIV): Likewise.
32046 (FPE_DECERR): Likewise.
32047 (FPE_INVASC): Likewise.
32048 (FPE_INVDEC): Likewise.
32049 (SEGV_MAPERR): Likewise.
32050 (SEGV_ACCERR): Likewise.
32051 (SEGV_PSTKOVF): Likewise.
32052 (BUS_ADRALN): Likewise.
32053 (BUS_ADRERR): Likewise.
32054 (BUS_OBJERR): Likewise.
32055 (BUS_MCEERR_AR): Likewise.
32056 (BUS_MCEERR_AO): Likewise.
32057 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32058 (TRAP_TRACE): Likewise.
32059 (TRAP_BRANCH): Likewise.
32060 (TRAP_HWBKPT): Likewise.
32061 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32062 __USE_XOPEN2K8].
32063 (CLD_KILLED): Likewise.
32064 (CLD_DUMPED): Likewise.
32065 (CLD_TRAPPED): Likewise.
32066 (CLD_STOPPED): Likewise.
32067 (CLD_CONTINUED): Likewise.
32068 (POLL_IN): Likewise.
32069 (POLL_OUT): Likewise.
32070 (POLL_MSG): Likewise.
32071 (POLL_ERR): Likewise.
32072 (POLL_PRI): Likewise.
32073 (POLL_HUP): Likewise.
32074 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
32075 (ILL_ILLOPN): Likewise.
32076 (ILL_ILLADR): Likewise.
32077 (ILL_ILLTRP): Likewise.
32078 (ILL_PRVOPC): Likewise.
32079 (ILL_PRVREG): Likewise.
32080 (ILL_COPROC): Likewise.
32081 (ILL_BADSTK): Likewise.
32082 (FPE_INTDIV): Likewise.
32083 (FPE_INTOVF): Likewise.
32084 (FPE_FLTDIV): Likewise.
32085 (FPE_FLTOVF): Likewise.
32086 (FPE_FLTUND): Likewise.
32087 (FPE_FLTRES): Likewise.
32088 (FPE_FLTINV): Likewise.
32089 (FPE_FLTSUB): Likewise.
32090 (SEGV_MAPERR): Likewise.
32091 (SEGV_ACCERR): Likewise.
32092 (BUS_ADRALN): Likewise.
32093 (BUS_ADRERR): Likewise.
32094 (BUS_OBJERR): Likewise.
32095 (BUS_MCEERR_AR): Likewise.
32096 (BUS_MCEERR_AO): Likewise.
32097 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32098 (TRAP_TRACE): Likewise.
32099 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32100 __USE_XOPEN2K8].
32101 (CLD_KILLED): Likewise.
32102 (CLD_DUMPED): Likewise.
32103 (CLD_TRAPPED): Likewise.
32104 (CLD_STOPPED): Likewise.
32105 (CLD_CONTINUED): Likewise.
32106 (POLL_IN): Likewise.
32107 (POLL_OUT): Likewise.
32108 (POLL_MSG): Likewise.
32109 (POLL_ERR): Likewise.
32110 (POLL_PRI): Likewise.
32111 (POLL_HUP): Likewise.
32112 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
32113 (ILL_ILLOPN): Likewise.
32114 (ILL_ILLADR): Likewise.
32115 (ILL_ILLTRP): Likewise.
32116 (ILL_PRVOPC): Likewise.
32117 (ILL_PRVREG): Likewise.
32118 (ILL_COPROC): Likewise.
32119 (ILL_BADSTK): Likewise.
32120 (FPE_INTDIV): Likewise.
32121 (FPE_INTOVF): Likewise.
32122 (FPE_FLTDIV): Likewise.
32123 (FPE_FLTOVF): Likewise.
32124 (FPE_FLTUND): Likewise.
32125 (FPE_FLTRES): Likewise.
32126 (FPE_FLTINV): Likewise.
32127 (FPE_FLTSUB): Likewise.
32128 (SEGV_MAPERR): Likewise.
32129 (SEGV_ACCERR): Likewise.
32130 (BUS_ADRALN): Likewise.
32131 (BUS_ADRERR): Likewise.
32132 (BUS_OBJERR): Likewise.
32133 (BUS_MCEERR_AR): Likewise.
32134 (BUS_MCEERR_AO): Likewise.
32135 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32136 (TRAP_TRACE): Likewise.
32137 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32138 __USE_XOPEN2K8].
32139 (CLD_KILLED): Likewise.
32140 (CLD_DUMPED): Likewise.
32141 (CLD_TRAPPED): Likewise.
32142 (CLD_STOPPED): Likewise.
32143 (CLD_CONTINUED): Likewise.
32144 (POLL_IN): Likewise.
32145 (POLL_OUT): Likewise.
32146 (POLL_MSG): Likewise.
32147 (POLL_ERR): Likewise.
32148 (POLL_PRI): Likewise.
32149 (POLL_HUP): Likewise.
32150 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
32151 (ILL_ILLOPN): Likewise.
32152 (ILL_ILLADR): Likewise.
32153 (ILL_ILLTRP): Likewise.
32154 (ILL_PRVOPC): Likewise.
32155 (ILL_PRVREG): Likewise.
32156 (ILL_COPROC): Likewise.
32157 (ILL_BADSTK): Likewise.
32158 (FPE_INTDIV): Likewise.
32159 (FPE_INTOVF): Likewise.
32160 (FPE_FLTDIV): Likewise.
32161 (FPE_FLTOVF): Likewise.
32162 (FPE_FLTUND): Likewise.
32163 (FPE_FLTRES): Likewise.
32164 (FPE_FLTINV): Likewise.
32165 (FPE_FLTSUB): Likewise.
32166 (SEGV_MAPERR): Likewise.
32167 (SEGV_ACCERR): Likewise.
32168 (BUS_ADRALN): Likewise.
32169 (BUS_ADRERR): Likewise.
32170 (BUS_OBJERR): Likewise.
32171 (BUS_MCEERR_AR): Likewise.
32172 (BUS_MCEERR_AO): Likewise.
32173 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32174 (TRAP_TRACE): Likewise.
32175 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32176 __USE_XOPEN2K8].
32177 (CLD_KILLED): Likewise.
32178 (CLD_DUMPED): Likewise.
32179 (CLD_TRAPPED): Likewise.
32180 (CLD_STOPPED): Likewise.
32181 (CLD_CONTINUED): Likewise.
32182 (POLL_IN): Likewise.
32183 (POLL_OUT): Likewise.
32184 (POLL_MSG): Likewise.
32185 (POLL_ERR): Likewise.
32186 (POLL_PRI): Likewise.
32187 (POLL_HUP): Likewise.
32188 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
32189 (ILL_ILLOPN): Likewise.
32190 (ILL_ILLADR): Likewise.
32191 (ILL_ILLTRP): Likewise.
32192 (ILL_PRVOPC): Likewise.
32193 (ILL_PRVREG): Likewise.
32194 (ILL_COPROC): Likewise.
32195 (ILL_BADSTK): Likewise.
32196 (ILL_DBLFLT): Likewise.
32197 (ILL_HARDWALL): Likewise.
32198 (FPE_INTDIV): Likewise.
32199 (FPE_INTOVF): Likewise.
32200 (FPE_FLTDIV): Likewise.
32201 (FPE_FLTOVF): Likewise.
32202 (FPE_FLTUND): Likewise.
32203 (FPE_FLTRES): Likewise.
32204 (FPE_FLTINV): Likewise.
32205 (FPE_FLTSUB): Likewise.
32206 (SEGV_MAPERR): Likewise.
32207 (SEGV_ACCERR): Likewise.
32208 (BUS_ADRALN): Likewise.
32209 (BUS_ADRERR): Likewise.
32210 (BUS_OBJERR): Likewise.
32211 (BUS_MCEERR_AR): Likewise.
32212 (BUS_MCEERR_AO): Likewise.
32213 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32214 (TRAP_TRACE): Likewise.
32215 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32216 __USE_XOPEN2K8].
32217 (CLD_KILLED): Likewise.
32218 (CLD_DUMPED): Likewise.
32219 (CLD_TRAPPED): Likewise.
32220 (CLD_STOPPED): Likewise.
32221 (CLD_CONTINUED): Likewise.
32222 (POLL_IN): Likewise.
32223 (POLL_OUT): Likewise.
32224 (POLL_MSG): Likewise.
32225 (POLL_ERR): Likewise.
32226 (POLL_PRI): Likewise.
32227 (POLL_HUP): Likewise.
32228 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
32229 (ILL_ILLOPN): Likewise.
32230 (ILL_ILLADR): Likewise.
32231 (ILL_ILLTRP): Likewise.
32232 (ILL_PRVOPC): Likewise.
32233 (ILL_PRVREG): Likewise.
32234 (ILL_COPROC): Likewise.
32235 (ILL_BADSTK): Likewise.
32236 (FPE_INTDIV): Likewise.
32237 (FPE_INTOVF): Likewise.
32238 (FPE_FLTDIV): Likewise.
32239 (FPE_FLTOVF): Likewise.
32240 (FPE_FLTUND): Likewise.
32241 (FPE_FLTRES): Likewise.
32242 (FPE_FLTINV): Likewise.
32243 (FPE_FLTSUB): Likewise.
32244 (SEGV_MAPERR): Likewise.
32245 (SEGV_ACCERR): Likewise.
32246 (BUS_ADRALN): Likewise.
32247 (BUS_ADRERR): Likewise.
32248 (BUS_OBJERR): Likewise.
32249 (BUS_MCEERR_AR): Likewise.
32250 (BUS_MCEERR_AO): Likewise.
32251 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32252 (TRAP_TRACE): Likewise.
32253 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32254 __USE_XOPEN2K8].
32255 (CLD_KILLED): Likewise.
32256 (CLD_DUMPED): Likewise.
32257 (CLD_TRAPPED): Likewise.
32258 (CLD_STOPPED): Likewise.
32259 (CLD_CONTINUED): Likewise.
32260 (POLL_IN): Likewise.
32261 (POLL_OUT): Likewise.
32262 (POLL_MSG): Likewise.
32263 (POLL_ERR): Likewise.
32264 (POLL_PRI): Likewise.
32265 (POLL_HUP): Likewise.
32266 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
32267 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32268
32269 [BZ #16670]
32270 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
32271 before #include of <time.h>.
32272 [!__USE_XOPEN2K] (__need_timespec): Likewise.
32273 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
32274 (test-xfail-UNIX98/sched.h/conform): Likewise.
32275
32276 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
32277
32278 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
32279 error absence of trapping exception support.
32280 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32281
32282 2014-03-07 Joseph Myers <joseph@codesourcery.com>
32283
32284 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
32285 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
32286 * timezone/Makefile (testdata): Move definition above include of
32287 Rules.
32288 (test-zones): New variable.
32289 (tests-special): Add zone files.
32290 (build-testdata): Use $(evaluate-test).
32291
32292 * elf/Makefile (tests-special): Rename tests to end with .out.
32293 ($(objpfx)noload-mem): Likewise.
32294 ($(objpfx)tst-leaks1-mem): Likewise.
32295 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
32296 * iconv/Makefile (xtests-special): Change test-iconvconfig to
32297 $(objpfx)test-iconvconfig.out.
32298 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
32299 set -e inside subshell and redirect output to file.
32300 * iconvdata/Makefile (generated): Rename tests to end with .out.
32301 Correct type.
32302 (tests-special): Rename tests to end with .out.
32303 ($(objpfx)mtrace-tst-loading): Likewise.
32304 * intl/Makefile (generated): Likewise.
32305 (tests-special): Likewise.
32306 ($(objpfx)mtrace-tst-gettext): Likewise.
32307 * misc/Makefile (generated): Likewise.
32308 (tests-special): Likewise.
32309 ($(objpfx)tst-error1-mem): Likewise.
32310 * nptl/Makefile (tests-special): Likewise.
32311 ($(objpfx)tst-stack3-mem): Likewise.
32312 (generated): Likewise.
32313 * posix/Makefile (generated): Likewise.
32314 (tests-special): Likewise.
32315 (xtests-special): Likewise.
32316 ($(objpfx)tst-fnmatch-mem): Likewise.
32317 ($(objpfx)bug-regex2-mem): Likewise.
32318 ($(objpfx)bug-regex14-mem): Likewise.
32319 ($(objpfx)bug-regex21-mem): Likewise.
32320 ($(objpfx)bug-regex31-mem): Likewise.
32321 ($(objpfx)tst-vfork3-mem): Likewise.
32322 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32323 ($(objpfx)tst-pcre-mem): Likewise.
32324 ($(objpfx)tst-boost-mem): Likewise.
32325 ($(objpfx)bug-ga2-mem): Likewise.
32326 ($(objpfx)bug-glob2-mem): Likewise.
32327 * resolv/Makefile (generate): Likewise.
32328 (tests-special): Likewise.
32329 (xtests-special): Likewise.
32330 (generated): Likewise.
32331 ($(objpfx)mtrace-tst-leaks): Likewise.
32332 ($(objpfx)mtrace-tst-leaks2): Likewise.
32333
32334 * scripts/merge-test-results.sh: New file.
32335 * Makefile (tests-special-notdir): New variable.
32336 (tests): Run merge-test-results.sh.
32337 (xtests): Likewise.
32338 * Rules (tests-special-notdir): New variable.
32339 (xtests-special-notdir): Likewise.
32340 (tests): Run merge-test-results.sh
32341 (xtests): Likewise.
32342
32343 * Makeconfig (test-xfail-name): New variable.
32344 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
32345 compute variable name for expected failures.
32346 * conform/Makefile (conformtest-headers-data): New variable.
32347 (conformtest-standards): Likewise.
32348 (conformtest-headers-ISO): Likewise.
32349 (conformtest-headers-ISO99): Likewise.
32350 (conformtest-headers-ISO11): Likewise.
32351 (conformtest-headers-POSIX): Likewise.
32352 (conformtest-headers-XPG3): Likewise.
32353 (conformtest-headers-XPG4): Likewise.
32354 (conformtest-headers-UNIX98): Likewise.
32355 (conformtest-headers-XOPEN2K): Likewise.
32356 (conformtest-headers-POSIX2008): Likewise.
32357 (conformtest-headers-XOPEN2K8): Likewise.
32358 (conformtest-header-list-base): Likewise.
32359 (conformtest-header-list-tests): Likewise.
32360 (conformtest-header-base): Likewise.
32361 (conformtest-header-tests): Likewise.
32362 (tests-special): Add $(conformtest-header-list-tests). If
32363 [$(fast-check) && !$(cross-compiling)], add
32364 $(conformtest-header-tests) instead of
32365 $(objpfx)run-conformtest.out.
32366 (generated): Add $(conformtest-header-list-base). If
32367 [$(fast-check) && !$(cross-compiling)], add
32368 $(conformtest-header-base). Remove previous setting.
32369 ($(conformtest-header-list-tests)): New target.
32370 (test-xfail-run-conformtest): Remove variable.
32371 ($(objpfx)run-conformtest.out): Remove target.
32372 (test-xfail-ISO11/complex.h/conform): New variable.
32373 (test-xfail-ISO11/stdalign.h/conform): Likewise.
32374 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
32375 (test-xfail-XPG3/varargs.h/conform): Likewise.
32376 (test-xfail-XPG4/varargs.h/conform): Likewise.
32377 (test-xfail-UNIX98/varargs.h/conform): Likewise.
32378 (test-xfail-XPG4/ndbm.h/conform): Likewise.
32379 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
32380 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
32381 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
32382 (test-xfail-XPG3/fcntl.h/conform): Likewise.
32383 (test-xfail-XPG3/ftw.h/conform): Likewise.
32384 (test-xfail-XPG3/grp.h/conform): Likewise.
32385 (test-xfail-XPG3/langinfo.h/conform): Likewise.
32386 (test-xfail-XPG3/limits.h/conform): Likewise.
32387 (test-xfail-XPG3/pwd.h/conform): Likewise.
32388 (test-xfail-XPG3/search.h/conform): Likewise.
32389 (test-xfail-XPG3/signal.h/conform): Likewise.
32390 (test-xfail-XPG3/stdio.h/conform): Likewise.
32391 (test-xfail-XPG3/stdlib.h/conform): Likewise.
32392 (test-xfail-XPG3/string.h/conform): Likewise.
32393 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
32394 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
32395 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32396 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32397 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
32398 (test-xfail-XPG3/sys/types.h/conform): Likewise.
32399 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
32400 (test-xfail-XPG3/termios.h/conform): Likewise.
32401 (test-xfail-XPG3/time.h/conform): Likewise.
32402 (test-xfail-XPG3/unistd.h/conform): Likewise.
32403 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
32404 (test-xfail-XPG4/fcntl.h/conform): Likewise.
32405 (test-xfail-XPG4/langinfo.h/conform): Likewise.
32406 (test-xfail-XPG4/netdb.h/conform): Likewise.
32407 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
32408 (test-xfail-XPG4/signal.h/conform): Likewise.
32409 (test-xfail-XPG4/stdio.h/conform): Likewise.
32410 (test-xfail-XPG4/stdlib.h/conform): Likewise.
32411 (test-xfail-XPG4/stropts.h/conform): Likewise.
32412 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32413 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32414 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32415 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32416 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32417 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
32418 (test-xfail-XPG4/sys/time.h/conform): Likewise.
32419 (test-xfail-XPG4/sys/types.h/conform): Likewise.
32420 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
32421 (test-xfail-XPG4/termios.h/conform): Likewise.
32422 (test-xfail-XPG4/ucontext.h/conform): Likewise.
32423 (test-xfail-XPG4/unistd.h/conform): Likewise.
32424 (test-xfail-XPG4/utmpx.h/conform): Likewise.
32425 (test-xfail-POSIX/sched.h/conform): Likewise.
32426 (test-xfail-POSIX/signal.h/conform): Likewise.
32427 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32428 (test-xfail-POSIX/tar.h/conform): Likewise.
32429 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
32430 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
32431 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
32432 (test-xfail-UNIX98/netdb.h/conform): Likewise.
32433 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
32434 (test-xfail-UNIX98/sched.h/conform): Likewise.
32435 (test-xfail-UNIX98/signal.h/conform): Likewise.
32436 (test-xfail-UNIX98/stdio.h/conform): Likewise.
32437 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
32438 (test-xfail-UNIX98/stropts.h/conform): Likewise.
32439 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32440 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32441 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32442 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32443 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32444 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
32445 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32446 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32447 (test-xfail-UNIX98/unistd.h/conform): Likewise.
32448 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
32449 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
32450 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
32451 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
32452 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
32453 (test-xfail-XOPEN2K/math.h/conform): Likewise.
32454 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
32455 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32456 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32457 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
32458 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32459 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
32460 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
32461 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32462 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32463 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32464 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32465 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32466 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32467 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32468 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
32469 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
32470 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32471 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32472 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
32473 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32474 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
32475 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
32476 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32477 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32478 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
32479 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32480 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32481 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32482 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
32483 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
32484 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32485 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32486 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32487 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
32488 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32489 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32490 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32491 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
32492 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32493 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32494 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32495 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32496 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32497 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
32498 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
32499 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
32500 (conformtest-cc-flags): Likewise.
32501 ($(conformtest-header-tests): New target.
32502 * conform/check-header-lists.sh: New file.
32503 * conform/run-conformtest.sh: Remove.
32504
32505 * conform/conformtest.pl: Allow ' and \ in values given for
32506 constants.
32507 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
32508 inclusion.
32509 [POSIX] (sys/types.h): Likewise.
32510 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
32511 inclusion.
32512 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
32513 inclusion.
32514 * conform/data/signal.h-data (SIGIO): Remove expectation.
32515 [XPG3] (SIGBUS): Do not expect.
32516 [POSIX || XPG3] (SIGPOLL): Likewise.
32517 [POSIX || XPG3] (SIGPROF): Likewise.
32518 [POSIX || XPG3] (SIGSYS): Likewise.
32519 [XPG3] (SIGTRAP): Likewise.
32520 [POSIX || XPG3] (SIGURG): Likewise.
32521 [POSIX || XPG3] (SIGVTALRM): Likewise.
32522 [POSIX || XPG3] (SIGXCPU): Likewise.
32523 [POSIX || XPG3] (SIGXFSZ): Likewise.
32524 [POSIX] (SA_SIGINFO): Expect.
32525 [XPG3] (siginfo_t): Do not expect type or contents.
32526 [POSIX] (si_pid): Do not expect element.
32527 [POSIX] (si_uid): Likewise.
32528 [POSIX] (si_addr): Likewise.
32529 [POSIX] (si_status): Likewise.
32530 [POSIX] (si_band): Likewise.
32531 [XPG4] (si_value): Likewise.
32532 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
32533 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
32534 [POSIX || XPG3] (ILL_ILLADR): Likewise.
32535 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
32536 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
32537 [POSIX || XPG3] (ILL_PRVREG): Likewise.
32538 [POSIX || XPG3] (ILL_COPROC): Likewise.
32539 [POSIX || XPG3] (ILL_BADSTK): Likewise.
32540 [POSIX || XPG3] (FPE_INTDIV): Likewise.
32541 [POSIX || XPG3] (FPE_INTOVF): Likewise.
32542 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
32543 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
32544 [POSIX || XPG3] (FPE_FLTUND): Likewise.
32545 [POSIX || XPG3] (FPE_FLTRES): Likewise.
32546 [POSIX || XPG3] (FPE_FLTINV): Likewise.
32547 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
32548 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
32549 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
32550 [POSIX || XPG3] (BUS_ADRALN): Likewise.
32551 [POSIX || XPG3] (BUS_ADRERR): Likewise.
32552 [POSIX || XPG3] (BUS_OBJERR): Likewise.
32553 [POSIX || XPG3] (CLD_EXITED): Likewise.
32554 [POSIX || XPG3] (CLD_KILLED): Likewise.
32555 [POSIX || XPG3] (CLD_DUMPED): Likewise.
32556 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
32557 [POSIX || XPG3] (CLD_STOPPED): Likewise.
32558 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
32559 [POSIX || XPG3] (POLL_IN): Likewise.
32560 [POSIX || XPG3] (POLL_OUT): Likewise.
32561 [POSIX || XPG3] (POLL_MSG): Likewise.
32562 [POSIX || XPG3] (POLL_ERR): Likewise.
32563 [POSIX || XPG3] (POLL_PRI): Likewise.
32564 [POSIX || XPG3] (POLL_HUP): Likewise.
32565 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
32566 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
32567 (SIG*): Do not allow.
32568 [XPG3] (si_*): Likewise.
32569 [XPG3] (SI_*): Likewise.
32570 [XPG3 || XPG4] (sigev_*): Likewise.
32571 [XPG3 || XPG4] (SIGEV_*): Likewise.
32572 [XPG3 || XPG4] (sival_*): Likewise.
32573 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
32574 [POSIX || XPG3] (BUS_*): Likewise.
32575 [POSIX || XPG3] (CLD_*): Likewise.
32576 [POSIX || XPG3] (FPE_*): Likewise.
32577 [POSIX || XPG3] (ILL_*): Likewise.
32578 [POSIX || XPG3] (POLL_*): Likewise.
32579 [POSIX || XPG3] (SEGV_*): Likewise.
32580 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
32581 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
32582 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
32583 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
32584 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
32585 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
32586 Specify type and value.
32587 (TVERSLEN): Likewise.
32588 (REGTYPE): Likewise.
32589 (AREGTYPE): Likewise.
32590 (LNKTYPE): Likewise.
32591 (SYMTYPE): Likewise.
32592 (CHRTYPE): Likewise.
32593 (BLKTYPE): Likewise.
32594 (DIRTYPE): Likewise.
32595 (FIFOTYPE): Likewise.
32596 (CONTTYPE): Likewise.
32597 (TSUID): Likewise.
32598 (TSGID): Likewise.
32599 (TSVTX): Likewise.
32600 (TUREAD): Likewise.
32601 (TUWRITE): Likewise.
32602 (TUEXEC): Likewise.
32603 (TGREAD): Likewise.
32604 (TGWRITE): Likewise.
32605 (TGEXEC): Likewise.
32606 (TOREAD): Likewise.
32607 (TOWRITE): Likewise.
32608 (TOEXEC): Likewise.
32609 [POSIX] (TSVTX): Expect constant.
32610
32611 2014-03-06 Joseph Myers <joseph@codesourcery.com>
32612
32613 * Makefile (tests): Change dependencies to ....
32614 (tests-special): ... additions to this variable.
32615 (tests): Depend on $(tests-special).
32616 * Makerules (check-abi-list): New variable.
32617 (check-abi): Depend on $(check-abi-list).
32618 [$(subdir) = elf] (tests-special): Add
32619 $(objpfx)check-abi-libc.out.
32620 [$(build-shared) = yes && subdir] (tests-special): Add
32621 $(check-abi-list).
32622 [$(build-shared) = yes && subdir] (tests): Do not depend on
32623 check-abi.
32624 * Rules (tests): Depend on $(tests-special).
32625 (xtests): Depend on $(xtests-special).
32626 * catgets/Makefile (tests): Change dependencies to ....
32627 (tests-special): ... additions to this variable.
32628 * conform/Makefile (tests): Change dependencies to ....
32629 (tests-special): ... additions to this variable.
32630 * elf/Makefile (tests): Change dependencies to ....
32631 (tests-special): ... additions to this variable.
32632 * grp/Makefile (tests): Change dependencies to ....
32633 (tests-special): ... additions to this variable.
32634 * iconv/Makefile (xtests): Change dependencies to ....
32635 (xtests-special): ... additions to this variable.
32636 * iconvdata/Makefile (tests): Change dependencies to ....
32637 (tests-special): ... additions to this variable.
32638 * intl/Makefile (tests): Change dependencies to ....
32639 (tests-special): ... additions to this variable. Also add
32640 $(objpfx)tst-gettext.out.
32641 * io/Makefile (tests): Change dependencies to ....
32642 (tests-special): ... additions to this variable.
32643 * libio/Makefile (tests): Change dependencies to ....
32644 (tests-special): ... additions to this variable.
32645 * malloc/Makefile (tests): Change dependencies to ....
32646 (tests-special): ... additions to this variable.
32647 * misc/Makefile (tests): Change dependencies to ....
32648 (tests-special): ... additions to this variable.
32649 * nptl/Makefile (tests): Change dependencies to ....
32650 (tests-special): ... additions to this variable.
32651 * nptl_db/Makefile (tests): Change dependencies to ....
32652 (tests-special): ... additions to this variable.
32653 * posix/Makefile (tests): Change dependencies to ....
32654 (tests-special): ... additions to this variable.
32655 (xtests): Change dependencies to ....
32656 (xtests-special): ... additions to this variable.
32657 * resolv/Makefile (tests): Change dependencies to ....
32658 (tests-special): ... additions to this variable.
32659 (xtests): Change dependencies to ....
32660 (xtests-special): ... additions to this variable.
32661 * stdio-common/Makefile (tests): Change dependencies to ....
32662 (tests-special): ... additions to this variable.
32663 (do-tst-unbputc): Remove target.
32664 (do-tst-printf): Likewise.
32665 * stdlib/Makefile (tests): Change dependencies to ....
32666 (tests-special): ... additions to this variable.
32667 * string/Makefile (tests): Change dependencies to ....
32668 (tests-special): ... additions to this variable.
32669 * sysdeps/x86/Makefile (tests): Change dependencies to ....
32670 (tests-special): ... additions to this variable.
32671
32672 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
32673 whole file.
32674 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
32675 whole file.
32676 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
32677 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
32678
32679 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
32680 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
32681 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
32682 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
32683 * conform/data/libgen.h-data [XPG3]: Likewise.
32684 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
32685 * conform/data/ndbm.h-data [XPG3]: Likewise.
32686 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32687 * conform/data/netdb.h-data [XPG3]: Likewise.
32688 * conform/data/netinet/in.h-data [XPG3]: Likewise.
32689 * conform/data/poll.h-data [XPG3]: Likewise.
32690 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32691 * conform/data/strings.h-data [XPG3]: Likewise.
32692 * conform/data/stropts.h-data [XPG3]: Likewise.
32693 * conform/data/sys/mman.h-data [XPG3]: Likewise.
32694 * conform/data/sys/resource.h-data [XPG3]: Likewise.
32695 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
32696 Likewise.
32697 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
32698 * conform/data/sys/time.h-data [XPG3]: Likewise.
32699 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
32700 * conform/data/sys/uio.h-data [XPG3]: Likewise.
32701 * conform/data/sys/un.h-data [XPG3]: Likewise.
32702 * conform/data/syslog.h-data [XPG3]: Likewise.
32703 * conform/data/ucontext.h-data [XPG3]: Likewise.
32704 * conform/data/utmpx.h-data [XPG3]: Likewise.
32705 * conform/data/varargs.h-data [UNIX98]: Enable file.
32706
32707 * manual/Makefile (INSTALL_INFO): Remove variable setting.
32708
32709 * math/libm-test.inc (struct test_f_f_data): Move expected results
32710 into structure for each rounding mode.
32711 (struct test_ff_f_data): Likewise.
32712 (struct test_ff_f_data_nexttoward): Likewise.
32713 (struct test_fi_f_data): Likewise.
32714 (struct test_fl_f_data): Likewise.
32715 (struct test_if_f_data): Likewise.
32716 (struct test_fff_f_data): Likewise.
32717 (struct test_c_f_data): Likewise.
32718 (struct test_f_f1_data): Likewise.
32719 (struct test_fF_f1_data): Likewise.
32720 (struct test_ffI_f1_data): Likewise.
32721 (struct test_c_c_data): Likewise.
32722 (struct test_cc_c_data): Likewise.
32723 (struct test_f_i_data): Likewise.
32724 (struct test_ff_i_data): Likewise.
32725 (struct test_f_l_data): Likewise.
32726 (struct test_f_L_data): Likewise.
32727 (struct test_fFF_11_data): Likewise.
32728 (RM_): New macro.
32729 (RM_FE_DOWNWARD): Likewise.
32730 (RM_FE_TONEAREST): Likewise.
32731 (RM_FE_TOWARDZERO): Likewise.
32732 (RM_FE_UPWARD): Likewise.
32733 (RUN_TEST_LOOP_f_f): Update references to expected results.
32734 (RUN_TEST_LOOP_2_f): Likewise.
32735 (RUN_TEST_LOOP_fff_f): Likewise.
32736 (RUN_TEST_LOOP_c_f): Likewise.
32737 (RUN_TEST_LOOP_f_f1): Likewise.
32738 (RUN_TEST_LOOP_fF_f1): Likewise.
32739 (RUN_TEST_LOOP_fI_f1): Likewise.
32740 (RUN_TEST_LOOP_ffI_f1): Likewise.
32741 (RUN_TEST_LOOP_c_c): Likewise.
32742 (RUN_TEST_LOOP_cc_c): Likewise.
32743 (RUN_TEST_LOOP_f_i): Likewise.
32744 (RUN_TEST_LOOP_f_i_tg): Likewise.
32745 (RUN_TEST_LOOP_ff_i_tg): Likewise.
32746 (RUN_TEST_LOOP_f_b): Likewise.
32747 (RUN_TEST_LOOP_f_b_tg): Likewise.
32748 (RUN_TEST_LOOP_f_l): Likewise.
32749 (RUN_TEST_LOOP_f_L): Likewise.
32750 (RUN_TEST_LOOP_fFF_11): Likewise.
32751 * math/gen-libm-test.pl (parse_args): Output four copies of
32752 expected results for each test.
32753
32754 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32755 (__ASSUME_UTIMES): Remove.
32756 * sysdeps/unix/sysv/linux/tile/kernel-features.h
32757 (__ASSUME_UTIMES): Likewise.
32758
32759 * math/gen-auto-libm-tests.c: Update comment on output format.
32760 (output_for_one_input_case): Generate before-rounding and
32761 after-rounding information as conditions on output flags not
32762 floating-point format.
32763 * math/auto-libm-test-out: Regenerated.
32764 * math/gen-libm-test.pl (cond_value): New function.
32765 (or_cond_value): Use cond_value.
32766 (generate_testfile): Handle conditional exceptions.
32767
32768 2014-03-05 Joseph Myers <joseph@codesourcery.com>
32769
32770 * math/libm-test.inc (max_valid_error): New variable.
32771 (init_max_error): Take new argument specifying whether function
32772 results are exactly determined. Set max_valid_error and bound
32773 other variables for errors based on this argument.
32774 (set_max_error): Do not record results above max_valid_error.
32775 (check_float_internal): Only accept errors of up to 0.5ulps if
32776 also at most max_valid_error.
32777 (START): Take new argument EXACT and pass it to init_max_error.
32778 (acos_test): Update call to START.
32779 (acos_test_tonearest): Likewise.
32780 (acos_test_towardzero): Likewise.
32781 (acos_test_downward): Likewise.
32782 (acos_test_upward): Likewise.
32783 (acosh_test): Likewise.
32784 (asin_test): Likewise.
32785 (asin_test_tonearest): Likewise.
32786 (asin_test_towardzero): Likewise.
32787 (asin_test_downward): Likewise.
32788 (asin_test_upward): Likewise.
32789 (asinh_test): Likewise.
32790 (atan_test): Likewise.
32791 (atanh_test): Likewise.
32792 (atan2_test): Likewise.
32793 (cabs_test): Likewise.
32794 (cacos_test): Likewise.
32795 (cacosh_test): Likewise.
32796 (carg_test): Likewise.
32797 (casin_test): Likewise.
32798 (casinh_test): Likewise.
32799 (catan_test): Likewise.
32800 (catanh_test): Likewise.
32801 (cbrt_test): Likewise.
32802 (ccos_test): Likewise.
32803 (ccosh_test): Likewise.
32804 (ceil_test): Likewise.
32805 (cexp_test): Likewise.
32806 (cimag_test): Likewise.
32807 (clog_test): Likewise.
32808 (clog10_test): Likewise.
32809 (conj_test): Likewise.
32810 (copysign_test): Likewise.
32811 (cos_test): Likewise.
32812 (cos_test_tonearest): Likewise.
32813 (cos_test_towardzero): Likewise.
32814 (cos_test_downward): Likewise.
32815 (cos_test_upward): Likewise.
32816 (cosh_test): Likewise.
32817 (cosh_test_tonearest): Likewise.
32818 (cosh_test_towardzero): Likewise.
32819 (cosh_test_downward): Likewise.
32820 (cosh_test_upward): Likewise.
32821 (cpow_test): Likewise.
32822 (cproj_test): Likewise.
32823 (creal_test): Likewise.
32824 (csin_test): Likewise.
32825 (csinh_test): Likewise.
32826 (csqrt_test): Likewise.
32827 (ctan_test): Likewise.
32828 (ctan_test_tonearest): Likewise.
32829 (ctan_test_towardzero): Likewise.
32830 (ctan_test_downward): Likewise.
32831 (ctan_test_upward): Likewise.
32832 (ctanh_test): Likewise.
32833 (ctanh_test_tonearest): Likewise.
32834 (ctanh_test_towardzero): Likewise.
32835 (ctanh_test_downward): Likewise.
32836 (ctanh_test_upward): Likewise.
32837 (erf_test): Likewise.
32838 (erfc_test): Likewise.
32839 (exp_test): Likewise.
32840 (exp_test_tonearest): Likewise.
32841 (exp_test_towardzero): Likewise.
32842 (exp_test_downward): Likewise.
32843 (exp_test_upward): Likewise.
32844 (exp10_test): Likewise.
32845 (exp10_test_tonearest): Likewise.
32846 (exp10_test_towardzero): Likewise.
32847 (exp10_test_downward): Likewise.
32848 (exp10_test_upward): Likewise.
32849 (pow10_test): Likewise.
32850 (exp2_test): Likewise.
32851 (expm1_test): Likewise.
32852 (expm1_test_tonearest): Likewise.
32853 (expm1_test_towardzero): Likewise.
32854 (expm1_test_downward): Likewise.
32855 (expm1_test_upward): Likewise.
32856 (fabs_test): Likewise.
32857 (fdim_test): Likewise.
32858 (floor_test): Likewise.
32859 (fma_test): Likewise.
32860 (fma_test_towardzero): Likewise.
32861 (fma_test_downward): Likewise.
32862 (fma_test_upward): Likewise.
32863 (fmax_test): Likewise.
32864 (fmin_test): Likewise.
32865 (fmod_test): Likewise.
32866 (fpclassify_test): Likewise.
32867 (frexp_test): Likewise.
32868 (hypot_test): Likewise.
32869 (ilogb_test): Likewise.
32870 (isfinite_test): Likewise.
32871 (finite_test): Likewise.
32872 (isgreater_test): Likewise.
32873 (isgreaterequal_test): Likewise.
32874 (isinf_test): Likewise.
32875 (isless_test): Likewise.
32876 (islessequal_test): Likewise.
32877 (islessgreater_test): Likewise.
32878 (isnan_test): Likewise.
32879 (isnormal_test): Likewise.
32880 (issignaling_test): Likewise.
32881 (isunordered_test): Likewise.
32882 (j0_test): Likewise.
32883 (j1_test): Likewise.
32884 (jn_test): Likewise.
32885 (ldexp_test): Likewise.
32886 (lgamma_test): Likewise.
32887 (gamma_test): Likewise.
32888 (lrint_test): Likewise.
32889 (lrint_test_tonearest): Likewise.
32890 (lrint_test_towardzero): Likewise.
32891 (lrint_test_downward): Likewise.
32892 (lrint_test_upward): Likewise.
32893 (llrint_test): Likewise.
32894 (llrint_test_tonearest): Likewise.
32895 (llrint_test_towardzero): Likewise.
32896 (llrint_test_downward): Likewise.
32897 (llrint_test_upward): Likewise.
32898 (log_test): Likewise.
32899 (log10_test): Likewise.
32900 (log1p_test): Likewise.
32901 (log2_test): Likewise.
32902 (logb_test): Likewise.
32903 (logb_test_downward): Likewise.
32904 (lround_test): Likewise.
32905 (llround_test): Likewise.
32906 (modf_test): Likewise.
32907 (nearbyint_test): Likewise.
32908 (nextafter_test): Likewise.
32909 (nexttoward_test): Likewise.
32910 (pow_test): Likewise.
32911 (pow_test_tonearest): Likewise.
32912 (pow_test_towardzero): Likewise.
32913 (pow_test_downward): Likewise.
32914 (pow_test_upward): Likewise.
32915 (remainder_test): Likewise.
32916 (drem_test): Likewise.
32917 (remainder_test_tonearest): Likewise.
32918 (drem_test_tonearest): Likewise.
32919 (remainder_test_towardzero): Likewise.
32920 (drem_test_towardzero): Likewise.
32921 (remainder_test_downward): Likewise.
32922 (drem_test_downward): Likewise.
32923 (remainder_test_upward): Likewise.
32924 (drem_test_upward): Likewise.
32925 (remquo_test): Likewise.
32926 (rint_test): Likewise.
32927 (rint_test_tonearest): Likewise.
32928 (rint_test_towardzero): Likewise.
32929 (rint_test_downward): Likewise.
32930 (rint_test_upward): Likewise.
32931 (round_test): Likewise.
32932 (scalb_test): Likewise.
32933 (scalbn_test): Likewise.
32934 (scalbln_test): Likewise.
32935 (signbit_test): Likewise.
32936 (sin_test): Likewise.
32937 (sin_test_tonearest): Likewise.
32938 (sin_test_towardzero): Likewise.
32939 (sin_test_downward): Likewise.
32940 (sin_test_upward): Likewise.
32941 (sincos_test): Likewise.
32942 (sinh_test): Likewise.
32943 (sinh_test_tonearest): Likewise.
32944 (sinh_test_towardzero): Likewise.
32945 (sinh_test_downward): Likewise.
32946 (sinh_test_upward): Likewise.
32947 (sqrt_test): Likewise.
32948 (sqrt_test_tonearest): Likewise.
32949 (sqrt_test_towardzero): Likewise.
32950 (sqrt_test_downward): Likewise.
32951 (sqrt_test_upward): Likewise.
32952 (tan_test): Likewise.
32953 (tan_test_tonearest): Likewise.
32954 (tan_test_towardzero): Likewise.
32955 (tan_test_downward): Likewise.
32956 (tan_test_upward): Likewise.
32957 (tanh_test): Likewise.
32958 (tgamma_test): Likewise.
32959 (trunc_test): Likewise.
32960 (y0_test): Likewise.
32961 (y1_test): Likewise.
32962 (yn_test): Likewise.
32963 (significand_test): Likewise.
32964
32965 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
32966 individual tests in comment.
32967 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
32968 (prev_max_error): New variable.
32969 (prev_real_max_error): Likewise.
32970 (prev_imag_max_error): Likewise.
32971 (compare_ulp_data): Don't refer to test names in comment.
32972 (find_test_ulps): Remove function.
32973 (find_function_ulps): Likewise.
32974 (find_complex_function_ulps): Likewise.
32975 (init_max_error): Take function name as argument. Look up ulps
32976 for that function.
32977 (print_ulps): Remove function.
32978 (print_max_error): Use prev_max_error instead of calling
32979 find_function_ulps.
32980 (print_complex_max_error): Use prev_real_max_error and
32981 prev_imag_max_error instead of calling find_complex_function_ulps.
32982 (check_float_internal): Take max_ulp parameter instead of calling
32983 find_test_ulps. Don't call print_ulps.
32984 (check_float): Update call to check_float_internal.
32985 (check_complex): Update calls to check_float_internal.
32986 (START): Pass argument to init_max_error.
32987 * math/gen-libm-test.pl (%results): Don't include "kind"
32988 information.
32989 (parse_ulps): Don't handle ulps of individual tests.
32990 (print_ulps_file): Likewise.
32991 (output_ulps): Likewise.
32992 * math/README.libm-test: Update.
32993 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
32994 individual tests.
32995 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
32996 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32997 * sysdeps/arm/libm-test-ulps: Likewise.
32998 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32999 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
33000 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
33001 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
33002 * sysdeps/microblaze/libm-test-ulps: Likewise.
33003 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
33004 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33005 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33006 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
33007 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33008 * sysdeps/sh/libm-test-ulps: Likewise.
33009 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33010 * sysdeps/tile/libm-test-ulps: Likewise.
33011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33012
33013 2014-03-04 Joseph Myers <joseph@codesourcery.com>
33014
33015 * math/libm-test.inc (print_complex_max_error): Check separately
33016 whether real and imaginary errors are within allowed range and
33017 pass 0 to print_complex_function_ulps instead of value within
33018 allowed range.
33019
33020 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33021
33022 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
33023 formatting.
33024 (get_handles_fopen): Likewise.
33025 (do_write_test): Likewise.
33026
33027 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
33028
33029 * libio/fileops.c (do_ftell): Use cached offset when
33030 available.
33031 * libio/iofwide.c (do_ftell_wide): Likewise.
33032 * libio/iofdopen.c (_IO_new_fdopen): Don't use
33033 _IO_file_attach.
33034 * libio/wfileops.c (_IO_fwide): Don't cache offset.
33035
33036 [BZ #16532]
33037 * libio/libioP.h (get_file_offset): New function.
33038 * libio/fileops.c (get_file_offset): Likewise.
33039 (do_ftell): Likewise.
33040 (_IO_new_file_seekoff): Split out ftell logic.
33041 * libio/wfileops.c (do_ftell_wide): Likewise.
33042 (_IO_wfile_seekoff): Split out ftell logic.
33043 * libio/tst-ftell-active-handler.c: New test case.
33044 * libio/Makefile (tests): Add it.
33045
33046 2014-03-03 Roland McGrath <roland@hack.frob.com>
33047
33048 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
33049 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
33050
33051 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
33052
33053 [BZ #16639]
33054 * nscd/connections.c (nscd_init): Call do_exit.
33055 (start_threads): Call do_exit and notify_parent.
33056 (begin_drop_privileges): Call do_exit.
33057 (finish_drop_privileges): Likewise.
33058 * nscd/selinux.c (preserve_capabilities): Likewise.
33059 (install_real_capabilities): Likewise.
33060 (nscd_selinux_enabled): Likewise.
33061 (avc_create_thread): Likewise.
33062 (avc_alloc_lock): Likewise.
33063 (nscd_avc_init): Likewise.
33064 * nscd/nscd.c (parent_fd): New static variable.
33065 (main): Create a pipe between parent and child processes.
33066 Skip closing parent_fd.
33067 (monitor_child): New function.
33068 (do_exit): Likewise.
33069 (notify_parent): Likewise.
33070 * nscd/nscd.h (notify_parent): Likewise.
33071 (do_exit): Likewise.
33072
33073 2014-03-03 Carlos O'Donell <carlos@redhat.com>
33074
33075 * malloc/malloc.c (__libc_calloc): Revert last change.
33076
33077 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33078
33079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33080
33081 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33082
33083 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
33084 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
33085 implementation.
33086 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33087 (__libc_ifunc_impl_list): Likewise.
33088 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
33089 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
33090 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
33091 * string/strrchr.c: Define STRRCHR.
33092
33093 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
33094
33095 * benchtest/bench-strtok.c (simple_strtok): Delete.
33096 (strtok_string): Use as benchmark.
33097 * string/strtok (STRTOK): New macro.
33098
33099 2014-02-28 Carlos O'Donell <carlos@redhat.com>
33100
33101 * manual/threads.texi: Add header and standard comments to all
33102 functions.
33103
33104 * elf/dl-lookup.c (check_match): New function.
33105 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
33106 (do_lookup_x): Remove nested function check_match. Use non-nested
33107 function check_match.
33108
33109 2014-02-28 Roland McGrath <roland@hack.frob.com>
33110
33111 * csu/Makefile (generated, before-compile): Use += rather than =.
33112 * catgets/Makefile (generated, generated-dirs): Likewise.
33113 * debug/Makefile (generated): Likewise.
33114 * dlfcn/Makefile (generated): Likewise.
33115 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
33116 * iconvdata/Makefile (before-compile, generated): Likewise.
33117 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
33118 * libio/Makefile (generated): Likewise.
33119 * malloc/Makefile (generated): Likewise.
33120 * manual/Makefile (generated, generated-dirs): Likewise.
33121 * misc/Makefile (generated): Likewise.
33122 * posix/Makefile (generated): Likewise.
33123 * resolv/Makefile (generated): Likewise.
33124 * sunrpc/Makefile (generated, generated-dirs): Likewise.
33125 * timezone/Makefile (generated, generated-dirs): Likewise.
33126
33127 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
33128
33129 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33130
33131 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33132 power8 implementation.
33133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
33134 file: POWER8 llround ifunc implementation.
33135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
33136 (__lllround): Add POWER8 implementation.
33137 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
33138 POWER8 llround implementation.
33139
33140 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
33141 power8 implementation.
33142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
33143 file: POWER8 llrint ifunc implementation.
33144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
33145 Add POWER8 implementation.
33146 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
33147 POWER8 llrint implementation.
33148
33149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
33150 power8 implementation.
33151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
33152 file: POWER8 finite ifunc implementation.
33153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
33154 Add POWER8 implementation.
33155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
33156 Likewise.
33157 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
33158 POWER8 finite implementation.
33159 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
33160
33161 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
33162 power8 implementation.
33163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
33164 file: POWER8 isinf ifunc implementation.
33165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
33166 POWER8 implementation.
33167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
33168 Likewise.
33169 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
33170 isinf implementation.
33171 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
33172
33173 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
33174 (INIT_ARCH): Add hwcap2 initialization.
33175 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33176 power8 implementation.
33177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
33178 file: POWER8 isnan ifunc implementation.
33179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
33180 POWER8 implementation.
33181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
33182 Likewise.
33183 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
33184 isnan implementation.
33185 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
33186
33187 2014-02-27 Joey Ye <joey.ye@arm.com>
33188
33189 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33190 (_FP_NANFRAC_Q): Set to zero.
33191
33192 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33193
33194 [BZ #16623]
33195 * math/auto-libm-test-in: New test inputs.
33196 * math/auto-libm-test-out: Regenerate.
33197 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
33198 and DA.
33199 (__cos): Likewise.
33200 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33201
33202 2014-02-27 Joseph Myers <joseph@codesourcery.com>
33203
33204 * scripts/evaluate-test.sh: Take new argument indicating whether
33205 failure is expected.
33206 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
33207 indicating whether failure is expected.
33208 * conform/Makefile (test-xfail-run-conformtest): New variable.
33209 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
33210 level.
33211 * posix/Makefile (test-xfail-annexc): New variable.
33212 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
33213
33214 2014-02-26 Joseph Myers <joseph@codesourcery.com>
33215
33216 * argp/Makefile: Include Makeconfig immediately after defining
33217 subdir.
33218 * assert/Makefile: Likewise.
33219 * benchtests/Makefile: Likewise.
33220 * catgets/Makefile: Likewise.
33221 * conform/Makefile: Likewise.
33222 * crypt/Makefile: Likewise.
33223 * csu/Makefile: Likewise.
33224 (all): Remove target.
33225 * ctype/Makefile: Include Makeconfig immediately after defining
33226 subdir.
33227 * debug/Makefile: Likewise.
33228 * dirent/Makefile: Likewise.
33229 * dlfcn/Makefile: Likewise.
33230 * gmon/Makefile: Likewise.
33231 * gnulib/Makefile: Likewise.
33232 * grp/Makefile: Likewise.
33233 * gshadow/Makefile: Likewise.
33234 * hesiod/Makefile: Likewise.
33235 * hurd/Makefile: Likewise.
33236 (all): Remove target.
33237 * iconvdata/Makefile: Include Makeconfig immediately after
33238 defining subdir.
33239 * inet/Makefile: Likewise.
33240 * intl/Makefile: Likewise.
33241 * io/Makefile: Likewise.
33242 * libio/Makefile: Likewise.
33243 (all): Remove target.
33244 * locale/Makefile: Include Makeconfig immediately after defining
33245 subdir.
33246 * login/Makefile: Likewise.
33247 * mach/Makefile: Likewise.
33248 (all): Remove target.
33249 * malloc/Makefile: Include Makeconfig immediately after defining
33250 subdir.
33251 (all): Remove target.
33252 * manual/Makefile: Include Makeconfig immediately after defining
33253 subdir.
33254 * math/Makefile: Likewise.
33255 * misc/Makefile: Likewise.
33256 * nis/Makefile: Likewise.
33257 * nss/Makefile: Likewise.
33258 * po/Makefile: Likewise.
33259 (all): Remove target.
33260 * posix/Makefile: Include Makeconfig immediately after defining
33261 subdir.
33262 * pwd/Makefile: Likewise.
33263 * resolv/Makefile: Likewise.
33264 * resource/Makefile: Likewise.
33265 * rt/Makefile: Likewise.
33266 * setjmp/Makefile: Likewise.
33267 * shadow/Makefile: Likewise.
33268 * signal/Makefile: Likewise.
33269 * socket/Makefile: Likewise.
33270 * soft-fp/Makefile: Likewise.
33271 * stdio-common/Makefile: Likewise.
33272 * stdlib/Makefile: Likewise.
33273 * streams/Makefile: Likewise.
33274 * string/Makefile: Likewise.
33275 * sunrpc/Makefile: Likewise.
33276 (all): Remove target.
33277 * sysvipc/Makefile: Include Makeconfig immediately after defining
33278 subdir.
33279 * termios/Makefile: Likewise.
33280 * time/Makefile: Likewise.
33281 * timezone/Makefile: Likewise.
33282 (all): Remove target.
33283 * wcsmbs/Makefile: Include Makeconfig immediately after defining
33284 subdir.
33285 * wctype/Makefile: Likewise.
33286
33287 2014-02-26 Steve Ellcey <sellcey@mips.com>
33288
33289 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
33290 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
33291 (libc_feholdexcept_setround_mips): Ditto.
33292 (libc_feholdsetround): New.
33293 (libc_feholdsetroundf): New.
33294 (libc_feholdsetroundl): New.
33295 (libc_feupdateenv_test_mips): New.
33296 (libc_feupdateenv_test): New.
33297 (libc_feupdateenv_testf): New.
33298 (libc_feupdateenv_testl): New.
33299 (libc_feresetround): New.
33300 (libc_feresetroundf): New.
33301 (libc_feresetroundl): New.
33302 (libc_fetestexcept_mips): New.
33303 (libc_fetestexcept): New.
33304 (libc_fetestexceptf): New.
33305 (libc_fetestexceptl): New.
33306 (HAVE_RM_CTX): New.
33307 (libc_feholdexcept_setround_mips_ctx): New.
33308 (libc_feholdexcept_setround_ctx): New.
33309 (libc_feholdexcept_setroundf_ctx): New.
33310 (libc_feholdexcept_setroundl_ctx): New.
33311 (libc_fesetenv_mips_ctx): New.
33312 (libc_fesetenv_ctx): New.
33313 (libc_fesetenv_ctxf): New.
33314 (libc_fesetenv_ctxl): New.
33315 (libc_feupdateenv_mips_ctx): New.
33316 (libc_feupdateenv_ctx): New.
33317 (libc_feupdateenvf_ctx): New.
33318 (libc_feupdateenvl_ctx): New.
33319 (libc_feholdsetround_mips_ctx): New.
33320 (libc_feholdsetround_ctx): New.
33321 (libc_feholdsetroundf_ctx): New.
33322 (libc_feholdsetroundl_ctx): New.
33323 (libc_feresetround_mips_ctx): New.
33324 (libc_feresetround_ctx): New.
33325 (libc_feresetroundf_ctx): New.
33326 (libc_feresetroundl_ctx): New.
33327
33328 2014-02-26 Carlos O'Donell <carlos@redhat.com>
33329
33330 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
33331
33332 * manual/ipc.texi: New file.
33333 * manual/Makefile (chapters): Add ipc.
33334 * manual/job.texi: Add "Inter-Process Communication" to next.
33335 * manual/process.texi: Add "Inter-Process Communication" to prev.
33336
33337 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33338
33339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33340
33341 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
33342
33343 * malloc/malloc.c (__libc_calloc): Simplify implementation.
33344
33345 * manual/arith.texi: Fix spaces after sentences.
33346 * manual/charset.texi: Likewise.
33347 * manual/errno.texi: Likewise.
33348 * manual/install.texi: Likewise.
33349 * manual/llio.texi: Likewise.
33350 * manual/locale.texi: Likewise.
33351 * manual/maint.texi: Likewise.
33352 * manual/math.texi: Likewise.
33353 * manual/memory.texi: Likewise.
33354 * manual/message.texi: Likewise.
33355 * manual/probes.texi: Likewise.
33356 * manual/resource.texi: Likewise.
33357 * manual/signal.texi: Likewise.
33358 * manual/socket.texi: Likewise.
33359 * manual/stdio.texi: Likewise.
33360 * manual/string.texi: Likewise.
33361 * manual/time.texi: Likewise.
33362 * manual/users.texi: Likewise.
33363
33364 2014-02-25 Carlos O'Donell <carlos@redhat.com>
33365
33366 [BZ #16632]
33367 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
33368 _DEFAULT_SOURCE is defined.
33369
33370 2014-02-25 Ulrich Drepper <drepper@gmail.com>
33371 Carlos O'Donell <carlos@redhat.com>
33372
33373 [BZ #16613]
33374 * elf/dl-tls.c (_dl_count_modids): New function.
33375 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
33376 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
33377 audit library and increment generation counter.
33378 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
33379 * elf/tst-audit9.c: New file.
33380 * elf/tst-auditmod9a.c: New file.
33381 * elf/tst-auditmod9b.c: New file.
33382 * elf/Makefile: Add rules to build and run tst-audit9.
33383
33384 2014-02-25 Florian Weimer <fweimer@redhat.com>
33385
33386 [BZ #15347]
33387 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
33388
33389 2014-02-25 Will Newton <will.newton@linaro.org>
33390
33391 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
33392 (__longjmp): Restore sp and lr before restoring callee
33393 saved registers. Add longjmp and longjmp_target
33394 SystemTap probe point.
33395 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
33396 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
33397 Define to zero to match jmpbuf layout.
33398 * sysdeps/arm/setjmp.S: Include stap-probe.h.
33399 (__sigsetjmp): Save sp and lr before saving callee
33400 saved registers. Add setjmp SystemTap probe point.
33401
33402 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
33403
33404 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33405
33406 2014-02-24 Andreas Schwab <schwab@suse.de>
33407
33408 [BZ #15804]
33409 * elf/pldd.c (wait_for_ptrace_stop): New function.
33410 (main): Call it after attaching.
33411
33412 2014-02-22 Roland McGrath <roland@hack.frob.com>
33413
33414 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
33415 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
33416 Versions files is now verboten.
33417 * hurd/Versions (libc: GLIBC_2.0):
33418 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
33419 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
33420 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
33421 * mach/Versions: Likewise.
33422
33423 * csu/Versions: Remove unused %include.
33424 * resolv/Versions: Likewise.
33425
33426 2014-02-21 Joseph Myers <joseph@codesourcery.com>
33427
33428 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
33429 ($(objpfx)check-local-headers.out): Likewise.
33430 ($(objpfx)begin-end-check.out): Likewise.
33431 * Makerules (check-abi-%.out): Likewise.
33432 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
33433 ($(objpfx)test2.cat): Likewise.
33434 ($(objpfx)de/libc.cat): Likewise.
33435 ($(objpfx)test-gencat.out): Likewise.
33436 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
33437 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
33438 ($(objpfx)noload-mem): Likewise.
33439 ($(objpfx)tst-pathopt.out): Likewise.
33440 ($(objpfx)tst-rtld-load-self.out): Likewise.
33441 ($(objpfx)tst-array1-cmp.out): Likewise.
33442 ($(objpfx)tst-array1-static-cmp.out): Likewise.
33443 ($(objpfx)tst-array2-cmp.out): Likewise.
33444 ($(objpfx)tst-array3-cmp.out): Likewise.
33445 ($(objpfx)tst-array4-cmp.out): Likewise.
33446 ($(objpfx)tst-array5-cmp.out): Likewise.
33447 ($(objpfx)tst-array5-static-cmp.out): Likewise.
33448 ($(objpfx)check-textrel.out): Likewise.
33449 ($(objpfx)check-execstack.out): Likewise.
33450 ($(objpfx)check-localplt.out): Likewise.
33451 ($(objpfx)order2-cmp.out): Likewise.
33452 ($(objpfx)tst-leaks1-mem): Likewise.
33453 ($(objpfx)tst-leaks1-static-mem): Likewise.
33454 ($(objpfx)tst-initorder-cmp.out): Likewise.
33455 ($(objpfx)tst-initorder2-cmp.out): Likewise.
33456 ($(objpfx)tst-unused-dep.out): Likewise.
33457 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
33458 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33459 * iconv/Makefile (test-iconvconfig): Likewise.
33460 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
33461 ($(objpfx)iconv-test.out): Likewise.
33462 ($(objpfx)tst-tables.out): Likewise.
33463 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
33464 ($(objpfx)tst-gettext.out): Likewise.
33465 ($(objpfx)tst-translit.out): Likewise.
33466 ($(objpfx)tst-gettext2.out): Likewise.
33467 ($(objpfx)tst-gettext4.out): Likewise.
33468 ($(objpfx)tst-gettext6.out): Likewise.
33469 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
33470 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33471 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
33472 ($(objpfx)tst-fopenloc-mem.out): Likewise.
33473 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33474 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
33475 * posix/Makefile ($(objpfx)globtest.out): Likewise.
33476 ($(objpfx)wordexp-tst.out): Likewise.
33477 ($(objpfx)annexc.out): Likewise.
33478 ($(objpfx)tst-fnmatch-mem): Likewise.
33479 ($(objpfx)bug-regex2-mem): Likewise.
33480 ($(objpfx)bug-regex14-mem): Likewise.
33481 ($(objpfx)bug-regex21-mem): Likewise.
33482 ($(objpfx)bug-regex31-mem): Likewise.
33483 ($(objpfx)tst-vfork3-mem): Likewise.
33484 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33485 ($(objpfx)tst-pcre-mem): Likewise.
33486 ($(objpfx)tst-boost-mem): Likewise.
33487 ($(objpfx)tst-getconf.out): Likewise.
33488 ($(objpfx)bug-ga2-mem): Likewise.
33489 ($(objpfx)bug-glob2-mem): Likewise.
33490 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
33491 ($(objpfx)mtrace-tst-leaks2): Likewise.
33492 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
33493 ($(objpfx)tst-printf.out): Likewise.
33494 ($(objpfx)tst-setvbuf1.out): Likewise.
33495 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
33496 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
33497 ($(objpfx)tst-fmtmsg.out): Likewise.
33498 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
33499 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
33500
33501 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
33502 * bits/sigaction.h [__USE_MISC]: Likewise.
33503 * bits/waitstatus.h: Update #endif comments.
33504 * ctype/ctype.h: Likewise.
33505 * dirent/dirent.h: Likewise.
33506 [__USE_MISC]: Remove redundant conditionals.
33507 * grp/grp.h: Update #endif comments.
33508 [__USE_GNU]: Remove redundant conditionals.
33509 [__USE_MISC]: Likewise.
33510 * inet/netinet/in.h [__USE_GNU]: Likewise.
33511 * io/sys/stat.h [__USE_MISC]: Likewise.
33512 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
33513 * libio/bits/stdio.h: Update #endif comments.
33514 [__USE_MISC]: Remove redundant conditionals.
33515 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
33516 * libio/stdio.h: Update #endif comments.
33517 [__USE_MISC]: Remove redundant conditionals.
33518 * math/bits/math-finite.h [__USE_MISC]: Likewise.
33519 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
33520 * math/math.h: Update #else and #endif comments.
33521 [__USE_MISC]: Remove redundant conditionals.
33522 * misc/sys/uio.h: Update #endif comments.
33523 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
33524 * posix/glob.h [__USE_MISC]: Likewise.
33525 * posix/sys/types.h: Update #endif comments.
33526 [__USE_MISC]: Remove redundant conditionals.
33527 * posix/sys/wait.h: Update #endif comments.
33528 [__USE_MISC]: Remove redundant conditionals.
33529 * posix/unistd.h: Update #endif comments.
33530 [__USE_MISC]: Remove redundant conditionals.
33531 * pwd/pwd.h [__USE_GNU]: Likewise.
33532 [__USE_MISC]: Likewise.
33533 * resolv/netdb.h [__USE_GNU]: Likewise.
33534 * signal/signal.h: Update #endif comments.
33535 [__USE_MISC]: Remove redundant conditionals.
33536 * stdlib/stdlib.h: Update #else and #endif comments.
33537 [__USE_MISC]: Remove redundant conditionals.
33538 [__USE_GNU]: Likewise.
33539 * string/bits/string2.h [__USE_MISC]: Likewise.
33540 * string/string.h: Update #endif comments.
33541 [__USE_MISC]: Remove redundant conditionals.
33542 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
33543 Likewise.
33544 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
33545 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
33546 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
33547 Likewise.
33548 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
33549 Likewise.
33550 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
33551 comments.
33552 [__USE_MISC]: Remove redundant conditionals.
33553 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
33554 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
33555 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
33556 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
33557 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
33558 Likewise.
33559 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
33560 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
33561 Likewise.
33562 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
33563 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
33564 Likewise.
33565 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
33566 Likewise.
33567 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
33568 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
33569 Likewise.
33570 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
33571 Likewise.
33572 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
33573 * sysdeps/x86/bits/string.h: Update #endif comments.
33574 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
33575 conditionals.
33576 * time/sys/time.h: Update #endif comments.
33577 * time/time.h: Likewise.
33578 [__USE_MISC]: Remove redundant conditionals.
33579
33580 2014-02-21 Yury Gribov <y.gribov@samsung.com>
33581
33582 [BZ #16600]
33583 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
33584
33585 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
33586
33587 * Versions.def (librt): Add GLIBC_2.17.
33588
33589 2014-02-21 Adam Conrad <adconrad@0c3.net>
33590
33591 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
33592 synonym for _SYS_AUXV_H to allow direct inclusion.
33593 * sysdeps/sparc/bits/hwcap.h: Likewise.
33594 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
33595 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
33596 * sysdeps/sparc/sysdep.h: Likewise.
33597
33598 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33599
33600 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
33601
33602 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33603
33604 * benchtests/bench-strrchr.c: Print length instead of position.
33605
33606 2014-02-20 Joseph Myers <joseph@codesourcery.com>
33607
33608 [BZ #16611]
33609 * sysdeps/unix/sysv/linux/kernel-features.h
33610 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
33611 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
33612 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
33613 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
33614 Likewise.
33615 [__i386__ || __powerpc__ || __sh__ || __sparc__]
33616 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33617 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
33618 (__ASSUME_SENDMMSG): Define instead of using previous
33619 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
33620 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33621 (__ASSUME_SENDMMSG_SYSCALL): Define.
33622 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33623 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
33624 Likewise.
33625 * sysdeps/unix/sysv/linux/arm/kernel-features.h
33626 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33627 Likewise.
33628 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33629 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33630 Likewise.
33631 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
33632 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33633 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33634 [__ASSUME_SENDMMSG]: Change conditionals to
33635 [__ASSUME_SENDMMSG_SOCKETCALL].
33636 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33637 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
33638 Define.
33639 * sysdeps/unix/sysv/linux/mips/kernel-features.h
33640 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
33641 Likewise.
33642 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
33643 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33644 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33645 [!__ASSUME_SENDMMSG]: Change conditional to
33646 [!__ASSUME_SENDMMSG_SOCKETCALL].
33647 * sysdeps/unix/sysv/linux/tile/kernel-features.h
33648 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33649 Define.
33650
33651 [BZ #16610]
33652 * sysdeps/unix/sysv/linux/kernel-features.h
33653 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
33654 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
33655 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
33656 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
33657 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33658 [__i386__ || __sparc__]
33659 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33660 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
33661 (__ASSUME_RECVMMSG): Define instead of using previous
33662 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
33663 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33664 (__ASSUME_RECVMMSG_SYSCALL): Define.
33665 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33666 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33667 Likewise.
33668 * sysdeps/unix/sysv/linux/arm/kernel-features.h
33669 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33670 Likewise.
33671 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33672 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33673 Likewise.
33674 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
33675 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33676 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33677 [__ASSUME_RECVMMSG]: Change condition to
33678 [__ASSUME_RECVMMSG_SOCKETCALL].
33679 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33680 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33681 Define.
33682 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33683 * sysdeps/unix/sysv/linux/mips/kernel-features.h
33684 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33685 Likewise.
33686 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
33687 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33688 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33689 [!__ASSUME_RECVMMSG]: Change condition to
33690 [!__ASSUME_RECVMMSG_SOCKETCALL].
33691 * sysdeps/unix/sysv/linux/tile/kernel-features.h
33692 (__ASSUME_RECVMMSG_SYSCALL): Define.
33693
33694 [BZ #16609]
33695 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
33696 __powerpc__ || __s390__ || __sh__ || __sparc__]
33697 (__ASSUME_SOCKETCALL): Define.
33698 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
33699 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
33700 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
33701 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
33702 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33703 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33704 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
33705 (__ASSUME_ACCEPT4): Define instead of using previous
33706 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
33707 __powerpc__ || __sparc__ || __s390__)] condition.
33708 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33709 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33710 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
33711 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33712 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33713 [!__ASSUME_ACCEPT4]: Change condition to
33714 [!__ASSUME_ACCEPT4_SOCKETCALL].
33715 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33716 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
33717 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
33718 * sysdeps/unix/sysv/linux/arm/kernel-features.h
33719 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
33720 __ASSUME_ACCEPT4_SYSCALL.
33721 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
33722 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
33723 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33724 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
33725 __ASSUME_ACCEPT4_SYSCALL.
33726 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
33727 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33728 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33729 [__ASSUME_ACCEPT4]: Change condition to
33730 [__ASSUME_ACCEPT4_SOCKETCALL].
33731 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33732 (__ASSUME_SOCKETCALL): Define.
33733 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
33734 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33735 (__ASSUME_SOCKETCALL): Define.
33736 (__ASSUME_ACCEPT4): Remove.
33737 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
33738 Define.
33739 * sysdeps/unix/sysv/linux/mips/kernel-features.h
33740 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
33741 Likewise.
33742 * sysdeps/unix/sysv/linux/tile/kernel-features.h
33743 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33744
33745 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
33746 macro.
33747 (HWCAP_ARM_LPAE): Likewise.
33748 (HWCAP_ARM_EVTSTRM): Likewise.
33749 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
33750 Add vpfd32, lpae and evtstrm.
33751 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
33752 Increase to 22.
33753
33754 2014-02-19 Joseph Myers <joseph@codesourcery.com>
33755
33756 * math/auto-libm-test-in: Add tests of clog10.
33757 * math/auto-libm-test-out: Regenerated.
33758 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
33759 * sysdeps/i386/fpu/libm-test-ulps: Update.
33760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33761
33762 2014-02-18 Andreas Schwab <schwab@suse.de>
33763
33764 [BZ #16574]
33765 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
33766 Store non-zero if the second buffer was newly allocated.
33767 (send_dg): Likewise.
33768 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
33769 to send_vc and send_dg.
33770 (res_nsend): Pass NULL for ansp2_malloced.
33771 * resolv/res_query.c (__libc_res_nquery): Add parameter
33772 answerp2_malloced and pass it down to __libc_res_nsend.
33773 (res_nquery): Pass additional NULL to __libc_res_nquery.
33774 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33775 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
33776 second answer buffer if answerp2_malloced was set.
33777 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
33778 (__libc_res_nquerydomain): Add parameter
33779 answerp2_malloced and pass it down to __libc_res_nquery.
33780 (res_nquerydomain): Pass additional NULL to
33781 __libc_res_nquerydomain.
33782 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
33783 additional NULL to __libc_res_nsend and __libc_res_nquery.
33784 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
33785 additional NULL to __libc_res_nsearch.
33786 (_nss_dns_gethostbyname4_r): Revert last change. Use new
33787 parameter of __libc_res_nsearch to check for separately allocated
33788 second buffer.
33789 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
33790 __libc_res_nquery.
33791 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
33792 additional NULL to __libc_res_nquery.
33793 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
33794 __libc_res_nsearch.
33795 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
33796 * include/resolv.h: Update prototypes of __libc_res_nquery,
33797 __libc_res_nsearch, __libc_res_nsend.
33798
33799 2014-02-18 Joseph Myers <joseph@codesourcery.com>
33800
33801 * math/auto-libm-test-in: Add tests of fma.
33802 * math/auto-libm-test-out: Regenerated.
33803 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
33804 (fma_towardzero_test_data): Likewise.
33805 (fma_downward_test_data): Likewise.
33806 (fma_upward_test_data): Likewise.
33807 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
33808 mpc_mode.
33809 (rounding_modes): Add values for new field.
33810 (func_calc_method): Add value mpfr_fff_f.
33811 (func_calc_desc): Add mpfr_fff_f union field.
33812 (test_function): Add field exact_args.
33813 (FUNC): Add macro argument EXACT_ARGS.
33814 (FUNC_mpfr_f_f): Update call to FUNC.
33815 (FUNC_mpfr_f_f): Likewise.
33816 (FUNC_mpfr_ff_f): Likewise.
33817 (FUNC_mpfr_if_f): Likewise.
33818 (FUNC_mpc_c_f): Likewise.
33819 (FUNC_mpc_c_c): Likewise.
33820 (test_functions): Add fma. Update calls to FUNC.
33821 (handle_input_arg): Add argument exact_args.
33822 (add_test): Update call to handle_input_arg.
33823 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
33824 (output_for_one_input_case): Update call to calc_generic_results.
33825 Recalculate exact zero results in each rounding mode.
33826
33827 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
33828 non-negative before setting low bit.
33829 * math/auto-libm-test-in: Mark one asin test possibly having
33830 spurious underflow.
33831 * math/auto-libm-test-out: Regenerated.
33832 * sysdeps/i386/fpu/libm-test-ulps: Update.
33833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33834
33835 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
33836
33837 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
33838 * sysdeps/unix/sysv/linux/microblaze: Move directory from
33839 ports/sysdeps/unix/sysv/linux/microblaze.
33840 * README: Add missing listing for microblaze*-*-linux-gnu.
33841
33842 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
33843
33844 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
33845 duplicate code
33846
33847 2014-02-16 Mike Frysinger <vapier@gentoo.org>
33848
33849 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
33850 * sysdeps/unix/sysv/linux/ia64: Move directory from
33851 ports/sysdeps/unix/sysv/linux/ia64.
33852 * README: Update listing for ia64-*-linux-gnu.
33853
33854 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
33855 Joseph Myers <joseph@codesourcery.com>
33856
33857 * Makeconfig (test-name): New variable.
33858 (evaluate-test): Likewise.
33859 * Makerules (do-test-clean): Remove .test-result files.
33860 (common-mostlyclean): Likewise.
33861 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
33862 * scripts/evaluate-test.sh: New file.
33863
33864 2014-02-14 Joseph Myers <joseph@codesourcery.com>
33865
33866 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
33867 separate $(objpfx)tst-fopenloc-cmp.out and
33868 $(objpfx)tst-fopenloc-mem.out targets.
33869 (tests): Update dependencies.
33870 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
33871 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
33872 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
33873 (tst-rxspencer-no-utf8-ARGS): New variable.
33874 (tst-rxspencer-no-utf8-ENV): Likewise.
33875 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
33876 instead of $(objpfx)tst-rxspencer-mem.
33877 ($(objpfx)tst-rxspencer-mem): Change target to
33878 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
33879 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
33880 * posix/tst-rxspencer-no-utf8.c: New file.
33881
33882 * elf/Makefile ($(objpfx)order.out): Remove rule.
33883 [$(run-built-tests) = yes] (tests): Depend on
33884 $(objpfx)order-cmp.out.
33885 ($(objpfx)order-cmp.out): New rule.
33886 [$(run-built-tests) = yes] (tests): Depend on
33887 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
33888 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
33889 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
33890 $(objpfx)tst-array5-static-cmp.out.
33891 ($(objpfx)tst-array1.out): Remove rule.
33892 ($(objpfx)tst-array1-cmp.out): New rule.
33893 ($(objpfx)tst-array1-static.out): Remove rule.
33894 ($(objpfx)tst-array1-static-cmp.out): New rule.
33895 ($(objpfx)tst-array2.out): Remove rule.
33896 ($(objpfx)tst-array2-cmp.out): New rule.
33897 ($(objpfx)tst-array3.out): Remove rule.
33898 ($(objpfx)tst-array3-cmp.out): New rule.
33899 ($(objpfx)tst-array4.out): Remove rule.
33900 ($(objpfx)tst-array4-cmp.out): New rule.
33901 ($(objpfx)tst-array5.out): Remove rule.
33902 ($(objpfx)tst-array5-cmp.out): New rule.
33903 ($(objpfx)tst-array5-static.out): Remove rule.
33904 ($(objpfx)tst-array5-static-cmp.out): New rule.
33905 [$(run-built-tests) = yes] (tests): Depend on
33906 $(objpfx)order2-cmp.out.
33907 ($(objpfx)order2.out): Remove rule.
33908 ($(objpfx)order2-cmp.out): New rule.
33909 ($(objpfx)tst-initorder.out): Remove rule.
33910 [$(run-built-tests) = yes] (tests): Depend on
33911 $(objpfx)tst-initorder-cmp.out.
33912 ($(objpfx)tst-initorder-cmp.out): New rule.
33913 ($(objpfx)tst-initorder2.out): Remove rule.
33914 [$(run-built-tests) = yes] (tests): Depend on
33915 $(objpfx)tst-initorder2-cmp.out.
33916 ($(objpfx)tst-initorder2-cmp.out): New rule.
33917 [$(run-built-tests) = yes] (tests): Depend on
33918 $(objpfx)tst-unused-dep-cmp.out.
33919 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
33920 ($(objpfx)tst-unused-dep-cmp.out): New rule.
33921 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
33922 on $(objpfx)tst-setvbuf1-cmp.out.
33923 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
33924 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
33925 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
33926 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
33927 ($(objpfx)tst-svc.out): Remove rule.
33928 ($(objpfx)tst-svc-cmp.out): New rule.
33929
33930 2014-02-13 Joseph Myers <joseph@codesourcery.com>
33931
33932 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
33933 * ctype/ctype.h [__USE_MISC]: Likewise.
33934 * dirent/dirent.h [__USE_MISC]: Likewise.
33935 * grp/grp.h [__USE_MISC]: Likewise.
33936 * io/fcntl.h [__USE_MISC]: Likewise.
33937 * io/sys/stat.h [__USE_MISC]: Likewise.
33938 * libio/stdio.h [__USE_MISC]: Likewise.
33939 * posix/unistd.h [__USE_MISC]: Likewise.
33940 * pwd/pwd.h [__USE_MISC]: Likewise.
33941 * stdlib.h [__USE_MISC]: Likewise.
33942 * string/bits/string2.h [__USE_MISC]: Likewise.
33943 * string/string.h [__USE_MISC]: Likewise.
33944 * time/time.h [__USE_MISC]: Likewise.
33945
33946 2014-02-13 Andreas Schwab <schwab@suse.de>
33947
33948 [BZ #16574]
33949 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
33950 second answer buffer if it was separately allocated.
33951
33952 2014-02-12 Joseph Myers <joseph@codesourcery.com>
33953
33954 * sysdeps/mips/math-tests.h: Include <features.h>.
33955 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33956 (ROUNDING_TESTS_long_double): Do not define.
33957 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33958 (EXCEPTION_TESTS_long_double): Likewise.
33959 * sysdeps/mips/mips64/libm-test-ulps: Update.
33960
33961 * include/features.h (__USE_BSD): Remove macro definitions.
33962 (__USE_SVID): Likewise.
33963 (_BSD_SOURCE): Likewise.
33964 (_SVID_SOURCE): Likewise.
33965 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
33966 from definition of _DEFAULT_SOURCE.
33967 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
33968 [_DEFAULT_SOURCE].
33969 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
33970 * bits/mman.h [__USE_BSD]: Likewise.
33971 * bits/termios.h [__USE_BSD]: Likewise.
33972 * bits/waitstatus.h [__USE_BSD]: Likewise.
33973 * ctype/ctype.h [__USE_SVID]: Likewise.
33974 * dirent/dirent.h [__USE_BSD]: Likewise.
33975 * grp/grp.h [__USE_SVID]: Likewise.
33976 [__USE_BSD]: Likewise.
33977 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
33978 * io/fcntl.h [__USE_BSD]: Likewise.
33979 * io/ftw.h [__USE_BSD]: Likewise.
33980 * io/sys/stat.h [__USE_BSD]: Likewise.
33981 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
33982 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
33983 * libio/stdio.h [__USE_SVID]: Likewise.
33984 [__USE_BSD]: Likewise.
33985 * math/math.h [__USE_SVID]: Likewise.
33986 [__USE_BSD]: Likewise.
33987 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
33988 * misc/bits/syslog.h [__USE_BSD]: Likewise.
33989 * misc/search.h [__USE_SVID]: Likewise.
33990 * misc/sys/mman.h [__USE_BSD]: Likewise.
33991 * misc/sys/syslog.h [__USE_BSD]: Likewise.
33992 * misc/sys/uio.h [__USE_BSD]: Likewise.
33993 * posix/bits/unistd.h [__USE_BSD]: Likewise.
33994 * posix/glob.h [__USE_BSD]: Likewise.
33995 * posix/regex.h [__USE_BSD]: Likewise.
33996 * posix/sys/types.h [__USE_BSD]: Likewise.
33997 [__USE_SVID]: Likewise.
33998 * posix/sys/utsname.h [__USE_SVID]: Likewise.
33999 * posix/sys/wait.h [__USE_BSD]: Likewise.
34000 [__USE_SVID]: Likewise.
34001 * posix/unistd.h [__USE_BSD]: Likewise.
34002 [__USE_SVID]: Likewise.
34003 * pwd/pwd.h [__USE_SVID]: Likewise.
34004 * resolv/netdb.h [__USE_BSD]: Likewise.
34005 * setjmp/setjmp.h [__USE_BSD]: Likewise.
34006 * signal/signal.h [__USE_BSD]: Likewise.
34007 [__USE_SVID]: Likewise.
34008 * socket/sys/socket.h [__USE_BSD]: Likewise.
34009 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
34010 * stdlib/stdlib.h [__USE_BSD]: Likewise.
34011 [__USE_SVID]: Likewise.
34012 * string/bits/string2.h [__USE_BSD]: Likewise.
34013 [__USE_SVID]: Likewise.
34014 * string/bits/string3.h [__USE_BSD]: Likewise.
34015 * string/endian.h [__USE_BSD]: Likewise.
34016 * string/string.h [__USE_SVID]: Likewise.
34017 [__USE_BSD]: Likewise.
34018 * string/strings.h [__USE_BSD]: Likewise.
34019 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
34020 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
34021 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
34022 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
34023 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
34024 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
34025 Likewise.
34026 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
34027 Likewise.
34028 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
34029 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
34030 Likewise.
34031 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
34032 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
34033 Likewise.
34034 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
34035 Likewise.
34036 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
34037 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
34038 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
34039 Likewise.
34040 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
34041 Likewise.
34042 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
34043 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
34044 * termios/termios.h [__USE_BSD]: Likewise.
34045 * time/sys/time.h [__USE_BSD]: Likewise.
34046 * time/time.h [__USE_BSD]: Likewise.
34047 [__USE_SVID]: Likewise.
34048
34049 * Makefile (subdir_targets): Remove subdir_lint.out.
34050
34051 * stdio-common/Makefile (do-tst-unbputc): Remove target.
34052 (do-tst-printf): Likewise.
34053 (tests): Depend directly on $(objpfx)tst-unbputc.out and
34054 $(objpfx)tst-printf.out.
34055
34056 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
34057
34058 * Makerules (check-abi-%): Change target to
34059 $(objpfx)check-abi-%.out.
34060 (check-abi target): Update dependencies.
34061 (check-abi-pattern variable): Redirect output of diff to $@.
34062 (check-abi variable): Likewise.
34063 * elf/Makefile (check-abi): Update dependencies.
34064
34065 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
34066 unused.
34067 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
34068 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
34069 subnormal range.
34070 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
34071 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
34072 value has largest subnormal exponent.
34073 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
34074 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
34075 * sysdeps/aarch64/soft-fp/sfp-machine.h
34076 (_FP_TININESS_AFTER_ROUNDING): New macro.
34077 * sysdeps/alpha/soft-fp/sfp-machine.h
34078 (_FP_TININESS_AFTER_ROUNDING): Likewise.
34079 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34080 Likewise.
34081 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
34082 (_FP_TININESS_AFTER_ROUNDING): Likewise.
34083 * sysdeps/mips/soft-fp/sfp-machine.h
34084 (_FP_TININESS_AFTER_ROUNDING): Likewise.
34085 * sysdeps/powerpc/soft-fp/sfp-machine.h
34086 (_FP_TININESS_AFTER_ROUNDING): Likewise.
34087 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34088 Likewise.
34089 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34090 (_FP_TININESS_AFTER_ROUNDING): Likewise.
34091 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34092 (_FP_TININESS_AFTER_ROUNDING): Likewise.
34093 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34094 Likewise.
34095
34096 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
34097
34098 [BZ #16545]
34099 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
34100 model 1.
34101
34102 2014-02-12 Richard Henderson <rth@redhat.com>
34103
34104 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
34105 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
34106 * sysdeps/unix/sysv/linux/alpha: Move directory from
34107 ports/sysdeps/unix/sysv/linux/alpha.
34108 * README: Update listing for alpha-*-linux-gnu.
34109
34110 2014-02-11 Joseph Myers <joseph@codesourcery.com>
34111
34112 * include/features.h: Update comment documenting feature test
34113 macros.
34114 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
34115 _DEFAULT_SOURCE.
34116 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
34117 (_SVID_SOURCE): Likewise.
34118 (_DEFAULT_SOURCE): Update description of default features.
34119 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
34120 with _GNU_SOURCE.
34121 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
34122 (S_ISVTX): Likewise.
34123 * manual/math.texi (Mathematical Constants): Likewise.
34124 * manual/signal.texi (Interrupted Primitives): Likewise.
34125 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
34126 * math/test-matherr.c (_SVID_SOURCE): Do not define.
34127 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
34128 Don't refer to _SVID_SOURCE in warning text.
34129
34130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34131
34132 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
34133 already defined.
34134 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
34135 * sysdeps/mips/dl-lookup.c: Remove.
34136 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
34137
34138 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
34139
34140 [BZ #16447]
34141 * math/auto-libm-test-in: Add testcase for expl.
34142 * math/auto-libm-test-out: Regenerate.
34143 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
34144 calculation of unsafe.
34145 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
34146
34147 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
34148
34149 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
34150 * sysdeps/unix/sysv/linux/aarch64: Move directory from
34151 ports/sysdeps/unix/sysv/linux/aarch64.
34152 * README: Update listing for aarch64*-*-linux-gnu.
34153
34154 2014-02-11 Will Newton <will.newton@linaro.org>
34155
34156 * manual/probes.texi (Mathematical Function Probes): Use
34157 "triggered" instead of "hit".
34158
34159 * manual/probes.texi (Internal Probes): Add documentation
34160 of setjmp, longjmp and longjmp_target probes.
34161
34162 * include/stap-probe.h: Add comment about probe argument
34163 format.
34164
34165 * malloc/mtrace.c (attribute_hidden): Remove unused macro
34166 definition. (tr_where, tr_freehook, tr_mallochook,
34167 tr_reallochook, tr_memalignhook): Use ANSI protoype.
34168
34169 2014-02-11 David S. Miller <davem@davemloft.net>
34170
34171 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
34172 processing int_tests.
34173
34174 2014-02-10 Joseph Myers <joseph@codesourcery.com>
34175
34176 * sysdeps/mips: Move directory from ports/sysdeps/mips.
34177 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
34178 * sysdeps/unix/sysv/linux/mips: Move directory from
34179 ports/sysdeps/unix/sysv/linux/mips.
34180 * README: Update listing for mips-*-linux-gnu and
34181 mips64-*-linux-gnu.
34182
34183 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
34184
34185 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
34186 * sysdeps/unix/sysv/linux/m68k: Move directory from
34187 ports/sysdeps/unix/sysv/linux/m68k.
34188 * README: Update listing for m68k-*-linux-gnu.
34189
34190 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
34191
34192 * sysdeps/tile: Move directory from ports/sysdeps/tile.
34193 * sysdeps/unix/sysv/linux/generic: Move directory from
34194 ports/sysdeps/unix/sysv/linux/generic.
34195 * sysdeps/unix/sysv/linux/tile: Move directory from
34196 ports/sysdeps/unix/sysv/linux/tile.
34197 * README: Update listing for tile*-*-linux-gnu.
34198
34199 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
34200
34201 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
34202 __builtin_expect.
34203 * benchtests/bench-memmem.c (simple_memmem): Likewise.
34204 * catgets/open_catalog.c (__open_catalog): Likewise.
34205 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
34206 * debug/confstr_chk.c: Likewise.
34207 * debug/fread_chk.c (__fread_chk): Likewise.
34208 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
34209 * debug/getgroups_chk.c: Likewise.
34210 * debug/mbsnrtowcs_chk.c: Likewise.
34211 * debug/mbsrtowcs_chk.c: Likewise.
34212 * debug/mbstowcs_chk.c: Likewise.
34213 * debug/memcpy_chk.c: Likewise.
34214 * debug/memmove_chk.c: Likewise.
34215 * debug/mempcpy_chk.c: Likewise.
34216 * debug/memset_chk.c: Likewise.
34217 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34218 * debug/strcat_chk.c (__strcat_chk): Likewise.
34219 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
34220 * debug/strncat_chk.c (__strncat_chk): Likewise.
34221 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
34222 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
34223 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
34224 * debug/wcpncpy_chk.c: Likewise.
34225 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34226 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
34227 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
34228 * debug/wcsncpy_chk.c: Likewise.
34229 * debug/wcsnrtombs_chk.c: Likewise.
34230 * debug/wcsrtombs_chk.c: Likewise.
34231 * debug/wcstombs_chk.c: Likewise.
34232 * debug/wmemcpy_chk.c: Likewise.
34233 * debug/wmemmove_chk.c: Likewise.
34234 * debug/wmempcpy_chk.c: Likewise.
34235 * debug/wmemset_chk.c: Likewise.
34236 * dirent/scandirat.c (SCANDIRAT): Likewise.
34237 * dlfcn/dladdr1.c (dladdr1): Likewise.
34238 * dlfcn/dladdr.c (dladdr): Likewise.
34239 * dlfcn/dlclose.c (dlclose_doit): Likewise.
34240 * dlfcn/dlerror.c (__dlerror): Likewise.
34241 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
34242 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
34243 * dlfcn/dlopen.c (dlopen_doit): Likewise.
34244 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
34245 * dlfcn/dlsym.c (dlsym_doit): Likewise.
34246 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
34247 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
34248 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
34249 Likewise.
34250 * elf/dl-conflict.c: Likewise.
34251 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34252 * elf/dl-dst.h: Likewise.
34253 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
34254 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
34255 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34256 * elf/dl-init.c (call_init, _dl_init): Likewise.
34257 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
34258 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
34259 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
34260 Likewise.
34261 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
34262 Likewise.
34263 * elf/dl-minimal.c (__libc_memalign): Likewise.
34264 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
34265 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34266 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
34267 * elf/dl-sym.c (do_sym): Likewise.
34268 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
34269 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
34270 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
34271 * elf/dl-writev.h (_dl_writev): Likewise.
34272 * elf/ldconfig.c (search_dir): Likewise.
34273 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
34274 (dl_main): Likewise.
34275 * elf/setup-vdso.h (setup_vdso): Likewise.
34276 * grp/compat-initgroups.c (compat_call): Likewise.
34277 * grp/fgetgrent.c (fgetgrent): Likewise.
34278 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
34279 * grp/putgrent.c (putgrent): Likewise.
34280 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34281 Likewise.
34282 * hurd/hurdinit.c: Likewise.
34283 * iconvdata/8bit-gap.c (struct): Likewise.
34284 * iconvdata/ansi_x3.110.c : Likewise.
34285 * iconvdata/big5.c : Likewise.
34286 * iconvdata/big5hkscs.c : Likewise.
34287 * iconvdata/cp1255.c: Likewise.
34288 * iconvdata/cp1258.c : Likewise.
34289 * iconvdata/cp932.c : Likewise.
34290 * iconvdata/euc-cn.c: Likewise.
34291 * iconvdata/euc-jisx0213.c : Likewise.
34292 * iconvdata/euc-jp.c: Likewise.
34293 * iconvdata/euc-jp-ms.c : Likewise.
34294 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
34295 * iconvdata/gb18030.c : Likewise.
34296 * iconvdata/gbbig5.c (const): Likewise.
34297 * iconvdata/gbgbk.c: Likewise.
34298 * iconvdata/gbk.c : Likewise.
34299 * iconvdata/ibm1364.c : Likewise.
34300 * iconvdata/ibm930.c : Likewise.
34301 * iconvdata/ibm932.c: Likewise.
34302 * iconvdata/ibm933.c : Likewise.
34303 * iconvdata/ibm935.c : Likewise.
34304 * iconvdata/ibm937.c : Likewise.
34305 * iconvdata/ibm939.c : Likewise.
34306 * iconvdata/ibm943.c: Likewise.
34307 * iconvdata/iso_11548-1.c: Likewise.
34308 * iconvdata/iso-2022-cn.c : Likewise.
34309 * iconvdata/iso-2022-cn-ext.c : Likewise.
34310 * iconvdata/iso-2022-jp-3.c: Likewise.
34311 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
34312 * iconvdata/iso-2022-kr.c : Likewise.
34313 * iconvdata/iso646.c (gconv_end): Likewise.
34314 * iconvdata/iso_6937-2.c : Likewise.
34315 * iconvdata/iso_6937.c : Likewise.
34316 * iconvdata/iso8859-1.c: Likewise.
34317 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
34318 * iconvdata/shift_jisx0213.c : Likewise.
34319 * iconvdata/sjis.c : Likewise.
34320 * iconvdata/t.61.c : Likewise.
34321 * iconvdata/tcvn5712-1.c : Likewise.
34322 * iconvdata/tscii.c: Likewise.
34323 * iconvdata/uhc.c : Likewise.
34324 * iconvdata/unicode.c (gconv_end): Likewise.
34325 * iconvdata/utf-16.c (gconv_end): Likewise.
34326 * iconvdata/utf-32.c (gconv_end): Likewise.
34327 * iconvdata/utf-7.c (base64): Likewise.
34328 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34329 * iconv/gconv_close.c (__gconv_close): Likewise.
34330 * iconv/gconv_open.c (__gconv_open): Likewise.
34331 * iconv/gconv_simple.c (internal_ucs4_loop_single)
34332 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
34333 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
34334 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
34335 (ucs4le_internal_loop_single): Likewise.
34336 * iconv/iconv.c (iconv): Likewise.
34337 * iconv/iconv_close.c: Likewise.
34338 * iconv/loop.c (SINGLE): Likewise.
34339 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
34340 * include/atomic.h: Likewise.
34341 * inet/inet6_option.c (option_alloc): Likewise.
34342 * intl/bindtextdom.c (set_binding_values): Likewise.
34343 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
34344 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
34345 * intl/localealias.c (read_alias_file): Likewise.
34346 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
34347 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
34348 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
34349 * libio/fmemopen.c (fmemopen): Likewise.
34350 * libio/iofgets.c (_IO_fgets): Likewise.
34351 * libio/iofgets_u.c (fgets_unlocked): Likewise.
34352 * libio/iofgetws.c (fgetws): Likewise.
34353 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
34354 * libio/iogetdelim.c (_IO_getdelim): Likewise.
34355 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
34356 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
34357 * locale/findlocale.c (_nl_find_locale): Likewise.
34358 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34359 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
34360 Likewise.
34361 * locale/setlocale.c (setlocale): Likewise.
34362 * login/programs/pt_chown.c (main): Likewise.
34363 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
34364 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
34365 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
34366 (mmap, mmap64, mremap, munmap): Likewise.
34367 * math/e_exp2l.c: Likewise.
34368 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
34369 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
34370 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
34371 * math/s_catan.c (__catan): Likewise.
34372 * math/s_catanf.c (__catanf): Likewise.
34373 * math/s_catanh.c (__catanh): Likewise.
34374 * math/s_catanhf.c (__catanhf): Likewise.
34375 * math/s_catanhl.c (__catanhl): Likewise.
34376 * math/s_catanl.c (__catanl): Likewise.
34377 * math/s_ccosh.c (__ccosh): Likewise.
34378 * math/s_ccoshf.c (__ccoshf): Likewise.
34379 * math/s_ccoshl.c (__ccoshl): Likewise.
34380 * math/s_cexp.c (__cexp): Likewise.
34381 * math/s_cexpf.c (__cexpf): Likewise.
34382 * math/s_cexpl.c (__cexpl): Likewise.
34383 * math/s_clog10.c (__clog10): Likewise.
34384 * math/s_clog10f.c (__clog10f): Likewise.
34385 * math/s_clog10l.c (__clog10l): Likewise.
34386 * math/s_clog.c (__clog): Likewise.
34387 * math/s_clogf.c (__clogf): Likewise.
34388 * math/s_clogl.c (__clogl): Likewise.
34389 * math/s_csin.c (__csin): Likewise.
34390 * math/s_csinf.c (__csinf): Likewise.
34391 * math/s_csinh.c (__csinh): Likewise.
34392 * math/s_csinhf.c (__csinhf): Likewise.
34393 * math/s_csinhl.c (__csinhl): Likewise.
34394 * math/s_csinl.c (__csinl): Likewise.
34395 * math/s_csqrt.c (__csqrt): Likewise.
34396 * math/s_csqrtf.c (__csqrtf): Likewise.
34397 * math/s_csqrtl.c (__csqrtl): Likewise.
34398 * math/s_ctan.c (__ctan): Likewise.
34399 * math/s_ctanf.c (__ctanf): Likewise.
34400 * math/s_ctanh.c (__ctanh): Likewise.
34401 * math/s_ctanhf.c (__ctanhf): Likewise.
34402 * math/s_ctanhl.c (__ctanhl): Likewise.
34403 * math/s_ctanl.c (__ctanl): Likewise.
34404 * math/w_pow.c: Likewise.
34405 * math/w_powf.c: Likewise.
34406 * math/w_powl.c: Likewise.
34407 * math/w_scalb.c (sysv_scalb): Likewise.
34408 * math/w_scalbf.c (sysv_scalbf): Likewise.
34409 * math/w_scalbl.c (sysv_scalbl): Likewise.
34410 * misc/error.c (error_tail): Likewise.
34411 * misc/pselect.c (__pselect): Likewise.
34412 * nis/nis_callback.c (__nis_create_callback): Likewise.
34413 * nis/nis_call.c (__nisfind_server): Likewise.
34414 * nis/nis_creategroup.c (nis_creategroup): Likewise.
34415 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
34416 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
34417 * nis/nis_getservlist.c (nis_getservlist): Likewise.
34418 * nis/nis_lookup.c (nis_lookup): Likewise.
34419 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
34420 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
34421 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
34422 * nis/nis_xdr.c (xdr_endpoint): Likewise.
34423 * nis/nss_compat/compat-grp.c (getgrent_next_file)
34424 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
34425 * nis/nss_compat/compat-initgroups.c (add_group)
34426 (internal_getgrent_r): Likewise.
34427 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
34428 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
34429 * nis/nss_compat/compat-spwd.c (getspent_next_file)
34430 (internal_getspnam_r): Likewise.
34431 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
34432 (_nss_nis_getaliasbyname_r): Likewise.
34433 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
34434 (_nss_nis_getntohost_r): Likewise.
34435 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
34436 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
34437 (_nss_nis_getgrgid_r): Likewise.
34438 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
34439 (internal_nis_gethostent_r, internal_gethostbyname2_r)
34440 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
34441 (_nss_nis_gethostbyname4_r): Likewise.
34442 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
34443 (initgroups_netid): Likewise.
34444 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
34445 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
34446 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
34447 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
34448 (_nss_nis_getprotobynumber_r): Likewise.
34449 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
34450 (_nss_nis_getsecretkey): Likewise.
34451 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
34452 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
34453 (_nss_nis_getpwuid_r): Likewise.
34454 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
34455 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
34456 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
34457 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
34458 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
34459 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
34460 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
34461 Likewise.
34462 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
34463 (_nss_nisplus_getntohost_r): Likewise.
34464 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
34465 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
34466 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
34467 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
34468 Likewise.
34469 * nis/nss_nisplus/nisplus-initgroups.c
34470 (_nss_nisplus_initgroups_dyn): Likewise.
34471 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
34472 (_nss_nisplus_getnetbyaddr_r): Likewise.
34473 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
34474 (_nss_nisplus_getprotobynumber_r): Likewise.
34475 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
34476 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
34477 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
34478 Likewise.
34479 * nis/nss_nisplus/nisplus-service.c
34480 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
34481 (_nss_nisplus_getservbyport_r): Likewise.
34482 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
34483 (_nss_nisplus_getspnam_r): Likewise.
34484 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
34485 Likewise.
34486 * nscd/aicache.c (addhstaiX): Likewise.
34487 * nscd/cache.c (cache_search, prune_cache): Likewise.
34488 * nscd/connections.c (register_traced_file, send_ro_fd)
34489 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
34490 (main_loop_epoll): Likewise.
34491 * nscd/grpcache.c (addgrbyX): Likewise.
34492 * nscd/hstcache.c (addhstbyX): Likewise.
34493 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34494 * nscd/mem.c (gc, mempool_alloc): Likewise.
34495 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
34496 (addinnetgrX): Likewise.
34497 * nscd/nscd-client.h (__nscd_acquire_maplock)
34498 (__nscd_drop_map_ref): Likewise.
34499 * nscd/nscd_getai.c (__nscd_getai): Likewise.
34500 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34501 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
34502 Likewise.
34503 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34504 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34505 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
34506 (__nscd_get_map_ref): Likewise.
34507 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34508 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
34509 Likewise.
34510 * nscd/pwdcache.c (addpwbyX): Likewise.
34511 * nscd/selinux.c (preserve_capabilities): Likewise.
34512 * nscd/servicescache.c (addservbyX): Likewise.
34513 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
34514 * posix/fnmatch.c (fnmatch): Likewise.
34515 * posix/getopt.c (_getopt_internal_r): Likewise.
34516 * posix/glob.c (glob, glob_in_dir): Likewise.
34517 * posix/wordexp.c (exec_comm_child): Likewise.
34518 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
34519 (getanswer_r, gaih_getanswer_slice): Likewise.
34520 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
34521 * resolv/res_init.c: Likewise.
34522 * resolv/res_mkquery.c (res_nmkquery): Likewise.
34523 * resolv/res_query.c (__libc_res_nquery): Likewise.
34524 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
34525 Likewise.
34526 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
34527 * stdio-common/perror.c (perror): Likewise.
34528 * stdio-common/printf_fp.c (___printf_fp): Likewise.
34529 * stdio-common/tmpnam.c (tmpnam): Likewise.
34530 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34531 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
34532 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34533 Likewise.
34534 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
34535 * stdlib/putenv.c (putenv): Likewise.
34536 * stdlib/setenv.c (__add_to_environ): Likewise.
34537 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34538 * stdlib/strtol_l.c (INTERNAL): Likewise.
34539 * string/memmem.c (memmem): Likewise.
34540 * string/strerror.c (strerror): Likewise.
34541 * string/strnlen.c (__strnlen): Likewise.
34542 * string/test-memmem.c (simple_memmem): Likewise.
34543 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
34544 * sunrpc/pm_getport.c (__get_socket): Likewise.
34545 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
34546 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
34547 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
34548 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
34549 Likewise.
34550 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
34551 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34552 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34553 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
34554 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34555 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
34556 Likewise.
34557 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
34558 Likewise.
34559 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34560 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34561 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34562 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34563 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
34564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
34565 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34566 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
34567 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34568 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
34569 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34570 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
34571 Likewise.
34572 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
34573 Likewise.
34574 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
34575 Likewise.
34576 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
34577 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34578 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
34579 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
34580 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
34581 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
34582 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34583 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
34584 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
34585 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
34586 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
34587 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34588 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34589 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
34590 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34591 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34592 Likewise.
34593 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
34594 Likewise.
34595 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
34596 Likewise.
34597 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
34598 Likewise.
34599 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34600 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34601 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
34602 Likewise.
34603 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
34604 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
34605 * sysdeps/posix/opendir.c (__opendirat): Likewise.
34606 * sysdeps/posix/sleep.c: Likewise.
34607 * sysdeps/posix/tempname.c: Likewise.
34608 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
34609 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34610 Likewise.
34611 * sysdeps/powerpc/powerpc32/dl-machine.h
34612 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
34613 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34614 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34615 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
34616 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
34617 Likewise.
34618 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
34619 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
34620 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34621 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
34622 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34623 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
34624 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
34625 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
34626 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34627 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
34628 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
34629 (elf_machine_lazy_rel): Likewise.
34630 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34631 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
34632 (elf_machine_lazy_rel): Likewise.
34633 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
34634 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
34635 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
34636 * sysdeps/unix/grantpt.c (grantpt): Likewise.
34637 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
34638 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
34639 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34640 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34641 Likewise.
34642 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
34643 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
34644 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
34645 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
34646 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34647 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34648 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
34649 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
34650 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
34651 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34652 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34653 Likewise.
34654 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
34655 (__posix_fallocate64_l64): Likewise.
34656 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
34657 (posix_fallocate): Likewise.
34658 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
34659 Likewise.
34660 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34661 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
34662 (getifaddrs_internal): Likewise.
34663 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
34664 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
34665 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
34666 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34667 * sysdeps/unix/sysv/linux/posix_fallocate64.c
34668 (__posix_fallocate64_l64): Likewise.
34669 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34670 Likewise.
34671 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
34672 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
34673 (__get_clockfreq): Likewise.
34674 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
34675 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34676 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
34677 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34678 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34679 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
34680 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
34681 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
34682 Likewise.
34683 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
34684 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
34685 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
34686 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
34687 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34688 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
34689 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
34690 Likewise.
34691 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34692 (posix_fallocate): Likewise.
34693 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34694 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
34695 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
34696 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
34697 (elf_machine_rela, elf_machine_rela_relative)
34698 (elf_machine_lazy_rel): Likewise.
34699 * time/asctime.c (asctime_internal): Likewise.
34700 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
34701 * time/tzset.c (__tzset_parse_tz): Likewise.
34702 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34703 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
34704 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
34705 * wcsmbs/wcsmbsload.h: Likewise.
34706
34707 [BZ #15894]
34708 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
34709
34710 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
34711 (arena_get2): Remove THREAD_STATS conditionals.
34712 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
34713 (__malloc_stats, int): Likewise.
34714
34715 2014-02-08 Mike Frysinger <vapier@gentoo.org>
34716
34717 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
34718 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
34719
34720 * manual/setjmp.texi: Fix typos/grammar errors.
34721
34722 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
34723 Only return early when n is <= 0. Delete unused return statement.
34724
34725 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
34726 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
34727 * debug/tst-longjmp_chk3.c: New file.
34728
34729 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
34730 (test_main): Replace code with set_fortify_handler call.
34731 * debug/test-strcpy_chk.c: Likewise.
34732 * debug/tst-chk1.c: Likewise.
34733 * debug/tst-longjmp_chk.c: Likewise.
34734 * test-skeleton.c: Include fcntl.h & paths.h
34735 (set_fortify_handler): Define.
34736
34737 * debug/tst-longjmp_chk.c: Add header comment and include
34738 ../test-skeleton.c.
34739 (do_test): Mark static.
34740 (TEST_FUNCTION): Define.
34741
34742 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
34743 (IP_PMTUDISC_INTERFACE): Likewise.
34744 (IP_MULTICAST_IF): Likewise.
34745 (IP_MULTICAST_TTL): Likewise.
34746 (IP_MULTICAST_LOOP): Likewise.
34747 (IP_ADD_MEMBERSHIP): Likewise.
34748 (IP_DROP_MEMBERSHIP): Likewise.
34749 (IP_UNBLOCK_SOURCE): Likewise.
34750 (IP_BLOCK_SOURCE): Likewise.
34751 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
34752 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
34753 (IP_MSFILTER): Likewise.
34754 (MCAST_JOIN_GROUP): Likewise.
34755 (MCAST_BLOCK_SOURCE): Likewise.
34756 (MCAST_UNBLOCK_SOURCE): Likewise.
34757 (MCAST_LEAVE_GROUP): Likewise.
34758 (MCAST_JOIN_SOURCE_GROUP): Likewise.
34759 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34760 (MCAST_MSFILTER): Likewise.
34761 (IP_MULTICAST_ALL): Likewise.
34762 (IP_UNICAST_IF): Likewise.
34763
34764 * timezone/Makefile: Delete $(have-ksh) check.
34765 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
34766 * timezone/tzselect.ksh: Add +x mode bits.
34767
34768 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
34769 (ANON_INODE_FS_MAGIC): Likewise.
34770 (BDEVFS_MAGIC): Likewise.
34771 (BINFMTFS_MAGIC): Likewise.
34772 (BTRFS_TEST_MAGIC): Likewise.
34773 (CRAMFS_MAGIC_WEND): Likewise.
34774 (DEBUGFS_MAGIC): Likewise.
34775 (ECRYPTFS_SUPER_MAGIC): Likewise.
34776 (EXT3_SUPER_MAGIC): Likewise.
34777 (EXT4_SUPER_MAGIC): Likewise.
34778 (FUTEXFS_SUPER_MAGIC): Likewise.
34779 (HOSTFS_SUPER_MAGIC): Likewise.
34780 (HUGETLBFS_MAGIC): Likewise.
34781 (MINIX3_SUPER_MAGIC): Likewise.
34782 (MTD_INODE_FS_MAGIC): Likewise.
34783 (NILFS_SUPER_MAGIC): Likewise.
34784 (OPENPROM_SUPER_MAGIC): Likewise.
34785 (PIPEFS_MAGIC): Likewise.
34786 (PSTOREFS_MAGIC): Likewise.
34787 (QNX6_SUPER_MAGIC): Likewise.
34788 (RAMFS_MAGIC): Likewise.
34789 (REISERFS_SUPER_MAGIC_STRING): Likewise.
34790 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
34791 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
34792 (SECURITYFS_MAGIC): Likewise.
34793 (SELINUX_MAGIC): Likewise.
34794 (SMACK_MAGIC): Likewise.
34795 (SOCKFS_MAGIC): Likewise.
34796 (SQUASHFS_MAGIC): Likewise.
34797 (STACK_END_MAGIC): Likewise.
34798 (TMPFS_MAGIC): Likewise.
34799 (USBDEVICE_SUPER_MAGIC): Likewise.
34800 (V9FS_MAGIC): Likewise.
34801 (XENFS_SUPER_MAGIC): Likewise.
34802 (CRAMFS_MAGIC): Fix typo in comment.
34803 (EXT2_SUPER_MAGIC): Update comment.
34804 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
34805
34806 2014-02-08 Joseph Myers <joseph@codesourcery.com>
34807
34808 * sysdeps/arm: Move directory from ports/sysdeps/arm.
34809 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
34810 * sysdeps/unix/sysv/linux/arm: Move directory from
34811 ports/sysdeps/unix/sysv/linux/arm.
34812 * README: Update listing for arm-*-linux-gnueabi.
34813
34814 * README: Remove mention of am33.
34815
34816 2014-02-07 Roland McGrath <roland@hack.frob.com>
34817
34818 * bits/sigset.h (__sigemptyset): Use a statement expression rather
34819 than the comma operator, to avoid "rhs of comma has no effect"
34820 compiler warnings.
34821 (__sigfillset, __sigandset, __sigorset): Likewise.
34822 * include/signal.h (__sigemptyset): Likewise.
34823 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
34824
34825 2014-02-07 Allan McRae <allan@archlinux.org>
34826
34827 * version.h (RELEASE): Set to "development".
34828 (VERSION): Set to "2.19.90"
34829 * NEWS: Add 2.20 section.
34830
34831 2014-02-06 Carlos O'Donell <carlos@redhat.com>
34832
34833 [BZ #16529]
34834 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
34835
34836 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34837
34838 * manual/contrib.texi: Update entry for Carlos O'Donell,
34839 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
34840
34841 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
34842
34843 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
34844
34845 * sysdeps/unix/sysv/linux/kernel-features.h
34846 [__LINUX_KERNEL_VERSION >= 0x020621]
34847 (__ASSUME_PROC_PID_TASK_COMM): Define.
34848
34849 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34850
34851 [BZ #16398]
34852 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
34853 conversion when destination buffer does not have enough space.
34854 * libio/tst-ftell-partial-wide.c: New test case.
34855 * libio/Makefile (tests): Add tst-ftell-partial-wide.
34856
34857 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
34858 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
34859 Leonard and Allan McRae.
34860
34861 2014-02-04 David S. Miller <davem@davemloft.net>
34862
34863 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
34864 32-bit.
34865
34866 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34867
34868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34869 New file
34870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34871 New file
34872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34873 New file.
34874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34875 New file.
34876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34877 New file.
34878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34879 New file.
34880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34881 New file.
34882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34883 New file.
34884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34885 New file.
34886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34887 New file.
34888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34889 New file.
34890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34891 New file.
34892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34893 New file.
34894
34895 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34896
34897 * nptl/shlib-versions: Change powerpc*le start to 2.17.
34898 * shlib-versions: Likewise.
34899
34900 2014-02-04 Roland McGrath <roland@hack.frob.com>
34901 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34902
34903 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
34904 (abilist-pattern): New variable, set to %-le.abilist.
34905
34906 * Makerules (abilist-pattern): New variable.
34907 (vpath): Use $(abilist-pattern) in place of %.abilist.
34908 (check-abi-% pattern rule): Likewise.
34909 (check-abi, update-abi): Likewise.
34910
34911 2014-02-04 Eric Wong <normalperson@yhbt.net>
34912
34913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34914
34915 2014-02-03 Carlos O'Donell <carlos@redhat.com>
34916
34917 * manual/startup.texi: Add next, previous, and top entries for
34918 the `Program Arguments' and `Environment Variables' nodes.
34919
34920 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
34921
34922 * manual/macros.texi: Add comments before MTASC-safety macros.
34923
34924 * manual/users.texi: Document MTASC-safety properties.
34925
34926 * manual/threads.texi (pthread_key_create, pthread_key_delete)
34927 (pthread_getspecific, pthread_setspecific): Format with
34928 @deftypefun, and add @safety note.
34929 * manual/signal.texi: Move comments that analyze the above
34930 functions to their home place.
34931
34932 2014-02-03 Allan McRae <allan@archlinux.org>
34933
34934 * po/sl.po: Update Slovenian translation from translation project.
34935
34936 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
34937
34938 * manual/time.texi (timegm): Add missing blank after @c.
34939 Reported by Joseph Myers <joseph@codesourcery.com>.
34940
34941 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
34942
34943 * manual/check-safety.sh: New.
34944 * manual/Makefile ($(objpfx)stamp-summary): Run it.
34945
34946 * manual/terminal.texi: Document MTASC-safety properties.
34947
34948 * manual/filesys.texi: Document MTASC-safety properties.
34949
34950 * manual/errno.texi: Document MTASC-safety properties.
34951
34952 * manual/intro.texi: Document safety identifiers and
34953 conditionals.
34954
34955 * manual/string.texi (wcstok): Fix prototype.
34956 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
34957
34958 * manual/time.texi: Document MTASC-safety properties.
34959
34960 * manual/string.texi: Document MTASC-safety properties.
34961
34962 * manual/threads.texi: Document MTASC-safety properties.
34963
34964 * manual/stdio.texi: Document MTASC-safety properties.
34965
34966 * manual/syslog.texi: Document MTASC-safety properties.
34967
34968 * manual/sysinfo.texi: Document MTASC-safety properties.
34969
34970 * manual/startup.texi: Document MTASC-safety properties.
34971
34972 * manual/socket.texi: Document MTASC-safety properties.
34973
34974 * manual/signal.texi: Document MTASC-safety properties.
34975
34976 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
34977
34978 * manual/setjmp.texi: Document MTASC-safety properties.
34979
34980 * manual/search.texi: Document MTASC-safety properties.
34981
34982 * manual/resource.texi: Document MTASC-safety properties.
34983
34984 * manual/process.texi: Document MTASC-safety properties.
34985
34986 * manual/platform.texi: Document MTASC-safety properties.
34987
34988 * manual/pipe.texi: Document MTASC-safety properties.
34989
34990 * manual/pattern.texi: Document MTASC-safety properties.
34991
34992 * manual/message.texi: Document MTASC-safety properties.
34993
34994 [BZ #12751]
34995 * manual/memory.texi: Document MTASC-safety properties.
34996
34997 * manual/math.texi: Document MTASC-safety properties.
34998
34999 * manual/locale.texi: Document MTASC-safety properties.
35000
35001 * manual/llio.texi: Document MTASC-safety properties.
35002
35003 * manual/libdl.texi: New.
35004
35005 * manual/lang.texi: Document MTASC-safety properties.
35006
35007 * manual/job.texi: Document MTASC-safety properties.
35008
35009 * manual/getopt.texi: Document MTASC-safety properties.
35010
35011 * manual/ctype.texi: Document MTASC-safety properties.
35012
35013 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
35014
35015 [BZ #16046]
35016 * csu/libc-tls.c (static_map): Remove variable.
35017 (__libc_setup_tls): Use main executable's link map for TLS data.
35018 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
35019 casing for LM_ID_BASE and GL(dl_nns).
35020 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
35021 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
35022 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
35023 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
35024 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
35025 member.
35026 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
35027 l_phnum members.
35028
35029 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
35030
35031 * manual/debug.texi: Document MTASC-safety properties.
35032
35033 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
35034
35035 [BZ #16510]
35036 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
35037 of __x86_64__ when disabling x87 inline functions.
35038
35039 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
35040
35041 * manual/charset.texi: Document MTASC-safety properties.
35042
35043 * manual/crypt.texi: Document MTASC-safety properties.
35044
35045 * manual/conf.texi: Document MTASC-safety properties.
35046
35047 * manual/arith.texi: Document MTASC-safety properties.
35048
35049 * manual/argp.texi: Document MTASC-safety properties.
35050
35051 * manual/macros.texi: Introduce macros to document multi
35052 thread, asynchronous signal and asynchronous cancellation
35053 safety properties.
35054 * manual/intro.texi: Introduce the properties themselves.
35055
35056 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35057
35058 * sysdeps/sh/sh4/Makefile: New file.
35059
35060 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
35061
35062 * math/gen-libm-test.pl ($srcdir): New variable.
35063 ($auto_input): Use it.
35064
35065 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35066
35067 [BZ #16506]
35068 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
35069 access beyond array bounds when parsing netgroups file.
35070
35071 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
35072 the old buffer before realloc.
35073
35074 2014-01-27 Allan McRae <allan@archlinux.org>
35075
35076 * po/fr.po: Update French translation from translation project.
35077
35078 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35079
35080 * sysdeps/sh/libm-test-ulps: Regenerate.
35081
35082 2014-01-24 David S. Miller <davem@davemloft.net>
35083
35084 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
35085
35086 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35087
35088 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
35089 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
35090
35091 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
35092
35093 [BZ #16474]
35094 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
35095 string pointers after reallocation.
35096
35097 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35098
35099 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
35100 __SH4A__ instead of __SH_FPU_ANY__.
35101
35102 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35103
35104 * sysdeps/sh/fpu_control.h: New file.
35105 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
35106 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
35107 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
35108 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
35109 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
35110 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
35111 * sysdeps/sh/sys/ucontext.h: Remove.
35112 * sysdeps/sh/sys: Remove directory.
35113
35114 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35115
35116 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
35117 s390/sys/ucontext.h.
35118 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
35119 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
35120
35121 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
35122
35123 [BZ #15605]
35124 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
35125
35126 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35127
35128 [BZ#16431]
35129 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35130 Adjust the vDSO correctly for internal calls.
35131 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
35132
35133 2014-01-20 Allan McRae <allan@archlinux.org>
35134
35135 * po/ca.po: Update Catalan translation from translation project.
35136
35137 2014-01-16 Mike Frysinger <vapier@gentoo.org>
35138
35139 * sysdeps/s390/sotruss-lib.c: New file.
35140
35141 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35142
35143 [BZ#16430]
35144 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
35145 (__GI___gettimeofday): Alias for a different internal symbol to avoid
35146 local calls issues by not having a PLT stub required for IFUNC calls.
35147 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
35148
35149 2014-01-16 Joseph Myers <joseph@codesourcery.com>
35150
35151 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
35152 * math/test-fpucw-static.c: Likewise.
35153
35154 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35155
35156 [BZ #16453]
35157 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
35158
35159 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35160
35161 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
35162 implementation for powerpc.
35163
35164 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
35165
35166 [BZ #14782]
35167 * sysdeps/posix/system.c (__libc_system): Do not enable
35168 asynchronous cancellation.
35169
35170 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35171
35172 [BZ #16427]
35173 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
35174 handling only for numbers special also in the IEEE case.
35175
35176 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35177
35178 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35179
35180 2014-01-11 Allan McRae <allan@archlinux.org>
35181
35182 * po/bg.po: Update Bulgarian translation from translation project.
35183
35184 * po/de.po: Update German translation from translation project.
35185
35186 2014-01-10 Roland McGrath <roland@hack.frob.com>
35187
35188 * sysdeps/generic/gcc-compat.h: New file.
35189
35190 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35191
35192 * benchtests/asin-inputs: Correct slow inputs.
35193 * benchtests/acos-inputs: Likewise.
35194
35195 2014-01-10 Allan McRae <allan@archlinux.org>
35196
35197 * po:sv.po: Update Swedish translation from translation project.
35198
35199 * po/vi.po: Update Vietnamese translation from translation project.
35200
35201 * po/eo.po: Update Esperanto translation from translation project.
35202
35203 * po/cs.po: Update Czech translation from translation project.
35204
35205 * po/nl.po: Update Dutch translation from translation project.
35206
35207 * po/pl.po: Update Polish translation from translation project.
35208
35209 * po/ru.po: Update Russian translation from translation project.
35210
35211 * po/uk.po: Update Ukrainian translation from translation project.
35212
35213 2014-01-08 Brooks Moses <bmoses@google.com>
35214
35215 * elf/dl-load.c: Fix comment typo.
35216
35217 2014-01-08 Carlos O'Donell <carlos@redhat.com>
35218
35219 * po/header.pot: Rename to...
35220 * po/pot.header: ... this.
35221 * po/Makefile: Use pot.header.
35222
35223 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
35224 Maxim Kuvyrkov <maxim@kugelworks.com>
35225
35226 [BZ #16394]
35227 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
35228 SRC and DEST against LEN.
35229
35230 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35231
35232 [BZ #16414]
35233 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
35234 implementation.
35235 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
35236
35237 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35238
35239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35240
35241 2014-01-08 Joseph Myers <joseph@codesourcery.com>
35242
35243 [BZ #16408]
35244 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
35245 for large positive arguments.
35246
35247 2014-01-07 Joseph Myers <joseph@codesourcery.com>
35248
35249 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35250
35251 * math/auto-libm-test-in: Mark various tests with
35252 xfail-rounding:ldbl-128ibm.
35253 * math/auto-libm-test-out: Regenerated.
35254
35255 [BZ #16407]
35256 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35257 Increase overflow threshold.
35258
35259 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
35260
35261 [BZ #14286]
35262 * stdio-common/vfprintf.c: Check for integer overflow.
35263
35264 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35265
35266 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
35267 the first argument and return value of __tls_get_addr_internal.
35268
35269 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35270
35271 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
35272 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
35273
35274 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35275
35276 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
35277 * sysdeps/s390/rtld-global-offsets.sym: New file.
35278 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
35279 GLIBC_2.19 symbol.
35280 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
35281 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
35282 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35283 ... this.
35284 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
35285 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35286 ... this.
35287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35288 Regenerate.
35289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35290 Regenerate.
35291 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
35292 halfs of GPRs for high_gprs contexts.
35293 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
35294 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
35295 field.
35296 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
35297 uc_flags field.
35298 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
35299 64 bit versions:
35300 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
35301 for high GPRs (uc_high_gprs) and for future extensions
35302 (__reserved).
35303 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
35304 for future extensions (__reserved).
35305 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
35306 64 bit versions:
35307 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
35308 SC_HIGHGPRS offset definition.
35309 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
35310 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
35311
35312 * Versions.def: Add GLIBC_2.19 for libpthread.
35313 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
35314 siglongjmp for libpthread with GLIBC_2.19 symver.
35315 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
35316 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
35317 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
35318 * sysdeps/s390/__longjmp.c: New file.
35319 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
35320 * sysdeps/s390/longjmp.c: New file.
35321 * sysdeps/s390/setjmp.S: New file.
35322 * sysdeps/s390/sigjmp.S: New file.
35323 * sysdeps/s390/v1-longjmp.c: New file.
35324 * sysdeps/s390/v1-setjmp.h: New file.
35325 * sysdeps/s390/v1-sigjmp.c: New file.
35326 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
35327 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
35328 GLIBC_2.19 version.
35329 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
35330 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
35331 versioned symbols for ____longjmp_chk.
35332 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35333 Likewise.
35334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35335 Regenerate.
35336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35337 Regenerate.
35338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35339 Regenerate.
35340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35341 Regenerate.
35342 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
35343 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
35344 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
35345 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
35346 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
35347 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
35348 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
35349 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
35350 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
35351 * sysdeps/s390/rtld-__longjmp.c: New file.
35352 * sysdeps/s390/rtld-setjmp.S: New file.
35353
35354 2014-01-06 Joseph Myers <joseph@codesourcery.com>
35355
35356 [BZ #16400]
35357 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35358 Return -__logl (x) for small positive arguments without evaluating
35359 a polynomial.
35360
35361 2014-01-06 Mike Frysinger <vapier@gentoo.org>
35362
35363 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
35364 Rename to ...
35365 (__ptrace_peeksiginfo_args): ... this.
35366 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35367 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35368 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35369
35370 2014-01-06 Allan McRae <allan@archlinux.org>
35371
35372 * inet/netinet/in.h: Fix typo in comment.
35373
35374 2014-01-05 Andreas Jaeger <aj@suse.de>
35375
35376 * sysdeps/i386/fpu/libm-test-ulps: Update.
35377
35378 2014-01-05 Allan McRae <allan@archlinux.org>
35379
35380 * po/libc.pot: Regenerated.
35381
35382 * malloc/memusagestat.c: Fix gettext call formatting.
35383
35384 2014-01-04 Sami Kerola <kerolasa@iki.fi>
35385
35386 * nscd/nscd.c: Improve usage() output.
35387
35388 2014-01-04 Mike Frysinger <vapier@gentoo.org>
35389
35390 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
35391 * sysdeps/unix/sysv/linux/configure: Regenerated.
35392 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
35393 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
35394
35395 2014-01-03 Joseph Myers <joseph@codesourcery.com>
35396
35397 [BZ #16390]
35398 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35399 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
35400
35401 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35402
35403 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
35404 extra tokens at end of #undef directive.
35405 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
35406 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
35407 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35408
35409 2014-01-03 Joseph Myers <joseph@codesourcery.com>
35410
35411 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35412
35413 * math/auto-libm-test-in: Mark various tests with
35414 xfail-rounding:ldbl-128ibm.
35415 * math/auto-libm-test-out: Regenerated.
35416
35417 2014-01-02 Joseph Myers <joseph@codesourcery.com>
35418
35419 [BZ #16386]
35420 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
35421 numbers with subnormal high part when calculating exponent.
35422
35423 [BZ #16385]
35424 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
35425 fabs.
35426
35427 [BZ #16384]
35428 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
35429 M_LN2l.
35430 (__ieee754_acoshl): Use __log1pl not __log1p.
35431
35432 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
35433
35434 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
35435 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
35436 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
35437 (grow_heap, heap_trim, _int_new_arena, get_free_list)
35438 (reused_arena, arena_get2): Convert to GNU style.
35439 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
35440 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
35441 (memalign_check, __malloc_set_state): Likewise.
35442 * malloc/mallocbug.c (main): Likewise.
35443 * malloc/malloc.c (__malloc_assert, malloc_init_state)
35444 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
35445 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
35446 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
35447 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
35448 (__posix_memalign, malloc_info): Likewise.
35449 * malloc/malloc.h: Likewise.
35450 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
35451 (mallochook, memalignhook, reallochook, mabort): Likewise.
35452 * malloc/mcheck.h: Likewise.
35453 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
35454 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
35455 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
35456 * malloc/morecore.c (__default_morecore): Likewise.
35457 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
35458 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
35459 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
35460 (print_and_abort): Likewise.
35461 * malloc/obstack.h: Likewise.
35462 * malloc/set-freeres.c (__libc_freeres): Likewise.
35463 * malloc/tst-mallocstate.c (main): Likewise.
35464 * malloc/tst-mtrace.c (main): Likewise.
35465 * malloc/tst-realloc.c (do_test): Likewise.
35466
35467 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35468
35469 [BZ #16366]
35470 * nscd/netgroupcache.c (do_notfound): New function.
35471 (addgetnetgrentX): Use it.
35472
35473 [BZ # 16365]
35474 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
35475 NSS_STATUS_NOTFOUND.
35476
35477 2014-01-01 Joseph Myers <joseph@codesourcery.com>
35478
35479 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35481
35482 2014-01-01 Allan McRae <allan@archlinux.org>
35483
35484 * scripts/update-copyrights: Update configure input file suffix.
35485
35486 * NEWS: Update copyright year.
35487 * catgets/gencat.c: Likewise.
35488 * csu/version.c: Likewise.
35489 * debug/catchsegv.sh: Likewise.
35490 * debug/pcprofiledump.c: Likewise.
35491 * debug/xtrace.sh: Likewise.
35492 * elf/ldconfig.c: Likewise.
35493 * elf/ldd.bash.in: Likewise.
35494 * elf/pldd.c: Likewise.
35495 * elf/sotruss.ksh: Likewise.
35496 * elf/sprof.c: Likewise.
35497 * iconv/iconv_prog.c: Likewise.
35498 * iconv/iconvconfig.c: Likewise.
35499 * locale/programs/locale.c: Likewise.
35500 * locale/programs/localedef.c: Likewise.
35501 * login/programs/pt_chown.c: Likewise.
35502 * malloc/memusage.sh: Likewise.
35503 * malloc/memusagestat.c: Likewise.
35504 * malloc/mtrace.pl: Likewise.
35505 * manual/libc.texinfo: Likewise.
35506 * nscd/nscd.c: Likewise.
35507 * nss/getent.c: Likewise.
35508 * nss/makedb.c: Likewise.
35509 * posix/getconf.c: Likewise.
35510 * scripts/test-installation.pl: Likewise.
35511
35512 * All files with FSF copyright notices: Update copyright dates
35513 using scripts/update-copyrights.
35514 * intl/plural.c: Regenerated.
35515 * locale/programs/charmap-kw.h: Likewise.
35516 * locale/programs/locfile-kw.h: Likewise.
35517
35518 2013-12-31 Mike Frysinger <vapier@gentoo.org>
35519
35520 * sysdeps/unix/sysv/linux/configure: Regenerated.
35521 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
35522 the linux/fanotify.h header.
35523 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
35524 HAVE_LINUX_FANOTIFY_H is defined.
35525
35526 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35527
35528 * benchtests/cos-inputs: New inputs.
35529 * benchtests/sin-inputs: Likewise.
35530
35531 * benchtests/atan-inputs: New inputs. Fix name of multiple
35532 precision fallback inputs.
35533
35534 * benchtests/atanh-inputs: New inputs.
35535 * benchtests/tanh-inputs: Likewise.
35536
35537 * benchtests/acosh-inputs: New inputs.
35538 * benchtests/asinh-inputs: Likewise.
35539
35540 * benchtests/cosh-inputs: New inputs.
35541 * benchtests/sinh-inputs: Likewise.
35542
35543 * benchtests/acos-inputs: Add more inputs.
35544 * benchtests/asin-inputs: Likewise.
35545
35546 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
35547
35548 [BZ #16375]
35549 * manual/arith.texi: Fix spelling.
35550 * manual/charset.texi: Likewise.
35551 * manual/errno.texi: Likewise.
35552 * manual/filesys.texi: Likewise.
35553 * manual/lang.texi: Likewise.
35554 * manual/llio.texi: Likewise.
35555 * manual/locale.texi: Likewise.
35556 * manual/message.texi: Likewise.
35557 * manual/resource.texi: Likewise.
35558 * manual/search.texi: Likewise.
35559 * manual/setjmp.texi: Likewise.
35560 * manual/stdio.texi: Likewise.
35561 * manual/string.texi: Likewise.
35562 * manual/sysinfo.texi: Likewise.
35563 * manual/time.texi: Likewise.
35564
35565 2013-12-27 Carlos O'Donell <carlos@redhat.com>
35566
35567 * po/sl.po: New file.
35568
35569 2013-12-27 Mike Frysinger <vapier@gentoo.org>
35570
35571 * .gitignore: Add core/.gdbinit/.gdb_history.
35572
35573 2013-12-27 Allan McRae <allan@archlinux.org>
35574
35575 [BZ #16369]
35576 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
35577 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
35578
35579 2013-12-24 Brooks Moses <bmoses@google.com>
35580
35581 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
35582 all compilers that claim C++98 compliance, not just GCC.
35583 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35584 Likewise.
35585
35586 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
35587
35588 * NEWS: Restore accidentally deleted bug-fix entries.
35589
35590 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
35591 Ondřej Bílka <neleai@seznam.cz>
35592
35593 [BZ #15073]
35594 * malloc/malloc.c (_int_free): Perform sanity check only if we
35595 have_lock.
35596
35597 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
35598
35599 [BZ #12986]
35600 * manual/stdio.texi (String Input Conversions): Clarify that character
35601 classes are not supported.
35602
35603 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35604
35605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35606
35607 2013-12-22 Joseph Myers <joseph@codesourcery.com>
35608
35609 [BZ #16337]
35610 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35611 Calculate results for small negative arguments directly rather
35612 than using reflection formula with special underflow handling.
35613
35614 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
35615 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
35616 sysdeps/unix/bsd/bsd4.4/syscalls.list.
35617 (fchflags): Likewise.
35618 (revoke): Likewise.
35619 (setlogin): Likewise.
35620 (sigaltstack): Likewise.
35621 (wait4): Likewise.
35622 (sigblock): Remove.
35623 (sigsetmask): Likewise.
35624 (wait3): Likewise.
35625 (waitpid): Likewise.
35626 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
35627 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
35628 file.
35629 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
35630 * sysdeps/unix/bsd/Makefile: ... here.
35631 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
35632 * sysdeps/unix/bsd/Versions: ... here.
35633 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
35634 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
35635 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
35636 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
35637 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
35638 * sysdeps/unix/bsd/sigblock.c: ... here.
35639 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
35640 * sysdeps/unix/bsd/sigsetmask.c: ... here.
35641 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
35642 * sysdeps/unix/bsd/sigvec.c: ... here.
35643 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
35644 * sysdeps/unix/bsd/tcdrain.c: ... here.
35645 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
35646 * sysdeps/unix/bsd/tcgetattr.c: ... here.
35647 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
35648 * sysdeps/unix/bsd/tcsetattr.c: ... here.
35649 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
35650 * sysdeps/unix/bsd/wait.c: ... here.
35651 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
35652 * sysdeps/unix/bsd/wait3.c: ... here.
35653 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
35654 * sysdeps/unix/bsd/waitpid.c: ... here.
35655
35656 2013-12-21 Joseph Myers <joseph@codesourcery.com>
35657
35658 [BZ #16356]
35659 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
35660 round-to-nearest for [!USE_AS_EXPM1L].
35661 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
35662 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
35663 more tests of exp and exp10. Expect some exp10 tests to miss
35664 exceptions or fail in directed rounding modes.
35665 * math/auto-libm-test-out: Regenerated.
35666 * math/libm-test.inc (exp10_tonearest_test_data): New array.
35667 (exp10_test_tonearest): New function.
35668 (exp10_towardzero_test_data): New array.
35669 (exp10_test_towardzero): New function.
35670 (exp10_downward_test_data): New array.
35671 (exp10_test_downward): New function.
35672 (exp10_upward_test_data): New array.
35673 (exp10_test_upward): New function.
35674 (main): Call the new functions.
35675 * sysdeps/i386/fpu/libm-test-ulps: Update.
35676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35677
35678 2013-12-20 Joseph Myers <joseph@codesourcery.com>
35679
35680 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
35681 asinh, atan, atan2, atanh, cbrt, cos and cosh.
35682 * math/auto-libm-test-out: Regenerated.
35683 * math/libm-test.inc (acosh_test_data): Add more tests.
35684 (atanh_test_data): Likewise.
35685 (ceil_test_data): Likewise.
35686 (copysign_test_data): Likewise.
35687 * sysdeps/i386/fpu/libm-test-ulps: Update.
35688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35689
35690 * timezone/checktab.awk: Update from tzcode 2013i.
35691 * timezone/private.h: Likewise.
35692 * timezone/scheck.c: Likewise.
35693 * timezone/tzfile.h: Likewise.
35694 * timezone/tzselect.ksh: Likewise.
35695 * timezone/zdump.c: Likewise.
35696 * timezone/zic.c: Likewise.
35697
35698 * math/auto-libm-test-in: Add tests of cpow.
35699 * math/auto-libm-test-out: Regenerated.
35700 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
35701 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35702 mpc_cc_c.
35703 (func_calc_desc): Add mpc_cc_c union field.
35704 (test_functions): Add cpow.
35705 (special_fill_2pi): New function.
35706 (special_real_inputs): Add 2pi.
35707 (calc_generic_results): Handle mpc_cc_c.
35708 * sysdeps/i386/fpu/libm-test-ulps: Update.
35709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35710
35711 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
35712 csqrt, ctan and ctanh.
35713 * math/auto-libm-test-out: Regenerated.
35714 * math/libm-test.inc (TEST_COND_x86_64): New macro.
35715 (TEST_COND_x86): Likewise.
35716 (ccos_test_data): Use AUTO_TESTS_c_c.
35717 (ccosh_test_data): Likewise.
35718 (cexp_test_data): Likewise.
35719 (clog_test_data): Likewise.
35720 (csqrt_test_data): Likewise.
35721 (ctan_test_data): Likewise.
35722 (ctan_tonearest_test_data): Likewise.
35723 (ctan_towardzero_test_data): Likewise.
35724 (ctan_downward_test_data): Likewise.
35725 (ctan_upward_test_data): Likewise.
35726 (ctanh_test_data): Likewise.
35727 (ctanh_tonearest_test_data): Likewise.
35728 (ctanh_towardzero_test_data): Likewise.
35729 (ctanh_downward_test_data): Likewise.
35730 (ctanh_upward_test_data): Likewise.
35731 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35732 mpc_c_c.
35733 (func_calc_desc): Add mpc_c_c union field.
35734 (FUNC_mpc_c_c): New macro.
35735 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
35736 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
35737 ctanh.
35738 (special_fill_min_subnorm_p120): New function.
35739 (special_real_inputs): Add min_subnorm_p120.
35740 (calc_generic_results): Handle mpc_c_c.
35741 * sysdeps/i386/fpu/libm-test-ulps: Update.
35742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35743
35744 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35745
35746 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
35747 (do_sin_slow): New functions.
35748 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
35749 (cslow2, csloww1, csloww2): Use the new functions.
35750
35751 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
35752 Use M to change sign of result instead of X. Assume X is
35753 positive.
35754 (csloww1): Likewise.
35755 (__sin): Adjust.
35756 (__cos): Adjust.
35757
35758 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
35759 arguments A and DA.
35760 (__sin): Adjust.
35761 (__cos): Likewise.
35762
35763 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
35764 (__cos): Likewise.
35765 (sloww1): Don't adjust sign of DX.
35766 (csloww1): Likewise.
35767 (sloww2): Use X directly and don't adjust sign of DX.
35768 (csloww2): Likewise.
35769
35770 2013-12-19 Joseph Myers <joseph@codesourcery.com>
35771
35772 * math/auto-libm-test-in: Add tests of cabs and carg.
35773 * math/auto-libm-test-out: Regenerated.
35774 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
35775 (carg_test_data): Likewise.
35776 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35777 mpc_c_f.
35778 (func_calc_desc): Add mpc_c_f union field.
35779 (test_functions): Add cabs and carg.
35780 (calc_generic_results): Handle mpc_c_f.
35781
35782 * sysdeps/powerpc/powerpc32/libgcc-compat.S
35783 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
35784 as a macro and a compat symbol.
35785 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35786 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35787 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35788 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35789 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
35790 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
35791 not use .hidden.
35792 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
35793 Likewise.
35794 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
35795 Likewise.
35796 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
35797 Likewise.
35798 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
35799 Likewise.
35800 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
35801 Likewise.
35802 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
35803 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
35804 from GLIBC_2.3.2.
35805
35806 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35807
35808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35809
35810 2013-12-19 Joseph Myers <joseph@codesourcery.com>
35811
35812 * manual/texinfo.tex: Update to version 2013-11-26.10 with
35813 trailing whitespace removed.
35814 * scripts/config.guess: Update to version 2013-11-29.
35815 * scripts/config.sub: Update to version 2013-10-01.
35816
35817 * math/auto-libm-test-in: Add tests of sincos.
35818 * math/auto-libm-test-out: Regenerated.
35819 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
35820 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35821 mpfr_f_11.
35822 (func_calc_desc): Add mpfr_f_11 union field.
35823 (test_functions): Add sincos.
35824 (calc_generic_results): Handle mpfr_f_11.
35825 * sysdeps/i386/fpu/libm-test-ulps: Update.
35826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35827
35828 2013-12-19 Andreas Schwab <schwab@suse.de>
35829
35830 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
35831 CALL_MCOUNT.
35832 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35833 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
35834 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
35835
35836 2013-12-19 Joseph Myers <joseph@codesourcery.com>
35837
35838 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
35839 * sysdeps/i386/fpu/libm-test-ulps: Update.
35840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35841
35842 [BZ #16293]
35843 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
35844 round-to-nearest mode when using frndint.
35845 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
35846 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35847 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35848 Likewise.
35849 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
35850 sinh test to fail.
35851 * math/auto-libm-test-out: Regenerated.
35852 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
35853 (TEST_COND_x86): Likewise.
35854 (expm1_tonearest_test_data): New array.
35855 (expm1_test_tonearest): New function.
35856 (expm1_towardzero_test_data): New array.
35857 (expm1_test_towardzero): New function.
35858 (expm1_downward_test_data): New array.
35859 (expm1_test_downward): New function.
35860 (expm1_upward_test_data): New array.
35861 (expm1_test_upward): New function.
35862 (main): Run the new test functions.
35863 * sysdeps/i386/fpu/libm-test-ulps: Update.
35864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35865
35866 * include/features.h: Update comment documenting feature test
35867 macros. Mention _DEFAULT_SOURCE in comment.
35868 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
35869 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
35870 _BSD_SOURCE and _SVID_SOURCE.
35871 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
35872 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
35873 !_SVID_SOURCE]: Likewise.
35874 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35875 (__USE_POSIX_IMPLICITLY): Define.
35876 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35877 (_POSIX_SOURCE): Undefine and redefine.
35878 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35879 (_POSIX_C_SOURCE): Likewise.
35880 * manual/creature.texi (_DEFAULT_SOURCE): Document.
35881 (Feature Test Macros): Update documentation of default features.
35882
35883 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35884
35885 * benchtests/Makefile: Add bench-strtok.
35886 * benchtests/bench-strtok.c: New file: strtok benchtest.
35887
35888 2013-12-19 Allan McRae <allan@archlinux.org>
35889
35890 * manual/install.texi: Suppress menu for plain text output.
35891 * INSTALL: Regenerated.
35892
35893 2013-12-18 Brooks Moses <bmoses@google.com>
35894
35895 [BZ #15846]
35896 * misc/getauxval.c: Include errno.h.
35897 (__getauxval): Set errno to ENOENT if the requested type is not
35898 found.
35899 * misc/sys/auxv.h (getauxval): Document that it may set errno;
35900 don't declare with __attribute_const__.
35901 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
35902 * manual/startup.texi: Document that getauxval sets errno.
35903
35904 2013-12-18 Joseph Myers <joseph@codesourcery.com>
35905
35906 * math/auto-libm-test-in: Add tests of jn and yn.
35907 * math/auto-libm-test-out: Regenerated.
35908 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
35909 (yn_test_data): Likewise.
35910 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35911 mpfr_if_f.
35912 (func_calc_desc): Add mpfr_if_f union field.
35913 (FUNC_mpfr_if_f): New macro.
35914 (test_functions): Add jn and yn.
35915 (calc_generic_results): Assert type of second input for
35916 mpfr_ff_f. Handle mpfr_if_f.
35917 (output_for_one_input_case): Disable all checking for arguments
35918 fitting floating-point types in case of an integer argument.
35919 * sysdeps/i386/fpu/libm-test-ulps: Update.
35920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35921
35922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35923 Don't expect fegetround reference in libm.so.
35924
35925 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35926
35927 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
35928 $(config-cflags-nofma).
35929
35930 2013-12-18 Joseph Myers <joseph@codesourcery.com>
35931
35932 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
35933 * math/auto-libm-test-out: Regenerated.
35934
35935 [BZ #16338]
35936 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
35937 to determine exponent and adjust argument to have exponent of -1.
35938 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
35939 log2.
35940 * math/auto-libm-test-out: Regenerated.
35941 * sysdeps/i386/fpu/libm-test-ulps: Update.
35942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35943
35944 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
35945
35946 * manual/probes.texi: Remove cases when per-thread arenas are
35947 disabled.
35948
35949 2013-12-18 Andreas Schwab <schwab@suse.de>
35950
35951 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
35952 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
35953 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
35954 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
35955 * sysdeps/i386/i686/multiarch/Makefile: Update.
35956 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
35957
35958 2013-12-17 Joseph Myers <joseph@codesourcery.com>
35959
35960 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
35961 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
35962
35963 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
35964
35965 [BZ #15968]
35966 Support TZ transition times < 00:00:00.
35967 This is needed for version-3 tz-format files; it supports time
35968 stamps past 2037 for America/Godthab (the only entry in the tz
35969 database for which this change is relevant).
35970 * manual/time.texi (TZ Variable): Document transition times
35971 from -167:59:59 through -00:00:01.
35972 * time/tzset.c (tz_rule): Time of day is now signed.
35973 (__tzset_parse_tz): Parse negative time of day.
35974
35975 Document TZ transition times >= 25:00:00.
35976 * manual/time.texi (TZ Variable): Document transition times from
35977 25:00:00 through 167:59:59. These are already supported, and this
35978 support will help with version-3 tz-format files.
35979
35980 * manual/time.texi (TZ Variable): Modernize North America example
35981 to reflect current (i.e., 2007-and-later) daylight saving rules.
35982
35983 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
35984
35985 2013-12-17 Joseph Myers <joseph@codesourcery.com>
35986
35987 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
35988 * sysdeps/unix/bsd/bits/stat.h: Likewise.
35989 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
35990 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35991 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
35992 * sysdeps/unix/bsd/bsdstat.h: Likewise.
35993 * sysdeps/unix/bsd/clock.c: Likewise.
35994 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
35995 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
35996 * sysdeps/unix/bsd/init-posix.c: Likewise.
35997 * sysdeps/unix/bsd/poll.c: Likewise.
35998 * sysdeps/unix/bsd/ptsname.c: Likewise.
35999 * sysdeps/unix/bsd/seekdir.c: Likewise.
36000 * sysdeps/unix/bsd/setegid.c: Likewise.
36001 * sysdeps/unix/bsd/seteuid.c: Likewise.
36002 * sysdeps/unix/bsd/setgid.c: Likewise.
36003 * sysdeps/unix/bsd/setrgid.c: Likewise.
36004 * sysdeps/unix/bsd/setruid.c: Likewise.
36005 * sysdeps/unix/bsd/setsid.c: Likewise.
36006 * sysdeps/unix/bsd/setuid.c: Likewise.
36007 * sysdeps/unix/bsd/sigaction.c: Likewise.
36008 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
36009 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
36010 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
36011 * sysdeps/unix/bsd/telldir.c: Likewise.
36012 * sysdeps/unix/bsd/times.c: Likewise.
36013 * sysdeps/unix/bsd/usleep.c: Likewise.
36014
36015 * misc/Makefile (install-lib): Remove libbsd-compat.a.
36016 ($(objpfx)libbsd-compat.a): Remove rule.
36017
36018 * include/features.h (__FAVOR_BSD): Do not define.
36019 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
36020 features conflicting with POSIX.
36021 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
36022 (_BSD_SOURCE): Remove description of not being a subset of other
36023 feature test macros.
36024 * manual/job.texi (getpgrp): Do not document BSD version.
36025 (getpgid): Do not document by reference to BSD getpgrp.
36026 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
36027 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
36028 * signal/signal.h [__FAVOR_BSD]: Likewise.
36029 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
36030 instead of making contents conditional on [__FAVOR_BSD].
36031 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
36032
36033 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36034
36035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36036
36037 2013-12-17 Joseph Myers <joseph@codesourcery.com>
36038
36039 [BZ #16314]
36040 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
36041 values below 2**-450, not 2**-500.
36042 * math/auto-libm-test-in: Don't allow spurious underflow from
36043 hypot.
36044 * math/auto-libm-test-out: Regenerated.
36045
36046 [BZ #16316]
36047 [BZ #16330]
36048 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
36049 values of ha and hb and sort them after adjusting subnormal
36050 arguments.
36051 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36052 Likewise.
36053 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
36054 values of ea and eb and sort them after adjusting subnormal
36055 arguments.
36056 * math/auto-libm-test-in: Do not expect some hypot tests of
36057 subnormals to fail. Add more hypot tests.
36058 * math/auto-libm-test-out: Regenerated.
36059
36060 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36061
36062 [BZ #13304]
36063 * sysdeps/sh/s_fma.c: New file.
36064 * sysdeps/sh/s_fmaf.c: New file.
36065 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
36066 version.
36067 * sysdeps/sh/Implies: Add sh/soft-fp.
36068
36069 2013-12-16 Roland McGrath <roland@hack.frob.com>
36070
36071 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
36072 level of indirection to members `objname', `errstring', `malloced'.
36073 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
36074 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
36075 it as the __longjmp argument (just pass 1 instead).
36076 (_dl_catch_error): Initialize C with argument pointers and address of
36077 volatile local ERRCODE rather than copying values out of C at return.
36078
36079 2013-12-16 Joseph Myers <joseph@codesourcery.com>
36080
36081 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
36082 * math/auto-libm-test-out: Regenerated.
36083 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
36084 (hypot_test_data): Likewise.
36085 (pow_test_data): Likewise.
36086 (pow_tonearest_test_data): Likewise.
36087 * math/gen-auto-libm-tests.c (func_calc_method): Add value
36088 mpfr_ff_f.
36089 (func_calc_desc): Add mpfr_ff_f union field.
36090 (FUNC_mpfr_ff_f): New macro.
36091 (test_functions): Add atan2, hypot and pow.
36092 (special_fill_min): New function.
36093 (special_fill_minus_min): Likewise.
36094 (special_fill_min_subnorm): Likewise.
36095 (special_fill_minus_min_subnorm): Likewise.
36096 (special_real_inputs): Add min, -min, min_subnorm and
36097 -min_subnorm.
36098 (calc_generic_results): Handle mpfr_ff_f.
36099 * sysdeps/i386/fpu/libm-test-ulps: Update.
36100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36101
36102 2013-12-16 Will Newton <will.newton@linaro.org>
36103
36104 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
36105 (Aligned Memory Blocks): Add documentation for aligned_alloc
36106 and suggest it as an alternative to posix_memalign.
36107 (Hooks for Malloc): Document __memalign_hook is also called
36108 for aligned_alloc. (Summary of Malloc): Add summary for
36109 aligned alloc. Document __memalign_hook is also called
36110 for aligned_alloc.
36111
36112 2013-12-16 Will Newton <will.newton@linaro.org>
36113
36114 * manual/memory.texi (Malloc Examples): Clarify default
36115 alignment documentation. Suggest posix_memalign rather
36116 than memalign or valloc.
36117 (Aligned Memory Blocks): Remove suggestion to use memalign
36118 or valloc. Remove obsolete comment about BSD.
36119 Document memalign errno values and mark the function obsolete.
36120 Document posix_memalign returned error codes. Mark valloc
36121 as obsolete. (Hooks for Malloc): __memalign_hook is also
36122 called for posix_memalign and valloc.
36123 (Summary of Malloc): Add posix_memalign to function summary.
36124 __memalign_hook is also called for posix_memalign and valloc.
36125
36126 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36127
36128 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
36129 TAYLOR_SIN.
36130 (__sin): Adjust.
36131 (__cos): Likewise.
36132 (sloww): Use mynumber union. Expand ternary operator into
36133 if-else statements.
36134 (cslow): use mynumber union.
36135
36136 2013-12-16 Allan McRae <allan@archlinux.org>
36137
36138 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
36139 * configure: Regenerated.
36140
36141 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
36142
36143 [BZ #14120]
36144 * configure.ac: Added --enable-maintainer-mode. Check for
36145 autoconf when enabled.
36146 * configure: Regenerated.
36147
36148 * nscd/nscd.service: New file.
36149 * nscd/nscd.tmpfiles: New file.
36150
36151 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
36152
36153 [BZ #12100]
36154 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
36155 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
36156 * sysdeps/x86_64/multiarch/strstr.c: ... here.
36157 (strstr): Add __strstr_sse2_unaligned ifunc.
36158 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
36159 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
36160 (strcasestr): Remove __strcasestr_sse42 ifunc.
36161 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
36162 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36163 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
36164
36165 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36166
36167 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
36168 * sysdeps/sh/bits/fenv.h: ... here.
36169 * sysdeps/sh/sh4/fpu/bits: Remove directory.
36170
36171 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36172
36173 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
36174
36175 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
36176 hypotf multiarch implementations.
36177 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
36178 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
36179 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
36180 multiarch hypot for PPC64.
36181 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
36182 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
36183 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
36184 multiarch hypotf for PPC64.
36185
36186 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
36187 modff multiarch implementations.
36188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
36189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
36190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
36191 multiarch modf for PPC64.
36192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
36193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
36194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
36195 multiarch modff for PPC64.
36196
36197 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
36198 and logl multiarch implementations.
36199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
36200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
36201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
36202 multiarch logb for PPC64.
36203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
36204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
36205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
36206 multiarch logb for PPC64.
36207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
36208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
36209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
36210 multiarch logb for PPC64.
36211
36212 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
36213 isinff multiarch implementation.
36214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
36215 file.
36216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
36217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
36218 multiarch isinf for PPC64.
36219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
36220 file.
36221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
36222 multiarch isinff for PPC64.
36223
36224 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
36225 finitef multiarch implementation.
36226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
36227 file.
36228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
36229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
36230 multiarch finite for PPC64.
36231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
36232 file.
36233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
36234 multiarch finitef for PPC64.
36235
36236 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
36237 lrint multiarch implementation.
36238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
36239 file.
36240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
36241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
36242 multiarch llrint for PPC64.
36243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
36244 multiarch lrint for PPC64.
36245
36246 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
36247 copysignf multiarch implementation.
36248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
36249 file.
36250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
36251 file.
36252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
36253 multiarch copysign for PPC64.
36254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
36255 multiarch copysignf for PPC64.
36256
36257 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
36258 multiarch implementation.
36259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
36260 file.
36261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
36262 file.
36263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
36264 file.
36265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
36266 file.
36267 multiarch llround for PPC64.
36268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
36269 multiarch trunc for PPC64.
36270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
36271 multiarch truncf for PPC64.
36272
36273 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
36274 multiarch implementation.
36275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
36276 file.
36277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
36278 file.
36279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
36280 file.
36281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
36282 file.
36283 multiarch llround for PPC64.
36284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
36285 multiarch round for PPC64.
36286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
36287 multiarch roundf for PPC64.
36288
36289 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
36290 multiarch implementation.
36291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
36292 file.
36293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
36294 file.
36295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
36296 file.
36297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
36298 file.
36299 multiarch llround for PPC64.
36300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
36301 multiarch floor for PPC64.
36302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
36303 multiarch floorf for PPC64.
36304
36305 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
36306 multiarch implementation.
36307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
36308 file.
36309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
36310 file.
36311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
36312 file.
36313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
36314 file.
36315 multiarch llround for PPC64.
36316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
36317 multiarch ceil for PPC64.
36318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
36319 multiarch ceilf for PPC64.
36320
36321 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36322 multiarch implementation.
36323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
36324 file.
36325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
36326 file.
36327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
36328 file.
36329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
36330 multiarch llround for PPC64.
36331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
36332 multiarch lround for PPC64.
36333
36334 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36335 multiarch implementation.
36336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
36337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
36338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
36339 file.
36340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
36341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
36342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
36343 multiarch isnan for PPC64.
36344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
36345 multiarch isnanf for PPC64.
36346
36347 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
36348 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
36349 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
36350 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
36351 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
36352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
36353
36354 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
36355 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36356 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36357 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36358
36359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
36360 multiarch implementations.
36361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36362 (__libc_ifunc_impl_list): Likewise.
36363 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
36364 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
36365 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
36366 multiarch stpcpy for PPC64.
36367
36368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
36369 multiarch implementations.
36370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36371 (__libc_ifunc_impl_list): Likewise.
36372 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
36373 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
36374 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
36375 multiarch strcpy for PPC64.
36376
36377 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
36378 redefine function name.
36379 (_wordcopy_fwd_dest_aligned): Likewise.
36380 (_wordcopy_bwd_aligned): Likewise.
36381 (_wordcopy_bwd_dest_aligned): Likewise.
36382 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
36383 multiarch implementations.
36384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36385 (__libc_ifunc_impl_list): Likewise.
36386 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
36387 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
36388 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
36389 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
36390 multiarch wcscpy for PPC64.
36391
36392 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
36393 multiarch implementations.
36394 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36395 (__libc_ifunc_impl_list): Likewise.
36396 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
36397 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
36398 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
36399 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
36400 multiarch wcscpy for PPC64.
36401
36402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
36403 multiarch implementations.
36404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36405 (__libc_ifunc_impl_list): Likewise.
36406 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
36407 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
36408 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
36409 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
36410 multiarch wcsrchr for PPC64.
36411
36412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
36413 multiarch implementations.
36414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36415 (__libc_ifunc_impl_list): Likewise.
36416 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
36417 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
36418 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
36419 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
36420 multiarch wcschr for PPC64.
36421
36422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
36423 multiarch implementations.
36424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36425 (__libc_ifunc_impl_list): Likewise.
36426 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
36427 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
36428 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
36429 multiarch strchrnul for PPC64.
36430
36431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
36432 implementations.
36433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36434 (__libc_ifunc_impl_list): Likewise.
36435 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
36436 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
36437 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
36438 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
36439 strchr for PPC64.
36440
36441 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
36442 implementations.
36443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36444 (__libc_ifunc_impl_list): Likewise.
36445 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
36446 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
36447 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
36448 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
36449 strncmp for PPC64.
36450
36451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
36452 multiarch implementations.
36453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36454 (__libc_ifunc_impl_list): Likewise.
36455 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
36456 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
36457 strncasecmp for PPC64.
36458 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
36459 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
36460 multiarch strncasecmp_l for PPC64.
36461
36462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
36463 multiarch implementations.
36464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36465 (__libc_ifunc_impl_list): Likewise.
36466 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
36467 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
36468 multiarch strcasecmp for PPC64.
36469 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
36470 file.
36471 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
36472 multiarch strcasecmp_l for PPC64.
36473
36474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
36475 implementations.
36476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36477 (__libc_ifunc_impl_list): Likewise.
36478 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
36479 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
36480 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
36481 strnlen for PPC64.
36482
36483 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
36484 implementations.
36485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36486 (__libc_ifunc_impl_list): Likewise.
36487 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
36488 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
36489 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
36490 strlen for PPC64.
36491
36492 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
36493 implementations.
36494 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36495 (__libc_ifunc_impl_list): Likewise.
36496 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
36497 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
36498 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
36499 rawmemrchr for PPC64.
36500
36501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
36502 implementation.
36503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36504 (__libc_ifunc_impl_list): Likewise.
36505 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
36506 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
36507 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
36508 memrchr for PPC64.
36509
36510 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
36511 implementation.
36512 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36513 (__libc_ifunc_impl_list): Likewise.
36514 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
36515 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
36516 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
36517 memchr for PPC64.
36518
36519 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
36520 implementation.
36521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36522 (__libc_ifunc_impl_list): Likewise.
36523 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
36524 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
36525 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
36526 mempcpy for PPC64.
36527
36528 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
36529 avoid cretion of __bzero symbol.
36530 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
36531 Likewise.
36532 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
36533 Likewise.
36534 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
36535 Likewise.
36536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
36537 multiarch implementations.
36538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36539 (__libc_ifunc_impl_list): Likewise.
36540 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
36541 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
36542 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
36543 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
36544 bzero for PPC32.
36545 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
36546 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
36547 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
36548 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
36549 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
36550 memset for PPC64.
36551 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
36552
36553 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
36554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
36555 implementations.
36556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36557 (__libc_ifunc_impl_list): Likewise.
36558 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
36559 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
36560 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
36561 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
36562 memcmp for PPC64.
36563
36564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
36565 multiarch for POWER/PPC64.
36566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
36567 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
36568 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
36569 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
36570 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
36571 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
36572 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
36573 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
36574 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
36575 memcpy for PPC64.
36576
36577 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
36578 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
36579 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
36580 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
36581 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
36582 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
36583 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
36584 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
36585 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
36586 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
36587 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
36588 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
36589 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
36590 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
36591 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
36592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
36593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
36594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
36595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
36596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
36597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
36598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
36599
36600 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36601
36602 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
36603
36604 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
36605
36606 * benchtests/Makefile (bench): Add exp2 and log2.
36607 (LDLIBS-bench-exp2): Add -lm.
36608 (LDLIBS-bench-log2): Likewise.
36609 * benchtests/exp2-inputs: New inputs file.
36610 * benchtests/log2-inputs: New inputs file.
36611 * benchtests/log-inputs: Add new inputs.
36612 * benchtests/tan-inputs: Likewise.
36613
36614 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36615
36616 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
36617 definition...
36618 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
36619 (csloww2): ... from here.
36620
36621 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
36622 instead of structures.
36623 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
36624 (POLYNOMIAL): Likewise.
36625 (TAYLOR_SLOW): Likewise.
36626 (__sin): Likewise.
36627 (__cos): Likewise.
36628 (slow1): Likewise.
36629 (slow2): Likewise.
36630 (sloww): Likewise.
36631 (sloww1); Likewise.
36632 (sloww2): Likewise.
36633 (bsloww1): Likewise.
36634 (bsloww2): Likewise.
36635 (cslow2): Likewise.
36636 (csloww): Likewise.
36637 (csloww1): Likewise.
36638 (csloww2): Likewise.
36639
36640 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
36641
36642 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
36643 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
36644 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
36645 * malloc/hooks.c (realloc_check): Likewise.
36646
36647 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
36648 * malloc/arena.c: Remove PER_THREAD conditional.
36649 [!PER_THREAD]: Remove code.
36650 (ptmalloc_unlock_all2): Likewise.
36651 (ptmalloc_init): Likewise.
36652 (_int_new_arena): Likewise.
36653 (arena_get2): Likewise.
36654 * malloc/hooks.c (__malloc_get_state): Likewise.
36655 (__malloc_set_state): Likewise.
36656 * malloc/malloc.c: Likewise.
36657 (struct malloc_state): Likewise.
36658 (struct malloc_par): Likewise.
36659 (__libc_realloc): Likewise.
36660 (__libc_mallopt): Likewise.
36661
36662 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36663
36664 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
36665
36666 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
36667
36668 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
36669 macro to a function. Check for zero perturb_byte.
36670 (_int_malloc, _int_free): Remove zero perturb_byte checks.
36671
36672 * malloc/malloc.c: (force_reg): Remove.
36673 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
36674 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
36675 force_reg by atomic_forced_read.
36676 * malloc/arena.c (ptmalloc_init): Likewise.
36677 * malloc/hooks.c (top_check): Likewise.
36678
36679 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36680
36681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36682
36683 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
36684
36685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36686
36687 2013-12-08 Joseph Myers <joseph@codesourcery.com>
36688
36689 * math/auto-libm-test-in: Add tests of lgamma.
36690 * math/auto-libm-test-out: Regenerated.
36691 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
36692 (M_LOG_2_SQRT_PIl): Likewise.
36693 (lgamma_test_data): Use AUTO_TESTS_f_f1.
36694 * math/gen-auto-libm-tests.c (func_calc_method): Add value
36695 mpfr_f_f1.
36696 (func_calc_desc): Add mpfr_f_f1 union field.
36697 (ARGS1): New macro.
36698 (ARGS2): Likewise.
36699 (ARGS3): Likewise.
36700 (ARGS4): Likewise.
36701 (RET1): Likewise.
36702 (RET2): Likewise.
36703 (CALC): Likewise.
36704 (FUNC): Likewise.
36705 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
36706 (test_functions): Add lgamma.
36707 (calc_generic_results): Handle mpfr_f_f1.
36708 * sysdeps/i386/fpu/libm-test-ulps: Update.
36709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36710
36711 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36712
36713 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
36714 __mpn_add_n for PowerPC64/POWER7.
36715 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
36716 __mpn_sub_n for PowerPC64/POWER7.
36717
36718 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
36719 __mpn_addmul_1 for PowerPC64.
36720 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
36721 __mpn_submul_1 for PowerPC64.
36722 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
36723 for PowerPC64.
36724 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
36725 for PowerPC64.
36726
36727 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
36728
36729 [BZ #15089]
36730 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
36731
36732 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36733
36734 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
36735
36736 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
36737 add multiarch folders.
36738 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
36739 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
36740 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
36741 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
36742 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
36743 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
36744 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
36745 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
36746 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
36747 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
36748 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
36749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
36750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
36751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
36752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
36753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
36754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
36755
36756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36757 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
36758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
36759 New file.
36760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
36761 New file.
36762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
36763 multiarch __ieee754_hypot for PowerPC32.
36764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
36765 New file.
36766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
36767 New file.
36768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
36769 multiarch __ieee754_hypotf for PowerPC32.
36770
36771 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
36772 long_double_symbol only if __logbl is defined.
36773 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
36774 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
36775 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
36776 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
36777 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
36778 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
36779 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
36780 path for implementation.
36781 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
36782 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
36783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
36784 logb, and logbl multiarch implementations for PowerPC32.
36785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
36786 file.
36787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
36788 file.
36789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
36790 multiarch logb for PowerPC32.
36791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
36792 file.
36793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
36794 file.
36795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
36796 multiarch logbf for PowerPC32.
36797 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
36798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
36799 file.
36800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
36801 multiarch logbl implementation for PowerPC32.
36802
36803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
36804 and modff multiarch implementations.
36805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
36806 New file.
36807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
36808 New file.
36809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
36810 multiarch modf for PowerPC32.
36811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
36812 New file.
36813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
36814 New file.
36815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
36816 multiarch modff for PowerPC32.
36817
36818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
36819 and lrintf multiarch implementations.
36820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
36821 New file.
36822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
36823 New file.
36824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
36825 multiarch lrint for PowerPC32.
36826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
36827 file: multiarch lrintf for PowerPC32.
36828
36829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
36830 and lroundf multiarch implementations.
36831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
36832 New file.
36833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
36834 New file.
36835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
36836 New file.
36837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
36838 multiarch lround for PowerPC32.
36839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
36840 file: multiarch lroundf for PowerPC32.
36841
36842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36843 copysign and copysignf multiarch implementations.
36844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
36845 New file.
36846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
36847 New file.
36848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
36849 file: multiarch copysign for PowerPC32.
36850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
36851 file: multiarch copysignf for PowerPC32.
36852
36853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
36854 and truncf multiarch implementations.
36855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
36856 New file.
36857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
36858 file.
36859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
36860 multiarch trunc for PowerPC32.
36861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
36862 New file.
36863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
36864 New file.
36865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
36866 multiarch truncf for PowerPC32.
36867
36868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
36869 and roundf multiarch implementations.
36870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
36871 New file.
36872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
36873 file.
36874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
36875 multiarch round for PowerPC32.
36876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
36877 New file.
36878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
36879 New file.
36880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
36881 multiarch roundf for PowerPC32.
36882
36883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
36884 and floorf multiarch implementations.
36885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
36886 New file.
36887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
36888 file.
36889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
36890 multiarch floor for PowerPC32.
36891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
36892 New file.
36893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
36894 New file.
36895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
36896 multiarch floorf for PowerPC32.
36897
36898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
36899 and ceilf multiarch implementations.
36900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
36901 New file.
36902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
36903 file.
36904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
36905 multiarch ceil for PowerPC32.
36906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
36907 New file.
36908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
36909 file.
36910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
36911 multiarch ceilf for PowerPC32.
36912
36913 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
36914 is defined.
36915 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
36916 FINITEF is defined.
36917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
36918 and finitef multiarch implementations.
36919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
36920 New file.
36921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
36922 file.
36923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
36924 multiarch finite for PowerPC32.
36925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
36926 New file.
36927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
36928 file: multiarch finitef for PowerPC32.
36929
36930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
36931 and isinff multiarch implementations.
36932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
36933 file.
36934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
36935 file.
36936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
36937 multiarch isinf for PowerPC32.
36938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
36939 New file.
36940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
36941 multiarch isinff for PowerPC32.
36942
36943 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
36944 alias when __isnan is defined.
36945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
36946 and isnanf multiarch implementations.
36947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
36948 file.
36949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
36950 file.
36951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
36952 file.
36953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
36954 file.
36955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
36956 multiarch isnan for PowerPC32.
36957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
36958 New file.
36959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
36960 New file.
36961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
36962 multiarch isnanf for PowerPC32.
36963
36964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
36965 and sqrtf multiarch implementations.
36966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
36967 file.
36968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
36969 file.
36970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
36971 multiarch sqrt for PowerPC32.
36972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
36973 file.
36974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
36975 file.
36976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
36977 multiarch sqrtf for PowerPC32.
36978
36979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
36980 and llroundf multiarch implementations.
36981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
36982 New file.
36983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
36984 New file.
36985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
36986 New file.
36987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
36988 file: multiarch llround for PowerPC32.
36989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
36990 file: multiarch llroundf for PowerPC32.
36991
36992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
36993 multiarch PowerPC32 fpu implementations.
36994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
36995 New file.
36996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
36997 New file.
36998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
36999 multiarch llrint for PowerPC32.
37000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
37001 New file.
37002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
37003 New file.
37004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
37005 file.
37006
37007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
37008
37009 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
37010 file.
37011 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
37012 file.
37013 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
37014 file.
37015 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
37016 multiarch wordcopy for PPC32.
37017 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37018 wordcopy objects.
37019 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37020 (__libc_ifunc_impl_list): Likewise.
37021 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
37022 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
37023 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
37024 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
37025 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
37026 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
37027
37028 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
37029 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
37030 file.
37031 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
37032 file.
37033 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
37034 file.
37035 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
37036 multiarch wcscpy for PPC32.
37037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37038 multiarch objects.
37039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37040 (__libc_ifunc_impl_list): Likewise.
37041 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37042 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37043 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
37044 sysdeps/powerpc/power6/wcscpy.c.
37045
37046 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
37047 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
37048 file.
37049 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
37050 file.
37051 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
37052 file.
37053 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
37054 multiarch wcsrchr for PPC32.
37055 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37056 multiarch objects.
37057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37058 (__libc_ifunc_impl_list): Likewise.
37059 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37060 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37061 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
37062 sysdeps/powerpc/power6/wcsrchr.c.
37063
37064 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
37065 file.
37066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
37067 file.
37068 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
37069 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
37070 multiarch wcschr for PPc32.
37071 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37072 multiarch objects.
37073 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37074 (__libc_ifunc_impl_list): Likewise.
37075 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
37076 * sysdeps/powerpc/power6/wcschr.c: ... to here.
37077 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
37078 sysdeps/powerpc/power6/wcschr.c.
37079
37080 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
37081 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
37082 file.
37083 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
37084 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
37085 file: multiarch strchr for PPC32.
37086 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
37087 multiarch objects.
37088 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37089 (__libc_ifunc_impl_list): Likewise.
37090
37091 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
37092 name.
37093 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
37094 file.
37095 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
37096 file.
37097 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
37098 multiarch strchrnul for PPC32.
37099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
37100 multiarch objects.
37101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37102 (__libc_ifunc_impl_list): Likewise.
37103
37104 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
37105 file.
37106 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
37107 multiarch strncasecmp for PPC32.
37108 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
37109 file.
37110 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
37111 multiarch strncasecmp_l for PPC32.
37112 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
37113 strncasecmp multiarch objects.
37114 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37115 (__libc_ifunc_impl_list): Likewise.
37116
37117 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
37118 file.
37119 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
37120 multiarch strncasecmp for PPC32.
37121 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37122 New file.
37123 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
37124 multiarch strcasecmp_l for PPC32.
37125 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
37126 multiarch objects.
37127 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37128 (__libc_ifunc_impl_list): Likewise.
37129
37130 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
37131 file.
37132 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
37133 file.
37134 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
37135 multiarch strncmp for PPC32.
37136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
37137 multiarch objects.
37138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37139 (__libc_ifunc_impl_list): Likewise.
37140
37141 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
37142 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
37143 file.
37144 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
37145 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
37146 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
37147 multiarch objects.
37148 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37149 (__libc_ifunc_impl_list): Likewise.
37150
37151 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
37152 file.
37153 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
37154 file.
37155 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
37156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
37157 multiarch objects.
37158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37159 (__libc_ifunc_impl_list): Likewise.
37160
37161 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
37162 file.
37163 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
37164 file.
37165 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
37166 multiarch rawmemchr for PPC32.
37167 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
37168 multiarch objects.
37169 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37170 (__libc_ifunc_impl_list): Likewise.
37171
37172 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
37173 file.
37174 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
37175 file.
37176 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
37177 file: memrchr multiarch for PPC32.
37178 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
37179 multiarch objects.
37180 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37181 (__libc_ifunc_impl_list): Likewise.
37182
37183 * string/memchr.c (__memchr): Using macro to redefine symbol name.
37184 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
37185 file.
37186 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
37187 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
37188 multiarch memchr for PPC32.
37189 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
37190 multiarch objects.
37191 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37192 (__libc_ifunc_impl_list): Likewise.
37193
37194 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
37195 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
37196 file.
37197 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
37198 file.
37199 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
37200 file: multiarch mempcpy for PPC32.
37201 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
37202 multiarch objects.
37203 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37204 (__libc_ifunc_impl_list): Likewise.
37205
37206 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
37207 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
37208 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
37209 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
37210 multiarch bzero for PPC32.
37211 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
37212 file.
37213 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
37214 file.
37215 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
37216 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
37217 file: multiarch memset for PPC32.
37218 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
37219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
37220 memset multiarch objects.
37221 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37222 (__libc_ifunc_impl_list): Likewise.
37223
37224 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
37225 file.
37226 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
37227 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
37228 memcmp for PPC32.
37229 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
37230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
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/memcpy-a2.S: New file.
37236 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
37237 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
37238 file.
37239 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
37240 file.
37241 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
37242 file.
37243 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
37244 multiarch memcpy for PPC32.
37245 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
37246 multiarch objects.
37247 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37248 (__libc_ifunc_impl_list): Likewise.
37249
37250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
37251 support multiarch for POWER/PPC32.
37252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
37253 Likewise.
37254 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
37256 Implies file to make multiarch folder appers before the fpu and
37257 default folder for power4 configuration.
37258
37259 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37260
37261 * scripts/bench.pl: Append volatile keyword to type.
37262
37263 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37264
37265 * sysdeps/sh/sotruss-lib.c: New file.
37266 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
37267
37268 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37269
37270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37271
37272 2013-12-05 Joseph Myers <joseph@codesourcery.com>
37273
37274 [BZ #6810]
37275 * math/w_tgamma.c: Include <errno.h>.
37276 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
37277 * math/w_tgammaf.c: Include <errno.h>.
37278 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
37279 * math/w_tgammal.c: Include <errno.h>.
37280 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
37281 * math/auto-libm-test-in: Do not allow missing errno on tgamma
37282 underflow. Add more tgamma tests.
37283 * math/auto-libm-test-out: Regenerated.
37284 * sysdeps/i386/fpu/libm-test-ulps: Update.
37285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37286
37287 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
37288 sin, sinh, tan, tanh, tgamma, y0 and y1.
37289 * math/auto-libm-test-out: Regenerated.
37290 * math/libm-test.inc (TEST_COND_x86_64): New macro.
37291 (TEST_COND_x86): Likewise.
37292 (M_E2l): Remove macro.
37293 (M_E3l): Likewise.
37294 (M_2_SQRT_PIl): Likewise.
37295 (M_SQRT_PIl): Likewise.
37296 (M_1_DIV_El): Likewise.
37297 (log_test_data): Use AUTO_TESTS_f_f.
37298 (log10_test_data): Likewise.
37299 (log1p_test_data): Likewise.
37300 (log2_test_data): Likewise.
37301 (sin_test_data): Likewise.
37302 (sin_tonearest_test_data): Likewise.
37303 (sin_towardzero_test_data): Likewise.
37304 (sin_downward_test_data): Likewise.
37305 (sin_upward_test_data): Likewise.
37306 (sinh_test_data): Likewise.
37307 (sinh_tonearest_test_data): Likewise.
37308 (sinh_towardzero_test_data): Likewise.
37309 (sinh_downward_test_data): Likewise.
37310 (sinh_upward_test_data): Likewise.
37311 (tan_test_data): Likewise.
37312 (tan_tonearest_test_data): Likewise.
37313 (tan_towardzero_test_data): Likewise.
37314 (tan_downward_test_data): Likewise.
37315 (tan_upward_test_data): Likewise.
37316 (tanh_test_data): Likewise.
37317 (tgamma_test_data): Likewise.
37318 (y0_test_data): Likewise.
37319 (y1_test_data): Likewise.
37320 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
37321 (special_real_inputs): Add pi/4.
37322 * sysdeps/i386/fpu/libm-test-ulps: Update.
37323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37324
37325 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37326
37327 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
37328 "longjmp_target" static probes.
37329 (__longjmp): Rename to __longjmp_symbol.
37330 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37331 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
37332 on which longjmp to generate.
37333 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37334 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
37335 probe.
37336 (__sigsetjmp): Rename to __sigsetjmp_symbol.
37337 (__sigjmp_save): Rename to __sigjmp_save_symbol.
37338 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37339 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
37340 and __sigjmp_save_symbol based on which sigsetjmp to generated.
37341 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
37343 __longjmp_symbol based on which __longjmp to generate.
37344 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
37345 probe.
37346 (setjmp): Rename to setjmp_symbol.
37347 (__sigsetjmp): Rename to __sigsetjmp_symbol.
37348 (_setjmp): Rename to _setjmp_symbol.
37349 (__sigsetjmp): Rename to __sigsetjmp_symbol.
37350 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
37351 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
37352 which setjmp to generate.
37353 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
37354 "longjmp_target" static probes.
37355
37356 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37357
37358 * benchtests/README: Add note about output arguments.
37359 * benchtests/bench-sincos.c: Remove file.
37360 * benchtests/sincos-inputs: New file.
37361 * scripts/bench.pl: Identify output arguments and define
37362 static variables for them.
37363
37364 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
37365
37366 [BZ #15941]
37367 * Makefile (INSTALL): Add install-plain.texi as the primary
37368 dependency.
37369 * manual/install-plain.texi: New file.
37370 * manual/install.texi: Include node directive only for
37371 non-plaintext output.
37372
37373 2013-12-04 Joseph Myers <joseph@codesourcery.com>
37374
37375 * stdlib/longlong.h: Update from GCC.
37376
37377 [BZ #6807]
37378 [BZ #15901]
37379 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
37380 * math/w_j0f.c (y0f): Likewise.
37381 * math/w_j0l.c (__y0l): Likewise.
37382 * math/w_j1.c (y1): Likewise.
37383 * math/w_j1f.c (y1f): Likewise.
37384 * math/w_j1l.c (__y1l): Likewise.
37385 * math/w_jn.c (yn): Likewise.
37386 * math/w_jnf.c (ynf): Likewise.
37387 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
37388 Bessel function pole errors in _POSIX_ mode. Use NAN as return
37389 value for Bessel function domain errors outside _SVID_ mode.
37390 Adjust sign of return value for yn (negative integer, 0).
37391 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
37392 by zero in return for negative x and set sign appropriately for
37393 negative n.
37394 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
37395 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37396 * math/libm-test.inc (y0_test_data): Add more tests and adjust
37397 expectations in error cases.
37398 (y1_test_data): Likewise.
37399 (yn_test_data): Likewise.
37400 * sysdeps/i386/fpu/libm-test-ulps: Update.
37401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37402
37403 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37404
37405 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
37406 "64" to "64-v1". Add "64-v2".
37407 (abi-64-options): Rename to ...
37408 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
37409 (abi-64-condition): Rename to ...
37410 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
37411 (abi-64-ld-soname): Rename to ...
37412 (abi-64-v1-ld-soname): ... this.
37413 (abi-64-v2-options): Define.
37414 (abi-64-v2-condition): Likewise.
37415 (abi-64-v2-ld-soname): Likewise.
37416 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
37417 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
37418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
37419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
37420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
37421
37422 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37423 Alan Modra <amodra@gmail.com>
37424
37425 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
37426 New versions for use with the ELFv2 ABI.
37427 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
37428 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
37429 declaration.
37430 (struct La_ppc64v2_retval): Likewise.
37431 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
37432 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
37433 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
37434 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
37435 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
37436 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37437 Do not save or restore CR.
37438 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
37439 (_dl_profile_resolve): Do no save or restore CR. Support extended
37440 return values for ELFv2 ABI. Fix location of FPR return registers.
37441 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
37442 updated values for _CALL_ELF == 2.
37443 (La_regs, La_retval, int_retval): Likewise.
37444
37445 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37446
37447 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
37448 (FRAME_MIN_SIZE_PARM): Likewise.
37449 (FRAME_BACKCHAIN): Likewise.
37450 (FRAME_CR_SAVE): Likewise.
37451 (FRAME_LR_SAVE): Likewise.
37452 (FRAME_TOC_SAVE): Likewise.
37453 (FRAME_PARM_SAVE): Likewise.
37454 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
37455 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
37456 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37457 (call_mcount_parm_offset): New macro.
37458 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
37459 (PROF): Use symbolic stack frame offsets.
37460 (TAIL_CALL_SYSCALL_ERROR): Likewise.
37461 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
37462 Redefine in terms of FRAME_MIN_SIZE.
37463 (_dl_runtime_resolve): Use symbolic stack frame offsets.
37464 (_dl_profile_resolve): Likewise. Update comment.
37465 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
37466 symbols stack frame offsets.
37467 (__sigsetjmp): Likewise.
37468 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
37469 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
37470 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
37471 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
37472
37473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
37474 (FRAME_BACKCHAIN): Remove.
37475 (FRAME_CR_SAVE): Likewise.
37476 (FRAME_LR_SAVE): Likewise.
37477 (FRAME_COMPILER_DW): Likewise.
37478 (FRAME_LINKER_DW): Likewise.
37479 (FRAME_TOC_SAVE): Likewise.
37480 (FRAME_PARM_SAVE): Likewise.
37481 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
37482 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
37483 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
37485 (CHECK_SP): Use symbolic stack frame offsets.
37486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
37487 zone" instead of caller's parameter save area for temp storage.
37488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37489 Likewise. Also, use symbolic stack frame offsets.
37490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
37491 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
37492 our own stack frame instead of the caller's.
37493 (__socket): Use symbolic stack frame offsets.
37494
37495 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37496 Alan Modra <amodra@gmail.com>
37497
37498 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
37499 Define.
37500 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
37501 (PPC64_LOCAL_ENTRY_OFFSET): Define.
37502 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
37503 New function.
37504 (elf_machine_fixup_plt): Call it.
37505 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
37506 reloc arguments.
37507 (elf_machine_rela): Update call to elf_machine_plt_conflict.
37508 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37509 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
37510 r2 before calling target.
37511
37512 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37513 Alan Modra <amodra@gmail.com>
37514
37515 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
37516 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
37517 versions of macros to support ELFv2 ABI.
37518 (LOCALENTRY): New macro.
37519 (ENTRY, EALIGN): Use it.
37520 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
37521 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
37522 fall through into ENTRY entry point.
37523 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
37524 Only define if _CALL_ELF != 2.
37525
37526 (elf_machine_matches_host): Verify ABI version matches.
37527 (RTLD_START): Use LOCALENTRY.
37528 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
37529 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
37530 (PLT_ENTRY_WORDS): New macro.
37531 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
37532 (elf_machine_runtime_setup): Support ELFv2 ABI.
37533 (elf_machine_fixup_plt): Likewise.
37534 (elf_machine_plt_conflict): Likewise.
37535 (resolve_ifunc): Likewise.
37536 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37537 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37538 Likewise.
37539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
37540 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
37541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37542 (makecontext): Support ELFv2 ABI.
37543 * elf/elf.h (EF_PPC64_ABI): Define.
37544
37545 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37546
37547 * sysdeps/powerpc/powerpc64/sysdep.h
37548 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
37549 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
37550 (ENTRY) [ASSEMBLER]: ... but instead here ...
37551 (EALIGN) [ASSEMBLER]: ... and here.
37552 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
37553 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
37554 (ENTRY_2) [!ASSEMBLER]: Use it.
37555 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
37556 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
37557 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37558 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
37559 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
37560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
37561 Use PPC64_LOAD_FUNCPTR.
37562
37563 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
37564
37565 2013-12-04 Alan Modra <amodra@gmail.com>
37566
37567 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
37568 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
37569 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
37570 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
37571
37572 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
37573 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
37574 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
37575 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
37576 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
37577 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
37578
37579 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37580
37581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37582 (__makecontext): Fix incorrect CFI when backtracing out of
37583 context created via makecontext.
37584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
37585 (__setcontext): Fix incorrect CFI during switch to new context.
37586 (__novec_setcontext): Likewise.
37587
37588 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
37589
37590 [BZ #4772]
37591 * time/strptime_l.c (__strptime_internal): Allow modifiers
37592 in strptime.
37593 * time/tst-strptime.c (day_tests): Add testcase.
37594
37595 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37596
37597 * scripts/bench.pl: Skip over blank lines.
37598
37599 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
37600
37601 [BZ #926]
37602 * manual/time.texi (Calendar Time): Clarify what timezone functions
37603 use.
37604
37605 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37606
37607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37608
37609 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
37610
37611 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
37612 implementation.
37613 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
37614 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
37615 * debug/memset_chk.c (__memset_chk): Likewise.
37616 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
37617 * debug/strncpy_chk.c: Likewise.
37618
37619 2013-12-03 Joseph Myers <joseph@codesourcery.com>
37620
37621 [BZ #15268]
37622 [BZ #15425]
37623 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
37624 (__ieee754_exp): For possibly underflowing results, check size of
37625 result and force underflow exception if required.
37626 * math/auto-libm-test-in: Add more tests of exp.
37627 * math/auto-libm-test-out: Regenerated.
37628 * sysdeps/i386/fpu/libm-test-ulps: Update.
37629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37630
37631 [BZ #16283]
37632 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
37633 * math/w_exp2f.c (__exp2f): Likewise.
37634 * math/w_exp2l.c (__exp2l): Likewise.
37635 * math/auto-libm-test-in: Do not allow missing errno on exp2
37636 underflow.
37637 * math/auto-libm-test-out: Regenerated.
37638
37639 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
37640
37641 [BZ #16274]
37642 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
37643 handle filename validation.
37644 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
37645 (do_open): Delete.
37646
37647 2013-12-03 Joseph Myers <joseph@codesourcery.com>
37648
37649 [BZ #6786]
37650 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
37651 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
37652 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
37653 <float.h>.
37654 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
37655 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
37656 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37657 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
37658 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37659 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
37660 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37661 * math/auto-libm-test-in: Don't allow missing errno from erfc.
37662 Add more erfc tests.
37663 * math/auto-libm-test-out: Regenerated.
37664 * sysdeps/i386/fpu/libm-test-ulps: Update.
37665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37666
37667 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
37668 exp2, expm1, j0 and j1.
37669 * math/auto-libm-test-out: Regenerated.
37670 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
37671 (erfc_test_data): Likewise.
37672 (exp_test_data): Likewise.
37673 (exp_tonearest_test_data): Likewise.
37674 (exp_towardzero_test_data): Likewise.
37675 (exp_downward_test_data): Likewise.
37676 (exp_upward_test_data): Likewise.
37677 (exp10_test_data): Likewise.
37678 (exp2_test_data): Likewise.
37679 (expm1_test_data): Likewise.
37680 (j0_test_data): Likewise.
37681 (j1_test_data): Likewise.
37682 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
37683 (input_flag_type): Add flag_xfail_rounding.
37684 (input_flags): Add xfail-rounding.
37685 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
37686 (output_for_one_input_case): Handle flag_xfail_rounding.
37687 * sysdeps/i386/fpu/libm-test-ulps: Update.
37688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37689
37690 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
37691
37692 [BZ #16289]
37693 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
37694 division by 0.
37695
37696 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37697
37698 [BZ #16195]
37699 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
37700 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
37701 (STAP_PROBE0): New macro.
37702 (STAP_PROBE1): Likewise.
37703 (STAP_PROBE2): Likewise.
37704 (STAP_PROBE3): Likewise.
37705 (STAP_PROBE4): Likewise.
37706
37707 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
37708
37709 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
37710
37711 2013-12-02 Steve Ellcey <sellcey@mips.com>
37712
37713 * benchtests/Makefile (bench): Add sqrt.
37714 (LDLIBS-bench-sqrt): New.
37715 * benchtests/sqrt-input: New.
37716
37717 2013-12-02 Pavel Simerda <psimerda@redhat.com>
37718
37719 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
37720 (GAIH_EAI): Likewise.
37721 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
37722 (gaih_inet): Likewise.
37723 (getaddrinfo): Don't use GAIH_EAI.
37724
37725 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
37726 (struct gaih): Remove definition.
37727
37728 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37729
37730 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
37731 Use HERRNOP directly.
37732
37733 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37734
37735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37736
37737 2013-11-30 Joseph Myers <joseph@codesourcery.com>
37738
37739 * math/gen-auto-libm-tests.c (test_functions): Add more
37740 single-argument functions.
37741 (special_fill_pi_2): New function.
37742 (special_fill_minus_pi_2): Likewise.
37743 (special_fill_pi_6): Likewise.
37744 (special_fill_minus_pi_6): Likewise.
37745 (special_fill_pi_3): Likewise.
37746 (special_fill_2pi_3): Likewise.
37747 (special_fill_e): Likewise.
37748 (special_fill_1_e): Likewise.
37749 (special_fill_e_minus_1): Likewise.
37750 (special_real_inputs): Add more special inputs.
37751 (output_for_one_input_case): Do not require ERANGE on underflow to
37752 zero if round-to-nearest result does not underflow to zero, unless
37753 exact results required.
37754 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
37755 atan, atanh, cbrt, cos and cosh.
37756 * math/auto-libm-test-out: Regenerated.
37757 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
37758 (acos_tonearest_test_data): Likewise.
37759 (acos_towardzero_test_data): Likewise.
37760 (acos_downward_test_data): Likewise.
37761 (acos_upward_test_data): Likewise.
37762 (acosh_test_data): Likewise.
37763 (asin_test_data): Likewise.
37764 (asin_tonearest_test_data): Likewise.
37765 (asin_towardzero_test_data): Likewise.
37766 (asin_upward_test_data): Likewise.
37767 (asinh_test_data): Likewise.
37768 (atan_test_data): Likewise.
37769 (atanh_test_data): Likewise.
37770 (cbrt_test_data): Likewise.
37771 (cos_test_data): Likewise.
37772 (cos_tonearest_test_data): Likewise.
37773 (cos_towardzero_test_data): Likewise.
37774 (cos_downward_test_data): Likewise.
37775 (cos_upward_test_data): Likewise.
37776 (cosh_test_data): Likewise.
37777 (cosh_tonearest_test_data): Likewise.
37778 (cosh_towardzero_test_data): Likewise.
37779 (cosh_downward_test_data): Likewise.
37780 (cosh_upward_test_data): Likewise.
37781 * sysdeps/i386/fpu/libm-test-ulps: Update.
37782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37783
37784 2013-11-29 Joseph Myers <joseph@codesourcery.com>
37785
37786 [BZ #6787]
37787 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
37788 * math/w_exp10f.c (__exp10f): Likewise.
37789 * math/w_exp10l.c (__exp10l): Likewise.
37790 * math/libm-test.inc (exp10_test_data): Add more tests and expect
37791 errno settings in existing tests.
37792
37793 [BZ #14032]
37794 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
37795 precision control set to double precision.
37796 * sysdeps/i386/fpu/w_sqrt.c: New file.
37797 * math/auto-libm-test-in: Add more tests.
37798 * math/auto-libm-test-out: Update.
37799
37800 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
37801 (sqrt_test_tonearest): New function.
37802 (sqrt_towardzero_test_data): New variable.
37803 (sqrt_test_towardzero): New function.
37804 (sqrt_downward_test_data): New variable.
37805 (sqrt_test_downward): New function.
37806 (sqrt_upward_test_data): New variable.
37807 (sqrt_test_upward): New function.
37808 (main): Call the new functions.
37809
37810 * math/gen-auto-libm-tests.c: New file.
37811 * math/auto-libm-test-in: Likewise.
37812 * math/auto-libm-test-out: New generated file.
37813 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
37814 variables.
37815 (%beautify): Add generated representations of zero.
37816 (top level): Set $auto_input and call parse_auto_input.
37817 (beautify): Remove trailing "f" from hex float constants.
37818 (parse_args): Handle XFAIL_TEST.
37819 (convert_condition): New function.
37820 (or_value): Likewise.
37821 (or_cond_value): Likewise.
37822 (generate_testfile): Handle AUTO_TESTS_* lines.
37823 (parse_auto_input): New function.
37824 * math/libm-test.inc (XFAIL_TEST): New macro.
37825 (ERRNO_UNCHANGED): Update value.
37826 (ERRNO_EDOM): Likewise.
37827 (ERRNO_ERANGE): Likewise.
37828 (IGNORE_RESULT): Likewise.
37829 (TEST_COND_flt_32): New macro.
37830 (TEST_COND_dbl_64): Likewise.
37831 (TEST_COND_ldbl_96_intel): Likewise.
37832 (TEST_COND_ldbl_96_m68k): Likewise.
37833 (TEST_COND_ldbl_128): Likewise.
37834 (TEST_COND_ldbl_128ibm): Likewise.
37835 (TEST_COND_long32): Likewise.
37836 (TEST_COND_long64): Likewise.
37837 (TEST_COND_before_rounding): Likewise.
37838 (TEST_COND_after_rounding): Likewise.
37839 (enable_test): Handle XFAIL_TEST flag.
37840 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
37841 with finite results.
37842 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
37843 auto-libm-test-out.
37844
37845 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37846 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37847
37848 [BZ #16214]
37849 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
37850 __tls_get_addr_internal instead of __tls_get_offset in order to
37851 avoid GOT pointer dependency. Make rtld export
37852 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
37853 __tls_get_addr since we are a __tls_get_offset platform.
37854 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
37855 GOT pointer being set up before.
37856 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
37857
37858 2013-11-28 Joseph Myers <joseph@codesourcery.com>
37859
37860 * manual/math.texi (Errors in Math Functions): Document accuracy
37861 goals.
37862
37863 [BZ #15004]
37864 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
37865 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
37866 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37867 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37868 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37869 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37870 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37871 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37872 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37873 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37874 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37875 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37876 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37877 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37878 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37879 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37880
37881 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
37882 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
37883 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
37884 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
37885 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
37886 Likewise.
37887 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
37888 Likewise.
37889 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
37890 Likewise.
37891 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
37892 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
37893 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
37894 atomic-feupdateenv and flt-rounds.
37895 * sysdeps/powerpc/nofpu/Versions (libc): Add
37896 __atomic_feholdexcept, __atomic_feclearexcept,
37897 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
37898 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
37899 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
37900 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
37901 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
37902 here.
37903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37904 Update.
37905
37906 * manual/arith.texi (FP Exceptions): Document that exceptions may
37907 not be raised when matherr is used.
37908 (Math Error Reporting): Document overflow in directed rounding
37909 modes. Document that errno may not be set when finite values are
37910 returned on overflow. Document intent to set errno on underflow
37911 only for underflow to zero.
37912
37913 [BZ #16271]
37914 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
37915 round-to-nearest then adjust result for other rounding modes.
37916 * include/fenv.h (fegetround): Use libm_hidden_proto.
37917 * math/fegetround.c (fegetround): Use libm_hidden_def.
37918 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37919 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37920 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37921 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37922 Likewise.
37923 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
37924 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37925 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37926 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
37927
37928 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37929
37930 [BZ #16077]
37931 * nss/Versions (libnss_files): Add
37932 _nss_files_gethostbyname3_r.
37933 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
37934 New function.
37935 (HOST_DB_LOOKUP): Remove macro.
37936 (_nss_files_gethostbyname_r): Implement function without the
37937 HOST_DB_LOOKUP macro.
37938 (_nss_files_gethostbyname2_r): Likewise.
37939
37940 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
37941
37942 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
37943
37944 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
37945
37946 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
37947 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
37948 warning.
37949
37950 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37951
37952 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
37953 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
37954 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37955 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37956 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
37957 __fe_nomask_env_priv and attribute_hidden.
37958 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
37959 (libc_feupdateenv_test_ppc): Likewise.
37960 (libc_feresetround_ppc): Likewise.
37961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37962 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
37963 compat_symbol macro.
37964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37965 (__fe_nomask_env): Likewise.
37966 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
37967
37968 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
37969
37970 * string/Makefile: Remove ifunc tests.
37971 * string/test-string.h: Define TEST_IFUNC.
37972 * string/test-bcopy-ifunc.c: Remove.
37973 * string/test-bzero-ifunc.c: Likewise.
37974 * string/test-memccpy-ifunc.c: Likewise.
37975 * string/test-memchr-ifunc.c: Likewise.
37976 * string/test-memcmp-ifunc.c: Likewise.
37977 * string/test-memcpy-ifunc.c: Likewise.
37978 * string/test-memmem-ifunc.c: Likewise.
37979 * string/test-memmove-ifunc.c: Likewise.
37980 * string/test-mempcpy-ifunc.c: Likewise.
37981 * string/test-memrchr-ifunc.c: Likewise.
37982 * string/test-memset-ifunc.c: Likewise.
37983 * string/test-rawmemchr-ifunc.c: Likewise.
37984 * string/test-stpcpy-ifunc.c: Likewise.
37985 * string/test-stpncpy-ifunc.c: Likewise.
37986 * string/test-strcasecmp-ifunc.c: Likewise.
37987 * string/test-strcasestr-ifunc.c: Likewise.
37988 * string/test-strcat-ifunc.c: Likewise.
37989 * string/test-strchr-ifunc.c: Likewise.
37990 * string/test-strchrnul-ifunc.c: Likewise.
37991 * string/test-strcmp-ifunc.c: Likewise.
37992 * string/test-strcpy-ifunc.c: Likewise.
37993 * string/test-strcspn-ifunc.c: Likewise.
37994 * string/test-strlen-ifunc.c: Likewise.
37995 * string/test-strncasecmp-ifunc.c: Likewise.
37996 * string/test-strncat-ifunc.c: Likewise.
37997 * string/test-strncmp-ifunc.c: Likewise.
37998 * string/test-strncpy-ifunc.c: Likewise.
37999 * string/test-strnlen-ifunc.c: Likewise.
38000 * string/test-strpbrk-ifunc.c: Likewise.
38001 * string/test-strrchr-ifunc.c: Likewise.
38002 * string/test-strspn-ifunc.c: Likewise.
38003 * string/test-strstr-ifunc.c: Likewise.
38004
38005 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
38006
38007 * benchtests/Makefile: Remove ifunc tests.
38008 * benchtests/bench-string.h: Define TEST_IFUNC.
38009 * benchtests/bench-bcopy-ifunc.c: Remove.
38010 * benchtests/bench-bzero-ifunc.c: Likewise.
38011 * benchtests/bench-memccpy-ifunc.c: Likewise.
38012 * benchtests/bench-memchr-ifunc.c: Likewise.
38013 * benchtests/bench-memcmp-ifunc.c: Likewise.
38014 * benchtests/bench-memcpy-ifunc.c: Likewise.
38015 * benchtests/bench-memmem-ifunc.c: Likewise.
38016 * benchtests/bench-memmove-ifunc.c: Likewise.
38017 * benchtests/bench-mempcpy-ifunc.c: Likewise.
38018 * benchtests/bench-memrchr-ifunc.c: Likewise.
38019 * benchtests/bench-memset-ifunc.c: Likewise.
38020 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
38021 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
38022 * benchtests/bench-stpcpy-ifunc.c: Likewise.
38023 * benchtests/bench-stpncpy-ifunc.c: Likewise.
38024 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
38025 * benchtests/bench-strcasestr-ifunc.c: Likewise.
38026 * benchtests/bench-strcat-ifunc.c: Likewise.
38027 * benchtests/bench-strchr-ifunc.c: Likewise.
38028 * benchtests/bench-strchrnul-ifunc.c: Likewise.
38029 * benchtests/bench-strcmp-ifunc.c: Likewise.
38030 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
38031 * benchtests/bench-strcpy-ifunc.c: Likewise.
38032 * benchtests/bench-strcspn-ifunc.c: Likewise.
38033 * benchtests/bench-strlen-ifunc.c: Likewise.
38034 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
38035 * benchtests/bench-strncat-ifunc.c: Likewise.
38036 * benchtests/bench-strncmp-ifunc.c: Likewise.
38037 * benchtests/bench-strncpy-ifunc.c: Likewise.
38038 * benchtests/bench-strnlen-ifunc.c: Likewise.
38039 * benchtests/bench-strpbrk-ifunc.c: Likewise.
38040 * benchtests/bench-strrchr-ifunc.c: Likewise.
38041 * benchtests/bench-strsep-ifunc.c: Likewise.
38042 * benchtests/bench-strspn-ifunc.c: Likewise.
38043 * benchtests/bench-strstr-ifunc.c: Likewise.
38044
38045 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
38046
38047 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
38048
38049 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
38050
38051 * resolv/netdb.h: Use __glibc_reserved instead __unused.
38052 * rt/aio.h: Likewise.
38053 * sysdeps/gnu/bits/utmp.h: Likewise.
38054 * sysdeps/gnu/bits/utmpx.h: Likewise.
38055 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38056 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
38057 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
38058 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
38059 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
38060 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
38061 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
38062 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
38063 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
38064 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
38065 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
38066 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
38067 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
38068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
38069 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38070 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
38071 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
38072 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
38073 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
38074 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
38075 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
38076 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
38077 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
38078 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38079 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
38080 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38081 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
38082 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
38083 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
38084 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
38085 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
38086 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
38087 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
38088 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38089 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
38090 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
38091 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
38092 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
38093 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
38094 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
38095 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
38096 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38097
38098 2013-11-25 Carlos O'Donell <carlos@redhat.com>
38099
38100 [BZ #16245]
38101 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
38102 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
38103
38104 2013-11-25 Joseph Myers <joseph@codesourcery.com>
38105
38106 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
38107 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38108 Likewise.
38109
38110 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38111
38112 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
38113 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
38114 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
38115 (__fesetround): Remove define.
38116 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
38117 rounding and exceptions handling.
38118 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
38119 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
38120 (__fe_nomask_env): Likewise.
38121 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
38122 __fegetround instead of fegetround.
38123 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38124 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
38125
38126 2013-11-21 Roland McGrath <roland@hack.frob.com>
38127
38128 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
38129 it's there.
38130
38131 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
38132
38133 2013-11-21 Meador Inge <meadori@codesourcery.com>
38134
38135 [BZ #11157]
38136 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
38137 (encrypt_r): Likewise.
38138 * malloc/obstack.h (obstack_free): Likewise.
38139 * posix/unistd.h (encrypt): Likewise.
38140
38141 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
38142
38143 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
38144 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
38145 DL_CALL_DT_FINI() that call the functions directly.
38146 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
38147 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
38148 * elf/dl-fini.c: Likewise.
38149
38150 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
38151
38152 * malloc/hooks.c (memalign_check): Add alignment rounding.
38153 * malloc/malloc.c (_mid_memalign): New function.
38154 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
38155 Implement by calling _mid_memalign.
38156 * manual/probes.texi (Memory Allocation Probes): Remove
38157 memory_valloc_retry and memory_pvalloc_retry.
38158
38159 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
38160
38161 * locale/programs/locarchive.c (open_archive): Add const
38162 qualifier to ARCHIVEFNAME and copy default fname to
38163 DEFAULT_FNAME.
38164
38165 [BZ #15601]
38166 * libio/tst-widetext.input: Rename Oriya to Odia.
38167 * locale/iso-639.def: Likewise.
38168
38169 * manual/probes.texi (Mathematical Function Probes): Add
38170 documentation for sin, cos, asin and acos probes.
38171 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
38172 (__sin32): Add slowasin probe.
38173 (__cos32): Add slowacos probe.
38174 (__mpsin): Add slowsin probe.
38175 (__mpcos): Add slowcos probe.
38176
38177 2013-11-19 Joseph Myers <joseph@codesourcery.com>
38178
38179 [BZ #15483]
38180 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
38181 thread-local __sim_exceptions_thread and global
38182 __sim_exceptions_global.
38183 (__sim_disabled_exceptions): Change to thread-local
38184 __sim_disabled_exceptions_thread and global
38185 __sim_disabled_exceptions_global.
38186 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38187 and global __sim_round_mode_global.
38188 (__simulate_exceptions): Use thread-local floating-point state and
38189 set global state from it as needed.
38190 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
38191 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
38192 __sim_round_mode_thread.
38193 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
38194 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
38195 and global __sim_exceptions_global.
38196 (__sim_disabled_exceptions): Change to thread-local
38197 __sim_disabled_exceptions_thread and global
38198 __sim_disabled_exceptions_global.
38199 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38200 and global __sim_round_mode_global.
38201 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
38202 (SIM_SET_GLOBAL): Likewise.
38203 * sysdeps/powerpc/soft-fp/sfp-machine.h
38204 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
38205 __sim_round_mode_thread.
38206 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
38207 __sim_disabled_exceptions_thread.
38208 (__sim_exceptions): Change to __sim_exceptions_thread.
38209 (__sim_disabled_exceptions): Change to
38210 __sim_disabled_exceptions_thread.
38211 (__sim_round_mode): Change to __sim_round_mode_thread.
38212 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
38213 thread-local floating-point state and set global state from it as
38214 needed.
38215 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
38216 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
38217 (__sim_disabled_exceptions): Remove extern declaration.
38218 (feenableexcept): Use thread-local floating-point state and set
38219 global state from it as needed.
38220 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
38221 extern declaration.
38222 (__sim_disabled_exceptions): Likewise.
38223 (__sim_round_mode): Likewise.
38224 (__fegetenv): Use thread-local floating-point state.
38225 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
38226 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38227 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
38228 floating-point state and set global state from it as needed.
38229 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
38230 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38231 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
38232 Likewise.
38233 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38234 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
38235 Likewise.
38236 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
38237 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
38238 Use __sim_round_mode_thread.
38239 * math/test-fenv-tls.c: New file.
38240 * math/Makefile (tests): Add test-fenv-tls.
38241 ($(objpfx)test-fenv-tls): Depend on
38242 $(common-objpfx)nptl/libpthread.so.
38243
38244 2013-11-19 Andreas Schwab <schwab@suse.de>
38245
38246 * locale/programs/locale.c (show_info): Decode wordarray elements.
38247 * locale/categories.def (LC_MONETARY): Add element for
38248 _NL_MONETARY_CRNCYSTR.
38249 * locale/C-monetary.c (conversion_rate): New variable.
38250 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
38251 element.
38252
38253 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
38254
38255 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
38256 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
38257
38258 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38259
38260 * elf/Makefile (tst-auxv): New test.
38261 * elf/tst-auxv.c: New
38262 * elf/rtld.c (dl_main): Adjust AT_EXECFN
38263
38264 2013-11-18 Joseph Myers <joseph@codesourcery.com>
38265
38266 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
38267 (hidden_proto): Caller changed.
38268 (hidden_tls_proto): New macro.
38269 (libc_hidden_tls_proto): Likewise.
38270 (rtld_hidden_tls_proto): Likewise.
38271 (libm_hidden_tls_proto): Likewise.
38272 (libresolv_hidden_tls_proto): Likewise.
38273 (librt_hidden_tls_proto): Likewise.
38274 (libdl_hidden_tls_proto): Likewise.
38275 (libnss_files_hidden_tls_proto): Likewise.
38276 (libnsl_hidden_tls_proto): Likewise.
38277 (libnss_nisplus_hidden_tls_proto): Likewise.
38278 (libutil_hidden_tls_proto): Likewise.
38279
38280 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
38281
38282 [BZ #10253]
38283 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
38284 (decompose_rpath): Defer expansion to fillin_rpath.
38285 (_dl_init_paths): Pass linkmap to fillin_rpath.
38286
38287 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38288
38289 * benchtests/Makefile: Add strsep.
38290 * benchtests/bench-strsep.c: New file: strsep benchtest.
38291 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
38292
38293 2013-11-18 Andreas Schwab <schwab@suse.de>
38294
38295 * locale/programs/locale.c (show_info) [case byte]: Check for
38296 '\377' instead of '\177'.
38297 * locale/C-monetary.c (not_available): Always use "\377".
38298 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
38299 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
38300 detect unavailable sign_posn locale elements.
38301 * locale/localeconv.c (__localeconv): For grouping and
38302 mon_grouping handle "\177" and "\377" like no grouping.
38303 (INT_ELEM): New macro. Use it to set all numeric members.
38304 * locale/programs/ld-monetary.c (monetary_read)
38305 <tok_mon_grouping>: Normalize single -1 to the empty string.
38306 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
38307 Likewise.
38308
38309 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
38310
38311 [BZ #16055]
38312 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
38313 when we match (nil).
38314 * stdio-common/tst-sscanf.c (struct test): Add testcase.
38315
38316 2013-11-16 Joseph Myers <joseph@codesourcery.com>
38317
38318 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
38319 (NO_TEST_INLINE): Update value.
38320 (ERRNO_UNCHANGED): Likewise.
38321 (ERRNO_EDOM): Likewise.
38322 (ERRNO_ERANGE): Likewise.
38323 (IGNORE_RESULT): Likewise.
38324 (check_float_internal): Check signs of NaN results if
38325 TEST_NAN_SIGN used.
38326 (check_complex): Pass TEST_NAN_SIGN flag through to second
38327 check_float_internal call.
38328 (copysign_test_data): Add tests with quiet NaNs as second
38329 argument. Use TEST_NAN_SIGN.
38330 (fabs_test_data): Add test of negative quiet NaN argument. Use
38331 TEST_NAN_SIGN.
38332 (signbit_test_data): Add tests of quiet NaN argument.
38333 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
38334
38335 * math/gen-libm-test.pl (show_exceptions): Take extra argument
38336 $ignore_result.
38337 (parse_args): Handle function results specified as IGNORE.
38338 * math/libm-test.inc (IGNORE_RESULT): New macro.
38339 (check_float_internal): Do not check numerical result if flag
38340 IGNORE_RESULT set.
38341 (check_complex): Pass through IGNORE_RESULT to second
38342 check_float_internal call.
38343 (check_int): Do not check numerical result if flag IGNORE_RESULT
38344 set.
38345 (check_long): Likewise.
38346 (check_bool): Likewise.
38347 (check_longlong): Likewise.
38348 (lrint_test_data): Add tests of infinite and NaN arguments.
38349 (lrint_tonearest_test_data): Likewise.
38350 (lrint_towardzero_test_data): Likewise.
38351 (lrint_downward_test_data): Likewise.
38352 (lrint_upward_test_data): Likewise.
38353 (llrint_test_data): Likewise.
38354 (llrint_tonearest_test_data): Likewise.
38355 (llrint_towardzero_test_data): Likewise.
38356 (llrint_downward_test_data): Likewise.
38357 (llrint_upward_test_data): Likewise.
38358 (lround_test_data): Likewise.
38359 (llround_test_data): Likewise.
38360
38361 * math/libm-test.inc (NO_TEST_INLINE): New macro.
38362 (ERRNO_UNCHANGED): Update value.
38363 (ERRNO_EDOM): Likewise.
38364 (ERRNO_ERANGE): Likewise.
38365 (NO_TEST_INLINE_FLOAT): New macro.
38366 (NO_TEST_INLINE_DOUBLE): Likewise.
38367 (enable_test): New function.
38368 (RUN_TEST_f_f): Check enable_test before running test.
38369 (RUN_TEST_2_f): Likewise.
38370 (RUN_TEST_fff_f): Likewise.
38371 (RUN_TEST_c_f): Likewise.
38372 (RUN_TEST_f_f1): Likewise.
38373 (RUN_TEST_fF_f1): Likewise.
38374 (RUN_TEST_fI_f1): Likewise.
38375 (RUN_TEST_ffI_f1): Likewise.
38376 (RUN_TEST_c_c): Likewise.
38377 (RUN_TEST_cc_c): Likewise.
38378 (RUN_TEST_f_i): Likewise.
38379 (RUN_TEST_f_i_tg): Likewise.
38380 (RUN_TEST_ff_i_tg): Likewise.
38381 (RUN_TEST_f_b): Likewise.
38382 (RUN_TEST_f_b_tg): Likewise.
38383 (RUN_TEST_f_l): Likewise.
38384 (RUN_TEST_f_L): Likewise.
38385 (RUN_TEST_fFF_11): Likewise.
38386 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
38387 conditionals.
38388 (cosh_test_data): Likewise.
38389 (exp_test_data): Likewise.
38390 (expm1_test_data): Likewise.
38391 (hypot_test_data): Likewise.
38392 (pow_test_data): Likewise.
38393 (sinh_test_data): Likewise.
38394 (tanh_test_data): Likewise.
38395 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
38396 flags argument.
38397
38398 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
38399 tests with quiet NaN input and output.
38400 (acosh_test_data): Likewise.
38401 (asin_test_data): Likewise.
38402 (asinh_test_data): Likewise.
38403 (atan_test_data): Likewise.
38404 (atanh_test_data): Likewise.
38405 (atan2_test_data): Likewise.
38406 (cbrt_test_data): Likewise.
38407 (cos_test_data): Likewise.
38408 (cosh_test_data): Likewise.
38409 (erf_test_data): Likewise.
38410 (erfc_test_data): Likewise.
38411 (exp_test_data): Likewise.
38412 (exp10_test_data): Likewise.
38413 (exp2_test_data): Likewise.
38414 (expm1_test_data): Likewise.
38415 (hypot_test_data): Likewise.
38416 (j0_test_data): Likewise.
38417 (j1_test_data): Likewise.
38418 (jn_test_data): Likewise.
38419 (lgamma_test_data): Likewise.
38420 (log_test_data): Likewise.
38421 (log10_test_data): Likewise.
38422 (log1p_test_data): Likewise.
38423 (log2_test_data): Likewise.
38424 (pow_test_data): Likewise.
38425 (scalb_test_data): Likewise.
38426 (sin_test_data): Likewise.
38427 (sincos_test_data): Likewise.
38428 (sinh_test_data): Likewise.
38429 (tan_test_data): Likewise.
38430 (tanh_test_data): Likewise.
38431 (tgamma_test_data): Likewise.
38432 (y0_test_data): Likewise.
38433 (y1_test_data): Likewise.
38434 (yn_test_data): Likewise.
38435
38436 [BZ #16167]
38437 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
38438 argument being NaN and avoid computations with second argument in
38439 that case.
38440 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38441 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38442 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38443
38444 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
38445
38446 * locale/iso-639.def: Add Chitwani Tharu (the).
38447
38448 2013-11-14 Andreas Schwab <schwab@suse.de>
38449
38450 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
38451 word instead of empty string.
38452
38453 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38454
38455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38456 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
38457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38458 (__fe_nomask_env): Likewise.
38459
38460 2013-11-13 Steve Ellcey <sellcey@mips.com>
38461
38462 * benchtests/bench-timing.h: Include time.h.
38463
38464 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
38465
38466 [BZ #15997]
38467 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
38468 to 3.4.0 for x32.
38469 * sysdeps/unix/sysv/linux/configure: Regenerated.
38470
38471 2013-11-13 Joseph Myers <joseph@codesourcery.com>
38472
38473 [BZ #16151]
38474 * stdlib/strtod_l.c (round_and_return): Do not consider
38475 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
38476 exponent one less than half the least subnormal exponent.
38477 * stdlib/test-strtod-round-data: Add more tests.
38478 * stdlib/tst-strtod-round.c (tests): Regenerated.
38479
38480 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38481
38482 [BZ #14143]
38483 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
38484 (__fe_mask_env): Likewise.
38485 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
38486 libm_hidden_proto and add function prototype.
38487 (__fe_mask_env): Add function prototype.
38488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38489 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
38490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38491 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
38492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38493 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
38494
38495 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38496
38497 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
38498 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
38499
38500 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38501
38502 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
38503 of htab_find_slot().
38504
38505 2013-11-11 David S. Miller <davem@davemloft.net>
38506
38507 [BZ #16150]
38508 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
38509 symbol in the non-vis3 case in static builds.
38510 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
38511 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
38512 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
38513 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
38514
38515 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
38516
38517 [BZ #387]
38518 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
38519 it is empty.
38520
38521 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38522
38523 * benchtests/Makefile: Add bench-strtod.
38524 * benchtests/bench-strtod.c: New file: strtod benchtest
38525
38526 2013-11-11 Andreas Schwab <schwab@suse.de>
38527
38528 [BZ #16153]
38529 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
38530 terminating NUL in key length.
38531
38532 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38533
38534 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38535 Add artificial ODP entry for vDSO symbol for PPC64.
38536 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
38537 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38538
38539 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
38540
38541 [BZ #15374]
38542 * nss/getent.c (services_keys): Recognize services starting with digit.
38543
38544 2013-11-06 David S. Miller <davem@davemloft.net>
38545
38546 [BZ #15985]
38547 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
38548 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
38549
38550 2013-11-06 Will Newton <will.newton@linaro.org>
38551
38552 * manual/memory.texi (Malloc Examples): Remove register
38553 keyword from examples.
38554
38555 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
38556
38557 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
38558
38559 2013-11-04 Joseph Myers <joseph@codesourcery.com>
38560
38561 [BZ #6981]
38562 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
38563 depending on [__GCC_IEC_559 > 0].
38564 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
38565 depending on [__GCC_IEC_559_COMPLEX > 0].
38566
38567 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
38568
38569 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
38570 to iso-639.def.
38571
38572 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
38573
38574 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
38575
38576 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
38577
38578 [BZ #16112]
38579 * malloc/malloc (malloc_info): Do not handle first bin as
38580 special case.
38581
38582 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
38583
38584 * locale/iso-639.def: Add Central Nahuatl (nhn).
38585
38586 2013-11-01 Bruno Haible <bruno@clisp.org>
38587
38588 [BZ #7003]
38589 * manual/math.texi (BSD Random): Specify range upper bound as
38590 in POSIX.
38591
38592 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
38593
38594 * locale/iso-639.def: Add Meadow Mari (mhr).
38595
38596 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
38597
38598 [BZ #14752], [BZ #15763]
38599 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
38600 Validate name.
38601 * rt/tst_shm.c: Add test for escaping directory.
38602
38603 2013-10-31 Andreas Schwab <schwab@suse.de>
38604
38605 [BZ #15917]
38606 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
38607 followed by 'x' as part of digit sequence.
38608 * stdio-common/tst-sscanf.c (double_tests2): New tests.
38609
38610 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
38611
38612 [BZ #16037]
38613 * configure.ac: allow GNU Make 4.0 and greater.
38614 * configure: Regenerated.
38615
38616 2013-10-30 Will Newton <will.newton@linaro.org>
38617
38618 [BZ #16038]
38619 * malloc/hooks.c (memalign_check): Limit alignment to the
38620 maximum representable power of two.
38621 * malloc/malloc.c (__libc_memalign): Likewise.
38622 * malloc/tst-memalign.c (do_test): Add test for very
38623 large alignment values.
38624 * malloc/tst-posix_memalign.c (do_test): Likewise.
38625
38626 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
38627
38628 [BZ #11087]
38629 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
38630 (munmap_chunk): Likewise.
38631 (mremap_chunk): Likewise.
38632
38633 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
38634
38635 [BZ #15799]
38636 * stdlib/div.c (div): Remove obsolete code.
38637 * stdlib/ldiv.c (ldiv): Likewise.
38638 * stdlib/lldiv.c (lldiv): Likewise.
38639
38640 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38641
38642 [BZ #16071]
38643 * nss/nss_files/files-XXX.c (get_contents_ret): New
38644 enumerator.
38645 (get_contents): New function.
38646 (internal_getent): Use it. Expand size of LINEBUFLEN.
38647
38648 2013-10-30 Mike Frysinger <vapier@gentoo.org>
38649
38650 * configure.in: Moved to ...
38651 * configure.ac: ... here. Change reference to configure.in
38652 to configure.ac.
38653 * sysdeps/arm/preconfigure.ac: ... here.
38654 configure.in to configure.ac.
38655 * sysdeps/gnu/configure.in: Moved to ...
38656 * sysdeps/gnu/configure.ac: ... here.
38657 * sysdeps/i386/configure.in: Moved to ...
38658 * sysdeps/i386/configure.ac: ... here.
38659 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
38660 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
38661 * sysdeps/mach/configure.in: Moved to ...
38662 * sysdeps/mach/configure.ac: ... here.
38663 * sysdeps/mach/hurd/configure.in: Moved to ...
38664 * sysdeps/mach/hurd/configure.ac: ... here.
38665 * sysdeps/powerpc/configure.in: Moved to ...
38666 * sysdeps/powerpc/configure.ac: ... here.
38667 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
38668 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
38669 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
38670 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
38671 * sysdeps/s390/s390-32/configure.in: Moved to ...
38672 * sysdeps/s390/s390-32/configure.ac: ... here.
38673 * sysdeps/s390/s390-64/configure.in: Moved to ...
38674 * sysdeps/s390/s390-64/configure.ac: ... here.
38675 * sysdeps/sh/configure.in: Moved to ...
38676 * sysdeps/sh/configure.ac: ... here.
38677 * sysdeps/sparc/configure.in: Moved to ...
38678 * sysdeps/sparc/configure.ac: ... here.
38679 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
38680 * sysdeps/unix/sysv/linux/configure.ac: ... here.
38681 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
38682 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
38683 * sysdeps/x86_64/configure.in: Moved to ...
38684 * sysdeps/x86_64/configure.ac: ... here.
38685 * sysdeps/x86_64/preconfigure.in: Moved to ...
38686 * sysdeps/x86_64/preconfigure.ac: ... here.
38687 * aclocal.m4: Change reference to configure.in to configure.ac.
38688 * config.h.in: Likewise.
38689 * manual/install.texi: Likewise.
38690 * manual/maint.texi: Likewise.
38691 * Makefile: Likewise.
38692 * malloc/Makefile: Likewise.
38693 * nscd/Makefile: Likewise.
38694 * Makeconfig: Change reference to configure.in and
38695 preconfigure.in to configure.ac and preconfigure.ac
38696 respectively.
38697 * INSTALL: Regenerated.
38698 * configure: Likewise.
38699 * sysdeps/gnu/configure: Likewise.
38700 * sysdeps/i386/configure: Likewise.
38701 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
38702 * sysdeps/mach/configure: Likewise.
38703 * sysdeps/mach/hurd/configure: Likewise.
38704 * sysdeps/powerpc/configure: Likewise.
38705 * sysdeps/powerpc/powerpc32/configure: Likewise.
38706 * sysdeps/powerpc/powerpc64/configure: Likewise.
38707 * sysdeps/s390/s390-32/configure: Likewise.
38708 * sysdeps/s390/s390-64/configure: Likewise.
38709 * sysdeps/sh/configure: Likewise.
38710 * sysdeps/sparc/configure: Likewise.
38711 * sysdeps/unix/sysv/linux/configure: Likewise.
38712 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
38713 * sysdeps/x86_64/configure: Likewise.
38714 * sysdeps/x86_64/preconfigure: Likewise.
38715
38716 2013-10-29 Andreas Schwab <schwab@suse.de>
38717
38718 * stdio-common/Makefile (tst-swscanf-ENV): Define.
38719
38720 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38721
38722 * benchtests/pow-inputs: Add new inputs.
38723
38724 * benchtests/exp-inputs: Add new inputs.
38725
38726 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
38727 conditional check for return value.
38728 (__cos32): Likewise.
38729
38730 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38731
38732 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
38733 to provide a boost for large inputs with word alignment.
38734 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
38735 implementation based on optimized PPC64 strcpy.
38736 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
38737 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
38738 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
38739 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
38740
38741 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
38742
38743 [BZ #2801]
38744 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
38745
38746 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
38747
38748 [BZ #14876]
38749 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
38750 * time/tst-strptime.c (day_tests): Add testcase.
38751
38752 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
38753
38754 [BZ #14029]
38755 * manual/pattern.texi: Acknowledge that fnmatch can fail.
38756
38757 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
38758
38759 [BZ #16074]
38760 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
38761 MAP_FAILED on error.
38762
38763 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38764
38765 [BZ #16072]
38766 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
38767 heap for large requests.
38768
38769 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
38770
38771 [BZ #9954]
38772 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
38773 result if the result has no associated interface.
38774 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
38775 interface for all 127.X.Y.Z addresses.
38776
38777 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
38778
38779 * locale/iso-639.def: Add Ligurian (lij)
38780
38781 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
38782
38783 [BZ #15825]
38784 * sunrpc/rpc_main.c: Document rpcgen -5.
38785
38786 2013-10-19 Michael Stahl <mstahl@redhat.com>
38787
38788 * elf/rtld.c (do_preload): Print the reason why preloading failed.
38789
38790 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
38791
38792 [BZ #10278]
38793 * posix/glob.c: Match only directories when trailing slash is present.
38794 * posix/tst-gnuglob.c (my_opendir): Do not open files.
38795 (main): Add testcase.
38796
38797 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
38798
38799 [BZ #15670]
38800 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
38801
38802 2013-10-18 Carlos O'Donell <carlos@redhat.com>
38803
38804 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
38805 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
38806 AUTH_DES and cindex for FIPS 140-2.
38807 (DES Encryption): Add cindex FIPS 46-3.
38808
38809 * locale/locarchive.h (struct locarhandle): Add fname.
38810 * locale/programs/localedef.c (main): Pass ARGV[remaining]
38811 if an optional argument was specified to --list-archive,
38812 otherwise NULL.
38813 * locale/programs/locarchive.c (show_archive_content): Take new
38814 argument fname and pass it via ah.fname to open_archive.
38815 * locale/programs/localedef.h: Update decl.
38816 (open_archive): If AH->fname is non-null, open that file
38817 rather than the default file name, and don't ignore ENOENT.
38818 (create_archive): Set AH.fname to NULL.
38819 (delete_locales_from_archive): Likewise.
38820 (add_locales_to_archive): Likewise.
38821 * locale/programs/locfile.c (write_all_categories): Likewise.
38822
38823 2013-10-18 Joseph Myers <joseph@codesourcery.com>
38824 Aldy Hernandez <aldyh@redhat.com>
38825
38826 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
38827 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
38828 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
38829 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
38830 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
38831 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
38832 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
38833 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
38834 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
38835 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
38836 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
38837 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
38838 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
38839 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
38840 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
38841 Likewise.
38842 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
38843 Likewise.
38844 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
38845 Likewise.
38846 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
38847 Likewise.
38848 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
38849 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
38850 Likewise.
38851 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
38852 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
38853 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
38854 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
38855 Likewise.
38856 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
38857 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
38858 * sysdeps/powerpc/preconfigure: Likewise.
38859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
38860 Likewise.
38861 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
38862 Replace contents of file by #include of <fenv_libc.h>.
38863 * sysdeps/powerpc/soft-fp/sfp-machine.h
38864 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
38865 and <sys/prctl.h>.
38866 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
38867 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
38868 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
38869 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
38870 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
38871 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
38872 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
38873 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
38874 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
38875 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
38876 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
38877 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
38878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38879 Allow copysignl PLT reference to be missing.
38880
38881 2013-10-18 Richard Sandiford <richard@codesourcery.com>
38882 Joseph Myers <joseph@codesourcery.com
38883
38884 [BZ #15948]
38885 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
38886 single character.
38887 (add_to_tablewc): Assert sequence of wide characters is nonempty.
38888
38889 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38890
38891 * elf/tst-tls-dlinfo.c: Don't include tls.h.
38892 * elf/tst-tls1.c: Likewise.
38893 * elf/tst-tls10.h: Likewise.
38894 * elf/tst-tls14.c: Likewise.
38895 * elf/tst-tls2.c: Likewise.
38896 * elf/tst-tls3.c: Likewise.
38897 * elf/tst-tls4.c: Likewise.
38898 * elf/tst-tls5.c: Likewise.
38899 * elf/tst-tls6.c: Likewise.
38900 * elf/tst-tls7.c: Likewise.
38901 * elf/tst-tls8.c: Likewise.
38902 * elf/tst-tls9.c: Likewise.
38903 * elf/tst-tlsmod1.c: Likewise.
38904 * elf/tst-tlsmod13.c: Likewise.
38905 * elf/tst-tlsmod13a.c: Likewise.
38906 * elf/tst-tlsmod14a.c: Likewise.
38907 * elf/tst-tlsmod16a.c: Likewise.
38908 * elf/tst-tlsmod16b.c: Likewise.
38909 * elf/tst-tlsmod2.c: Likewise.
38910 * elf/tst-tlsmod3.c: Likewise.
38911 * elf/tst-tlsmod4.c: Likewise.
38912 * elf/tst-tlsmod5.c: Likewise.
38913 * elf/tst-tlsmod6.c: Likewise.
38914
38915 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
38916
38917 [BZ #12486]
38918 * malloc/malloc.c: remove checks for statistics.
38919
38920 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
38921
38922 [BZ #15277]
38923 * inet/inet_net.c (inet_network): Detect additional invalid strings.
38924 * inet/tst-network.c: Add testcase.
38925
38926 2013-10-17 Andreas Schwab <schwab@suse.de>
38927
38928 [BZ #15218]
38929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
38930 to determine canonical name.
38931
38932 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
38933
38934 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
38935 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
38936 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38937 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38938 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38939 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38940 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38941 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38942 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38943 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38944 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38945 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38946 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38947 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38948 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38949 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38950 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38951 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38952 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38953 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38954 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38955 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38956 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38957 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
38958 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
38959 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38960 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38961 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
38962 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38963 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
38964 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38965 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38966 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38967 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38968 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38969 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38970 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38971 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38972 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38973 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38974 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38975 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38976 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38977 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38978 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38979 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38980 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38981 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38982 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38983 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38984 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38985 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38986 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38987 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38988 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38989 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38990 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38991 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38992
38993 2013-10-17 Joseph Myers <joseph@codesourcery.com>
38994
38995 [BZ #16041]
38996 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
38997 make result into a quiet NaN.
38998
38999 2013-10-16 Joseph Myers <joseph@codesourcery.com>
39000
39001 * soft-fp/adddf3.c: Fix horizontal whitespace.
39002 * soft-fp/addsf3.c: Likewise.
39003 * soft-fp/addtf3.c: Likewise.
39004 * soft-fp/divdf3.c: Likewise.
39005 * soft-fp/divsf3.c: Likewise.
39006 * soft-fp/divtf3.c: Likewise.
39007 * soft-fp/double.h: Likewise.
39008 * soft-fp/eqdf2.c: Likewise.
39009 * soft-fp/eqsf2.c: Likewise.
39010 * soft-fp/eqtf2.c: Likewise.
39011 * soft-fp/extenddftf2.c: Likewise.
39012 * soft-fp/extended.h: Likewise.
39013 * soft-fp/extendsfdf2.c: Likewise.
39014 * soft-fp/extendsftf2.c: Likewise.
39015 * soft-fp/extendxftf2.c: Likewise.
39016 * soft-fp/fixdfdi.c: Likewise.
39017 * soft-fp/fixdfsi.c: Likewise.
39018 * soft-fp/fixdfti.c: Likewise.
39019 * soft-fp/fixsfdi.c: Likewise.
39020 * soft-fp/fixsfsi.c: Likewise.
39021 * soft-fp/fixsfti.c: Likewise.
39022 * soft-fp/fixtfdi.c: Likewise.
39023 * soft-fp/fixtfsi.c: Likewise.
39024 * soft-fp/fixtfti.c: Likewise.
39025 * soft-fp/fixunsdfdi.c: Likewise.
39026 * soft-fp/fixunsdfsi.c: Likewise.
39027 * soft-fp/fixunsdfti.c: Likewise.
39028 * soft-fp/fixunssfdi.c: Likewise.
39029 * soft-fp/fixunssfsi.c: Likewise.
39030 * soft-fp/fixunssfti.c: Likewise.
39031 * soft-fp/fixunstfdi.c: Likewise.
39032 * soft-fp/fixunstfsi.c: Likewise.
39033 * soft-fp/fixunstfti.c: Likewise.
39034 * soft-fp/floatdidf.c: Likewise.
39035 * soft-fp/floatdisf.c: Likewise.
39036 * soft-fp/floatditf.c: Likewise.
39037 * soft-fp/floatsidf.c: Likewise.
39038 * soft-fp/floatsisf.c: Likewise.
39039 * soft-fp/floatsitf.c: Likewise.
39040 * soft-fp/floattidf.c: Likewise.
39041 * soft-fp/floattisf.c: Likewise.
39042 * soft-fp/floattitf.c: Likewise.
39043 * soft-fp/floatundidf.c: Likewise.
39044 * soft-fp/floatundisf.c: Likewise.
39045 * soft-fp/floatunditf.c: Likewise.
39046 * soft-fp/floatunsidf.c: Likewise.
39047 * soft-fp/floatunsisf.c: Likewise.
39048 * soft-fp/floatunsitf.c: Likewise.
39049 * soft-fp/floatuntidf.c: Likewise.
39050 * soft-fp/floatuntisf.c: Likewise.
39051 * soft-fp/floatuntitf.c: Likewise.
39052 * soft-fp/fmadf4.c: Likewise.
39053 * soft-fp/fmasf4.c: Likewise.
39054 * soft-fp/fmatf4.c: Likewise.
39055 * soft-fp/gedf2.c: Likewise.
39056 * soft-fp/gesf2.c: Likewise.
39057 * soft-fp/getf2.c: Likewise.
39058 * soft-fp/ledf2.c: Likewise.
39059 * soft-fp/lesf2.c: Likewise.
39060 * soft-fp/letf2.c: Likewise.
39061 * soft-fp/muldf3.c: Likewise.
39062 * soft-fp/mulsf3.c: Likewise.
39063 * soft-fp/multf3.c: Likewise.
39064 * soft-fp/negdf2.c: Likewise.
39065 * soft-fp/negsf2.c: Likewise.
39066 * soft-fp/negtf2.c: Likewise.
39067 * soft-fp/op-1.h: Likewise.
39068 * soft-fp/op-2.h: Likewise.
39069 * soft-fp/op-4.h: Likewise.
39070 * soft-fp/op-8.h: Likewise.
39071 * soft-fp/op-common.h: Likewise.
39072 * soft-fp/quad.h: Likewise.
39073 * soft-fp/single.h: Likewise.
39074 * soft-fp/soft-fp.h: Likewise.
39075 * soft-fp/sqrtdf2.c: Likewise.
39076 * soft-fp/sqrtsf2.c: Likewise.
39077 * soft-fp/sqrttf2.c: Likewise.
39078 * soft-fp/subdf3.c: Likewise.
39079 * soft-fp/subsf3.c: Likewise.
39080 * soft-fp/subtf3.c: Likewise.
39081 * soft-fp/truncdfsf2.c: Likewise.
39082 * soft-fp/trunctfdf2.c: Likewise.
39083 * soft-fp/trunctfsf2.c: Likewise.
39084 * soft-fp/trunctfxf2.c: Likewise.
39085 * soft-fp/unorddf2.c: Likewise.
39086 * soft-fp/unordsf2.c: Likewise.
39087 * soft-fp/unordtf2.c: Likewise.
39088
39089 2013-10-15 Joseph Myers <joseph@codesourcery.com>
39090
39091 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
39092 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
39093
39094 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
39095
39096 * elf/dl-libc.c: Clear initfini list after freeing.
39097
39098 2013-10-14 Joseph Myers <joseph@codesourcery.com>
39099
39100 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
39101 * soft-fp/addsf3.c: Likewise.
39102 * soft-fp/addtf3.c: Likewise.
39103 * soft-fp/divdf3.c: Likewise.
39104 * soft-fp/divsf3.c: Likewise.
39105 * soft-fp/divtf3.c: Likewise.
39106 * soft-fp/double.h: Likewise.
39107 * soft-fp/eqdf2.c: Likewise.
39108 * soft-fp/eqsf2.c: Likewise.
39109 * soft-fp/eqtf2.c: Likewise.
39110 * soft-fp/extenddftf2.c: Likewise.
39111 * soft-fp/extended.h: Likewise.
39112 * soft-fp/extendsfdf2.c: Likewise.
39113 * soft-fp/extendsftf2.c: Likewise.
39114 * soft-fp/extendxftf2.c: Likewise.
39115 * soft-fp/fixdfdi.c: Likewise.
39116 * soft-fp/fixdfsi.c: Likewise.
39117 * soft-fp/fixdfti.c: Likewise.
39118 * soft-fp/fixsfdi.c: Likewise.
39119 * soft-fp/fixsfsi.c: Likewise.
39120 * soft-fp/fixsfti.c: Likewise.
39121 * soft-fp/fixtfdi.c: Likewise.
39122 * soft-fp/fixtfsi.c: Likewise.
39123 * soft-fp/fixtfti.c: Likewise.
39124 * soft-fp/fixunsdfdi.c: Likewise.
39125 * soft-fp/fixunsdfsi.c: Likewise.
39126 * soft-fp/fixunsdfti.c: Likewise.
39127 * soft-fp/fixunssfdi.c: Likewise.
39128 * soft-fp/fixunssfsi.c: Likewise.
39129 * soft-fp/fixunssfti.c: Likewise.
39130 * soft-fp/fixunstfdi.c: Likewise.
39131 * soft-fp/fixunstfsi.c: Likewise.
39132 * soft-fp/fixunstfti.c: Likewise.
39133 * soft-fp/floatdidf.c: Likewise.
39134 * soft-fp/floatdisf.c: Likewise.
39135 * soft-fp/floatditf.c: Likewise.
39136 * soft-fp/floatsidf.c: Likewise.
39137 * soft-fp/floatsisf.c: Likewise.
39138 * soft-fp/floatsitf.c: Likewise.
39139 * soft-fp/floattidf.c: Likewise.
39140 * soft-fp/floattisf.c: Likewise.
39141 * soft-fp/floattitf.c: Likewise.
39142 * soft-fp/floatundidf.c: Likewise.
39143 * soft-fp/floatundisf.c: Likewise.
39144 * soft-fp/floatunsidf.c: Likewise.
39145 * soft-fp/floatunsisf.c: Likewise.
39146 * soft-fp/floatuntidf.c: Likewise.
39147 * soft-fp/floatuntisf.c: Likewise.
39148 * soft-fp/floatuntitf.c: Likewise.
39149 * soft-fp/fmadf4.c: Likewise.
39150 * soft-fp/fmasf4.c: Likewise.
39151 * soft-fp/fmatf4.c: Likewise.
39152 * soft-fp/gedf2.c: Likewise.
39153 * soft-fp/gesf2.c: Likewise.
39154 * soft-fp/getf2.c: Likewise.
39155 * soft-fp/ledf2.c: Likewise.
39156 * soft-fp/lesf2.c: Likewise.
39157 * soft-fp/letf2.c: Likewise.
39158 * soft-fp/muldf3.c: Likewise.
39159 * soft-fp/mulsf3.c: Likewise.
39160 * soft-fp/multf3.c: Likewise.
39161 * soft-fp/negdf2.c: Likewise.
39162 * soft-fp/negsf2.c: Likewise.
39163 * soft-fp/negtf2.c: Likewise.
39164 * soft-fp/op-1.h: Likewise.
39165 * soft-fp/op-2.h: Likewise.
39166 * soft-fp/op-4.h: Likewise.
39167 * soft-fp/op-8.h: Likewise.
39168 * soft-fp/op-common.h: Likewise.
39169 * soft-fp/quad.h: Likewise.
39170 * soft-fp/single.h: Likewise.
39171 * soft-fp/soft-fp.h: Likewise.
39172 * soft-fp/sqrtdf2.c: Likewise.
39173 * soft-fp/sqrtsf2.c: Likewise.
39174 * soft-fp/sqrttf2.c: Likewise.
39175 * soft-fp/subdf3.c: Likewise.
39176 * soft-fp/subsf3.c: Likewise.
39177 * soft-fp/subtf3.c: Likewise.
39178 * soft-fp/truncdfsf2.c: Likewise.
39179 * soft-fp/trunctfdf2.c: Likewise.
39180 * soft-fp/trunctfsf2.c: Likewise.
39181 * soft-fp/trunctfxf2.c: Likewise.
39182 * soft-fp/unorddf2.c: Likewise.
39183 * soft-fp/unordsf2.c: Likewise.
39184 * soft-fp/unordtf2.c: Likewise.
39185
39186 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
39187
39188 [BZ #15672]
39189 * misc/error.c (error_tail): Fix possible buffer overflow.
39190
39191 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
39192
39193 [BZ #13028]
39194 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
39195 address.
39196
39197 2013-10-14 P. J. McDermott <pj@pehjota.net>
39198
39199 [BZ #832]
39200 * elf/ldd.bash.in (try_trace): New function. Delete previous code
39201 testing pipefail option.
39202
39203 2013-10-12 Joseph Myers <joseph@codesourcery.com>
39204
39205 * soft-fp/double.h: Indent preprocessor directives inside #if.
39206 * soft-fp/extended.h: Likewise.
39207 * soft-fp/op-2.h: Likewise.
39208 * soft-fp/op-4.h: Likewise.
39209 * soft-fp/op-common.h: Likewise.
39210 * soft-fp/quad.h: Likewise.
39211 * soft-fp/single.h: Likewise.
39212 * soft-fp/soft-fp.h: Likewise.
39213
39214 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
39215
39216 * iconv/iconv_prog.c: Fix typos.
39217 * stdio-common/psiginfo-data.h: Likewise.
39218
39219 2013-10-12 Reuben Thomas <rrt@sc3d.org>
39220
39221 [BZ #15764]
39222 * locale/setlocale.c: Fix typo.
39223
39224 2013-10-12 Joseph Myers <joseph@codesourcery.com>
39225
39226 [BZ #16036]
39227 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
39228 signaling NaN arguments.
39229 * soft-fp/unordsf2.c (__unordsf2): Likewise.
39230 * soft-fp/unordtf2.c (__unordtf2): Likewise.
39231
39232 [BZ #14910]
39233 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
39234 unordered operands.
39235 * soft-fp/gesf2.c (__gesf2): Likewise.
39236 * soft-fp/getf2.c (__getf2): Likewise.
39237 * soft-fp/ledf2.c (__ledf2): Likewise.
39238 * soft-fp/lesf2.c (__lesf2): Likewise.
39239 * soft-fp/letf2.c (__letf2): Likewise.
39240
39241 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
39242 * soft-fp/eqsf2.c (__eqsf2): Likewise.
39243 * soft-fp/eqtf2.c (__eqtf2): Likewise.
39244 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
39245 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
39246 * soft-fp/fixdfti.c (__fixdfti): Likewise.
39247 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
39248 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
39249 * soft-fp/fixsfti.c (__fixsfti): Likewise.
39250 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
39251 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
39252 * soft-fp/fixtfti.c (__fixtfti): Likewise.
39253 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
39254 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
39255 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
39256 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
39257 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
39258 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
39259 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
39260 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
39261 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
39262 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
39263 * soft-fp/floatdisf.c (__floatdisf): Likewise.
39264 * soft-fp/floatsisf.c (__floatsisf): Likewise.
39265 * soft-fp/floattidf.c (__floattidf): Likewise.
39266 * soft-fp/floattisf.c (__floattisf): Likewise.
39267 * soft-fp/floattitf.c (__floattitf): Likewise.
39268 * soft-fp/floatundidf.c (__floatundidf): Likewise.
39269 * soft-fp/floatundisf.c (__floatundisf): Likewise.
39270 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
39271 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
39272 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
39273 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
39274 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
39275 * soft-fp/gesf2.c (__gesf2): Likewise.
39276 * soft-fp/getf2.c (__getf2): Likewise.
39277 * soft-fp/ledf2.c (__ledf2): Likewise.
39278 * soft-fp/lesf2.c (__lesf2): Likewise.
39279 * soft-fp/letf2.c (__letf2): Likewise.
39280
39281 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
39282 Undefine and redefine.
39283 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
39284 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
39285 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
39286 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
39287 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39288 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
39289 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39290 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
39291 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39292 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
39293 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39294 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
39295 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39296 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
39297 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39298
39299 [BZ #16032]
39300 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
39301 without decrementing exponent if mantissa >= that for the
39302 denominator, not >.
39303 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
39304 denominator, not >. Decrement exponent in < case instead of
39305 incrementing in >= case.
39306 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
39307 without decrementing exponent if mantissa >= that for the
39308 denominator, not >.
39309
39310 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
39311 computing saturated result for unsigned overflow.
39312
39313 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39314 Jeff Law <law@redhat.com>
39315
39316 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
39317 (atan2Mp): Add systemtap probe marker.
39318 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
39319 (__ieee754_log): Add systemtap probe marker.
39320 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
39321 (atanMp): Add systemtap probe marker.
39322 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
39323 (tanMp): Add systemtap probe marker.
39324 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
39325 (__slowexp): Add systemtap probe marker.
39326 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
39327 (__slowpow): Add systemtap probe marker.
39328 * manual/probes.texi: Document probes.
39329
39330 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
39331
39332 [BZ #15362]
39333 * libio/fileops.c (_IO_new_file_write): Return count of bytes
39334 written.
39335 (_IO_new_file_xsputn): Don't return EOF if nothing has been
39336 written.
39337 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
39338 written to buffer but not flushed.
39339 * libio/iofwrite_u.c: Likewise.
39340 * libio/iopadn.c: Return bytes returned even if EOF was
39341 encountered.
39342 * libio/iowpadn.c: Likewise.
39343 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
39344 if _IO_padn does not write the whole buffer.
39345 [!COMPILE_WPRINTF] (PAD): Likewise.
39346
39347 2013-10-10 David S. Miller <davem@davemloft.net>
39348
39349 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
39350 directory block.
39351
39352 2013-10-10 Joseph Myers <joseph@codesourcery.com>
39353
39354 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
39355 instead of FSF address.
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 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
39371 * soft-fp/fixdfti.c: Likewise.
39372 * soft-fp/fixsfti.c: Likewise.
39373 * soft-fp/fixtfti.c: Likewise.
39374 * soft-fp/fixunsdfti.c: Likewise.
39375 * soft-fp/fixunssfti.c: Likewise.
39376 * soft-fp/fixunstfti.c: Likewise.
39377 * soft-fp/floattidf.c: Likewise.
39378 * soft-fp/floattisf.c: Likewise.
39379 * soft-fp/floattitf.c: Likewise.
39380 * soft-fp/floatuntidf.c: Likewise.
39381 * soft-fp/floatuntisf.c: Likewise.
39382 * soft-fp/floatuntitf.c: Likewise.
39383 * soft-fp/trunctfxf2.c: Likewise.
39384
39385 2013-10-10 David S. Miller <davem@davemloft.net>
39386
39387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39388
39389 2013-10-10 Joseph Myers <joseph@codsourcery.com>
39390
39391 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39392 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
39393 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
39394 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
39395 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
39396 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
39397 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
39398
39399 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
39400 for NaNs before doing comparisons on argument.
39401 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
39402 Likewise.
39403
39404 2013-10-10 Will Newton <will.newton@linaro.org>
39405
39406 * malloc/hooks.c (memalign_check): Ensure the value of bytes
39407 passed to _int_memalign does not overflow.
39408
39409 2013-10-10 Torvald Riegel <triegel@redhat.com>
39410
39411 * scripts/bench.pl: Add include-sources directive.
39412 * benchtests/README: Update documentation.
39413
39414 2013-10-10 Joseph Myers <joseph@codesourcery.com>
39415
39416 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
39417 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
39418 instead of FP_INIT_ROUNDMODE.
39419 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
39420 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
39421
39422 [BZ #16034]
39423 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
39424 copy class of input value.
39425 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
39426 not handle exceptions.
39427 * soft-fp/negsf2.c (__negsf2): Likewise.
39428 * soft-fp/negtf2.c (__negtf2): Likewise.
39429 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
39430
39431 2013-10-09 Joseph Myers <joseph@codesourcery.com>
39432
39433 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
39434 semicolon. From Linux kernel.
39435
39436 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
39437
39438 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
39439
39440 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
39441
39442 [BZ #156]
39443 * manual/socket.texi: Added statement about buffer
39444 for gethostbyname2_r.
39445
39446 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
39447
39448 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
39449 Use .p2align directive instead, throughout.
39450 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39451 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39452 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
39453 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39454 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39455 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
39456 * sysdeps/x86_64/strchr.S: Likewise.
39457 * sysdeps/x86_64/strrchr.S: Likewise.
39458
39459 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39460
39461 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
39462
39463 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
39464
39465 * sysdeps/generic/math_private.h (__mpsin1): Remove
39466 declaration.
39467 (__mpcos1): Likewise.
39468 (__mpsin): New argument __range_reduce.
39469 (__mpcos): Likewise.
39470 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39471 (slow): Use __mpsin and __mpcos.
39472 (slow1): Likewise.
39473 (slow2): Likewise.
39474 (sloww): Likewise.
39475 (sloww1): Likewise.
39476 (sloww2): Likewise.
39477 (bsloww): Likewise.
39478 (bsloww1): Likewise.
39479 (bsloww2): Likewise.
39480 (cslow2): Likewise.
39481 (csloww): Likewise.
39482 (csloww1): Likewise.
39483 (csloww2): Likewise.
39484 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
39485 range_reduce. Merge in __mpsin1.
39486 (__mpcos): Likewise.
39487 (__mpsin1): Remove.
39488 (__mpcos1): Likewise.
39489
39490 2013-10-07 Joseph Myers <joseph@codesourcery.com>
39491
39492 * locale/loadlocale.c (_nl_intern_locale_data): Use
39493 LOCFILE_ALIGNED_P.
39494 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
39495 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
39496 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
39497 obstack data is appropriately aligned.
39498 (obstack_int32_grow_fast): Likewise.
39499 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
39500 * locale/programs/locfile.c (add_locale_uint32): Likewise.
39501 (add_locale_uint32_array): Likewise.
39502
39503 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39504
39505 * benchtests/Makefile: Remove ARGLIST and RET variables.
39506 ($(objpfx)bench-%.c): Pass only function name to the script.
39507 * benchtests/README: Update documentation.
39508 * benchtests/acos-inputs: Add new directives.
39509 * benchtests/acosh-inputs: Likewise.
39510 * benchtests/asin-inputs: Likewise.
39511 * benchtests/asinh-inputs: Likewise.
39512 * benchtests/atan-inputs: Likewise.
39513 * benchtests/atanh-inputs: Likewise.
39514 * benchtests/cos-inputs: Likewise.
39515 * benchtests/cosh-inputs: Likewise.
39516 * benchtests/exp-inputs: Likewise.
39517 * benchtests/log-inputs: Likewise.
39518 * benchtests/pow-inputs: Likewise.
39519 * benchtests/rint-inputs: Likewise.
39520 * benchtests/sin-inputs: Likewise.
39521 * benchtests/sinh-inputs: Likewise.
39522 * benchtests/tan-inputs: Likewise.
39523 * benchtests/tanh-inputs: Likewise.
39524 * scripts/bench.pl: Add support for new directives.
39525
39526 2013-10-07 Alan Modra <amodra@gmail.com>
39527
39528 * README: Fix careless merge.
39529
39530 2013-10-05 Alan Modra <amodra@gmail.com>
39531
39532 * NEWS: Mention powerpc64le support and bugs fixed.
39533 * README: Both big-endian and little-endian powerpc64 supported.
39534
39535 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
39536
39537 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
39538 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
39539 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
39540 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
39541
39542 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
39543
39544 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
39545 match prototype.
39546
39547 2013-10-04 Joseph Myers <joseph@codesourcery.com>
39548
39549 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
39550 Move -mhard-float appending from
39551 ports/sysdeps/powerpc/powerpc32/Makefile.
39552 [$(with-fp) = yes] (ASFLAGS): Likewise.
39553 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
39554 * sysdeps/powerpc/nofpu: Move directory from
39555 ports/sysdeps/powerpc/nofpu.
39556 * sysdeps/powerpc/soft-fp: Move directory from
39557 ports/sysdeps/powerpc/soft-fp.
39558 * sysdeps/powerpc/powerpc32/405: Move directory from
39559 ports/sysdeps/powerpc/powerpc32/405.
39560 * sysdeps/powerpc/powerpc32/440: Move directory from
39561 ports/sysdeps/powerpc/powerpc32/440.
39562 * sysdeps/powerpc/powerpc32/464: Move directory from
39563 ports/sysdeps/powerpc/powerpc32/464.
39564 * sysdeps/powerpc/powerpc32/476: Move directory from
39565 ports/sysdeps/powerpc/powerpc32/476.
39566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
39567 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
39568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
39569 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
39570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
39571 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
39572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
39573 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
39574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
39575 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
39576 * README: Update for powerpc-*-linux-gnu software floating point
39577 support in libc.
39578
39579 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
39580 case to powerpc/powerpc32*.
39581 * sysdeps/unix/sysv/linux/configure: Regenerated.
39582
39583 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
39584 (_FPU_MASK_OM): Define as 0x04.
39585 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
39586 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
39587 0x00c10080.
39588 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
39589 0x0000003c.
39590 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
39591
39592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
39593 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39594 getcontext_e500.
39595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
39596 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39597 setcontext_e500.
39598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
39599 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
39600 and setcontext_e500.
39601
39602 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
39603
39604 * locale/iso-3166.def: Update iso-1366.def and related occurrences
39605
39606 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39607
39608 * manual/threads.texi (Default Thread Attributes): Fix typo.
39609
39610 2013-10-04 Will Newton <will.newton@linaro.org>
39611
39612 * malloc/Makefile: Add tst-memalign.
39613 * malloc/tst-memalign.c: New file.
39614
39615 * malloc/tst-posix_memalign.c: Add comments.
39616 (do_test): Add comments and call free on all potentially
39617 allocated pointers. Add space after cast.
39618
39619 * malloc/tst-pvalloc.c: Add comments.
39620 (do_test): Add comments and call free on all potentially
39621 allocated pointers. Remove duplicate check for NULL pointer.
39622 Add space after cast.
39623
39624 * malloc/tst-valloc.c: Add comments.
39625 (do_test): Add comments and call free on all potentially
39626 allocated pointers. Remove duplicate check for NULL pointer.
39627 Add space after cast.
39628
39629 2013-10-04 Alan Modra <amodra@gmail.com>
39630
39631 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39632 Use stdint types in rather than __attribute__((mode())).
39633 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39634
39635 2013-10-04 Alan Modra <amodra@gmail.com>
39636
39637 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39638 Correct handling of unaligned relocs for little-endian.
39639 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39640
39641 2013-10-04 Alan Modra <amodra@gmail.com>
39642
39643 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
39644 * configure: Regenerate.
39645 * nptl/shlib-versions: Powerpc*le starts at 2.18.
39646 * shlib-versions: Likewise.
39647
39648 2013-10-04 Alan Modra <amodra@gmail.com>
39649
39650 * string/tester.c (test_memrchr): Increment reported test cycle.
39651
39652 2013-10-04 Alan Modra <amodra@gmail.com>
39653
39654 * string/test-memcpy.c (do_one_test): When reporting errors, print
39655 string address and don't overrun end of string.
39656
39657 2013-10-04 Alan Modra <amodra@gmail.com>
39658
39659 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
39660 insrdi. Make better use of reg selection to speed exit slightly.
39661 Schedule entry path a little better. Remove useless "are we done"
39662 checks on entry to main loop. Handle wrapping around zero address.
39663 Correct main loop count. Handle single left-over word from main
39664 loop inline rather than by using loop_small. Remove extra word
39665 case in loop_small caused by wrong loop count. Add little-endian
39666 support.
39667 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39668 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
39669 cache hint.
39670 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39671 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
39672 support. Avoid rlwimi.
39673 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
39674
39675 2013-10-04 Alan Modra <amodra@gmail.com>
39676
39677 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
39678 insrdi. Formatting.
39679 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
39680 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39681 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39682 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39683 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39684 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
39685
39686 2013-10-04 Alan Modra <amodra@gmail.com>
39687
39688 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
39689 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39690 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39691 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
39692 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39693 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39694 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39695 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39696 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
39697 use of regs. Use power7 mtocrf. Tidy function tails.
39698
39699 2013-10-04 Alan Modra <amodra@gmail.com>
39700
39701 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
39702 Formatting. Consistently use rXXX register defines or rN defines.
39703 Use early exit labels that avoid restoring unused non-volatile regs.
39704 Make cr field use more consistent with rWORDn compares. Rename
39705 regs used as shift registers for unaligned loop, using rN defines
39706 for short lifetime/multiple use regs.
39707 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39708 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
39709 addi 1,1,64 to pop stack frame. Simplify return value code.
39710 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39711
39712 2013-10-04 Alan Modra <amodra@gmail.com>
39713
39714 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
39715 support. Correct typos, formatting. Optimize tail. Use insrdi
39716 rather than rlwimi.
39717 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
39718 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
39719 little-endian support. Correct typos.
39720 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
39721 rather than rlwimi.
39722 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
39723 in loop and entry code to keep "and." results.
39724 (strchr): Add little-endian support. Comment. Move cntlzd
39725 earlier in tail.
39726 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
39727
39728 2013-10-04 Alan Modra <amodra@gmail.com>
39729
39730 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
39731 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
39732 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
39733 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
39734
39735 2013-10-04 Alan Modra <amodra@gmail.com>
39736
39737 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
39738 (rTMP): Define as r11.
39739 (strcmp): Add little-endian support. Optimise tail.
39740 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
39741 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39742 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39743 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39744 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39745 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39746 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39747
39748 2013-10-04 Alan Modra <amodra@gmail.com>
39749
39750 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
39751 little-endian support. Remove unnecessary "are we done" tests.
39752 Handle "s" wrapping around zero and extremely large "size".
39753 Correct main loop count. Handle single left-over word from main
39754 loop inline rather than by using small_loop. Correct comments.
39755 Delete "zero" tail, use "end_max" instead.
39756 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
39757
39758 2013-10-04 Alan Modra <amodra@gmail.com>
39759
39760 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
39761 support. Don't branch over align.
39762 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
39763 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
39764 support. Rearrange tmp reg use to suit. Comment.
39765 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
39766
39767 2013-10-04 Alan Modra <amodra@gmail.com>
39768
39769 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
39770
39771 2013-10-04 Alan Modra <amodra@gmail.com>
39772
39773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
39774 conditional form of branch and link when obtaining pc.
39775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39776
39777 2013-10-04 Alan Modra <amodra@gmail.com>
39778
39779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
39780 HIWORD/LOWORD.
39781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
39782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
39783
39784 2013-10-04 Alan Modra <amodra@gmail.com>
39785
39786 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
39787 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
39788 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39789 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
39790 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39791 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39792 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
39793 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39794 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39795 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
39796
39797 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39798 Alistair Popple <alistair@ozlabs.au.ibm.com>
39799 Alan Modra <amodra@gmail.com>
39800
39801 [BZ #15723]
39802 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
39803 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
39804 _dl_hwcap access for little-endian.
39805 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
39806 destroy vmx regs when saving unaligned.
39807 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
39808 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
39809 destroy vmx regs when saving unaligned.
39810
39811 2013-10-04 Alan Modra <amodra@gmail.com>
39812
39813 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
39814 Don't use a union to pack hi/low value.
39815
39816 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39817
39818 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
39819 for little-endian.
39820 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39821 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
39822 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39823 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39824 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39825
39826 2013-10-04 Alan Modra <amodra@gmail.com>
39827
39828 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
39829 constants to usual value for .cst8 section, and remove redundant
39830 high address load.
39831 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
39832 constant for 0x1p52. Load little-endian words of double from
39833 correct stack offsets.
39834
39835 2013-10-04 Alan Modra <amodra@gmail.com>
39836
39837 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
39838 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
39839 words of double from correct stack offsets.
39840 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39841 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
39842 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39843 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39844 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39845 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39846 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39847 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39848 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39849 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39850 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39851 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39852 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39853 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39854 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39855 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
39856 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39857
39858 2013-10-04 Alan Modra <amodra@gmail.com>
39859
39860 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
39861 64-bit int/double union.
39862 (_FPU_SETCW): Likewise.
39863 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
39864 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
39865
39866 2013-10-04 Alan Modra <amodra@gmail.com>
39867
39868 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
39869 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
39870
39871 2013-10-04 Alan Modra <amodra@gmail.com>
39872
39873 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
39874 use vector int constants.
39875 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
39876
39877 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39878
39879 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
39880 array with long long.
39881 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
39882 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
39883 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
39884 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
39885 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
39886 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
39887 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
39888 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
39889 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
39890 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
39891 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
39892 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
39893 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
39894
39895 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39896
39897 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
39898 (__signbit): Likewise. Correct for little-endian.
39899 (__signbitl): Call __signbit.
39900 (lrint): Correct for little-endian.
39901 (lrintf): Call lrint.
39902
39903 2013-10-04 Alan Modra <amodra@gmail.com>
39904
39905 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
39906 union 32-bit int array member with 64-bit int array.
39907 (t515, tm256): Double rather than long double.
39908 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
39909
39910 2013-10-04 Alan Modra <amodra@gmail.com>
39911
39912 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
39913 Delete.
39914 (IEEE854_LONG_DOUBLE_BIAS): Delete.
39915 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
39916 version of math_ldbl.h.
39917
39918 2013-10-04 Alan Modra <amodra@gmail.com>
39919
39920 [BZ #15734], [BZ #15735]
39921 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
39922 all uses of ieee875 long double macros and unions. Simplify test
39923 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
39924 ldbl_extract_mantissa value for ix,iy exponents. Properly
39925 normalize after ldbl_extract_mantissa, and don't add hidden bit
39926 already handled. Don't treat low word of ieee854 mantissa like
39927 low word of IBM long double and mask off bit when testing for
39928 zero.
39929 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
39930 all uses of ieee875 long double macros and unions. Simplify tests
39931 for 0.0L and inf. Correct double adjustment of k. Delete dead code
39932 adjusting ha,hb. Simplify code setting kld. Delete two600 and
39933 two1022, instead use their values. Recognise that tests for large
39934 "a" and small "b" are mutually exclusive. Rename vars. Comment.
39935 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
39936 Rewrite all uses of ieee875 long double macros and unions. Simplify
39937 test for 0.0L and nan. Correct negation.
39938 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
39939 ieee875 long double macros and unions. Correct output for large
39940 magnitude x. Correct absolute value calculation.
39941 (__erfcl): Likewise.
39942 * math/libm-test.inc: Add tests for errors discovered in IBM long
39943 double versions of fmodl, remainderl, erfl and erfcl.
39944
39945 2013-10-04 Alan Modra <amodra@gmail.com>
39946
39947 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
39948 all uses of ieee854 long double macros and unions. Simplify tests
39949 for long doubles that are fully specified by the high double.
39950 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
39951 Likewise.
39952 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
39953 Remove dead code too.
39954 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
39955 (__ieee754_ynl): Likewise.
39956 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
39957 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
39958 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
39959 Remove dead code too.
39960 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
39961 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
39962 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
39963 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
39964 Simplify.
39965 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
39966 Simplify.
39967 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
39968 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
39969 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
39970 Comment on variable precision.
39971 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
39972 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39973 Likewise.
39974 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39975 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39976 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39977 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
39978 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
39979
39980 2013-10-04 Alan Modra <amodra@gmail.com>
39981
39982 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
39983 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
39984 all uses of ieee854 long double macros and unions.
39985 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
39986 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39987 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
39988 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
39989 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
39990 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39991 Likewise.
39992 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
39993 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39994 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
39995 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39996 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
39997 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
39998 Simplify sign and nan test too.
39999 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
40000 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
40001 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
40002 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
40003 Likewise.
40004 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40005 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
40006 Likewise.
40007 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40008 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
40009 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
40010 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
40011 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
40012 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
40013
40014 2013-10-04 Alan Modra <amodra@gmail.com>
40015
40016 * stdio-common/printf_size.c (__printf_size): Don't use
40017 union ieee854_long_double in fpnum union.
40018 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
40019 signbit macro to retrieve sign from long double.
40020 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
40021 retrieve sign from long double.
40022 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
40023 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
40024 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
40025 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40026 * math/test-misc.c (main): Don't use union ieee854_long_double.
40027
40028 2013-10-04 Alan Modra <amodra@gmail.com>
40029
40030 [BZ #15680]
40031 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
40032 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
40033 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
40034 calculation. Remove unnecessary test for denormal exponent.
40035 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
40036 Correct handling of denormals. Avoid undefined shift behaviour.
40037 Correct normalisation of low mantissa when low double is denormal.
40038 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
40039 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
40040 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
40041 Correct normalisation of low mantissa. Test for overflow of high
40042 mantissa and normalise.
40043 (ldbl_nearbyint): Use more readable constant for two52.
40044 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
40045 (__mpn_construct_long_double): Fix test for overflow of high
40046 mantissa and correct normalisation. Avoid undefined shift.
40047
40048 2013-10-04 Alan Modra <amodra@gmail.com>
40049
40050 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40051 (union ibm_extended_long_double): Define as an array of ieee754_double.
40052 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
40053 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
40054 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
40055 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40056 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40057 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
40058 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40059 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40060 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40061 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
40062 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40063
40064 2013-10-03 Joseph Myers <joseph@codesourcery.com>
40065
40066 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
40067 page size instead of calling getpagesize.
40068
40069 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
40070 (LOCFILE_ALIGN_MASK): Likewise.
40071 (LOCFILE_ALIGN_UP): Likewise.
40072 (LOCFILE_ALIGNED_P): Likewise.
40073 * locale/programs/ld-collate.c (collate_output): Use the new
40074 macros instead of __alignof__ (int32_t).
40075 * locale/weight.h (findidx): Likewise.
40076
40077 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
40078
40079 [BZ #431]
40080 * manual/string.texi: Fix strncat and wcsncat.
40081
40082 2013-10-03 Brooks Moses <bmoses@google.com>
40083
40084 [BZ #15915]
40085 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
40086 * Makerules: ...here, and adjust associated comments.
40087
40088 2013-10-02 Will Newton <will.newton@linaro.org>
40089
40090 * malloc/Makefile: Add tst-pvalloc.
40091 * malloc/tst-pvalloc.c: New file.
40092
40093 2013-10-02 Will Newton <will.newton@linaro.org>
40094
40095 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
40096 improve test coverage.
40097
40098 2013-10-02 Will Newton <will.newton@linaro.org>
40099
40100 * malloc/Makefile: Add tst-posix_memalign.
40101 * malloc/tst-posix_memalign.c: New file.
40102
40103 2013-10-01 Eric Blake <eblake@redhat.com>
40104
40105 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
40106 Use __THROWNL rather than __THROW on static functions.
40107
40108 2013-09-30 Petr Machata <pmachata@redhat.com>
40109
40110 * elf/elf.h (R_AARCH64_ABS16): New macro.
40111 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
40112 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
40113 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
40114 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
40115 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
40116 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
40117 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
40118 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
40119 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
40120 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
40121 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
40122 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
40123 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
40124 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
40125 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
40126 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
40127 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
40128 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
40129 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
40130 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
40131 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
40132 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
40133 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
40134 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
40135 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
40136 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
40137 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
40138 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
40139 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
40140 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
40141 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
40142 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
40143 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
40144 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
40145 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
40146 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
40147 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
40148 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
40149 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
40150 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
40151 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
40152 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
40153 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
40154 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
40155 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
40156 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
40157 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
40158 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
40159 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
40160 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
40161 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
40162 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
40163 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
40164 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
40165 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
40166 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
40167 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
40168 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
40169 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
40170 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
40171 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
40172 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
40173 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
40174 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
40175 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
40176 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
40177 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
40178 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
40179 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
40180 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
40181 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
40182 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
40183 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
40184 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
40185 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
40186 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
40187 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
40188 (R_AARCH64_TLSDESC_LDR): Likewise.
40189 (R_AARCH64_TLSDESC_ADD): Likewise.
40190 (R_AARCH64_TLSDESC_CALL): Likewise.
40191
40192 2013-09-30 Andreas Schwab <schwab@suse.de>
40193
40194 [BZ #15048]
40195 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
40196 the nss database lookup.
40197 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40199
40200 2013-09-28 Mike Frysinger <vapier@gentoo.org>
40201
40202 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
40203
40204 2013-09-28 P. J. McDermott <pj@pehjota.net>
40205
40206 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
40207 ${Bash-specific parameter/pattern/string} parameter expansion.
40208 * sysdeps/unix/make-syscalls.sh: Likewise.
40209
40210 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40211
40212 * sysdeps/sh/stackguard-macros.h: New file.
40213
40214 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
40215
40216 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40217 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
40218 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
40219 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
40220 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40221 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
40222
40223 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40224
40225 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
40226 Fix thread ID register.
40227
40228 2013-09-25 Joseph Myers <joseph@codesourcery.com>
40229
40230 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
40231 [POSIX || UNIX98]: Require rather than permitting all symbols from
40232 <time.h>.
40233 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
40234 element of struct sched_param.
40235 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
40236 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
40237 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
40238 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
40239 constant.
40240
40241 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
40242
40243 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
40244 argument calculation.
40245
40246 2013-09-24 Joseph Myers <joseph@codesourcery.com>
40247
40248 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
40249 Expect macro.
40250 [POSIX] (pthread_attr_t): Do not require type.
40251 [POSIX] (pthread_cond_t): Likewise.
40252 [POSIX] (pthread_condattr_t): Likewise.
40253 [POSIX] (pthread_key_t): Likewise.
40254 [POSIX] (pthread_mutex_t): Likewise.
40255 [POSIX] (pthread_mutexattr_t): Likewise.
40256 [POSIX] (pthread_once_t): Likewise.
40257 [POSIX] (pthread_t): Likewise.
40258 [POSIX-based standards] (pthread_atfork): Expect function.
40259
40260 2013-09-24 Joseph Myers <joseph@codesourcery.com>
40261 Richard Sandiford <richard@codesourcery.com>
40262
40263 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
40264 (swap_endianness_p): New extern variable.
40265 (set_big_endian): New inline function.
40266 (maybe_swap_uint32): Likewise.
40267 (maybe_swap_uint32_array): Likewise.
40268 (maybe_swap_uint32_obstack): Likewise.
40269 * locale/programs/locfile.c: Include <stdbool.h>.
40270 (swap_endianness_p): New variable.
40271 (add_locale_uint32): Call maybe_swap_uint32.
40272 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
40273 (write_locale_data): Call maybe_swap_uint32_array.
40274 * locale/programs/ld-collate.c (obstack_int32_grow): Call
40275 maybe_swap_uint32.
40276 (obstack_int32_grow_fast): Likewise.
40277 (output_weightwc): Call maybe_swap_uint32_obstack.
40278 (collate_output): Likewise.
40279 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
40280 (OPT_LITTLE_ENDIAN): Likewise.
40281 (options): Add --little-endian and --big-endian options.
40282 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
40283 * locale/programs/locarchive.c: Include "locfile.h".
40284 (GET): New macro.
40285 (SET): Likewise.
40286 (INC): Likewise.
40287 (create_archive): Use the new macros to access fields of
40288 structures directly mapped from or written to locale archives.
40289 (oldlocrecentcmp): Likewise.
40290 (enlarge_archive): Likewise.
40291 (insert_name): Likewise.
40292 (add_alias): Likewise.
40293 (add_locale): Likewise.
40294 (delete_locales_from_archive): Likewise.
40295 (show_archive_content): Likewise.
40296 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
40297 locale data.
40298
40299 2013-09-24 Roland McGrath <roland@hack.frob.com>
40300
40301 * manual/freemanuals.texi: Updated from (newly) canonical copy at
40302 http://www.gnu.org/doc/freemanuals.texi.
40303 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
40304
40305 2013-09-24 Will Newton <will.newton@linaro.org>
40306
40307 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
40308 macro.
40309
40310 2013-09-23 Joseph Myers <joseph@codesourcery.com>
40311
40312 * locale/hashval.h (compute_hashval): Interpret bytes of key as
40313 unsigned char.
40314
40315 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
40316
40317 * manual/threads.texi (POSIX Threads): Fix a typo.
40318
40319 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
40320
40321 [BZ #14547]
40322 * string/tst-strcoll-overflow.c: New test case.
40323 * string/Makefile (xtests): Add tst-strcoll-overflow.
40324 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
40325 cache if string sizes may cause integer overflow.
40326
40327 [BZ #14547]
40328 * string/strcoll_l.c (coll_seq): New members rule, idx,
40329 save_idx and back_us.
40330 (get_next_seq_nocache): New function.
40331 (do_compare_nocache): New function.
40332 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
40333 when malloc fails.
40334
40335 2013-09-23 Carlos O'Donell <carlos@redhat.com>
40336
40337 [BZ #15754]
40338 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
40339 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
40340 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
40341
40342 [BZ #15754]
40343 * elf/Makefile (tests): Add tst-ptrguard1.
40344 (tests-static): Add tst-ptrguard1-static.
40345 (tst-ptrguard1-ARGS): Define.
40346 (tst-ptrguard1-static-ARGS): Define.
40347 * elf/tst-ptrguard1.c: New file.
40348 * elf/tst-ptrguard1-static.c: New file.
40349 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
40350 * sysdeps/i386/stackguard-macros.h: Likewise.
40351 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40352 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40353 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40354 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40355 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40356 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40357
40358 2013-09-23 Hector Marco <hecmargi@upv.es>
40359 Ismael Ripoll <iripoll@disca.upv.es>
40360 Carlos O'Donell <carlos@redhat.com>
40361
40362 [BZ #15754]
40363 * sysdeps/generic/stackguard-macros.h: Define
40364 __pointer_chk_guard_local and POINTER_CHK_GUARD.
40365 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
40366 Define __pointer_chk_guard_local.
40367 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
40368 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
40369
40370 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
40371
40372 [BZ #15859]
40373 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
40374
40375 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
40376
40377 * include/string.h (__ffs): Declare as hidden.
40378 * string/ffs.c (__ffs): Define as hidden.
40379 * sysdeps/i386/ffs.c (__ffs): Likewise.
40380 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
40381 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
40382 * sysdeps/s390/ffs.c (__ffs): Likewise.
40383 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
40384
40385 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
40386
40387 * NEWS: Mention malloc probes.
40388
40389 * malloc/arena.c (new_heap): New memory_heap_new probe.
40390 (grow_heap): New memory_heap_more probe.
40391 (shrink_heap): New memory_heap_less probe.
40392 (heap_trim): New memory_heap_free probe.
40393 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
40394 (systrim): New memory_sbrk_less probe.
40395 * manual/probes.texi: Document them.
40396
40397 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
40398 * manual/probes.texi: Document it.
40399
40400 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
40401 (__libc_realloc): Add memory_realloc_retry probe.
40402 (__libc_memalign): Add memory_memalign_retry probe.
40403 (__libc_valloc): Add memory_valloc_retry probe.
40404 (__libc_pvalloc): Add memory_pvalloc_retry probe.
40405 (__libc_calloc): Add memory_calloc_retry probe.
40406 * manual/probes.texi: Document them.
40407
40408 * malloc/arena.c (get_free_list): Add probe
40409 memory_arena_reuse_free_list.
40410 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
40411 and memory_arena_reuse.
40412 (arena_get2) [!PER_THREAD]: Likewise.
40413 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
40414 memory_arena_reuse_realloc.
40415 * manual/probes.texi: Document them.
40416
40417 * malloc/malloc.c (__libc_free): Add
40418 memory_mallopt_free_dyn_thresholds probe.
40419 (__libc_mallopt): Add multiple memory_mallopt probes.
40420 * manual/probes.texi: Document them.
40421
40422 * malloc/malloc.c: Include stap-probe.h.
40423 (__libc_mallopt): Add memory_mallopt probe.
40424 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
40425 * manual/probes.texi: New.
40426 * manual/Makefile (chapters): Add probes.
40427 * manual/threads.texi: Set next node.
40428
40429 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
40430
40431 [BZ #15963, #13985]
40432 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
40433 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
40434 Add `Chinese' to `nan' entry name.
40435
40436 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40437
40438 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
40439 (POLYNOMIAL): Likewise.
40440 (TAYLOR_SINCOS): Likewise.
40441 (TAYLOR_SLOW): Likewise.
40442 (__sin): Use TAYLOR_SINCOS.
40443 (__cos): Likewise.
40444 (slow): Use TAYLOR_SLOW.
40445 (sloww): Likewise.
40446 (bsloww): Likewise.
40447 (csloww): Likewise.
40448
40449 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40450
40451 * stdlib/strtod_l.c: Fix buffer overrun.
40452
40453 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40454
40455 * benchtests/Makefile (bench): Add sincos.
40456 * benchtests/bench-sincos.c: New file.
40457
40458 * math/libm-test.inc (cos_test_data): New test inputs.
40459 (sin_test_data): Likewise.
40460
40461 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
40462 macro.
40463 (__sin): Use it.
40464 (__cos): Likewise.
40465 (slow1): Likewise.
40466 (slow2): Likewise.
40467 (sloww1): Likewise.
40468 (sloww2): Likewise.
40469 (bsloww1): Likewise.
40470 (bsloww2): Likewise.
40471 (cslow2): Likewise.
40472 (csloww1): Likewise.
40473 (csloww2): Likewise.
40474
40475 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
40476 function.
40477 (__sin): Use it.
40478 (__cos): Likewise.
40479
40480 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
40481 gotos.
40482 (__cos): Likewise.
40483
40484 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
40485
40486 * config.h.in (HAVE_MIPS_NAN2008): New macro.
40487 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
40488 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
40489 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
40490 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
40491 * elf/cache.c (print_entry): Handle the new cache flags.
40492
40493 2013-09-18 Joseph Myers <joseph@codesourcery.com>
40494 Aldy Hernandez <aldyh@redhat.com>
40495
40496 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
40497 Change condition to [_SOFT_FLOAT].
40498 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
40499 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
40500 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
40501 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
40502 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
40503 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
40504 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
40505 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
40506 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
40507 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
40508 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
40509 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
40510 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
40511 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
40512 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
40513 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
40514 declaration.
40515
40516 2013-09-18 Joseph Myers <joseph@codesourcery.com>
40517
40518 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
40519 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40520 (__longjmp): Use LOAD_GP to load saved GPRs.
40521 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
40522 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40523 (__sigsetjmp): Use SAVE_GP to save GPRs.
40524
40525 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
40526 Do not append -msoft-float.
40527 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
40528
40529 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40530
40531 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
40532
40533 2013-09-17 Joseph Myers <joseph@codesourcery.com>
40534
40535 [BZ #15966]
40536 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
40537 (_FPU_GETCW): Use initial "__" on variable and field names but not
40538 on macro parameter name.
40539 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
40540 parentheses around reference to macro parameter.
40541
40542 2013-09-13 Richard Sandiford <richard@codesourcery.com>
40543
40544 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
40545 prototype.
40546 (ctype_startup): Use uint32_t in cast and sizeof for
40547 ctype->charnames.
40548
40549 2013-09-11 Jia Liu <proljc@gmail.com>
40550
40551 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
40552 __daddr_t_defined.
40553 [__FreeBSD__]: Likewise.
40554
40555 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
40556
40557 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
40558 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
40559 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
40560 (strchr): Remove __strchr_sse42 ifunc selection.
40561 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
40562 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
40563
40564 2013-09-11 Will Newton <will.newton@linaro.org>
40565
40566 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
40567 parameter to RES. Remove hardcoded 1000 value.
40568 * benchtests/bench-skeleton.c (main): Pass RES parameter
40569 to TIMING_INIT and multiply result by 1000.
40570
40571 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40572
40573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40574
40575 2013-09-11 Andreas Schwab <schwab@suse.de>
40576
40577 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40578 if not defined.
40579 (O_TMPFILE) [__USE_GNU]: Define.
40580 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
40581 Define.
40582
40583 2013-09-11 Will Newton <will.newton@linaro.org>
40584
40585 [BZ #15857]
40586 * malloc/malloc.c (__libc_memalign): Check the value of bytes
40587 does not overflow.
40588
40589 2013-09-11 Will Newton <will.newton@linaro.org>
40590
40591 [BZ #15856]
40592 * malloc/malloc.c (__libc_valloc): Check the value of bytes
40593 does not overflow.
40594
40595 2013-09-11 Will Newton <will.newton@linaro.org>
40596
40597 [BZ #15855]
40598 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
40599 does not overflow.
40600
40601 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
40602
40603 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
40604 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40605 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40606 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40607 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40608
40609 2013-09-10 Allan McRae <allan@archlinux.org>
40610
40611 [BZ #15748]
40612 * manual/arith.texi (Parsing of Floats): Clarify
40613 cross-reference.
40614
40615 [BZ #15849]
40616 * manual/install.texi (Running make install): Mention
40617 --enable-pt-chown.
40618 * INSTALL: Regenerated.
40619
40620 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
40621
40622 * csu/init-first.c (_init): Remove the !SHARED condition around
40623 FPU control word initialization.
40624 * elf/dl-support.c (_dl_fpu_control): New variable.
40625 (_dl_aux_init) <AT_FPUCW>: Initialize it.
40626 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
40627 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
40628 * math/test-fpucw-static.c: New file.
40629 * math/test-fpucw-ieee.c: New file.
40630 * math/test-fpucw-ieee-static.c: New file.
40631 * math/Makefile (tests): Add `test-fpucw-ieee' and
40632 `$(tests-static)'.
40633 (tests-static): New variable.
40634 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
40635 dependency to...
40636 [($(build-shared),yes)]
40637 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40638 ... this.
40639 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
40640 New dependency.
40641
40642 2013-09-09 Allan McRae <allan@archlinux.org>
40643
40644 [BZ #15939]
40645 * manual/string.texi (Collation Functions): Fix typo in
40646 strcoll example.
40647 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
40648
40649 [BZ #15893]
40650 * stdlib/isomac.c (get_null_defines): Fix memory leak.
40651
40652 [BZ #15892]
40653 * libio/memstream.c (open_memstream): Fix memory leak.
40654 * libio/wmemstream.c (open_wmemstream): Likewise.
40655
40656 [BZ #15895]
40657 * nscd/netgroupcache.c: Fix nesting of ifdefs.
40658
40659 2013-09-09 Will Newton <will.newton@linaro.org>
40660
40661 * malloc/Makefile: Add tst-realloc to tests.
40662 * malloc/tst-realloc.c: New file.
40663
40664 2013-09-09 Allan McRae <allan@archlinux.org>
40665
40666 [BZ #15844]
40667 * COPYING: Update from GNU website to fix FSF address.
40668 * COPYING.LIB: Likewise.
40669
40670 2013-09-06 David S. Miller <davem@davemloft.net>
40671
40672 * po/zh_TW.po: Update Chinese (traditional) translation from
40673 translation project.
40674
40675 2013-09-06 Richard Sandiford <richard@codesourcery.com>
40676 Joseph Myers <joseph@codesourcery.com>
40677
40678 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
40679 "localeinfo.h".
40680 (obstack_chunk_alloc): New macro.
40681 (obstack_chunk_free): Likewise.
40682 (record_offset): New function.
40683 (init_locale_data): Likewise.
40684 (align_locale_data): Likewise.
40685 (add_locale_empty): Likewise.
40686 (add_locale_raw_data): Likewise.
40687 (add_locale_raw_obstack): Likewise.
40688 (add_locale_string): Likewise.
40689 (add_locale_wstring): Likewise.
40690 (add_locale_uint32): Likewise.
40691 (add_locale_uint32_array): Likewise.
40692 (add_locale_char): Likewise.
40693 (start_locale_structure): Likewise.
40694 (end_locale_structure): Likewise.
40695 (start_locale_prelude): Likewise.
40696 (end_locale_prelude): Likewise.
40697 (write_locale_data): Take locale_file structure rather than an
40698 iovec.
40699 * locale/programs/locfile.h: Include "obstack.h".
40700 (struct locale_file): Change to store locale file contents instead
40701 of header.
40702 (init_locale_data): New prototype.
40703 (align_locale_data): Likewise.
40704 (add_locale_empty): Likewise.
40705 (add_locale_raw_data): Likewise.
40706 (add_locale_raw_obstack): Likewise.
40707 (add_locale_string): Likewise.
40708 (add_locale_wstring): Likewise.
40709 (add_locale_uint32): Likewise.
40710 (add_locale_uint32_array): Likewise.
40711 (add_locale_char): Likewise.
40712 (start_locale_structure): Likewise.
40713 (end_locale_structure): Likewise.
40714 (start_locale_prelude): Likewise.
40715 (end_locale_prelude): Likewise.
40716 (write_locale_data): Update prototype.
40717 * locale/programs/3level.h (struct TABLE): Remove result field.
40718 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
40719 Use new locale_file interface.
40720 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
40721 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
40722 * locale/programs/ld-address.c (address_output): Use new
40723 locale_file interface.
40724 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
40725 NO_ADD_LOCALE.
40726 (collate_finish): Don't call collseq_table_finalize.
40727 (collate_output): Use new locale_file interface.
40728 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
40729 in file.
40730 (NO_FINALIZE): Change to NO_ADD_LOCALE.
40731 (TABLE): Move defines earlier in file.
40732 (ELEMENT): Likewise.
40733 (DEFAULT): Likewise.
40734 (wctrans_table_add): Move macro and inline function earlier in
40735 file.
40736 (struct wctype_table): Move type earlier in file.
40737 (add_locale_wctype_table): New static prototype.
40738 (struct locale_ctype_t): Use logical types instead of struct iovec
40739 pointers for members.
40740 (ctype_output): Use new locale_file interface.
40741 (wctype_table_finalize): Change to add_locale_wctype_table. Use
40742 new locale_file interface.
40743 (allocate_arrays): Update for use of new locale_file interface.
40744 * locale/programs/ld-identification.c (identification_output): Use
40745 new locale_file interface.
40746 * locale/programs/ld-measurement.c (measurement_output): Likewise.
40747 * locale/programs/ld-messages.c (messages_output): Likewise.
40748 * locale/programs/ld-monetary.c (monetary_output): Likewise.
40749 * locale/programs/ld-name.c (name_output): Likewise.
40750 * locale/programs/ld-numeric.c (numeric_output): Likewise.
40751 * locale/programs/ld-paper.c (paper_output): Likewise.
40752 * locale/programs/ld-telephone.c (telephone_output): Likewise.
40753 * locale/programs/ld-time.c (time_output): Likewise.
40754
40755 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40756
40757 * benchtests/Makefile: Add memrchr benchmark.
40758 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
40759 benchmark as memrchr.
40760 * benchtests/bench-memrchr-ifunc.c: New file.
40761 * benchtests/bench-memrchr.c: New file.
40762
40763 2013-09-06 Will Newton <will.newton@linaro.org>
40764
40765 * benchtests/Makefile (string-bench): Add memcpy.
40766
40767 2013-09-05 Carlos O'Donell <carlos@redhat.com>
40768 Cong Wang <amwang@redhat.com>
40769
40770 [BZ #15850]
40771 * sysdeps/unix/sysv/linux/bits/in.h
40772 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
40773 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
40774 before __USE_KERNEL_IPV6_DEFS uses.
40775 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
40776 IPPROTO_BEETPH.
40777 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
40778 sockaddr_in6, or ipv6_mreq.
40779
40780 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40781
40782 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
40783 memory access for final bytes in some large inputs.
40784 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
40785
40786 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40787
40788 * string/test-memrchr.c: New file.
40789 * string/test-memrchr-ifunc.c: New file.
40790 * string/Makefile: Add new memrchr testcase.
40791
40792 2013-09-05 Mike Frysinger <vapier@gentoo.org>
40793
40794 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
40795 fanotify_init returns EPERM.
40796
40797 2013-09-04 Joseph Myers <joseph@codesourcery.com>
40798
40799 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
40800 errors.
40801 (top level): Treat second token from macro or constant entries for
40802 allowed headers as allowed.
40803 * include/complex.h: Condition internal declarations on
40804 [!_ISOMAC].
40805 * include/fenv.h: Condition include of <stdbool.h> and internal
40806 declarations on [!_ISOMAC].
40807
40808 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
40809
40810 [BZ #15923]
40811 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
40812
40813 2013-09-04 Joseph Myers <joseph@codesourcery.com>
40814
40815 * configure.in (--enable-versioning): Remove configure option.
40816 (libc_cv_asm_symver_directive): Remove configure test.
40817 (libc_cv_ld_version_script_option): Likewise.
40818 (VERSIONING): Remove variable and AC_SUBST.
40819 (DO_VERSIONING): Remove AC_DEFINE.
40820 * configure: Regenerated.
40821 * config.h.in (DO_VERSIONING): Remove macro.
40822 * Makerules [$(versioning) = yes]: Change conditionals to
40823 [$(build-shared) = yes].
40824 * config.make.in (versioning): Remove variable.
40825 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
40826 [$(build-shared) = yes].
40827 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
40828 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
40829 * elf/Makefile [$(versioning) = yes]: Change conditionals to
40830 [$(build-shared) = yes].
40831 * extra-lib.mk [$(versioning) = yes]: Likewise.
40832 * hurd/Makefile [$(versioning) = yes]: Likewise.
40833 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
40834 [SHARED].
40835 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
40836 [SHARED].
40837 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40838 [SHARED && !NO_HIDDEN].
40839 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
40840 [SHARED].
40841 [SHARED && DO_VERSIONING]: Likewise..
40842 * libio/Makefile [$(versioning) = yes]: Change conditionals to
40843 [$(build-shared) = yes].
40844 * manual/install.texi (--disable-versioning): Remove
40845 documentation.
40846 * INSTALL: Regenerated.
40847 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
40848 to [SHARED].
40849 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
40850 [$(build-shared) = yes].
40851 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
40852 * sysdeps/i386/i686/multiarch/strstr-c.c
40853 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40854 [SHARED && !NO_HIDDEN].
40855 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
40856 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
40857 * sysdeps/powerpc/powerpc32/dl-machine.c
40858 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
40859 * sysdeps/powerpc/powerpc32/sysdep.h
40860 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
40861 to [SHARED && PIC && !NO_HIDDEN].
40862 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
40863 conditional to [SHARED].
40864
40865 2013-09-04 Will Newton <will.newton@linaro.org>
40866
40867 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
40868 * benchtests/bench-string.h: Include bench-timing.h instead
40869 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
40870 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
40871 call to HP_TIMING_DIFF_INIT.
40872 * benchtests/bench-memccpy.c: Use bench-timing.h macros
40873 instead of hp-timing.h macros.
40874 * benchtests/bench-memchr.c: Likewise.
40875 * benchtests/bench-memcmp.c: Likewise.
40876 * benchtests/bench-memcpy.c: Likewise.
40877 * benchtests/bench-memmem.c: Likewise.
40878 * benchtests/bench-memmove.c: Likewise.
40879 * benchtests/bench-memset.c: Likewise.
40880 * benchtests/bench-rawmemchr.c: Likewise.
40881 * benchtests/bench-strcasecmp.c: Likewise.
40882 * benchtests/bench-strcasestr.c: Likewise.
40883 * benchtests/bench-strcat.c: Likewise.
40884 * benchtests/bench-strchr.c: Likewise.
40885 * benchtests/bench-strcmp.c: Likewise.
40886 * benchtests/bench-strcpy.c: Likewise.
40887 * benchtests/bench-strcpy_chk.c: Likewise.
40888 * benchtests/bench-strlen.c: Likewise.
40889 * benchtests/bench-strncasecmp.c: Likewise.
40890 * benchtests/bench-strncat.c: Likewise.
40891 * benchtests/bench-strncmp.c: Likewise.
40892 * benchtests/bench-strncpy.c: Likewise.
40893 * benchtests/bench-strnlen.c: Likewise.
40894 * benchtests/bench-strpbrk.c: Likewise.
40895 * benchtests/bench-strrchr.c: Likewise.
40896 * benchtests/bench-strspn.c: Likewise.
40897 * benchtests/bench-strstr.c: Likewise.
40898
40899 2013-09-04 Will Newton <will.newton@linaro.org>
40900
40901 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
40902
40903 2013-09-03 Joseph Myers <joseph@codesourcery.com>
40904
40905 [BZ #15427]
40906 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
40907 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
40908 * math/libm-test.inc (lgamma_test_data): Add more tests.
40909 * sysdeps/i386/fpu/libm-test-ulps: Update.
40910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40911
40912 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
40913
40914 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
40915 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40916 Add ifunc.
40917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40918 Add strcmp-sse2-unaligned
40919 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
40920
40921 2013-09-02 Mike Frysinger <vapier@gentoo.org>
40922
40923 * Versions.def (libc): Add GLIBC_2.19.
40924
40925 2013-09-02 Mike Frysinger <vapier@gentoo.org>
40926
40927 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
40928 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
40929
40930 2013-09-02 Joseph Myers <joseph@codesourcery.com>
40931
40932 [BZ #14155]
40933 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
40934 intermediate calculations in recurrence.
40935 (__ieee754_ynf): Likewise.
40936 * math/libm-test.inc (jn_test_data): Do not allow spurious
40937 underflow exception. Add more tests.
40938 (yn_test_data): Add more tests.
40939 * sysdeps/i386/fpu/libm-test-ulps: Update.
40940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40941
40942 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
40943
40944 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
40945
40946 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
40947
40948 * csu/init-first.c: Fix then/than typos.
40949 * locale/programs/ld-collate.c: Likewise.
40950 * locale/programs/linereader.h: Likewise.
40951 * manual/charset.texi: Likewise.
40952 * manual/filesys.texi: Likewise.
40953 * manual/stdio.texi: Likewise.
40954 * manual/string.texi: Likewise.
40955 * stdlib/fmtmsg.c: Likewise.
40956 * sysdeps/i386/stpncpy.S: Likewise.
40957 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40958 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40959 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40960 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40961
40962 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
40963
40964 * elf/dl-open.c: Fix typos.
40965 * iconvdata/gbbig5.c: Likewise.
40966 * iconvdata/iso-2022-jp.c: Likewise.
40967 * iconv/gconv_int.h: Likewise.
40968 * iconv/loop.c: Likewise.
40969 * nis/rpcsvc/nis.h: Likewise.
40970 * resolv/ns_name.c: Likewise.
40971 * stdio-common/vfscanf.c: Likewise.
40972 * streams/stropts.h: Likewise.
40973 * sunrpc/rpc_thread.c: Likewise.
40974 * sysdeps/i386/strpbrk.S: Likewise.
40975 * sysdeps/ieee754/k_standard.c: Likewise.
40976 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40977 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40978 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
40979 * sysdeps/mach/hurd/profil.c: Likewise.
40980 * sysdeps/s390/dl-procinfo.h: Likewise.
40981 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
40982 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40983 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
40984 * sysdeps/x86_64/dl-trampoline.S: Likewise.
40985 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40986
40987 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
40988
40989 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
40990 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
40991
40992 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
40993
40994 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
40995 aix specific files.
40996 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
40997 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
40998 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
40999 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
41000 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
41001 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
41002 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
41003 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
41004
41005 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
41006 Roland McGrath <roland@hack.frob.com>
41007
41008 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
41009 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
41010
41011 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
41012
41013 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
41014 __executable_start symbol instead of _start.
41015
41016 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
41017
41018 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
41019 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
41020 Move macros to...
41021 * sysdeps/gnu/ldsodefs.h: ... this new file.
41022
41023 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
41024 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
41025 instead of ELFOSABI_LINUX.
41026
41027 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
41028 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
41029 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
41030 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
41031 Likewise.
41032 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
41033 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
41034 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
41035 Likewise.
41036 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41037 (ibm_extended_long_double): Add ieee_nan member.
41038 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
41039 (do_test): New function.
41040
41041 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
41042 TEST_TRUNC.
41043 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
41044 functions, renamed from truncdfsf_test, trunctfsf_test,
41045 trunctfdf_test.
41046 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
41047 functions.
41048 (do_test): Run all these.
41049
41050 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
41051
41052 * argp/argp-help.c: Fix typos.
41053 * argp/argp-parse.c: Likewise.
41054 * debug/backtracesyms.c: Likewise.
41055 * elf/elf.h: Likewise.
41056 * malloc/malloc.c: Likewise.
41057 * nis/nis_print.c: Likewise.
41058 * resolv/res_comp.c: Likewise.
41059 * stdlib/stdlib.h: Likewise.
41060 * sunrpc/clnt_tcp.c: Likewise.
41061 * sunrpc/clnt_udp.c: Likewise.
41062 * sunrpc/clnt_unix.c: Likewise.
41063 * sysdeps/unix/bsd/ptsname.c: Likewise.
41064 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41065 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
41066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
41067 Likewise.
41068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
41069 Likewise.
41070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
41071 Likewise.
41072 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41073
41074 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41075
41076 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
41077 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41078
41079 2013-08-27 Mike Frysinger <vapier@gentoo.org>
41080
41081 [BZ #15897]
41082 * dlfcn/Makefile (tests): Add bug-dl-leaf.
41083 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
41084 ($(objpfx)bug-dl-leaf): New rule.
41085 ($(objpfx)bug-dl-leaf.so): Likewise.
41086 ($(objpfx)bug-dl-leaf.out): Likewise.
41087 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
41088 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
41089 * dlfcn/bug-dl-leaf.c: New test.
41090 * dlfcn/bug-dl-leaf-lib.c: Likewise.
41091 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
41092 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
41093 (dlclose): Likewise.
41094 (dlmopen): Likewise.
41095
41096 2013-08-27 Roland McGrath <roland@hack.frob.com>
41097
41098 * include/netdb.h [!_ISOMAC]:
41099 Don't include <tls.h>.
41100 (h_errno, __libc_h_errno): Move declaration and macros out of
41101 [_LIBC_REENTRANT].
41102
41103 * include/resolv.h [_RESOLV_H_]:
41104 Don't include <tls.h>.
41105 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
41106 * resolv/res_libc.c: Don't include <tls.h>.
41107 (_res): Use __attribute__ ((nocommon)) in place of
41108 __attribute__ ((section (".bss"))).
41109
41110 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
41111 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
41112
41113 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
41114
41115 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
41116 only under [SIOCGIFCONF && SIOCGIFNETMASK].
41117
41118 * resolv/res_mkquery.c: Include <sys/time.h>.
41119
41120 * inet/ifreq.c: Moved to ...
41121 * sysdeps/unix/ifreq.c: ... here.
41122 * inet/ifreq.c: New file, true stub version.
41123
41124 * socket/sa_len.c: New file.
41125 * socket/Makefile (aux): Add it.
41126 * sysdeps/unix/sysv/linux/Makefile
41127 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
41128 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
41129 and #include <socket/sa_len.c>.
41130 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
41131 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
41132
41133 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
41134 * bits/socket.h: ... here.
41135
41136 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
41137 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
41138 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
41139
41140 2013-08-27 Andreas Schwab <schwab@suse.de>
41141
41142 [BZ #15736]
41143 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
41144 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
41145 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
41146 * string/test-strcasecmp.c (test_main): Run tests in several
41147 locales.
41148 * string/test-strncasecmp.c (test_main): Likewise.
41149
41150 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
41151 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
41152 to __strcasecmp_nonascii and __strncasecmp_nonascii.
41153 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
41154 (__strncasecmp_ssse3) [PIC]: Likewise.
41155
41156 2013-08-26 Roland McGrath <roland@hack.frob.com>
41157
41158 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
41159
41160 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
41161 instead of explicitly declaring xdecrypt.
41162 * nis/nss_nis/nis-publickey.c: Likewise.
41163
41164 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41165
41166 [BZ #15890]
41167 * nscd/aicache.c: Include res_hconf.h.
41168 (addhstaiX): Initialize res_hconf.
41169
41170 2013-08-26 Andreas Schwab <schwab@suse.de>
41171
41172 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
41173 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
41174
41175 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41176
41177 * nscd/aicache.c (addhstaiX): Fix indentation.
41178
41179 2013-08-25 Mike Frysinger <vapier@gentoo.org>
41180
41181 * configure.ac: Quote $build_pt_chown test.
41182 * configure: Regenerated.
41183
41184 2013-08-23 Joseph Myers <joseph@codesourcery.com>
41185
41186 [BZ #15532]
41187 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
41188 * math/s_cexpf.c (__cexpf): Likewise.
41189 * math/s_cexpl.c (__cexpl): Likewise.
41190 * math/libm-test.inc (cexp_test_data): Correct expected return
41191 value for NaN + i0. Add another test.
41192
41193 2013-08-22 David S. Miller <davem@davemloft.net>
41194
41195 * po/ca.po: Update Catalan translation from translation project.
41196 * po/uk.po: Add Ukrainian translations from translation project.
41197
41198 2013-08-21 Joseph Myers <joseph@codesourcery.com>
41199
41200 [BZ #15797]
41201 * math/s_fdim.c (__fdim): Check for infinite arguments if result
41202 is infinite, not alongside NaN test.
41203 * math/s_fdimf.c (__fdimf): Likewise.
41204 * math/s_fdiml.c (__fdiml): Likewise.
41205 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
41206 errno is unchanged.
41207
41208 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
41209
41210 * argp/argp-help.c: Fix typos.
41211 * crypt/speeds.c: Likewise.
41212 * csu/check_fds.c: Likewise.
41213 * elf/dl-load.c: Likewise.
41214 * elf/dl-open.c: Likewise.
41215 * elf/reldep3.c: Likewise.
41216 * elf/reldep.c: Likewise.
41217 * elf/sprof.c: Likewise.
41218 * iconv/iconv_charmap.c: Likewise.
41219 * iconv/skeleton.c: Likewise.
41220 * iconv/strtab.c: Likewise.
41221 * io/lockf64.c: Likewise.
41222 * libio/libioP.h: Likewise.
41223 * resolv/gai_notify.c: Likewise.
41224 * resolv/ns_name.c: Likewise.
41225 * resolv/ns_samedomain.c: Likewise.
41226 * resolv/res_send.c: Likewise.
41227 * stdlib/random.c: Likewise.
41228 * sunrpc/rpc/xdr.h: Likewise.
41229 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
41230 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41231 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41232 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41233 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41234 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41235 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41236 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41237 * sysdeps/mach/hurd/check_fds.c: Likewise.
41238 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41239 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41240 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41241 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41242 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41243 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41244 * sysdeps/pthread/aio_notify.c: Likewise.
41245 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
41246 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
41247 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
41248 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41249 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41250
41251 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41252
41253 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
41254 version if bit_Slow_SSE4_2 is set.
41255 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41256 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41257
41258 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41259
41260 [BZ #15867]
41261 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
41262 trampoline stack frame information.
41263 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
41264 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
41265 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
41266 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
41267 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
41268 * sysdeps/unix/sysv/linux/powerpc/init-first.c
41269 (_libc_vdso_platform_setup): Initialize the signal trampolines.
41270 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
41271 sa_flags value.
41272 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
41273 interrupting a syscall and set with option SA_SIGINFO.
41274
41275 2013-08-20 Joseph Myers <joseph@codesourcery.com>
41276
41277 [BZ #15531]
41278 * math/s_cproj.c (__cproj): Only return an infinity if one part of
41279 argument is infinite.
41280 * math/s_cprojf.c (__cprojf): Likewise.
41281 * math/s_cprojl.c (__cprojl): Likewise.
41282 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
41283 * math/libm-test.inc (cproj_test_data): Add more tests.
41284
41285 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
41286
41287 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
41288 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
41289 size. Use __ffs to determine corresponding shift.
41290
41291 2013-08-20 Joseph Myers <joseph@codesourcery.com>
41292 Roland McGrath <roland@hack.frob.com>
41293
41294 * Makefile (INSTALL): Remove trailing blank lines from output of
41295 makeinfo.
41296
41297 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41298
41299 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
41300 Align 32 bit compat elf_greg to 8 bytes.
41301
41302 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
41303
41304 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
41305
41306 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41307
41308 * string/strcoll_l.c (coll_seq): New structure.
41309 (get_next_seq_cached): New function.
41310 (get_next_seq): New function.
41311 (do_compare): New function.
41312 (STRCOLL): Use GNU style definition. Simplify implementation
41313 by using get_next_seq, get_next_seq_cached and do_compare.
41314
41315 2013-08-16 Florian Weimer <fweimer@redhat.com>
41316
41317 [BZ #14699]
41318 CVE-2013-4237
41319 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
41320 member.
41321 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
41322 member.
41323 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
41324 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
41325 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
41326 conditional.
41327 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
41328 GETDENTS_64BIT_ALIGNED.
41329 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41330 * manual/filesys.texi (Reading/Closing Directory): Document
41331 ENAMETOOLONG return value of readdir_r. Recommend readdir more
41332 strongly.
41333 * manual/conf.texi (Limits for Files): Add portability note to
41334 NAME_MAX, PATH_MAX.
41335 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
41336
41337 2013-08-13 Andreas Schwab <schwab@suse.de>
41338
41339 [BZ #15749]
41340 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
41341 of fabs.
41342 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
41343 LDBL_MAX_EXP >= 16384]: Add tests for it.
41344
41345 2013-08-12 David S. Miller <davem@davemloft.net>
41346
41347 * version.h (RELEASE): Set to "development".
41348 (VERSION): Set to "2.18.90".
41349 * NEWS: Add 2.19 section.
41350
41351 2013-08-03 David S. Miller <davem@davemloft.net>
41352
41353 * po/ko.po: Update Korean translation from translation project.
41354
41355 2013-08-01 David S. Miller <davem@davemloft.net>
41356
41357 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
41358 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
41359 Bilka.
41360
41361 2013-07-30 David S. Miller <davem@davemloft.net>
41362
41363 * po/fr.po: Update French translation from translation project.
41364
41365 2013-07-28 David S. Miller <davem@davemloft.net>
41366
41367 * po/cs.po: Update Czech translation from translation project.
41368
41369 * po/sv.po: Update Swedish translation from translation project.
41370
41371 2013-07-27 David S. Miller <davem@davemloft.net>
41372
41373 * po/eo.po: Update Esperanto translation from translation project.
41374
41375 * po/vi.po: Update Vietnamese translation from translation project.
41376
41377 * po/de.po: Update German translation from translation project.
41378
41379 2013-07-26 David S. Miller <davem@davemloft.net>
41380
41381 * po/bg.po: Update Bulgarian translation from translation project.
41382
41383 * po/nl.po: Update Dutch translation from translation project.
41384 * po/pl.po: Update Polish translation from translation project.
41385 * po/ru.po: Update Russian translation from translation project.
41386
41387 2013-07-24 David S. Miller <davem@davemloft.net>
41388
41389 * po/libc.pot: Update.
41390
41391 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41392
41393 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
41394 variable page size.
41395 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
41396 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
41397 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
41398
41399 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41400
41401 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
41402
41403 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
41404 Andreas Schwab <schwab@suse.de>
41405 Roland McGrath <roland@hack.frob.com>
41406 Joseph Myers <joseph@codesourcery.com>
41407 Carlos O'Donell <carlos@redhat.com>
41408
41409 [BZ #15755]
41410 * config.h.in: Define HAVE_PT_CHOWN.
41411 * config.make.in (build-pt-chown): New variable.
41412 * configure.in (--enable-pt_chown): New configure option.
41413 * configure: Regenerate.
41414 * login/Makefile: Include Makeconfig. Build pt_chown only if
41415 build-pt-chown is enabled.
41416 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
41417 pt_chown to fix pty ownership.
41418 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
41419 CLOSE_ALL_FDS.
41420 * manual/install.texi (Configuring and compiling): Mention
41421 --enable-pt_chown. Add @findex for grantpt.
41422 * INSTALL: Regenerate.
41423
41424 2013-07-20 David S. Miller <davem@davemloft.net>
41425
41426 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
41427 difference between 32-bit and 64-bit.
41428
41429 2013-07-15 Carlos O'Donell <carlos@redhat.com>
41430
41431 [BZ #15711]
41432 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
41433 Avoid system header dependency with -ffreestanding.
41434 ($(objpfx)bits/syscall%d): Likewise.
41435
41436 2013-07-13 David S. Miller <davem@davemloft.net>
41437
41438 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
41439 underflows from atanl/atan2l due to bug 15319.
41440 (casinh_test_data): Likewise.
41441
41442 2013-07-07 David S. Miller <davem@davemloft.net>
41443
41444 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
41445
41446 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
41447
41448 * sysdeps/i386/fpu/libm-test-ulps: Update.
41449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41450
41451 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41452
41453 * configure.in (--enable-lock-elision): Fix message text.
41454 * INSTALL: Regenerate.
41455 * configure: Regenerate.
41456
41457 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41458
41459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41460
41461 2013-07-03 Andreas Jaeger <aj@suse.de>
41462
41463 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
41464 define.
41465 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
41466 (ptrace_peeksiginfo_args): Add.
41467 (__ptrace_peeksiginfo_flags): Add.
41468 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41469 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41470 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41471
41472 2013-07-03 Allan McRae <allan@archlinux.org>
41473
41474 * sysdeps/i386/fpu/libm-test-ulps: Update.
41475
41476 2013-07-02 David S. Miller <davem@davemloft.net>
41477
41478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41479
41480 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
41481
41482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41483
41484 2013-07-02 Joseph Myers <joseph@codesourcery.com>
41485
41486 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41488
41489 2013-07-02 Andi Kleen <ak@linux.intel.com>
41490
41491 * config.h.in (ENABLE_LOCK_ELISION): Add.
41492 * configure.in (--enable-lock-elision): Add option.
41493 * manual/install.texi: Document --enable lock elision.
41494 * configure: Regenerate
41495 * INSTALL: Regenerate.
41496
41497 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
41498
41499 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
41500 SSE4.2 strcasecmp for libc.a.
41501 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41502
41503 2013-07-02 Joseph Myers <joseph@codesourcery.com>
41504
41505 [BZ #13304]
41506 * soft-fp/op-common.h (_FP_FMA): New macro.
41507 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
41508 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
41509 (_FP_MUL_MEAT_1_imm): ... here.
41510 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
41511 (_FP_MUL_MEAT_1_wide): ... here.
41512 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
41513 (_FP_MUL_MEAT_1_hard): ... here.
41514 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
41515 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
41516 (_FP_MUL_MEAT_2_wide): ... here.
41517 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
41518 (_FP_MUL_MEAT_2_wide_3mul): ... here.
41519 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
41520 (_FP_MUL_MEAT_2_gmp): ... here.
41521 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
41522 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
41523 (_FP_MUL_MEAT_4_wide): ... here.
41524 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
41525 (_FP_MUL_MEAT_4_gmp): ... here.
41526 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
41527 (_FP_WFRACBITS_DW_S): Likewise.
41528 (_FP_WFRACXBITS_DW_S): Likewise.
41529 (_FP_HIGHBIT_DW_S): Likewise.
41530 (FP_FMA_S): Likewise.
41531 (_FP_FRAC_HIGH_DW_S): Likewise.
41532 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
41533 (_FP_WFRACBITS_DW_D): Likewise.
41534 (_FP_WFRACXBITS_DW_D): Likewise.
41535 (_FP_HIGHBIT_DW_D): Likewise.
41536 (FP_FMA_D): Likewise.
41537 (_FP_FRAC_HIGH_DW_D): Likewise.
41538 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
41539 (_FP_WFRACBITS_DW_E): Likewise.
41540 (_FP_WFRACXBITS_DW_E): Likewise.
41541 (_FP_HIGHBIT_DW_E): Likewise.
41542 (FP_FMA_E): Likewise.
41543 (_FP_FRAC_HIGH_DW_E): Likewise.
41544 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
41545 (_FP_WFRACBITS_DW_Q): Likewise.
41546 (_FP_WFRACXBITS_DW_Q): Likewise.
41547 (_FP_HIGHBIT_DW_Q): Likewise.
41548 (FP_FMA_Q): Likewise.
41549 (_FP_FRAC_HIGH_DW_Q): Likewise.
41550 * soft-fp/fmasf4.c: New file.
41551 * soft-fp/fmadf4.c: Likewise.
41552 * soft-fp/fmatf4.c: Likewise.
41553
41554 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41555
41556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41557 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
41558 Silvermont.
41559 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
41560 macro.
41561 (index_Slow_SSE4_2): Likewise.
41562 (index_Prefer_PMINUB_for_stringop): Likewise.
41563 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
41564 bit_Slow_SSE4_2 is set.
41565 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41566 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41567
41568 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41569
41570 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
41571 rtld_global._dl_hwcap2.
41572 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
41573 POWER8.
41574 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
41575 POWER8 feature descriptions defined in _dl_hwcap2.
41576 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
41577 string handling for POWER8 feature bits.
41578 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
41579 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
41580 _dl_powerpc_cap_flags.
41581 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
41582 * sysdeps/powerpc/rtld-global-offsets.sym
41583 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
41584 _dl_hwcap2 in the rtld_global_ro structure.
41585
41586 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41587
41588 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
41589 hardware capabilities in support of AT_HWCAP2.
41590 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
41591 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
41592 GLRO(dl_hwcap2).
41593 (_dl_show_auxv): Add support for calling _dl_procinfo to display
41594 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
41595 explicitly the unknown a_type display mechanism is used.
41596 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
41597 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
41598 struct member.
41599 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
41600 to macro prototype for AT_HWCAP2 support.
41601 * sysdeps/i386/dl-procinfo.h: Likewise.
41602 * sysdeps/s390/dl-procinfo.h: Likewise.
41603 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
41604 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
41605 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
41606 return -1 for unknown a_type display fallback.
41607 * sysdeps/sparc/dl-procinfo.h: Likewise.
41608 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
41609 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
41610
41611 2013-06-28 Joseph Myers <joseph@codesourcery.com>
41612
41613 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
41614 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
41615
41616 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
41617
41618 [BZ #12492]
41619 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
41620 mprotect making __stack_prot writable.
41621
41622 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
41623 Joseph Myers <joseph@codesourcery.com>
41624
41625 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
41626 as being properly aligned.
41627
41628 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
41629
41630 * dlfcn/modstatic5.c: New file.
41631 * dlfcn/tststatic5.c: New file.
41632 * dlfcn/Makefile (tests): Add tststatic5.
41633 (tests-static): Likewise.
41634 (modules-names): Add modstatic5.
41635 (tststatic5-ENV): New variable.
41636 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
41637
41638 [BZ #15022]
41639 * elf/dl-support.c (_dl_main_map): New variable.
41640 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
41641 (_dl_nns, _dl_load_adds): Set to 1.
41642 (_dl_initial_searchlist): Refer to _dl_main_map.
41643 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
41644 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
41645 call to _dl_get_origin.
41646 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
41647 around call_map.
41648 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
41649 * dlfcn/modstatic3.c: New file.
41650 * dlfcn/tststatic3.c: New file.
41651 * dlfcn/tststatic4.c: New file.
41652 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
41653 (tests-static): Likewise.
41654 (modules-names): Add modstatic3.
41655 (tststatic3-ENV, tststatic4-ENV): New variables.
41656 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
41657 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
41658
41659 2013-06-26 Joseph Myers <joseph@codesourcery.com>
41660
41661 * configure.in (CC): Require GCC version 4.4 or later.
41662 * configure: Regenerated.
41663 * manual/install.texi (Tools for Compilation): Update GCC version
41664 requirement.
41665 * INSTALL: Regenerated.
41666
41667 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41668
41669 [BZ #15674]
41670 * string/test-memcmp.c (check2): New.
41671 (main): Call check2.
41672
41673 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
41674
41675 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
41676
41677 [BZ #15022]
41678 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
41679 over to...
41680 (dl_open_worker) [!SHARED]: ... here.
41681
41682 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41683
41684 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
41685
41686 2013-06-25 Richard Henderson <rth@redhat.com>
41687
41688 * locale/programs/locarchive.c: Include <libc-internal.h>
41689
41690 2013-06-25 Joseph Myers <joseph@codesourcery.com>
41691
41692 * manual/texinfo.tex: Update to version 2013-06-21.17, with
41693 trailing whitespace removed.
41694
41695 2013-06-24 Mike Frysinger <vapier@gentoo.org>
41696
41697 [BZ #10283]
41698 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
41699 * locale/programs/locarchive.c: Include libc-mmap.h.
41700 (prepare_address_space): Take two new outputs (the mmap base and len).
41701 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
41702 values.
41703 (create_archive): Declare new mmap base and len values for
41704 prepare_address_space, and store the result in ah.
41705 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
41706 (enlarge_archive): If ah->mmap_base is not NULL, use that and
41707 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41708 Declare new mmap base and len values for
41709 prepare_address_space, and store the result in new_ah.
41710 (open_archive): Declare new mmap base and len values for
41711 prepare_address_space, and store the result in ah.
41712 (close_archive): If ah->mmap_base is not NULL, use that and
41713 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41714 * sysdeps/generic/libc-mmap.h: New file.
41715
41716 2013-06-24 Mike Frysinger <vapier@gentoo.org>
41717
41718 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
41719 (ALIGN_UP): Likewise.
41720 (PTR_ALIGN_DOWN): Likewise.
41721 (PTR_ALIGN_UP): Likewise.
41722
41723 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41724
41725 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
41726 entry mapped to PPC_PLATFORM_POWER8.
41727 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
41728 POWER8.
41729 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
41730 (_dl_string_platform): Add case for exporting platform position for
41731 POWER8.
41732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
41733 search path to sysdeps/powerpc/powerpc32/power8 directory.
41734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
41735 search path to sysdeps/powerpc/powerpc64/power8 directory.
41736 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
41737 power7 directories.
41738 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
41739 power7 directories.
41740
41741 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
41742
41743 * INSTALL: Regenerate.
41744
41745 * nscd/connections.c (nscd_init): Fix comment.
41746
41747 2013-06-22 Joseph Myers <joseph@codesourcery.com>
41748
41749 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
41750
41751 [BZ #15667]
41752 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
41753 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
41754
41755 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
41756
41757 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
41758 DL_DST_REQ_STATIC.
41759 (DL_DST_REQ_STATIC): Remove macro.
41760
41761 2013-06-21 Joseph Myers <joseph@codesourcery.com>
41762
41763 [BZ #7006]
41764 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
41765 with a shift of 0 bits.
41766
41767 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
41768
41769 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
41770 $(tststatic-ENV).
41771
41772 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41773
41774 [BZ #15655]
41775 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
41776
41777 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41778
41779 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
41780 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
41781 accepts -fno-tree-loop-distribute-patterns.
41782 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
41783 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
41784 recursive call.
41785 * string/memset.c (memset): Likewise.
41786 * string/test-memmove.c (simple_memmove): Disable loop transformation
41787 to library calls.
41788 * string/test-memset.c (simple_memset): Likewise.
41789 * benchtests/bench-memmove.c (simple_memmove): Likewise.
41790 * benchtests/bench-memset.c (simple_memset): Likewise.
41791 * configure: Regenerated.
41792
41793 2013-06-20 Joseph Myers <joseph@codesourcery.com>
41794
41795 * math/test-misc.c (main): Ignore fesetround failure when failures
41796 of subsequent rounding tests would be ignored.
41797
41798 [BZ #15654]
41799 * math/fedisblxcpt.c (fedisableexcept): Return 0.
41800 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
41801 * math/fegetenv.c (__fegetenv): Return 0.
41802 * math/fegetexcept.c (fegetexcept): Return 0.
41803 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
41804 FE_TONEAREST.
41805 * math/feholdexcpt.c (feholdexcept): Return 0.
41806 * math/fesetenv.c (__fesetenv): Return 0.
41807 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
41808 argument FE_TONEAREST.
41809 * math/feupdateenv.c (__feupdateenv): Return 0.
41810 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
41811
41812 2013-06-18 Roland McGrath <roland@hack.frob.com>
41813
41814 * elf/rtld-Rules (rtld-compile-command.S): New variable.
41815 (rtld-compile-command.s, rtld-compile-command.c): New variables.
41816 ($(objpfx)rtld-%.os rules): Use them.
41817
41818 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41819
41820 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
41821 fields.
41822
41823 2013-06-17 Roland McGrath <roland@hack.frob.com>
41824
41825 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
41826 length of target pattern, then descending length of dependency pattern.
41827 * configure.in (AWK): Require gawk 3.1.2 or newer.
41828 * manual/install.texi (Tools for Compilation): Say that we do.
41829 * configure: Regenerated.
41830
41831 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
41832 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
41833 * scripts/sysd-rules.awk: ... this new script.
41834 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
41835 than a glob-style pattern.
41836
41837 2013-06-17 Joseph Myers <joseph@codesourcery.com>
41838
41839 * math/test-misc.c (main): Do not treat incorrectly rounded
41840 conversions as failure unless ROUNDING_TESTS passes.
41841
41842 2013-06-15 Joseph Myers <joseph@codesourcery.com>
41843
41844 [BZ #15631]
41845 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
41846 restore exception state around main square root computation, then
41847 check for inexactness explicitly.
41848
41849 * math/libm-test.inc (fma_test_data): Add another test.
41850
41851 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41852
41853 * manual/threads.texi (Non-POSIX Extensions): New document
41854 node. Document pthread_getattr_default_np and
41855 pthread_setattr_default_np.
41856
41857 * Versions.def (libpthread): Add GLIBC_2.18.
41858 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
41859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41860 Likewise.
41861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41862 Likewise.
41863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41864 Likewise.
41865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41866 Likewise.
41867 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
41868 Likewise.
41869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41870 Likewise.
41871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41872 Likewise.
41873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41874 Likewise.
41875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41876 Likewise.
41877
41878 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41879
41880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41881 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
41882
41883 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41884 H.J. Lu <hjl.tools@gmail.com>
41885
41886 [BZ #15627]
41887 * sysdeps/x86_64/rtld-memset.c: Remove file.
41888 * sysdeps/x86_64/rtld-memset.S: New file.
41889
41890 2013-06-14 Joseph Myers <joseph@codesourcery.com>
41891
41892 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
41893 (test_in_one_mode): Take arguments for whether the rounding mode
41894 is supported for each floating-point type.
41895 (do_test): Pass new arguments to test_in_one_mode using
41896 ROUNDING_TESTS.
41897
41898 2013-06-13 Roland McGrath <roland@hack.frob.com>
41899
41900 * posix/tst-waitid.c (do_test): Distinguish different instances of
41901 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
41902 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
41903 before entering the kernel for waitpid.
41904
41905 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
41906
41907 * NEWS: Fix note on clock function precision. Text by Roland
41908 McGrath.
41909
41910 2013-06-13 Roland McGrath <roland@hack.frob.com>
41911
41912 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
41913 it into place only when and if the sanity check passes.
41914
41915 2013-06-13 Joseph Myers <joseph@codesourcery.com>
41916
41917 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
41918 output for whether conversion result is exact. Take argument
41919 indicating whether type is IBM long double.
41920 (round_for_all): Change need_exact field to ibm_ld.
41921 * stdlib/tst-strtod-round.c (struct exactness): New type.
41922 (struct test): Change bool ld_ok field to struct exactness exact.
41923 (TEST): Update all definitions for change to field.
41924 (tests): Regenerate array contents.
41925 (test_in_one_mode): Take pointer to new field instead of old ld_ok
41926 field value. Check for IBM long double here.
41927 (do_test): Update calls to test_in_one_mode.
41928
41929 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
41930
41931 [BZ #12515]
41932 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
41933 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
41934
41935 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41936
41937 [BZ #15605]
41938 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
41939 generated by the compiler on loop optimizations.
41940 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
41941 general definitions.
41942
41943 2013-06-12 Joseph Myers <joseph@codesourcery.com>
41944
41945 * math/bug-nextafter.c: Include <math-tests.h>.
41946 (main): Only test for exceptions if EXCEPTION_TESTS is true for
41947 the relevant type.
41948 * math/bug-nexttoward.c: Include <math-tests.h>.
41949 (main): Only test for exceptions if EXCEPTION_TESTS is true for
41950 the relevant type.
41951 * math/test-misc.c: Include <math-tests.h>.
41952 (main): Only test for exceptions if EXCEPTION_TESTS is true for
41953 the relevant type.
41954
41955 2013-06-12 Andreas Jaeger <aj@suse.de>
41956
41957 * po/ia.po: Update Interlingua translation from translation
41958 project.
41959
41960 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
41961
41962 * include/fenv.h: Include stdbool.h.
41963 (struct rm_ctx): New structure.
41964 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
41965 Define macro.
41966 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
41967 (SET_RESTORE_ROUNDF): Likewise.
41968 (SET_RESTORE_ROUNDL): Likewise.
41969 (SET_RESTORE_ROUND_NOEX): Likewise.
41970 (SET_RESTORE_ROUND_NOEXF): Likewise.
41971 (SET_RESTORE_ROUND_NOEXL): Likewise.
41972 (SET_RESTORE_ROUND_53BIT): Likewise.
41973 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
41974 (libc_feresetround_noexf_ctx): Likewise.
41975 (libc_feresetround_noexl_ctx): Likewise.
41976 (libc_feholdsetround_53bit_ctx): Likewise.
41977 (libc_feresetround_53bit_ctx): Likewise.
41978 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
41979 (libc_feholdexcept_setround_sse_ctx): New function.
41980 (libc_fesetenv_sse_ctx): Likewise.
41981 (libc_feupdateenv_sse_ctx): Likewise.
41982 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
41983 (libc_feholdexcept_setround_387_ctx): Likewise.
41984 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
41985 (libc_feholdsetround_387_prec_ctx): Likewise.
41986 (libc_feholdsetround_387_ctx): Likewise.
41987 (libc_feholdsetround_387_53bit_ctx): Likewise.
41988 (libc_feholdsetround_sse_ctx): Likewise.
41989 (libc_feresetround_sse_ctx): Likewise.
41990 (libc_feresetround_387_ctx): Likewise.
41991 (libc_feupdateenv_387_ctx): Likewise.
41992 (libc_feholdexcept_setroundf_ctx): Define macro.
41993 (libc_fesetenvf_ctx): Likewise.
41994 (libc_feupdateenvf_ctx): Likewise.
41995 (libc_feholdsetroundf_ctx): Likewise.
41996 (libc_feresetroundf_ctx): Likewise.
41997 (libc_feholdexcept_setround_ctx): Likewise.
41998 (libc_fesetenv_ctx): Likewise.
41999 (libc_feupdateenv_ctx): Likewise.
42000 (libc_feholdsetround_ctx): Likewise.
42001 (libc_feresetround_ctx): Likewise.
42002 (libc_feholdexcept_setroundl_ctx): Likewise.
42003 (libc_feupdateenvl_ctx): Likewise.
42004 (libc_feholdsetroundl_ctx): Likewise.
42005 (libc_feresetroundl_ctx): Likewise.
42006 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
42007 (libc_feresetround_53bit_ctx): Likewise.
42008
42009 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42010
42011 * locale/iso-639.def: Convert to UTF-8.
42012
42013 2013-06-11 Joseph Myers <joseph@codesourcery.com>
42014
42015 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
42016 (EXCEPTION_TESTS_double): Likewise.
42017 (EXCEPTION_TESTS_long_double): Likewise.
42018 (EXCEPTION_TESTS): Likewise.
42019 * math/libm-test.inc (test_exceptions): Only test exceptions if
42020 EXCEPTION_TESTS (FLOAT).
42021
42022 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42023
42024 * benchtests/Makefile (string-bench): Add strcpy_chk and
42025 stpcpy_chk.
42026 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
42027 * benchtests/bench-stpcpy_chk.c: New file.
42028 * benchtests/bench-strcpy_chk-ifunc.c: New file.
42029 * benchtests/bench-strcpy_chk.c: New file.
42030 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
42031 code.
42032 (do_test): Likewise.
42033
42034 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42035
42036 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
42037 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
42038 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
42039 with tabs where appropriate.
42040 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
42041 dl-procinfo.h.
42042 [PPC_PLATFORM_PPC440]: Likewise.
42043 [PPC_PLATFORM_PPC464]: Likewise.
42044 [PPC_PLATFORM_PPC476]: Likewise.
42045 (_dl_string_platform): Add support for detecting ppc405, ppc440,
42046 ppc464, and ppc476 platform strings merging from ports/
42047 dl-procinfo.h.
42048
42049 2013-06-11 Andreas Schwab <schwab@suse.de>
42050
42051 [BZ #14991]
42052 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
42053 (from_ucs4_idx): Regenerate.
42054 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
42055 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
42056 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
42057 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
42058 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
42059 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
42060 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
42061 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
42062 from FROM_LOOP and TO_LOOP specific macros.
42063 (BODY): Handle combining characters.
42064 * iconvdata/BIG5HKSCS.irreversible: Update.
42065 * iconvdata/BIG5HKSCS.precomposed: New file.
42066 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
42067 characters.
42068 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
42069
42070 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42071
42072 * include/sys/time.h: Fix indentation and add copyright header.
42073
42074 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
42075 (do_test): Likewise.
42076 * string/test-memchr.c (do_one_test): Likewise.
42077 (do_test): Likewise.
42078 * string/test-memcmp.c (do_one_test): Likewise.
42079 (do_test): Likewise.
42080 * string/test-memcpy.c (do_one_test): Likewise.
42081 (do_test): Likewise.
42082 * string/test-memmem.c (do_one_test): Likewise.
42083 (do_test): Likewise.
42084 (do_random_tests): Likewise.
42085 * string/test-memmove.c (do_one_test): Likewise.
42086 (do_test): Likewise.
42087 * string/test-memset.c (do_one_test): Likewise.
42088 (do_test): Likewise.
42089 * string/test-rawmemchr.c (do_one_test): Likewise.
42090 (do_test): Likewise.
42091 * string/test-strcasecmp.c (do_one_test): Likewise.
42092 (do_test): Likewise.
42093 * string/test-strcasestr.c (do_one_test): Likewise.
42094 (do_test): Likewise.
42095 * string/test-strcat.c (do_one_test): Likewise.
42096 (do_test): Likewise.
42097 * string/test-strchr.c (do_one_test): Likewise.
42098 (do_test): Likewise.
42099 * string/test-strcmp.c (do_one_test): Likewise.
42100 (do_test): Likewise.
42101 * string/test-strcpy.c (do_one_test): Likewise.
42102 (do_test): Likewise.
42103 * string/test-string.h: Likewise.
42104 (test_init): Likewise.
42105 * string/test-strlen.c (do_one_test): Likewise.
42106 (do_test): Likewise.
42107 * string/test-strncasecmp.c (do_one_test): Likewise.
42108 (do_test): Likewise.
42109 * string/test-strncat.c (do_one_test): Likewise.
42110 (do_test): Likewise.
42111 * string/test-strncmp.c (do_one_test): Likewise.
42112 (do_test_limit): Likewise.
42113 (do_test): Likewise.
42114 * string/test-strncpy.c (do_one_test): Likewise.
42115 (do_test): Likewise.
42116 * string/test-strnlen.c (do_one_test): Likewise.
42117 (do_test): Likewise.
42118 * string/test-strpbrk.c (do_one_test): Likewise.
42119 (do_test): Likewise.
42120 * string/test-strrchr.c (do_one_test): Likewise.
42121 (do_test): Likewise.
42122 * string/test-strspn.c (do_one_test): Likewise.
42123 (do_test): Likewise.
42124 * string/test-strstr.c (do_one_test): Likewise.
42125 (do_test): Likewise.
42126
42127 * benchtests/Makefile (string-bench): Add string benchmarks.
42128 * benchtests/bench-bcopy-ifunc.c: New file.
42129 * benchtests/bench-bcopy.c: New file.
42130 * benchtests/bench-bzero-ifunc.c: New file.
42131 * benchtests/bench-bzero.c: New file.
42132 * benchtests/bench-memccpy-ifunc.c: New file.
42133 * benchtests/bench-memccpy.c: New file.
42134 * benchtests/bench-memchr-ifunc.c: New file.
42135 * benchtests/bench-memchr.c: New file.
42136 * benchtests/bench-memcmp-ifunc.c: New file.
42137 * benchtests/bench-memcmp.c: New file.
42138 * benchtests/bench-memmem-ifunc.c: New file.
42139 * benchtests/bench-memmem.c: New file.
42140 * benchtests/bench-memmove-ifunc.c: New file.
42141 * benchtests/bench-memmove.c: New file.
42142 * benchtests/bench-mempcpy-ifunc.c: New file.
42143 * benchtests/bench-mempcpy.c: New file.
42144 * benchtests/bench-memset-ifunc.c: New file.
42145 * benchtests/bench-memset.c: New file.
42146 * benchtests/bench-rawmemchr-ifunc.c: New file.
42147 * benchtests/bench-rawmemchr.c: New file.
42148 * benchtests/bench-stpcpy-ifunc.c: New file.
42149 * benchtests/bench-stpcpy.c: New file.
42150 * benchtests/bench-stpncpy-ifunc.c: New file.
42151 * benchtests/bench-stpncpy.c: New file.
42152 * benchtests/bench-strcasecmp-ifunc.c: New file.
42153 * benchtests/bench-strcasecmp.c: New file.
42154 * benchtests/bench-strcasestr-ifunc.c: New file.
42155 * benchtests/bench-strcasestr.c: New file.
42156 * benchtests/bench-strcat-ifunc.c: New file.
42157 * benchtests/bench-strcat.c: New file.
42158 * benchtests/bench-strchr-ifunc.c: New file.
42159 * benchtests/bench-strchr.c: New file.
42160 * benchtests/bench-strchrnul-ifunc.c: New file.
42161 * benchtests/bench-strchrnul.c: New file.
42162 * benchtests/bench-strcmp-ifunc.c: New file.
42163 * benchtests/bench-strcmp.c: New file.
42164 * benchtests/bench-strcpy-ifunc.c: New file.
42165 * benchtests/bench-strcpy.c: New file.
42166 * benchtests/bench-strcspn-ifunc.c: New file.
42167 * benchtests/bench-strcspn.c: New file.
42168 * benchtests/bench-strlen-ifunc.c: New file.
42169 * benchtests/bench-strlen.c: New file.
42170 * benchtests/bench-strncasecmp-ifunc.c: New file.
42171 * benchtests/bench-strncasecmp.c: New file.
42172 * benchtests/bench-strncat-ifunc.c: New file.
42173 * benchtests/bench-strncat.c: New file.
42174 * benchtests/bench-strncmp-ifunc.c: New file.
42175 * benchtests/bench-strncmp.c: New file.
42176 * benchtests/bench-strncpy-ifunc.c: New file.
42177 * benchtests/bench-strncpy.c: New file.
42178 * benchtests/bench-strnlen-ifunc.c: New file.
42179 * benchtests/bench-strnlen.c: New file.
42180 * benchtests/bench-strpbrk-ifunc.c: New file.
42181 * benchtests/bench-strpbrk.c: New file.
42182 * benchtests/bench-strrchr-ifunc.c: New file.
42183 * benchtests/bench-strrchr.c: New file.
42184 * benchtests/bench-strspn-ifunc.c: New file.
42185 * benchtests/bench-strspn.c: New file.
42186 * benchtests/bench-strstr-ifunc.c: New file.
42187 * benchtests/bench-strstr.c: New file.
42188
42189 * benchtests/Makefile: Disable parallel execution of targets.
42190 (string-bench): Add memcpy.
42191 (benchset): New variable to store a list of benchmark sets.
42192 (bench-func): Renamed from bench.
42193 (bench-set): New target.
42194 (bench): Depend on bench-func and bench-set.
42195 * benchtests/README: Add section on benchmark sets.
42196 * benchtests/bench-memcpy-ifunc.c: New file.
42197 * benchtests/bench-memcpy.c: New file.
42198 * benchtests/bench-string.h: New file.
42199
42200 2013-06-11 Andreas Schwab <schwab@suse.de>
42201
42202 [BZ #15577]
42203 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
42204 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
42205 values in the triple.
42206 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
42207 terminator in the group key.
42208
42209 2013-06-11 Andreas Jaeger <aj@suse.de>
42210
42211 * po/zh_TW.po: Update Chinese (traditional) translation from
42212 translation project.
42213
42214 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42215
42216 * include/time.h (__clock_gettime): Add libc_hidden_proto.
42217 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
42218 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
42219 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42220 (clock_getcpuclockid): Likewise.
42221 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
42222 Add weak_alias and libc_hidden_def.
42223 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
42224 * rt/clock_gettime.c (clock_gettime): Rename to
42225 __clock_gettime. Add weak_alias and libc_hidden_def.
42226 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
42227 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
42228 __clock_nanosleep. Add weak_alias and libc_hidden_def.
42229 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
42230 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
42231 Likewise.
42232 * rt/clock_settime.c (clock_settime): Rename to
42233 __clock_settime. Add weak_alias and libc_hidden_def.
42234 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
42235
42236 2013-06-10 Joseph Myers <joseph@codesourcery.com>
42237
42238 * mach/err_boot.sub: Remove trailing whitespace.
42239 * mach/err_ipc.sub: Likewise.
42240 * mach/err_mach.sub: Likewise.
42241
42242 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
42243 (ROUNDING_TESTS_double): Likewise.
42244 (ROUNDING_TESTS_long_double): Likewise.
42245 (ROUNDING_TESTS): Likewise.
42246 * math/libm-test.inc: Include <math-tests.h>.
42247 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
42248 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42249 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42250 (IF_ROUND_INIT_FE_UPWARD): Likewise.
42251
42252 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42253
42254 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
42255 of assigning.
42256
42257 2013-06-08 Joseph Myers <joseph@codesourcery.com>
42258
42259 * sysdeps/gnu/errlist.awk: Do not generate space at end of
42260 otherwise empty TRANS lines.
42261 * sysdeps/gnu/errlist.c: Regenerated.
42262
42263 * catgets/gencat.c (error_print): Use (void) in function
42264 definition.
42265 * crypt/crypt_util.c (__init_des): Likewise.
42266 * crypt/speeds.c (Stop): Likewise.
42267 (main): Likewise.
42268 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
42269 * inet/ruserpass.c (token): Likewise.
42270 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
42271 * intl/localealias.c (extend_alias_table): Likewise.
42272 * intl/plural-exp.c (init_germanic_plural): Likewise.
42273 * libio/fcloseall.c (__fcloseall): Likewise.
42274 * libio/genops.c (_IO_flush_all): Likewise.
42275 (_IO_flush_all_linebuffered): Likewise.
42276 (_IO_cleanup): Likewise.
42277 (_IO_iter_begin): Likewise.
42278 (_IO_iter_end): Likewise.
42279 (_IO_list_lock): Likewise.
42280 (_IO_list_unlock): Likewise.
42281 (_IO_list_resetlock): Likewise.
42282 * libio/getchar.c (getchar): Likewise.
42283 * libio/getchar_u.c (getchar_unlocked): Likewise.
42284 * libio/getwchar.c (getwchar): Likewise.
42285 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
42286 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
42287 * login/getpt.c (__getpt): Likewise.
42288 * login/tst-utmp.c (main): Likewise.
42289 * malloc/hooks.c (__malloc_check_init): Likewise.
42290 * malloc/malloc.c (__malloc_stats): Likewise.
42291 * malloc/mtrace.c (tr_break): Likewise.
42292 (mtrace): Likewise.
42293 (muntrace): Likewise.
42294 * misc/fstab.c (endfsent): Likewise.
42295 * misc/getclktck.c (__getclktck): Likewise.
42296 * misc/getdtsz.c (__getdtablesize): Likewise.
42297 * misc/gethostid.c (gethostid): Likewise.
42298 * misc/getpagesize.c (__getpagesize): Likewise.
42299 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
42300 (__get_nprocs): Likewise.
42301 (__get_phys_pages): Likewise.
42302 (__get_avphys_pages): Likewise.
42303 * misc/getttyent.c (getttyent): Likewise.
42304 (setttyent): Likewise.
42305 (endttyent): Likewise.
42306 * misc/getusershell.c (getusershell): Likewise.
42307 (endusershell): Likewise.
42308 (setusershell): Likewise.
42309 (initshells): Likewise.
42310 * misc/hsearch.c (__hdestroy): Likewise.
42311 * misc/sync.c (sync): Likewise.
42312 * misc/syslog.c (closelog_internal): Likewise.
42313 (closelog): Likewise.
42314 * misc/ttyslot.c (ttyslot): Likewise.
42315 * misc/vhangup.c (vhangup): Likewise.
42316 * posix/fork.c (__fork): Likewise.
42317 * posix/getegid.c (__getegid): Likewise.
42318 * posix/geteuid.c (__geteuid): Likewise.
42319 * posix/getgid.c (__getgid): Likewise.
42320 * posix/getpid.c (__getpid): Likewise.
42321 * posix/getppid.c (__getppid): Likewise.
42322 * posix/getuid.c (__getuid): Likewise.
42323 * posix/pause.c (pause): Likewise.
42324 * posix/setpgrp.c (setpgrp): Likewise.
42325 * posix/setsid.c (__setsid): Likewise.
42326 * posix/test-vfork.c (noop): Likewise.
42327 * resolv/gethnamaddr.c (_endhtent): Likewise.
42328 (_gethtent): Likewise.
42329 (ht_endhostent): Likewise.
42330 (gethostent): Likewise.
42331 (dns_service): Likewise.
42332 * stdlib/drand48.c (drand48): Likewise.
42333 * stdlib/lrand48.c (lrand48): Likewise.
42334 * stdlib/mrand48.c (mrand48): Likewise.
42335 * stdlib/rand.c (rand): Likewise.
42336 * stdlib/random.c (__random): Likewise.
42337 * stdlib/setenv.c (clearenv): Likewise.
42338 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
42339 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
42340 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
42341 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
42342 (__get_nprocs): Likewise.
42343 (__get_phys_pages): Likewise.
42344 (__get_avphys_pages): Likewise.
42345 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
42346 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
42347 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
42348 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
42349 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
42350 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
42351 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
42352 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
42353 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
42354 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
42355 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
42356 * sysdeps/mach/hurd/sync.c (sync): Likewise.
42357 * sysdeps/posix/clock.c (clock): Likewise.
42358 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
42359 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
42360 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
42361 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
42362 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
42363 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
42364 (__get_nprocs_conf): Likewise.
42365 (__get_phys_pages): Likewise.
42366 (__get_avphys_pages): Likewise.
42367 * time/clock.c (clock): Likewise.
42368 * time/tzset.c (__tzname_max): Likewise.
42369
42370 2013-06-07 Joseph Myers <joseph@codesourcery.com>
42371
42372 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
42373 (__bswap_32): Do not use "register".
42374 * crypt/crypt.c (_ufc_doit_r): Likewise.
42375 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42376 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42377 * gmon/gmon.c (__monstartup): Likewise.
42378 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
42379 * hurd/hurdmalloc.c (more_memory): Likewise.
42380 (malloc): Likewise.
42381 (free): Likewise.
42382 (realloc): Likewise.
42383 (malloc_fork_prepare): Likewise.
42384 (malloc_fork_parent): Likewise.
42385 (malloc_fork_child): Likewise.
42386 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
42387 (_svcauth_des): Likewise.
42388 * inet/inet_lnaof.c (inet_lnaof): Likewise.
42389 * inet/inet_net.c (inet_network): Likewise.
42390 * inet/inet_netof.c (inet_netof): Likewise.
42391 * inet/rcmd.c (__validuser2_sa): Likewise.
42392 * io/fts.c (fts_open): Likewise.
42393 (fts_load): Likewise.
42394 (fts_close): Likewise.
42395 (fts_read): Likewise.
42396 (fts_children): Likewise.
42397 (fts_build): Likewise.
42398 (fts_stat): Likewise.
42399 (fts_sort): Likewise.
42400 (fts_alloc): Likewise.
42401 (fts_lfree): Likewise.
42402 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
42403 (_IO_file_xsgetn): Likewise.
42404 (_IO_file_xsgetn_mmap): Likewise.
42405 * libio/iofopncook.c (_IO_cookie_read): Likewise.
42406 (_IO_cookie_write): Likewise.
42407 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
42408 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
42409 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
42410 * malloc/obstack.c (_obstack_begin): Likewise.
42411 (_obstack_begin_1): Likewise.
42412 (_obstack_newchunk): Likewise.
42413 (_obstack_allocated_p): Likewise.
42414 (obstack_free): Likewise.
42415 (_obstack_memory_used): Likewise.
42416 * misc/getttyent.c (getttynam): Likewise.
42417 (getttyent): Likewise.
42418 (skip): Likewise.
42419 (value): Likewise.
42420 * misc/getusershell.c (initshells): Likewise.
42421 * misc/syslog.c (__vsyslog_chk): Likewise.
42422 * misc/ttyslot.c (ttyslot): Likewise.
42423 * nis/nis_hash.c (__nis_hash): Likewise.
42424 * posix/fnmatch_loop.c (FCT): Likewise.
42425 * posix/getconf.c (print_all): Likewise.
42426 (main): Likewise.
42427 * posix/getopt.c (exchange): Likewise.
42428 * posix/glob.c (globfree): Likewise.
42429 (prefix_array): Likewise.
42430 (__glob_pattern_type): Likewise.
42431 * resolv/arpa/nameser.h (NS_GET16): Likewise.
42432 (NS_GET32): Likewise.
42433 (NS_PUT16): Likewise.
42434 (NS_PUT32): Likewise.
42435 * resolv/gethnamaddr.c (getanswer): Likewise.
42436 (gethostbyname2): Likewise.
42437 (gethostbyaddr): Likewise.
42438 (_gethtent): Likewise.
42439 (_gethtbyname2): Likewise.
42440 (_gethtbyaddr): Likewise.
42441 * resolv/ns_print.c (dst_s_get_int16): Likewise.
42442 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
42443 * resolv/res_init.c (__res_vinit): Likewise.
42444 (net_mask): Likewise.
42445 * resolv/res_mkquery.c (outchar): Likewise.
42446 (PRINT): Likewise.
42447 * stdio-common/printf_fp.c (outchar): Likewise.
42448 (PRINT): Likewise.
42449 * stdio-common/printf_fphex.c (outchar): Likewise.
42450 (PRINT): Likewise.
42451 * stdio-common/printf_size.c (outchar): Likewise.
42452 (PRINT): Likewise.
42453 * stdio-common/test_rdwr.c (main): Likewise.
42454 * stdio-common/tfformat.c (matches): Likewise.
42455 * stdio-common/vfprintf.c (outchar): Likewise.
42456 (printf_unknown): Likewise.
42457 (buffered_vfprintf): Likewise.
42458 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42459 * stdio-common/xbug.c (AppendToBuffer): Likewise.
42460 (ReadFile): Likewise.
42461 * stdlib/qsort.c (SWAP): Likewise.
42462 (_quicksort): Likewise.
42463 * stdlib/setenv.c (__add_to_environ): Likewise.
42464 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42465 * stdlib/strtol_l.c (__strtol_l): Likewise.
42466 * stdlib/tst-strtod.c (main): Likewise.
42467 * stdlib/tst-strtol.c (main): Likewise.
42468 * stdlib/tst-strtoll.c (main): Likewise.
42469 * string/bits/string2.h (__strcmp_cc): Likewise.
42470 (__strcmp_cg): Likewise.
42471 (__strcspn_c1): Likewise.
42472 (__strcspn_c2): Likewise.
42473 (__strcspn_c3): Likewise.
42474 (__strspn_c1): Likewise.
42475 (__strspn_c2): Likewise.
42476 (__strspn_c3): Likewise.
42477 (__strsep_1c): Likewise.
42478 (__strsep_2c): Likewise.
42479 (__strsep_3c): Likewise.
42480 * string/memccpy.c (__memccpy): Likewise.
42481 * string/stpcpy.c (__stpcpy): Likewise.
42482 * string/strcmp.c (strcmp): Likewise.
42483 * string/strrchr.c (strrchr): Likewise.
42484 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
42485 Likewise.
42486 * sysdeps/mach/hurd/getcwd.c
42487 (_hurd_canonicalize_directory_name_internal): Likewise.
42488 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
42489 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
42490 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
42491 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
42492 Likewise, in both definitions.
42493 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
42494 definitions.
42495 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
42496 64] (__bswap_64): Likewise.
42497 * time/test_time.c (main): Likewise.
42498 * time/tzfile.c (__tzfile_read): Likewise.
42499 (__tzfile_compute): Likewise.
42500 * time/tzset.c (__tzset_parse_tz): Likewise.
42501 (tzset_internal): Likewise.
42502 (compute_change): Likewise.
42503 * wcsmbs/wcscat.c (__wcscat): Likewise.
42504 * wcsmbs/wcschr.c (wcschr): Likewise.
42505 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
42506 * wcsmbs/wcscspn.c (wcscspn): Likewise.
42507 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
42508 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
42509 * wcsmbs/wcsspn.c (wcsspn): Likewise.
42510 * wcsmbs/wcsstr.c (wcsstr): Likewise.
42511 * wcsmbs/wmemchr.c (wmemchr): Likewise.
42512 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42513 * wcsmbs/wmemset.c (wmemset): Likewise.
42514
42515 2013-06-06 Joseph Myers <joseph@codesourcery.com>
42516
42517 * scripts/config.guess: Update to version 2013-05-16.
42518 * scripts/config.sub: Update to version 2013-04-24.
42519 * scripts/install-sh: Update to version 2011-11-20.07.
42520 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
42521 * scripts/move-if-change: Update to version 2012-01-06 07:23.
42522
42523 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
42524
42525 * debug/fgetws_u_chk.c: Fix leading whitespaces.
42526 * elf/sln.c: Likewise.
42527 * hurd/hurd/ioctl.h: Likewise.
42528 * hurd/hurdmalloc.c: Likewise.
42529 * hurd/xattr.c: Likewise.
42530 * include/shlib-compat.h: Likewise.
42531 * inet/ruserpass.c: Likewise.
42532 * libio/iofgets_u.c: Likewise.
42533 * libio/iofgetws_u.c: Likewise.
42534 * locale/programs/ld-identification.c: Likewise.
42535 * locale/programs/ld-time.c: Likewise.
42536 * mach/msg-destroy.c: Likewise.
42537 * nss/nss_files/files-netgrp.c: Likewise.
42538 * resolv/res_data.c: Likewise.
42539 * soft-fp/op-1.h: Likewise.
42540 * soft-fp/op-2.h: Likewise.
42541 * soft-fp/op-4.h: Likewise.
42542 * soft-fp/op-common.h: Likewise.
42543 * stdio-common/printf_fphex.c: Likewise.
42544 * stdlib/strtod_l.c: Likewise.
42545 * sunrpc/rpc/clnt.h: Likewise.
42546 * sysdeps/generic/framestate.c: Likewise.
42547 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42548 * sysdeps/i386/bsd-setjmp.S: Likewise.
42549 * sysdeps/i386/__longjmp.S: Likewise.
42550 * sysdeps/i386/setjmp.S: Likewise.
42551 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42552 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42553 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42554 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42555 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42556 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42557 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42558 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42559 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42560 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42561 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42562 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42563 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42564 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42565 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42566 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42567 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42568 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
42569 * sysdeps/ieee754/support.c: Likewise.
42570 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42571 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
42572 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
42573 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
42574 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
42575 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
42576 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
42577 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
42578 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
42579 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
42580 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
42581 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
42582 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
42583 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
42584 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
42585 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
42586 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42588
42589 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
42590
42591 * posix/transbug.c: Remove executable mode.
42592
42593 2013-06-05 Joseph Myers <joseph@codesourcery.com>
42594
42595 * crypt/speeds.c: Remove trailing whitespace.
42596 * dlfcn/default.c: Likewise.
42597 * elf/ifuncdep2.c: Likewise.
42598 * elf/ifuncmain1.c: Likewise.
42599 * elf/ifuncmain1vis.c: Likewise.
42600 * elf/testobj.h: Likewise.
42601 * elf/tst-stackguard1.c: Likewise.
42602 * gmon/sys/gmon.h: Likewise.
42603 * hurd/hurdmsg.c: Likewise.
42604 * hurd/new-fd.c: Likewise.
42605 * hurd/ports-get.c: Likewise.
42606 * iconvdata/ibm1008_420.c: Likewise.
42607 * inet/tst-getni1.c: Likewise.
42608 * inet/tst-getni2.c: Likewise.
42609 * libio/ioungetc.c: Likewise.
42610 * libio/wfiledoalloc.c: Likewise.
42611 * manual/libm-err-tab.pl: Likewise.
42612 * math/w_dremf.c: Likewise.
42613 * misc/ftruncate.c: Likewise.
42614 * posix/bug-glob2.c: Likewise.
42615 * posix/tst-pcre.c: Likewise.
42616 * posix/wait4.c: Likewise.
42617 * resolv/README: Likewise.
42618 * resolv/res_debug.h: Likewise.
42619 * resolv/tst-inet_ntop.c: Likewise.
42620 * setjmp/bug269-setjmp.c: Likewise.
42621 * soft-fp/extended.h: Likewise.
42622 * soft-fp/op-1.h: Likewise.
42623 * soft-fp/op-2.h: Likewise.
42624 * soft-fp/op-4.h: Likewise.
42625 * soft-fp/op-8.h: Likewise.
42626 * soft-fp/testit.c: Likewise.
42627 * stdio-common/bug16.c: Likewise.
42628 * stdlib/random.c: Likewise.
42629 * sunrpc/rpcsvc/rquota.x: Likewise.
42630 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
42631 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42632 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42633 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42634 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42635 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42636 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42637 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42638 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42639 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42640 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42641 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42642 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42643 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42644 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42645 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42646 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42647 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42648 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42649 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42650 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42651 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42652 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
42653 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42654 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42655 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42657 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42658 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42659 * sysdeps/ieee754/s_lib_version.c: Likewise.
42660 * sysdeps/mach/hurd/check_fds.c: Likewise.
42661 * sysdeps/mach/hurd/getsockname.c: Likewise.
42662 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
42663 * sysdeps/mach/hurd/recvfrom.c: Likewise.
42664 * sysdeps/powerpc/bits/link.h: Likewise.
42665 * sysdeps/powerpc/dl-procinfo.c: Likewise.
42666 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
42667 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
42668 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
42669 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42670 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42671 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
42672 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42673 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
42674 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42675 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42676 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42677 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
42678 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42679 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42680 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42681 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42682 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42683 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42684 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42685 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42686 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
42687 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42688 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42689 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
42690 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42691 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42692 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42693 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42694 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42695 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42696 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42697 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42698 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42699 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
42700 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42701 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
42702 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42703 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42704 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
42705 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
42706 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
42707 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
42708 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
42709 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42710 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
42711 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
42712 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42713 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
42714 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
42715 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42716 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42717 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42718 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42719 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
42720 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42721 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42722 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42723 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
42724 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42725 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
42726 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
42727 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
42728 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42729 * sysdeps/powerpc/sysdep.h: Likewise.
42730 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42731 * sysdeps/s390/s390-64/sub_n.S: Likewise.
42732 * sysdeps/sh/dl-trampoline.S: Likewise.
42733 * sysdeps/sh/memset.S: Likewise.
42734 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
42735 * sysdeps/sh/strlen.S: Likewise.
42736 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
42737 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
42738 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
42739 * sysdeps/sparc/sparc32/rem.S: Likewise.
42740 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
42741 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
42742 * sysdeps/sparc/sparc32/strchr.S: Likewise.
42743 * sysdeps/sparc/sparc32/udiv.S: Likewise.
42744 * sysdeps/sparc/sparc32/urem.S: Likewise.
42745 * sysdeps/sparc/sparc64/add_n.S: Likewise.
42746 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42747 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
42748 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
42749 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
42750 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
42751 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
42752 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
42753 * sysdeps/unix/bsd/times.c: Likewise.
42754 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
42755 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
42756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42759 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
42760 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42761 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
42762 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
42763 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
42764 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
42765 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42766 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
42767 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42768 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42769 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
42770 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42771 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
42772 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
42773 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
42774 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
42775 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
42776 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42777 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
42778 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
42779 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42780 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
42781 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42782 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
42783 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
42784 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
42785 * sysdeps/x86_64/strcspn.S: Likewise.
42786
42787 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42788
42789 * locale/C-translit.h: Revert #include <stdint.h> because this is a
42790 generated file. Regenerate properly from gen-translit.pl.
42791 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
42792 locale/C-translit.h.
42793
42794 2013-06-05 Andreas Schwab <schwab@suse.de>
42795
42796 [BZ #15100]
42797 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
42798 week as 6 instead of -1.
42799 * time/tst-strptime.c (day_tests): Add test case.
42800
42801 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42802
42803 * sysdeps/generic/math_private.h
42804 (libc_feholdexcept_setround_53bit): Replace with
42805 libc_feholdsetround_53bit.
42806 (libc_feupdateenv_53bit): Replace with
42807 libc_feresetround_53bit.
42808 (SET_RESTORE_ROUND_53BIT): Adjust.
42809
42810 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
42811
42812 * string/test-strchrnul.c: Add copyright header.
42813
42814 * posix/tst-getaddrinfo4.c: Increase test timeout.
42815
42816 2013-06-03 Carlos O'Donell <carlos@redhat.com>
42817
42818 [BZ #15536]
42819 * math/libm-test.inc (MAX_EXP): Remove
42820 (MIN_EXP): Define.
42821 (ulp): Use MIN_EXP - MANT_DIG.
42822 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
42823
42824 2013-05-31 Carlos O'Donell <carlos@redhat.com>
42825
42826 * po/be.po: Revert last change.
42827 * po/zh_CN.po: Likewise.
42828 * po/header.pot: Likewise.
42829
42830 2013-05-31 Joseph Myers <joseph@codesourcery.com>
42831
42832 * Makefile ($(common-objpfx)linkobj/libc.so): Define
42833 link-libc-deps to empty as target-specific variable.
42834 * Makerules (link-libc-args): New variable.
42835 (libc-for-link): Likewise.
42836 (link-libc-deps): Likewise.
42837 (lib%.so): Depend on $(link-libc-deps). Link with
42838 $(link-libc-args).
42839 (build-module): Link with $(link-libc-args).
42840 (build-module-asneeded): Likewise.
42841 (build-module-helper-objlist): Filter out $(link-libc-deps) from
42842 list of objects.
42843 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
42844 target-specific variable.
42845 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
42846 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
42847 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
42848 libc.
42849 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
42850 libc and ld.so.
42851 ($(objpfx)libpcprofile.so): Likewise.
42852 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
42853 libc_nonshared.a.
42854 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
42855 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
42856 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
42857 $(link-libc-deps).
42858 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
42859 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
42860 * login/Makefile ($(objpfx)libutil.so): Likewise.
42861 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
42862 * math/Makefile ($(objpfx)libm.so): Likewise.
42863 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
42864 $(objpfx)libnsl.so): Define libc-for-link as target-specific
42865 variable instead of depending directly on libc.
42866 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
42867 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
42868 $(link-libc-deps).
42869 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
42870 libc.
42871 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
42872 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
42873 ($(objpfx)libanl.so): Likewise.
42874 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
42875 ld.so.
42876 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
42877 $(link-libc-deps).
42878 * sysdeps/i386/fpu/Makefile: Remove file.
42879 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
42880 ($(objpfx)libm.so): Remove dependency on ld.so.
42881
42882 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
42883
42884 [BZ # 15553]
42885 * nis/yp_xdr.c (XDRMAXNAME): Define.
42886 (XDRMAXRECORD): Define.
42887 (xdr_domainname): Use XDRMAXNAME.
42888 (xdr_mapname): Likewise.
42889 (xdr_peername): Likewise.
42890 (xdr_keydat): Use XDRMAXRECORD.
42891 (xdr_valdat): Likewise.
42892
42893 2013-05-30 Jeff Law <law@redhat.com>
42894
42895 [BZ #14256]
42896 * manual/errno.texi (ESTALE): Update to account for more than
42897 just NFS file systems.
42898 * sysdeps/gnu/errlist.c: Regenerated.
42899
42900 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42901
42902 [BZ #15465]
42903 * elf/Makefile (tests): Add tst-null-argv.
42904 (modules-names): Add tst-null-argv-lib.
42905 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
42906 (tst-null-argv-ENV): Set environment for tst-null-argv.
42907 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
42908 (RTLD_PROGNAME): New macro.
42909 * elf/tst-null-argv.c: New test case.
42910 * elf/tst-null-argv-lib.c: Library for test case.
42911 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
42912 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
42913 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
42914 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
42915 * elf/dl-init.c (call_init): Likewise.
42916 (_dl_init): Likewise.
42917 * elf/dl-load.c (print_search_path): Likewise.
42918 (_dl_map_object): Likewise.
42919 * elf/dl-lookup.c (do_lookup_x): Likewise.
42920 (add_dependency): Likewise.
42921 (_dl_lookup_symbol_x): Likewise.
42922 (_dl_debug_bindings): Likewise.
42923 * elf/dl-open.c (_dl_show_scope): Likewise.
42924 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42925 * elf/dl-version.c (match_symbol): Likewise.
42926 (_dl_check_map_versions): Likewise.
42927 * elf/rtld.c (dl_main): Likewise.
42928 (print_unresolved): Use RTLD_PROGNAME.
42929 (print_missing_version): Likewise.
42930 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
42931 (elf_machine_rela): Likewise.
42932 * sysdeps/powerpc/powerpc32/dl-machine.c
42933 (__process_machine_rela): Likewise.
42934 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42935 Likewise.
42936 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42937 Likewise.
42938 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42939 Likewise.
42940 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42941 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
42942 Likewise.
42943 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
42944 Likewise.
42945 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42946
42947 2013-05-28 Carlos O'Donell <carlos@redhat.com>
42948
42949 * po/be.po: Add descriptive title.
42950 * po/zh_CN.po: Likewise.
42951 * po/header.pot: Likewise.
42952
42953 2013-05-28 Mike Frysinger <vapier@gentoo.org>
42954
42955 * locale/programs/locarchive.c (create_archive): Inlucde fname in
42956 error message.
42957 (enlarge_archive): Likewise.
42958
42959 2013-05-28 Ben North <ben@redfrontdoor.org>
42960
42961 * manual/arith.texi (frexp): It is the magnitude of the return
42962 value which lies in [0.5, 1), not the return value itself.
42963
42964 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42965
42966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42967
42968 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
42969
42970 * stdio-common/bug26.c (main): Correct fscanf template.
42971
42972 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
42973 declare _dl_skip_args.
42974
42975 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
42976 Don't declare.
42977
42978 * manual/platform.texi: Add missing @end deftypefun.
42979
42980 2013-05-24 Joseph Myers <joseph@codesourcery.com>
42981
42982 [BZ #15529]
42983 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
42984 bit of mantissa of 2^16382.
42985 * math/libm-test.inc (hypot_test_data): Add more tests.
42986
42987 * math/libm-test.inc: Add drem and pow10 to list of tested
42988 functions.
42989 (pow10_test): New function.
42990 (drem_test): Likewise.
42991 (drem_test_tonearest): Likewise.
42992 (drem_test_towardzero): Likewise.
42993 (drem_test_downward): Likewise.
42994 (drem_test_upward): Likewise.
42995 (main): Call the new functions.
42996
42997 * math/libm-test.inc (finite_test_data): Remove.
42998 (finite_test): Run tests from isfinite_test_data.
42999 (gamma_test_data): Remove.
43000 (gamma_test): Run tests from lgamma_test_data.
43001 * sysdeps/i386/fpu/libm-test-ulps: Update.
43002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43003
43004 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43005
43006 * manual/platform.texi: Add PowerPC PPR function set documentation.
43007 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
43008 implementation.
43009
43010 2013-05-24 Carlos O'Donell <carlos@redhat.com>
43011
43012 * math/libm-test.inc (MAX_EXP): Define.
43013 (ULPDIFF): Define.
43014 (ulp): New function.
43015 (check_float_internal): Use ULPDIFF.
43016 (cpow_test): Disable failing test.
43017 (check_ulp): Test ulp() implemetnation.
43018 (main): Call check_ulp before starting tests.
43019
43020 2013-05-24 Joseph Myers <joseph@codesourcery.com>
43021
43022 * math/gen-libm-test.pl (generate_testfile): Do not handle
43023 START_DATA and END_DATA.
43024 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
43025 END_DATA.
43026 (acos_tonearest_test_data): Likewise.
43027 (acos_towardzero_test_data): Likewise.
43028 (acos_downward_test_data): Likewise.
43029 (acos_upward_test_data): Likewise.
43030 (acosh_test_data): Likewise.
43031 (asin_test_data): Likewise.
43032 (asin_tonearest_test_data): Likewise.
43033 (asin_towardzero_test_data): Likewise.
43034 (asin_downward_test_data): Likewise.
43035 (asin_upward_test_data): Likewise.
43036 (asinh_test_data): Likewise.
43037 (atan_test_data): Likewise.
43038 (atanh_test_data): Likewise.
43039 (atan2_test_data): Likewise.
43040 (cabs_test_data): Likewise.
43041 (cacos_test_data): Likewise.
43042 (cacosh_test_data): Likewise.
43043 (carg_test_data): Likewise.
43044 (casin_test_data): Likewise.
43045 (casinh_test_data): Likewise.
43046 (catan_test_data): Likewise.
43047 (catanh_test_data): Likewise.
43048 (cbrt_test_data): Likewise.
43049 (ccos_test_data): Likewise.
43050 (ccosh_test_data): Likewise.
43051 (ceil_test_data): Likewise.
43052 (cexp_test_data): Likewise.
43053 (cimag_test_data): Likewise.
43054 (clog_test_data): Likewise.
43055 (clog10_test_data): Likewise.
43056 (conj_test_data): Likewise.
43057 (copysign_test_data): Likewise.
43058 (cos_test_data): Likewise.
43059 (cos_tonearest_test_data): Likewise.
43060 (cos_towardzero_test_data): Likewise.
43061 (cos_downward_test_data): Likewise.
43062 (cos_upward_test_data): Likewise.
43063 (cosh_test_data): Likewise.
43064 (cosh_tonearest_test_data): Likewise.
43065 (cosh_towardzero_test_data): Likewise.
43066 (cosh_downward_test_data): Likewise.
43067 (cosh_upward_test_data): Likewise.
43068 (cpow_test_data): Likewise.
43069 (cproj_test_data): Likewise.
43070 (creal_test_data): Likewise.
43071 (csin_test_data): Likewise.
43072 (csinh_test_data): Likewise.
43073 (csqrt_test_data): Likewise.
43074 (ctan_test_data): Likewise.
43075 (ctan_tonearest_test_data): Likewise.
43076 (ctan_towardzero_test_data): Likewise.
43077 (ctan_downward_test_data): Likewise.
43078 (ctan_upward_test_data): Likewise.
43079 (ctanh_test_data): Likewise.
43080 (ctanh_tonearest_test_data): Likewise.
43081 (ctanh_towardzero_test_data): Likewise.
43082 (ctanh_downward_test_data): Likewise.
43083 (ctanh_upward_test_data): Likewise.
43084 (erf_test_data): Likewise.
43085 (erfc_test_data): Likewise.
43086 (exp_test_data): Likewise.
43087 (exp_tonearest_test_data): Likewise.
43088 (exp_towardzero_test_data): Likewise.
43089 (exp_downward_test_data): Likewise.
43090 (exp_upward_test_data): Likewise.
43091 (exp10_test_data): Likewise.
43092 (exp2_test_data): Likewise.
43093 (expm1_test_data): Likewise.
43094 (fabs_test_data): Likewise.
43095 (fdim_test_data): Likewise.
43096 (finite_test_data): Likewise.
43097 (floor_test_data): Likewise.
43098 (fma_test_data): Likewise.
43099 (fma_towardzero_test_data): Likewise.
43100 (fma_downward_test_data): Likewise.
43101 (fma_upward_test_data): Likewise.
43102 (fmax_test_data): Likewise.
43103 (fmin_test_data): Likewise.
43104 (fmod_test_data): Likewise.
43105 (fpclassify_test_data): Likewise.
43106 (frexp_test_data): Likewise.
43107 (gamma_test_data): Likewise.
43108 (hypot_test_data): Likewise.
43109 (ilogb_test_data): Likewise.
43110 (isfinite_test_data): Likewise.
43111 (isgreater_test_data): Likewise.
43112 (isgreaterequal_test_data): Likewise.
43113 (isinf_test_data): Likewise.
43114 (isless_test_data): Likewise.
43115 (islessequal_test_data): Likewise.
43116 (islessgreater_test_data): Likewise.
43117 (isnan_test_data): Likewise.
43118 (isnormal_test_data): Likewise.
43119 (issignaling_test_data): Likewise.
43120 (isunordered_test_data): Likewise.
43121 (j0_test_data): Likewise.
43122 (j1_test_data): Likewise.
43123 (jn_test_data): Likewise.
43124 (ldexp_test_data): Likewise.
43125 (lgamma_test_data): Likewise.
43126 (lrint_test_data): Likewise.
43127 (lrint_tonearest_test_data): Likewise.
43128 (lrint_towardzero_test_data): Likewise.
43129 (lrint_downward_test_data): Likewise.
43130 (lrint_upward_test_data): Likewise.
43131 (llrint_test_data): Likewise.
43132 (llrint_tonearest_test_data): Likewise.
43133 (llrint_towardzero_test_data): Likewise.
43134 (llrint_downward_test_data): Likewise.
43135 (llrint_upward_test_data): Likewise.
43136 (log_test_data): Likewise.
43137 (log10_test_data): Likewise.
43138 (log1p_test_data): Likewise.
43139 (log2_test_data): Likewise.
43140 (logb_test_data): Likewise.
43141 (logb_downward_test_data): Likewise.
43142 (lround_test_data): Likewise.
43143 (llround_test_data): Likewise.
43144 (modf_test_data): Likewise.
43145 (nearbyint_test_data): Likewise.
43146 (nextafter_test_data): Likewise.
43147 (nexttoward_test_data): Likewise.
43148 (pow_test_data): Likewise.
43149 (pow_tonearest_test_data): Likewise.
43150 (pow_towardzero_test_data): Likewise.
43151 (pow_downward_test_data): Likewise.
43152 (pow_upward_test_data): Likewise.
43153 (remainder_test_data): Likewise.
43154 (remainder_tonearest_test_data): Likewise.
43155 (remainder_towardzero_test_data): Likewise.
43156 (remainder_downward_test_data): Likewise.
43157 (remainder_upward_test_data): Likewise.
43158 (remquo_test_data): Likewise.
43159 (rint_test_data): Likewise.
43160 (rint_tonearest_test_data): Likewise.
43161 (rint_towardzero_test_data): Likewise.
43162 (rint_downward_test_data): Likewise.
43163 (rint_upward_test_data): Likewise.
43164 (round_test_data): Likewise.
43165 (scalb_test_data): Likewise.
43166 (scalbn_test_data): Likewise.
43167 (scalbln_test_data): Likewise.
43168 (signbit_test_data): Likewise.
43169 (sin_test_data): Likewise.
43170 (sin_tonearest_test_data): Likewise.
43171 (sin_towardzero_test_data): Likewise.
43172 (sin_downward_test_data): Likewise.
43173 (sin_upward_test_data): Likewise.
43174 (sincos_test_data): Likewise.
43175 (sinh_test_data): Likewise.
43176 (sinh_tonearest_test_data): Likewise.
43177 (sinh_towardzero_test_data): Likewise.
43178 (sinh_downward_test_data): Likewise.
43179 (sinh_upward_test_data): Likewise.
43180 (sqrt_test_data): Likewise.
43181 (tan_test_data): Likewise.
43182 (tan_tonearest_test_data): Likewise.
43183 (tan_towardzero_test_data): Likewise.
43184 (tan_downward_test_data): Likewise.
43185 (tan_upward_test_data): Likewise.
43186 (tanh_test_data): Likewise.
43187 (tgamma_test_data): Likewise.
43188 (trunc_test_data): Likewise.
43189 (y0_test_data): Likewise.
43190 (y1_test_data): Likewise.
43191 (yn_test_data): Likewise.
43192 (significand_test_data): Likewise.
43193
43194 * math/gen-libm-test.pl (@functions): Remove variable.
43195 (generate_testfile): Don't handle START and END lines.
43196 * math/libm-test.inc (START): New macro.
43197 (END): Likewise.
43198 (END_COMPLEX): Likewise.
43199 (acos_test): Use END macro without arguments.
43200 (acos_test_tonearest): Likewise.
43201 (acos_test_towardzero): Likewise.
43202 (acos_test_downward): Likewise.
43203 (acos_test_upward): Likewise.
43204 (acosh_test): Likewise.
43205 (asin_test): Likewise.
43206 (asin_test_tonearest): Likewise.
43207 (asin_test_towardzero): Likewise.
43208 (asin_test_downward): Likewise.
43209 (asin_test_upward): Likewise.
43210 (asinh_test): Likewise.
43211 (atan_test): Likewise.
43212 (atanh_test): Likewise.
43213 (atan2_test): Likewise.
43214 (cabs_test): Likewise.
43215 (cacos_test): Use END_COMPLEX macro without arguments.
43216 (cacosh_test): Likewise.
43217 (carg_test): Use END macro without arguments.
43218 (casin_test): Use END_COMPLEX macro without arguments.
43219 (casinh_test): Likewise.
43220 (catan_test): Likewise.
43221 (catanh_test): Likewise.
43222 (cbrt_test): Use END macro without arguments.
43223 (ccos_test): Use END_COMPLEX macro without arguments.
43224 (ccosh_test): Likewise.
43225 (ceil_test): Use END macro without arguments.
43226 (cexp_test): Use END_COMPLEX macro without arguments.
43227 (cimag_test): Use END macro without arguments.
43228 (clog_test): Use END_COMPLEX macro without arguments.
43229 (clog10_test): Likewise.
43230 (conj_test): Likewise.
43231 (copysign_test): Use END macro without arguments.
43232 (cos_test): Likewise.
43233 (cos_test_tonearest): Likewise.
43234 (cos_test_towardzero): Likewise.
43235 (cos_test_downward): Likewise.
43236 (cos_test_upward): Likewise.
43237 (cosh_test): Likewise.
43238 (cosh_test_tonearest): Likewise.
43239 (cosh_test_towardzero): Likewise.
43240 (cosh_test_downward): Likewise.
43241 (cosh_test_upward): Likewise.
43242 (cpow_test): Use END_COMPLEX macro without arguments.
43243 (cproj_test): Likewise.
43244 (creal_test): Use END macro without arguments.
43245 (csin_test): Use END_COMPLEX macro without arguments.
43246 (csinh_test): Likewise.
43247 (csqrt_test): Likewise.
43248 (ctan_test): Likewise.
43249 (ctan_test_tonearest): Likewise.
43250 (ctan_test_towardzero): Likewise.
43251 (ctan_test_downward): Likewise.
43252 (ctan_test_upward): Likewise.
43253 (ctanh_test): Likewise.
43254 (ctanh_test_tonearest): Likewise.
43255 (ctanh_test_towardzero): Likewise.
43256 (ctanh_test_downward): Likewise.
43257 (ctanh_test_upward): Likewise.
43258 (erf_test): Use END macro without arguments.
43259 (erfc_test): Likewise.
43260 (exp_test): Likewise.
43261 (exp_test_tonearest): Likewise.
43262 (exp_test_towardzero): Likewise.
43263 (exp_test_downward): Likewise.
43264 (exp_test_upward): Likewise.
43265 (exp10_test): Likewise.
43266 (exp2_test): Likewise.
43267 (expm1_test): Likewise.
43268 (fabs_test): Likewise.
43269 (fdim_test): Likewise.
43270 (finite_test): Likewise.
43271 (floor_test): Likewise.
43272 (fma_test): Likewise.
43273 (fma_test_towardzero): Likewise.
43274 (fma_test_downward): Likewise.
43275 (fma_test_upward): Likewise.
43276 (fmax_test): Likewise.
43277 (fmin_test): Likewise.
43278 (fmod_test): Likewise.
43279 (fpclassify_test): Likewise.
43280 (frexp_test): Likewise.
43281 (gamma_test): Likewise.
43282 (hypot_test): Likewise.
43283 (ilogb_test): Likewise.
43284 (isfinite_test): Likewise.
43285 (isgreater_test): Likewise.
43286 (isgreaterequal_test): Likewise.
43287 (isinf_test): Likewise.
43288 (isless_test): Likewise.
43289 (islessequal_test): Likewise.
43290 (islessgreater_test): Likewise.
43291 (isnan_test): Likewise.
43292 (isnormal_test): Likewise.
43293 (issignaling_test): Likewise.
43294 (isunordered_test): Likewise.
43295 (j0_test): Likewise.
43296 (j1_test): Likewise.
43297 (jn_test): Likewise.
43298 (ldexp_test): Likewise.
43299 (lgamma_test): Likewise.
43300 (lrint_test): Likewise.
43301 (lrint_test_tonearest): Likewise.
43302 (lrint_test_towardzero): Likewise.
43303 (lrint_test_downward): Likewise.
43304 (lrint_test_upward): Likewise.
43305 (llrint_test): Likewise.
43306 (llrint_test_tonearest): Likewise.
43307 (llrint_test_towardzero): Likewise.
43308 (llrint_test_downward): Likewise.
43309 (llrint_test_upward): Likewise.
43310 (log_test): Likewise.
43311 (log10_test): Likewise.
43312 (log1p_test): Likewise.
43313 (log2_test): Likewise.
43314 (logb_test): Likewise.
43315 (logb_test_downward): Likewise.
43316 (lround_test): Likewise.
43317 (llround_test): Likewise.
43318 (modf_test): Likewise.
43319 (nearbyint_test): Likewise.
43320 (nextafter_test): Likewise.
43321 (nexttoward_test): Likewise.
43322 (pow_test): Likewise.
43323 (pow_test_tonearest): Likewise.
43324 (pow_test_towardzero): Likewise.
43325 (pow_test_downward): Likewise.
43326 (pow_test_upward): Likewise.
43327 (remainder_test): Likewise.
43328 (remainder_test_tonearest): Likewise.
43329 (remainder_test_towardzero): Likewise.
43330 (remainder_test_downward): Likewise.
43331 (remainder_test_upward): Likewise.
43332 (remquo_test): Likewise.
43333 (rint_test): Likewise.
43334 (rint_test_tonearest): Likewise.
43335 (rint_test_towardzero): Likewise.
43336 (rint_test_downward): Likewise.
43337 (rint_test_upward): Likewise.
43338 (round_test): Likewise.
43339 (scalb_test): Likewise.
43340 (scalbn_test): Likewise.
43341 (scalbln_test): Likewise.
43342 (signbit_test): Likewise.
43343 (sin_test): Likewise.
43344 (sin_test_tonearest): Likewise.
43345 (sin_test_towardzero): Likewise.
43346 (sin_test_downward): Likewise.
43347 (sin_test_upward): Likewise.
43348 (sincos_test): Likewise.
43349 (sinh_test): Likewise.
43350 (sinh_test_tonearest): Likewise.
43351 (sinh_test_towardzero): Likewise.
43352 (sinh_test_downward): Likewise.
43353 (sinh_test_upward): Likewise.
43354 (sqrt_test): Likewise.
43355 (tan_test): Likewise.
43356 (tan_test_tonearest): Likewise.
43357 (tan_test_towardzero): Likewise.
43358 (tan_test_downward): Likewise.
43359 (tan_test_upward): Likewise.
43360 (tanh_test): Likewise.
43361 (tgamma_test): Likewise.
43362 (trunc_test): Likewise.
43363 (y0_test): Likewise.
43364 (y1_test): Likewise.
43365 (yn_test): Likewise.
43366 (significand_test): Likewise.
43367
43368 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
43369
43370 [BZ #15381]
43371 * libio/genops.c (_IO_no_init): Initialize wide struct info.
43372
43373 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
43374
43375 [BZ #14894]
43376 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
43377 __ppc_mdoio and __ppc_mdoom.
43378 * manual/platform.texi: Document new functions __ppc_yield,
43379 __ppc_mdoio and __ppc_mdoom.
43380
43381 2013-05-22 Carlos O'Donell <carlos@redhat.com>
43382
43383 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
43384 (main): Mention "tls" pseudo-hwcap is legacy.
43385 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
43386
43387 2013-05-22 Joseph Myers <joseph@codesourcery.com>
43388
43389 * math/gen-libm-test.pl (parse_args): Output only string of
43390 arguments as text for test name, not full call or descriptions of
43391 tests for extra outputs.
43392 (generate_testfile): Do not pass function name to parse_args.
43393 Generate this_func variable from START.
43394 * math/libm-test.inc (struct test_f_f_data): Rename test_name
43395 field to arg_str.
43396 (struct test_ff_f_data): Likewise.
43397 (test_ff_f_data_nexttoward): Likewise.
43398 (struct test_fi_f_data): Likewise.
43399 (struct test_fl_f_data): Likewise.
43400 (struct test_if_f_data): Likewise.
43401 (struct test_fff_f_data): Likewise.
43402 (struct test_c_f_data): Likewise.
43403 (struct test_f_f1_data): Likewise. Remove field extra_name.
43404 (struct test_fF_f1_data): Likewise.
43405 (struct test_ffI_f1_data): Likewise.
43406 (struct test_c_c_data): Rename test_name field to arg_str.
43407 (struct test_cc_c_data): Likewise.
43408 (struct test_f_i_data): Likewise.
43409 (struct test_ff_i_data): Likewise.
43410 (struct test_f_l_data): Likewise.
43411 (struct test_f_L_data): Likewise.
43412 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
43413 and extra2_name.
43414 (COMMON_TEST_SETUP): New macro.
43415 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
43416 (COMMON_TEST_CLEANUP): Likewise.
43417 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
43418 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
43419 macros.
43420 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
43421 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
43422 macros.
43423 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
43424 (RUN_TEST_fff_f): Take argument string. Call new setup and
43425 cleanup macros.
43426 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
43427 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
43428 macros.
43429 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
43430 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
43431 macros.
43432 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43433 (RUN_TEST_fF_f1): Take argument string. Call new setup and
43434 cleanup macros.
43435 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43436 (RUN_TEST_fI_f1): Take argument string. Call new setup and
43437 cleanup macros.
43438 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43439 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
43440 cleanup macros.
43441 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43442 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
43443 macros.
43444 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
43445 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
43446 macros.
43447 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
43448 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
43449 macros.
43450 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
43451 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
43452 cleanup macros.
43453 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
43454 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
43455 cleanup macros.
43456 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
43457 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
43458 macros.
43459 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
43460 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
43461 cleanup macros.
43462 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
43463 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
43464 macros.
43465 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
43466 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
43467 macros.
43468 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
43469 (RUN_TEST_fFF_11): Take argument string. Call new setup and
43470 cleanup macros.
43471 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
43472
43473 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
43474
43475 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
43476 to _sifields.sigfault.
43477 (si_addr_lsb): Define new macro.
43478 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43479 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43480 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
43481
43482 2013-05-03 Carlos O'Donell <carlos at redhat.com>
43483
43484 [BZ #15441]
43485 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
43486 returns -1.
43487 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
43488 null return -1.
43489 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
43490 loading the domain.
43491
43492 2013-05-22 Joseph Myers <joseph@codesourcery.com>
43493
43494 * math/gen-libm-test.pl (parse_args): Do not include expected
43495 result in test name.
43496 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
43497 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43498 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43499 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43500 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43502
43503 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43504
43505 * benchtests/Makefile: Sort function entries.
43506
43507 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
43508 tanh, asinh, acosh, atanh.
43509 * benchtests/acos-inputs: New file.
43510 * benchtests/acosh-inputs: New file.
43511 * benchtests/asin-inputs: New file.
43512 * benchtests/asinh-inputs: New file.
43513 * benchtests/atanh-inputs: New file.
43514 * benchtests/cosh-inputs: New file.
43515 * benchtests/log-inputs: New file.
43516 * benchtests/sinh-inputs: New file.
43517 * benchtests/tanh-inputs: New file.
43518
43519 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
43520
43521 [BZ #15339]
43522 * posix/tst-getaddrinfo4.c: New test.
43523 * posix/Makefile (tests): Add it.
43524
43525 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
43526
43527 [BZ #15339]
43528 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
43529 when no services were used.
43530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
43531 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
43532
43533 2013-05-21 Andreas Schwab <schwab@suse.de>
43534
43535 [BZ #15014]
43536 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
43537 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
43538 successful.
43539 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
43540 redundant variable declarations and reallocation of buffer when
43541 parsing as IPv6 address. Always set NSS status when called from
43542 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
43543 buffer too small. Correct computation of needed size.
43544 * nss/Makefile (tests): Add test-digits-dots.
43545 * nss/test-digits-dots.c: New test.
43546
43547 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
43548
43549 * benchtests/Makefile: Remove instructions for adding
43550 benchmark tests.
43551 * benchtests/README: New file to explain how to execute and
43552 enhance the benchmark tests.
43553
43554 2013-05-21 Andreas Schwab <schwab@suse.de>
43555
43556 [BZ #15493]
43557 * setjmp/Makefile (tests): Add tst-sigsetjmp.
43558 * setjmp/tst-sigsetjmp.c: New test.
43559
43560 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
43561
43562 * sysdeps/x86_64/memset.S (memset): New implementation.
43563 (__bzero): Likewise.
43564 (__memset_tail): New function.
43565
43566 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
43567
43568 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
43569 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
43570 __memcpy_sse2_unaligned ifunc selection.
43571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43572 Add memcpy-sse2-unaligned.S.
43573 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43574 Add: __memcpy_sse2_unaligned.
43575
43576 2013-05-19 Joseph Myers <joseph@codesourcery.com>
43577
43578 [BZ #15490]
43579 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
43580 math_force_eval before restoring floating-point envrionment.
43581 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
43582 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
43583 Likewise.
43584 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
43585 <math_private.h>.
43586 (__nearbyintl): Use math_force_eval before restoring
43587 floating-point environment.
43588 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
43589
43590 * math/gen-libm-test.pl (special_functions): Remove.
43591 (parse_args): Don't handle TEST_extra. Handle functions with no
43592 return value.
43593 * math/libm-test.inc (struct test_sincos_data): Replace with
43594 struct test_fFF_11_data.
43595 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
43596 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
43597 (sincos_test_data): Change element type to struct
43598 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
43599 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
43600 RUN_TEST_LOOP_sincos.
43601 * math/README.libm-test: Don't mention special handling of
43602 individual functions.
43603 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
43604 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43605 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43606 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43607 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43609
43610 * math/gen-libm-test.pl (get_variable): Remove function.
43611 (parse_args): Don't show pointer parameters to call in test
43612 names. Use "extra output N" in test names for extra outputs
43613 rather than naming variables.
43614
43615 2013-05-18 Joseph Myers <joseph@codesourcery.com>
43616
43617 [BZ #15488]
43618 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
43619 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
43620 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
43621 double tests.
43622 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
43623 disable.
43624 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
43625 check_long_double.
43626
43627 * math/gen-libm-test.pl (@tests): Remove variable.
43628 ($count): Likewise.
43629 (new_test): Remove function.
43630 (show_exceptions): New function.
43631 (special_functions): Use show_exceptions instead of new_test.
43632 (parse_args): Likewise.
43633 (generate_testfile): Pass only function name in generated call to
43634 print_max_error or print_complex_max_error.
43635 (get_ulps): Do not handle complex tests specially.
43636 (output_test): Rename to ...
43637 (get_all_ulps_for_test): ... this. Return a string rather than
43638 printing to a file. Require ulps to be present.
43639 (output_ulps): Generate arrays rather than #defines.
43640 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
43641 (struct ulp_data): New type.
43642 (BUILD_COMPLEX_ULP): Remove macro.
43643 (compare_ulp_data): New function.
43644 (find_ulps): Likewise.
43645 (find_test_ulps): Likewise.
43646 (find_function_ulps): Likewise.
43647 (find_complex_function_ulps): Likewise.
43648 (print_max_error): Determine allowed ulps using
43649 find_function_ulps.
43650 (print_complex_max_error): Determine allowed ulps using
43651 find_complex_function_ulps.
43652 (check_float_internal): Determine max ulps using find_test_ulps.
43653 (check_float): Do not take max_ulp parameter. Update call to
43654 check_float_internal.
43655 (check_complex): Likewise.
43656 (check_int): Do not take max_ulp parameter.
43657 (check_long): Likewise.
43658 (check_bool): Likewise.
43659 (check_longlong): Likewise.
43660 (struct test_f_f_data): Remove max_ulp field.
43661 (struct test_ff_f_data): Likewise.
43662 (struct test_ff_f_data_nexttoward): Likewise.
43663 (struct test_fi_f_data): Likewise.
43664 (struct test_fl_f_data): Likewise.
43665 (struct test_if_f_data): Likewise.
43666 (struct test_fff_f_data): Likewise.
43667 (struct test_c_f_data): Likewise.
43668 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
43669 (struct test_fF_f1_data): Likewise.
43670 (struct test_ffI_f1_data): Likewise.
43671 (struct test_c_c_data): Remove max_ulp field.
43672 (struct test_cc_c_data): Likewise.
43673 (struct test_f_i_data): Likewise.
43674 (struct test_ff_i_data): Likewise.
43675 (struct test_f_l_data): Likewise.
43676 (struct test_f_L_data): Likewise.
43677 (struct test_sincos_data): Likewise.
43678 (RUN_TEST_f_f): Do not handle ulps.
43679 (RUN_TEST_LOOP_f_f): Likewise.
43680 (RUN_TEST_2_f): Likewise.
43681 (RUN_TEST_LOOP_2_f): Likewise.
43682 (RUN_TEST_fff_f): Likewise.
43683 (RUN_TEST_LOOP_fff_f): Likewise.
43684 (RUN_TEST_c_f): Likewise.
43685 (RUN_TEST_LOOP_c_f): Likewise.
43686 (RUN_TEST_f_f1): Likewise.
43687 (RUN_TEST_LOOP_f_f1): Likewise.
43688 (RUN_TEST_fF_f1): Likewise.
43689 (RUN_TEST_LOOP_fF_f1): Likewise.
43690 (RUN_TEST_fI_f1): Likewise.
43691 (RUN_TEST_LOOP_fI_f1): Likewise.
43692 (RUN_TEST_ffI_f1): Likewise.
43693 (RUN_TEST_LOOP_ffI_f1): Likewise.
43694 (RUN_TEST_c_c): Likewise.
43695 (RUN_TEST_LOOP_c_c): Likewise.
43696 (RUN_TEST_cc_c): Likewise.
43697 (RUN_TEST_LOOP_cc_c): Likewise.
43698 (RUN_TEST_f_i): Likewise.
43699 (RUN_TEST_LOOP_f_i): Likewise.
43700 (RUN_TEST_f_i_tg): Likewise.
43701 (RUN_TEST_LOOP_f_i_tg): Likewise.
43702 (RUN_TEST_ff_i_tg): Likewise.
43703 (RUN_TEST_LOOP_ff_i_tg): Likewise.
43704 (RUN_TEST_f_b): Likewise.
43705 (RUN_TEST_LOOP_f_b): Likewise.
43706 (RUN_TEST_f_b_tg): Likewise.
43707 (RUN_TEST_LOOP_f_b_tg): Likewise.
43708 (RUN_TEST_f_l): Likewise.
43709 (RUN_TEST_LOOP_f_l): Likewise.
43710 (RUN_TEST_f_L): Likewise.
43711 (RUN_TEST_LOOP_f_L): Likewise.
43712 (RUN_TEST_sincos): Likewise.
43713 (RUN_TEST_LOOP_sincos): Likewise.
43714
43715 2013-05-17 Joseph Myers <joseph@codesourcery.com>
43716
43717 [BZ #15480]
43718 [BZ #15485]
43719 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
43720 main case of finite arguments, set rounding mode to FE_TONEAREST
43721 and discard exceptions.
43722 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
43723 exceptions.
43724 (remainder_tonearest_test_data): New variable.
43725 (remainder_test_tonearest): New function.
43726 (remainder_towardzero_test_data): New variable.
43727 (remainder_test_towardzero): New function.
43728 (remainder_downward_test_data): New variable.
43729 (remainder_test_downward): New function.
43730 (remainder_upward_test_data): New variable.
43731 (remainder_test_upward): New function.
43732 (main): Call the new test functions.
43733
43734 * math/libm-test.inc (struct test_f_f1_data): Remove field
43735 extra_init.
43736 (struct test_fF_f1_data): Likewise.
43737 (struct test_ffI_f1_data): Likewise.
43738 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
43739 based on value of EXTRA_EXPECTED.
43740 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43741 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
43742 EXTRA_VAR based on value of EXTRA_EXPECTED.
43743 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43744 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
43745 EXTRA_VAR based on value of EXTRA_EXPECTED.
43746 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43747 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
43748 EXTRA_VAR based on value of EXTRA_EXPECTED.
43749 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43750 * math/gen-libm-test.pl (parse_args): Don't output initializers
43751 for extra output values.
43752
43753 * math/libm-test.inc (check_int): Expect result to be exactly
43754 equal to expected value and do not handle ulps.
43755 (check_long): Likewise.
43756 (check_longlong): Likewise.
43757
43758 * math/libm-test.inc (ceil_test_data): Test for "inexact"
43759 exceptions.
43760 (cimag_test_data): Likewise.
43761 (conj_test_data): Likewise.
43762 (copysign_test_data): Likewise.
43763 (cproj_test_data): Likewise.
43764 (creal_test_data): Likewise.
43765 (fabs_test_data): Likewise.
43766 (fdim_test_data): Likewise.
43767 (finite_test_data): Likewise.
43768 (floor_test_data): Likewise.
43769 (fmax_test_data): Likewise.
43770 (fmin_test_data): Likewise.
43771 (fmod_test_data): Likewise.
43772 (fpclassify_test_data): Likewise.
43773 (frexp_test_data): Likewise.
43774 (ilogb_test_data): Likewise.
43775 (isfinite_test_data): Likewise.
43776 (isgreater_test_data): Likewise.
43777 (isgreaterequal_test_data): Likewise.
43778 (isinf_test_data): Likewise.
43779 (isless_test_data): Likewise.
43780 (islessequal_test_data): Likewise.
43781 (islessgreater_test_data): Likewise.
43782 (isnan_test_data): Likewise.
43783 (isnormal_test_data): Likewise.
43784 (issignaling_test_data): Likewise.
43785 (isunordered_test_data): Likewise.
43786 (ldexp_test_data): Likewise.
43787 (lrint_test_data): Likewise.
43788 (lrint_test_data) [TEST_FLOAT]: Disable one test.
43789 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
43790 (lrint_tonearest_test_data): Test for "inexact" exceptions.
43791 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43792 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
43793 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43794 test input.
43795 (lrint_towardzero_test_data): Test for "inexact" exceptions.
43796 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43797 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
43798 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
43799 that test input.
43800 (lrint_downward_test_data): Test for "inexact" exceptions.
43801 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43802 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
43803 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43804 test input.
43805 (lrint_upward_test_data): Test for "inexact" exceptions.
43806 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
43807 test input.
43808 (llrint_test_data): Test for "inexact" exceptions.
43809 (llrint_test_data) [TEST_FLOAT]: Disable one test.
43810 (llrint_tonearest_test_data): Test for "inexact" exceptions.
43811 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43812 (llrint_towardzero_test_data): Test for "inexact" exceptions.
43813 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43814 (llrint_downward_test_data): Test for "inexact" exceptions.
43815 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43816 (llrint_upward_test_data): Test for "inexact" exceptions.
43817 (logb_test_data): Likewise.
43818 (logb_downward_test_data): Likewise.
43819 (nextafter_test_data): Likewise.
43820 (nexttoward_test_data): Likewise.
43821 (remainder_test_data): Likewise.
43822 (remquo_test_data): Likewise.
43823 (scalbn_test_data): Likewise.
43824 (scalbln_test_data): Likewise.
43825 (signbit_test_data): Likewise.
43826 (sqrt_test_data): Likewise.
43827 (significand_test_data): Likewise.
43828
43829 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
43830
43831 [BZ #15424]
43832 * benchtests/bench-modf.c (struct args): Mark arg0 as
43833 volatile.
43834 * scripts/bench.pl: Mark members of struct args as volatile.
43835
43836 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43837
43838 [BZ # 15497]
43839 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
43840 negative infinity on POWER6 or lower.
43841 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
43842
43843 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
43844
43845 [BZ #15442]
43846 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
43847 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
43848 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
43849 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
43850 (_FP_SETQNAN): New macro.
43851 (_FP_SETQNAN_SEMIRAW): Likewise.
43852 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
43853 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
43854 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
43855 (FP_EXTEND): Use _FP_FRAC_SNANP.
43856 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
43857 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
43858 into account.
43859 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43860 New macro.
43861 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43862 Likewise.
43863
43864 2013-05-16 Joseph Myers <joseph@codesourcery.com>
43865
43866 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
43867 with DIVIDE_BY_ZERO_EXCEPTION.
43868 (gamma_test_data): Likewise.
43869 (lgamma_test_data): Likewise.
43870 (log_test_data): Likewise.
43871 (log10_test_data): Likewise.
43872 (log2_test_data): Likewise.
43873 (tgamma_test_data): Likewise.
43874
43875 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
43876 (acos_test_tonearest): Likewise.
43877 (acos_test_towardzero): Likewise.
43878 (acos_test_downward): Likewise.
43879 (acos_test_upward): Likewise.
43880 (acosh_test): Likewise.
43881 (asin_test): Likewise.
43882 (asin_test_tonearest): Likewise.
43883 (asin_test_towardzero): Likewise.
43884 (asin_test_downward): Likewise.
43885 (asin_test_upward): Likewise.
43886 (asinh_test): Likewise.
43887 (atan_test): Likewise.
43888 (atanh_test): Likewise.
43889 (atan2_test): Likewise.
43890 (cabs_test): Likewise.
43891 (cacos_test): Likewise.
43892 (cacosh_test): Likewise.
43893 (casin_test): Likewise.
43894 (casinh_test): Likewise.
43895 (catan_test): Likewise.
43896 (catanh_test): Likewise.
43897 (cbrt_test): Likewise.
43898 (ccos_test): Likewise.
43899 (ccosh_test): Likewise.
43900 (cexp_test): Likewise.
43901 (clog_test): Likewise.
43902 (clog10_test): Likewise.
43903 (cos_test): Likewise.
43904 (cos_test_tonearest): Likewise.
43905 (cos_test_towardzero): Likewise.
43906 (cos_test_downward): Likewise.
43907 (cos_test_upward): Likewise.
43908 (cosh_test): Likewise.
43909 (cosh_test_tonearest): Likewise.
43910 (cosh_test_towardzero): Likewise.
43911 (cosh_test_downward): Likewise.
43912 (cosh_test_upward): Likewise.
43913 (cpow_test): Likewise.
43914 (csin_test): Likewise.
43915 (csinh_test): Likewise.
43916 (csqrt_test): Likewise.
43917 (ctan_test): Likewise.
43918 (ctan_test_tonearest): Likewise.
43919 (ctan_test_towardzero): Likewise.
43920 (ctan_test_downward): Likewise.
43921 (ctan_test_upward): Likewise.
43922 (ctanh_test): Likewise.
43923 (ctanh_test_tonearest): Likewise.
43924 (ctanh_test_towardzero): Likewise.
43925 (ctanh_test_downward): Likewise.
43926 (ctanh_test_upward): Likewise.
43927 (erf_test): Likewise.
43928 (erfc_test): Likewise.
43929 (exp_test): Likewise.
43930 (exp_test_tonearest): Likewise.
43931 (exp_test_towardzero): Likewise.
43932 (exp_test_downward): Likewise.
43933 (exp_test_upward): Likewise.
43934 (exp10_test): Likewise.
43935 (exp2_test): Likewise.
43936 (expm1_test): Likewise.
43937 (fmod_test): Likewise.
43938 (gamma_test): Likewise.
43939 (hypot_test): Likewise.
43940 (j0_test): Likewise.
43941 (j1_test): Likewise.
43942 (jn_test): Likewise.
43943 (lgamma_test): Likewise.
43944 (log_test): Likewise.
43945 (log10_test): Likewise.
43946 (log1p_test): Likewise.
43947 (log2_test): Likewise.
43948 (logb_test_downward): Likewise.
43949 (pow_test): Likewise.
43950 (pow_test_tonearest): Likewise.
43951 (pow_test_towardzero): Likewise.
43952 (pow_test_downward): Likewise.
43953 (pow_test_upward): Likewise.
43954 (remainder_test): Likewise.
43955 (remquo_test): Likewise.
43956 (sin_test): Likewise.
43957 (sin_test_tonearest): Likewise.
43958 (sin_test_towardzero): Likewise.
43959 (sin_test_downward): Likewise.
43960 (sin_test_upward): Likewise.
43961 (sincos_test): Likewise.
43962 (sinh_test): Likewise.
43963 (sinh_test_tonearest): Likewise.
43964 (sinh_test_towardzero): Likewise.
43965 (sinh_test_downward): Likewise.
43966 (sinh_test_upward): Likewise.
43967 (sqrt_test): Likewise.
43968 (tan_test): Likewise.
43969 (tan_test_tonearest): Likewise.
43970 (tan_test_towardzero): Likewise.
43971 (tan_test_downward): Likewise.
43972 (tan_test_upward): Likewise.
43973 (tanh_test): Likewise.
43974 (tgamma_test): Likewise.
43975 (y0_test): Likewise.
43976 (y1_test): Likewise.
43977 (yn_test): Likewise.
43978
43979 * math/gen-libm-test.pl (adjust_arg): Remove function.
43980 (special_function): Remove argument $in_func. Only handle
43981 generating output for tables of tests, not inside functions.
43982 (parse_args): Likewise.
43983 (generate_testfile): Remove variable $in_func. Update call to
43984 parse_args.
43985 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
43986 (MINUS_ZERO_INIT): Rename macro to minus_zero.
43987 (PLUS_INFTY_INIT): Rename macro to plus_infty.
43988 (MINUS_INFTY_INIT): Rename macro to minus_infty.
43989 (QNAN_VALUE_INIT): Rename macro to qnan_value.
43990 (MAX_VALUE_INIT): Rename macro to max_value.
43991 (MIN_VALUE_INIT): Rename macro to min_value.
43992 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
43993 (plus_zero): Remove variable.
43994 (minus_zero): Likewise.
43995 (plus_infty): Likewise.
43996 (minus_infty): Likewise.
43997 (qnan_value): Likewise.
43998 (max_value): Likewise.
43999 (min_value): Likewise.
44000 (min_subnorm_value): Likewise.
44001
44002 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44003
44004 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
44005 uint64_t or uint32_t usage.
44006 * crypt/sha256-block.c: Likewise.
44007 * crypt/sha256-crypt.c: Likewise.
44008 * crypt/sha256.c: Likewise.
44009 * crypt/sha512-block.c: Likewise.
44010 * crypt/sha512-crypt.c: Likewise.
44011 * crypt/sha512.c: Likewise.
44012 * debug/backtrace-tst.c: Likewise.
44013 * debug/pcprofiledump.c: Likewise.
44014 * elf/cache.c: Likewise.
44015 * elf/dl-cache.c: Likewise.
44016 * elf/dl-misc.c: Likewise.
44017 * elf/dl-profile.c: Likewise.
44018 * elf/dl-support.c: Likewise.
44019 * elf/ldconfig.c: Likewise.
44020 * elf/sprof.c: Likewise.
44021 * iconv/dummy-repertoire.c: Likewise.
44022 * iconv/iconv_charmap.c: Likewise.
44023 * iconv/skeleton.c: Likewise.
44024 * iconvdata/8bit-generic.c: Likewise.
44025 * iconvdata/cp737.h: Likewise.
44026 * iconvdata/cp775.h: Likewise.
44027 * iconvdata/ibm1008.h: Likewise.
44028 * iconvdata/ibm1025.h: Likewise.
44029 * iconvdata/ibm1046.h: Likewise.
44030 * iconvdata/ibm1097.h: Likewise.
44031 * iconvdata/ibm1112.h: Likewise.
44032 * iconvdata/ibm1122.h: Likewise.
44033 * iconvdata/ibm1123.h: Likewise.
44034 * iconvdata/ibm1124.h: Likewise.
44035 * iconvdata/ibm1129.h: Likewise.
44036 * iconvdata/ibm1130.h: Likewise.
44037 * iconvdata/ibm1132.h: Likewise.
44038 * iconvdata/ibm1133.h: Likewise.
44039 * iconvdata/ibm1137.h: Likewise.
44040 * iconvdata/ibm1140.h: Likewise.
44041 * iconvdata/ibm1141.h: Likewise.
44042 * iconvdata/ibm1142.h: Likewise.
44043 * iconvdata/ibm1143.h: Likewise.
44044 * iconvdata/ibm1144.h: Likewise.
44045 * iconvdata/ibm1145.h: Likewise.
44046 * iconvdata/ibm1146.h: Likewise.
44047 * iconvdata/ibm1147.h: Likewise.
44048 * iconvdata/ibm1148.h: Likewise.
44049 * iconvdata/ibm1149.h: Likewise.
44050 * iconvdata/ibm1153.h: Likewise.
44051 * iconvdata/ibm1154.h: Likewise.
44052 * iconvdata/ibm1155.h: Likewise.
44053 * iconvdata/ibm1156.h: Likewise.
44054 * iconvdata/ibm1157.h: Likewise.
44055 * iconvdata/ibm1158.h: Likewise.
44056 * iconvdata/ibm1160.h: Likewise.
44057 * iconvdata/ibm1161.h: Likewise.
44058 * iconvdata/ibm1162.h: Likewise.
44059 * iconvdata/ibm1163.h: Likewise.
44060 * iconvdata/ibm1164.h: Likewise.
44061 * iconvdata/ibm1166.h: Likewise.
44062 * iconvdata/ibm1167.h: Likewise.
44063 * iconvdata/ibm12712.h: Likewise.
44064 * iconvdata/ibm1390.h: Likewise.
44065 * iconvdata/ibm1399.h: Likewise.
44066 * iconvdata/ibm16804.h: Likewise.
44067 * iconvdata/ibm4517.h: Likewise.
44068 * iconvdata/ibm4899.h: Likewise.
44069 * iconvdata/ibm4909.h: Likewise.
44070 * iconvdata/ibm4971.h: Likewise.
44071 * iconvdata/ibm5347.h: Likewise.
44072 * iconvdata/ibm803.h: Likewise.
44073 * iconvdata/ibm856.h: Likewise.
44074 * iconvdata/ibm901.h: Likewise.
44075 * iconvdata/ibm902.h: Likewise.
44076 * iconvdata/ibm9030.h: Likewise.
44077 * iconvdata/ibm9066.h: Likewise.
44078 * iconvdata/ibm921.h: Likewise.
44079 * iconvdata/ibm922.h: Likewise.
44080 * iconvdata/ibm9448.h: Likewise.
44081 * iconvdata/isiri-3342.h: Likewise.
44082 * iconvdata/jis0201.h: Likewise.
44083 * include/link.h: Likewise.
44084 * include/netdb.h: Likewise.
44085 * inet/check_native.c: Likewise.
44086 * inet/check_pf.c: Likewise.
44087 * inet/getipv4sourcefilter.c: Likewise.
44088 * inet/getnameinfo.c: Likewise.
44089 * inet/getsourcefilter.c: Likewise.
44090 * inet/htonl.c: Likewise.
44091 * inet/setipv4sourcefilter.c: Likewise.
44092 * inet/setsourcefilter.c: Likewise.
44093 * inet/test-inet6_opt.c: Likewise.
44094 * inet/tst-network.c: Likewise.
44095 * locale/C-collate.c: Likewise.
44096 * locale/C-ctype.c: Likewise.
44097 * locale/C-time.c: Likewise.
44098 * locale/C-translit.h: Likewise.
44099 * locale/loadarchive.c: Likewise.
44100 * locale/programs/3level.h: Likewise.
44101 * locale/programs/charmap.c: Likewise.
44102 * locale/programs/charmap.h: Likewise.
44103 * locale/programs/ld-address.c: Likewise.
44104 * locale/programs/ld-collate.c: Likewise.
44105 * locale/programs/ld-ctype.c: Likewise.
44106 * locale/programs/ld-identification.c: Likewise.
44107 * locale/programs/ld-measurement.c: Likewise.
44108 * locale/programs/ld-messages.c: Likewise.
44109 * locale/programs/ld-monetary.c: Likewise.
44110 * locale/programs/ld-name.c: Likewise.
44111 * locale/programs/ld-numeric.c: Likewise.
44112 * locale/programs/ld-paper.c: Likewise.
44113 * locale/programs/ld-telephone.c: Likewise.
44114 * locale/programs/ld-time.c: Likewise.
44115 * locale/programs/linereader.c: Likewise.
44116 * locale/programs/locale.c: Likewise.
44117 * locale/programs/locarchive.c: Likewise.
44118 * locale/programs/locfile.h: Likewise.
44119 * locale/programs/repertoire.c: Likewise.
44120 * locale/programs/simple-hash.c: Likewise.
44121 * locale/programs/simple-hash.h: Likewise.
44122 * malloc/memusage.c: Likewise.
44123 * malloc/memusagestat.c: Likewise.
44124 * nis/nis_defaults.c: Likewise.
44125 * nis/nis_hash.c: Likewise.
44126 * nis/nis_print.c: Likewise.
44127 * nis/nis_xdr.c: Likewise.
44128 * nscd/connections.c: Likewise.
44129 * nscd/hstcache.c: Likewise.
44130 * nscd/nscd_gethst_r.c: Likewise.
44131 * nscd/nscd_getserv_r.c: Likewise.
44132 * nscd/nscd_helper.c: Likewise.
44133 * nscd/servicescache.c: Likewise.
44134 * nss/makedb.c: Likewise.
44135 * nss/nss_db/db-XXX.c: Likewise.
44136 * nss/nss_db/db-initgroups.c: Likewise.
44137 * nss/nss_db/db-netgrp.c: Likewise.
44138 * nss/nss_files/files-network.c: Likewise.
44139 * nss/nss_files/files-parse.c: Likewise.
44140 * posix/bug-regex5.c: Likewise.
44141 * posix/fnmatch_loop.c: Likewise.
44142 * posix/regcomp.c: Likewise.
44143 * posix/regexec.c: Likewise.
44144 * posix/tst-rfc3484-2.c: Likewise.
44145 * posix/tst-rfc3484-3.c: Likewise.
44146 * posix/tst-rfc3484.c: Likewise.
44147 * resolv/nss_dns/dns-canon.c: Likewise.
44148 * resolv/nss_dns/dns-network.c: Likewise.
44149 * resolv/res_init.c: Likewise.
44150 * resolv/res_mkquery.c: Likewise.
44151 * resolv/tst-aton.c: Likewise.
44152 * stdlib/cxa_atexit.c: Likewise.
44153 * stdlib/cxa_finalize.c: Likewise.
44154 * stdlib/gen-fpioconst.c: Likewise.
44155 * stdlib/strtol_l.c: Likewise.
44156 * string/tst-endian.c: Likewise.
44157 * sunrpc/auth_des.c: Likewise.
44158 * sunrpc/clnt_udp.c: Likewise.
44159 * sunrpc/rtime.c: Likewise.
44160 * sunrpc/svcauth_des.c: Likewise.
44161 * sunrpc/xdr.c: Likewise.
44162 * sunrpc/xdr_intXX_t.c: Likewise.
44163 * sunrpc/xdr_rec.c: Likewise.
44164 * sysdeps/generic/ldconfig.h: Likewise.
44165 * sysdeps/generic/ldsodefs.h: Likewise.
44166 * sysdeps/generic/memusage.h: Likewise.
44167 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44168 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
44169 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
44170 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44171 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44172 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44173 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44174 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44175 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44176 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44177 * sysdeps/posix/getaddrinfo.c: Likewise.
44178 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44179 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44180 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44181 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44182 * sysdeps/powerpc/test-gettimebase.c: Likewise.
44183 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44184 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
44185 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
44186 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44187 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
44188 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44189 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44190 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
44191 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
44192 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
44193 * sysdeps/x86_64/dl-tls.h: Likewise.
44194 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
44195 * time/alt_digit.c: Likewise.
44196 * time/era.c: Likewise.
44197 * wcsmbs/tst-c16c32-1.c: Likewise.
44198
44199 2013-05-16 Joseph Myers <joseph@codesourcery.com>
44200
44201 * math/libm-test.inc (struct test_sincos_data): New type.
44202 (RUN_TEST_LOOP_sincos): New macro.
44203 (sincos_test_data): New variable.
44204 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
44205
44206 2013-05-16 Richard Henderson <rth@redhat.com>
44207
44208 * math/atest-exp2.c (LIMB64): New macro.
44209 (CONSTSZ): New macro.
44210 (mp_exp1, mp_exp_m1, mp_log2): New variables.
44211 (hexdig): Move ...
44212 (print_mpn_fp): ... to function scope.
44213 (read_mpn_hex): Remove.
44214 (get_log2): Remove.
44215 (exp2_mpn): Use mp_log2.
44216 (main): Use mp_exp1.
44217
44218 2013-05-16 Joseph Myers <joseph@codesourcery.com>
44219
44220 * math/libm-test.inc: Remove comment about not testing "inexact"
44221 exceptions.
44222 (INEXACT_EXCEPTION): New macro.
44223 (NO_INEXACT_EXCEPTION): Likewise.
44224 (INVALID_EXCEPTION_OK): Update value.
44225 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44226 (OVERFLOW_EXCEPTION_OK): Likewise.
44227 (UNDERFLOW_EXCEPTION_OK): Likewise.
44228 (IGNORE_ZERO_INF_SIGN): Likewise.
44229 (ERRNO_UNCHANGED): Likewise.
44230 (ERRNO_EDOM): Likewise.
44231 (ERRNO_ERANGE): Likewise.
44232 (test_exceptions): Handle testing "inexact" exceptions.
44233 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
44234 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
44235 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
44236 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
44237 INEXACT_EXCEPTION.
44238 (rint_towardzero_test_data): Likewise.
44239 (rint_downward_test_data): Likewise.
44240 (rint_upward_test_data): Likewise.
44241
44242 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
44243 with OVERFLOW_EXCEPTION.
44244 (exp10_test_data): Likewise.
44245 (exp2_test_data): Likewise.
44246 (expm1_test_data): Likewise.
44247 (lgamma_test_data): Likewise.
44248 (pow_test_data): Likewise.
44249 (tgamma_test_data): Likewise.
44250 (yn_test_data): Remove duplicate test of overflow.
44251
44252 * math/libm-test.inc (struct test_cc_c_data): New type.
44253 (RUN_TEST_LOOP_cc_c): New macro.
44254 (cpow_test_data): New variable.
44255 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
44256
44257 * math/libm-test.inc (struct test_f_L_data): New type.
44258 (RUN_TEST_LOOP_f_L): New macro.
44259 (llrint_test_data): New variable.
44260 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
44261 (llrint_tonearest_test_data): New variable.
44262 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
44263 (llrint_towardzero_test_data): New variable.
44264 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
44265 (llrint_downward_test_data): New variable.
44266 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
44267 (llrint_upward_test_data): New variable.
44268 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
44269 (llround_test_data): New variable.
44270 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
44271
44272 2013-05-13 Peter Collingbourne <pcc@google.com>
44273
44274 * math/atest-exp2.c (get_log2): Remove const attribute.
44275
44276 2013-05-15 Joseph Myers <joseph@codesourcery.com>
44277
44278 * math/libm-test.inc (struct test_f_l_data): New type.
44279 (RUN_TEST_LOOP_f_l): New macro.
44280 (lrint_test_data): New variable.
44281 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
44282 (lrint_tonearest_test_data): New variable.
44283 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
44284 (lrint_towardzero_test_data): New variable.
44285 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
44286 (lrint_downward_test_data): New variable.
44287 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
44288 (lrint_upward_test_data): New variable.
44289 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
44290 (lround_test_data): New variable.
44291 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
44292
44293 2013-05-15 Peter Collingbourne <pcc@google.com>
44294
44295 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
44296 (EXTRACT_WORDS64) Use where appropriate.
44297 (INSERT_WORDS64) Likewise.
44298
44299 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
44300 constraints with x constraints.
44301 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
44302
44303 * malloc/obstack.c (_obstack_compat): Add initializer.
44304
44305 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
44306
44307 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
44308 si_trapno and add si_addr_lsb to _sifields.sigfault.
44309 (si_trapno): Remove macro.
44310 (si_addr_lsb): Define new macro.
44311 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44312
44313 2013-05-15 Joseph Myers <joseph@codesourcery.com>
44314
44315 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
44316 instead of TEST_f_l.
44317 (llrint_test_tonearest): Likewise.
44318 (llrint_test_towardzero): Likewise.
44319 (llrint_test_downward): Likewise.
44320 (llrint_test_upward): Likewise.
44321 (llround_test): Likewise.
44322
44323 * math/libm-test.inc (struct test_f_i_data): Add comment.
44324 (RUN_TEST_LOOP_f_b): New macro.
44325 (RUN_TEST_LOOP_f_b_tg): Likewise.
44326 (finite_test_data): New variable.
44327 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
44328 (isfinite_test_data): New variable.
44329 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44330 (isinf_test_data): New variable.
44331 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44332 (isnan_test_data): New variable.
44333 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44334 (isnormal_test_data): New variable.
44335 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44336 (issignaling_test_data): New variable.
44337 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44338 (signbit_test_data): New variable.
44339 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44340
44341 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
44342 with INVALID_EXCEPTION.
44343 (acosh_test_data): Likewise.
44344 (asin_test_data): Likewise.
44345 (atanh_test_data): Likewise.
44346 (fmod_test_data): Likewise.
44347 (log_test_data): Likewise.
44348 (log10_test_data): Likewise.
44349 (log2_test_data): Likewise.
44350 (pow_test_data): Likewise.
44351 (sqrt_test_data): Likewise.
44352 (y0_test_data): Likewise.
44353 (y1_test_data): Likewise.
44354 (yn_test_data): Likewise.
44355
44356 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
44357 function contents.
44358
44359 * math/libm-test.inc (struct test_ff_i_data): New type.
44360 (RUN_TEST_LOOP_ff_i_tg): New macro.
44361 (isgreater_test_data): New variable.
44362 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44363 (isgreaterequal_test_data): New variable.
44364 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44365 (isless_test_data): New variable.
44366 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44367 (islessequal_test_data): New variable.
44368 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44369 (islessgreater_test_data): New variable.
44370 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44371 (isunordered_test_data): New variable.
44372 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44373
44374 2013-05-14 David S. Miller <davem@davemloft.net>
44375
44376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44377
44378 2013-05-14 Joseph Myers <joseph@codesourcery.com>
44379
44380 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
44381
44382 * math/libm-test.inc (struct test_fF_f1_data): Change type of
44383 extra_test to int.
44384 (struct test_f_i_data): Change type of max_ulp to int.
44385
44386 * math/libm-test.inc (test_ffI_f1_data): New type.
44387 (RUN_TEST_LOOP_ffI_f1): New macro.
44388 (remquo_test_data): New variable.
44389 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
44390
44391 * setjmp/tst-setjmp-fp.c: New file.
44392 * setjmp/Makefile (tests): Add tst-setjmp-fp.
44393 (link-libm): New variable.
44394 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
44395
44396 * math/libm-test.inc (struct test_f_i_data): New type.
44397 (RUN_TEST_LOOP_f_i): New macro.
44398 (RUN_TEST_LOOP_f_i_tg): Likewise.
44399 (fpclassify_test_data): New variable.
44400 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
44401 (ilogb_test_data): New variable.
44402 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
44403
44404 * math/libm-test.inc (scalbln_test): Correct function name in END
44405 call.
44406
44407 * math/libm-test.inc (struct test_f_f1_data): Add comment.
44408 (RUN_TEST_LOOP_fI_f1): New macro.
44409 (frexp_test_data): New variable.
44410 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
44411
44412 * math/libm-test.inc (struct test_fF_f1_data): New type.
44413 (RUN_TEST_LOOP_fF_f1): New macro.
44414 (modf_test_data): New variable.
44415 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
44416
44417 * math/libm-test.inc (struct test_f_f1_data): New type.
44418 (RUN_TEST_LOOP_f_f1): New macro.
44419 (gamma_test_data): New variable.
44420 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44421 (lgamma_test_data): New variable.
44422 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44423
44424 2013-05-13 Carlos O'Donell <carlos@redhat.com>
44425
44426 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
44427 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
44428 (main): Comment "tls" pseudo-hwcap.
44429
44430 2013-05-13 Joseph Myers <joseph@codesourcery.com>
44431
44432 * math/libm-test.inc (struct test_fl_f_data): New type.
44433 (RUN_TEST_LOOP_fl_f): New variable.
44434 (scalbln_test_data): New variable.
44435 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
44436
44437 * math/libm-test.inc (struct test_fi_f_data): New type.
44438 (RUN_TEST_LOOP_fi_f): New macro.
44439 (ldexp_test_data): New variable.
44440 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
44441 (scalbn_test_data): New variable.
44442 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
44443
44444 * math/libm-test.inc (struct test_c_f_data): New type.
44445 (RUN_TEST_LOOP_c_f): New macro.
44446 (cabs_test_data): New variable.
44447 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
44448 (carg_test_data): New variable.
44449 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
44450 (cimag_test_data): New variable.
44451 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
44452 (creal_test_data): New variable.
44453 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
44454
44455 * math/libm-test.inc (struct test_if_f_data): New type.
44456 (RUN_TEST_LOOP_if_f): New macro.
44457 (jn_test_data): New variable.
44458 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
44459 (yn_test_data): New variable.
44460 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
44461
44462 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
44463
44464 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44465
44466 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
44467 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
44468
44469 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
44470
44471 * benchtests/Makefile (CPPFLAGS-nonlib): Add
44472 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
44473 (bench-deps): Add bench-timing.h.
44474 * benchtests-bench-skeleton.c: Include bench-timing.h.
44475 (main): Use TIMING_* macros instead of clock_gettime.
44476 * benchtests/bench-timing.h: New file.
44477
44478 [BZ #14582]
44479 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
44480 Renamed from _LIB_VERSION.
44481 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
44482
44483 2013-05-12 Joseph Myers <joseph@codesourcery.com>
44484
44485 * math/libm-test.inc (struct test_fff_f_data): New type.
44486 (RUN_TEST_LOOP_fff_f): New macro.
44487 (fma_test_data): New variable.
44488 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
44489 (fma_towardzero_test_data): New variable.
44490 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
44491 (fma_downward_test_data): New variable.
44492 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
44493 (fma_upward_test_data): New variable.
44494 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
44495
44496 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
44497 (struct test_c_c_data): New type.
44498 (RUN_TEST_LOOP_c_c): New macro.
44499 (cacos_test_data): New variable.
44500 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
44501 (cacosh_test_data): New variable.
44502 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
44503 (casin_test_data): New variable.
44504 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
44505 (casinh_test_data): New variable.
44506 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
44507 (catan_test_data): New variable.
44508 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
44509 (catanh_test_data): New variable.
44510 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
44511 (ccos_test_data): New variable.
44512 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
44513 (ccosh_test_data): New variable.
44514 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
44515 (cexp_test_data): New variable.
44516 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
44517 (clog_test_data): New variable.
44518 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
44519 (clog10_test_data): New variable.
44520 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
44521 (conj_test_data): New variable.
44522 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
44523 (cproj_test_data): New variable.
44524 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
44525 (csin_test_data): New variable.
44526 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
44527 (csinh_test_data): New variable.
44528 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
44529 (csqrt_test_data): New variable.
44530 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
44531 (ctan_test_data): New variable.
44532 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
44533 (ctan_tonearest_test_data): New variable.
44534 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44535 (ctan_towardzero_test_data): New variable.
44536 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44537 (ctan_downward_test_data): New variable.
44538 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44539 (ctan_upward_test_data): New variable.
44540 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44541 (ctanh_test_data): New variable.
44542 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
44543 (ctanh_tonearest_test_data): New variable.
44544 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44545 (ctanh_towardzero_test_data): New variable.
44546 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44547 (ctanh_downward_test_data): New variable.
44548 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44549 (ctanh_upward_test_data): New variable.
44550 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44551 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
44552 of BUILD_COMPLEX.
44553
44554 * math/libm-test.inc (struct test_ff_f_data): New type.
44555 (struct test_ff_f_data_nexttoward): Likewise.
44556 (RUN_TEST_LOOP_2_f): New macro.
44557 (RUN_TEST_LOOP_ff_f): Likewise.
44558 (atan2_test_data): New variable.
44559 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
44560 (copysign_test_data): New variable.
44561 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
44562 (fdim_test_data): New variable.
44563 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
44564 (fmax_test_data): New variable.
44565 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
44566 (fmin_test_data): New variable.
44567 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
44568 (fmod_test_data): New variable.
44569 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
44570 (hypot_test_data): New variable.
44571 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
44572 (nextafter_test_data): New variable.
44573 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
44574 (nexttoward_test_data): New variable.
44575 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
44576 (pow_test_data): New variable.
44577 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
44578 (pow_tonearest_test_data): New variable.
44579 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
44580 (pow_towardzero_test_data): New variable.
44581 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
44582 (pow_downward_test_data): New variable.
44583 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
44584 (pow_upward_test_data): New variable.
44585 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
44586 (remainder_test_data): New variable.
44587 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
44588 (scalb_test_data): New variable.
44589 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
44590 * sysdeps/i386/fpu/libm-test-ulps: Update.
44591
44592 2013-05-11 Joseph Myers <joseph@codesourcery.com>
44593
44594 * math/libm-test.inc (fma_test): Use max_value instead of local
44595 variable fltmax.
44596 (nextafter_test): Likewise.
44597
44598 * math/libm-test.inc (acos_towardzero_test_data): New variable.
44599 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44600 (acos_downward_test_data): New variable.
44601 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44602 (acos_upward_test_data): New variable.
44603 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44604 (acosh_test_data): New variable.
44605 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
44606 (asin_test_data): New variable.
44607 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
44608 (asin_tonearest_test_data): New variable.
44609 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44610 (asin_towardzero_test_data): New variable.
44611 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44612 (asin_downward_test_data): New variable.
44613 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44614 (asin_upward_test_data): New variable.
44615 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44616 (asinh_test_data): New variable.
44617 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
44618 (atan_test_data): New variable.
44619 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
44620 (atanh_test_data): New variable.
44621 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
44622 (cbrt_test_data): New variable.
44623 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
44624 (ceil_test_data): New variable.
44625 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
44626 (cos_test_data): New variable.
44627 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
44628 (cos_tonearest_test_data): New variable.
44629 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44630 (cos_towardzero_test_data): New variable.
44631 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44632 (cos_downward_test_data): New variable.
44633 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44634 (cos_upward_test_data): New variable.
44635 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44636 (cosh_test_data): New variable.
44637 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
44638 (cosh_tonearest_test_data): New variable.
44639 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44640 (cosh_towardzero_test_data): New variable.
44641 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44642 (cosh_downward_test_data): New variable.
44643 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44644 (cosh_upward_test_data): New variable.
44645 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44646 (erf_test_data): New variable.
44647 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
44648 (erfc_test_data): New variable.
44649 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
44650 (exp_test_data): New variable.
44651 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
44652 (exp_tonearest_test_data): New variable.
44653 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44654 (exp_towardzero_test_data): New variable.
44655 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44656 (exp_downward_test_data): New variable.
44657 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44658 (exp_upward_test_data): New variable.
44659 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44660 (exp10_test_data): New variable.
44661 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
44662 (exp2_test_data): New variable.
44663 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
44664 (expm1_test_data): New variable.
44665 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
44666 (fabs_test_data): New variable.
44667 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
44668 (floor_test_data): New variable.
44669 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
44670 (j0_test_data): New variable.
44671 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
44672 (j1_test_data): New variable.
44673 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
44674 (log_test_data): New variable.
44675 (log_test): Run tests with RUN_TEST_LOOP_f_f.
44676 (log10_test_data): New variable.
44677 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
44678 (log1p_test_data): New variable.
44679 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
44680 (log2_test_data): New variable.
44681 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
44682 (logb_test_data): New variable.
44683 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
44684 (logb_downward_test_data): New variable.
44685 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44686 (nearbyint_test_data): New variable.
44687 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
44688 (rint_test_data): New variable.
44689 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
44690 (rint_tonearest_test_data): New variable.
44691 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44692 (rint_towardzero_test_data): New variable.
44693 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44694 (rint_downward_test_data): New variable.
44695 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44696 (rint_upward_test_data): New variable.
44697 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44698 (round_test_data): New variable.
44699 (round_test): Run tests with RUN_TEST_LOOP_f_f.
44700 (sin_test_data): New variable.
44701 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
44702 (sin_tonearest_test_data): New variable.
44703 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44704 (sin_towardzero_test_data): New variable.
44705 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44706 (sin_downward_test_data): New variable.
44707 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44708 (sin_upward_test_data): New variable.
44709 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44710 (sinh_test_data): New variable.
44711 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
44712 (sinh_tonearest_test_data): New variable.
44713 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44714 (sinh_towardzero_test_data): New variable.
44715 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44716 (sinh_downward_test_data): New variable.
44717 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44718 (sinh_upward_test_data): New variable.
44719 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44720 (sqrt_test_data): New variable.
44721 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
44722 (tan_test_data): New variable.
44723 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
44724 (tan_tonearest_test_data): New variable.
44725 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44726 (tan_towardzero_test_data): New variable.
44727 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44728 (tan_downward_test_data): New variable.
44729 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44730 (tan_upward_test_data): New variable.
44731 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44732 (tanh_test_data): New variable.
44733 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
44734 (tgamma_test_data): New variable.
44735 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
44736 (trunc_test_data): New variable.
44737 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
44738 (y0_test_data): New variable.
44739 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
44740 (y1_test_data): New variable.
44741 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
44742 (significand_test_data): New variable.
44743 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
44744
44745 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
44746
44747 [BZ #12387]
44748 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
44749
44750 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
44751
44752 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
44753
44754 2013-05-10 Andreas Jaeger <aj@suse.de>
44755
44756 [BZ #15448]
44757 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
44758 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
44759
44760 2013-05-10 Joseph Myers <joseph@codesourcery.com>
44761
44762 * math/gen-libm-test.pl (adjust_arg): New function.
44763 (special_functions): Handle generating output in both functions
44764 and arrays.
44765 (parse_args): Likewise.
44766 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
44767 $in_func argument to parse_args.
44768 * math/libm-test.inc (struct test_f_f_data): New type.
44769 (IF_ROUND_INIT_): New macro.
44770 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
44771 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44772 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44773 (IF_ROUND_INIT_FE_UPWARD): Likewise.
44774 (ROUND_RESTORE_): Likewise.
44775 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
44776 (ROUND_RESTORE_FE_TONEAREST): Likewise.
44777 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
44778 (ROUND_RESTORE_FE_UPWARD): Likewise.
44779 (RUN_TEST_LOOP_f_f): New macro.
44780 (acos_test_data): New variable.
44781 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
44782 (acos_tonearest_test_data): New variable.
44783 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44784
44785 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44786
44787 * benchtests/bench-skeleton.c (startup): Fix coding style.
44788
44789 2013-05-10 Joseph Myers <joseph@codesourcery.com>
44790
44791 [BZ #6809]
44792 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
44793 negative infinity argument.
44794 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
44795 negative infinity argument.
44796 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
44797 negative infinity argument.
44798 * math/libm-test.inc (tgamma_test): Expect errno to be set for
44799 domain errors.
44800
44801 2013-05-10 Florian Weimer <fweimer@redhat.com>
44802
44803 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
44804 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
44805 * iconv/iconv_prog.c (main): Likewise.
44806 * locale/programs/charmap-dir.c (charmap_readdir)
44807 (fopen_uncompressed): Likewise.
44808 * locale/programs/locfile.c (siblings_uncached)
44809 (write_locale_data): Use lstat64 instead of lstat.
44810 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
44811 stat.
44812
44813 2013-05-10 Andreas Jaeger <aj@suse.de>
44814
44815 [BZ #15395]
44816 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
44817 localization.
44818 Include <locale.h>.
44819
44820 2013-05-09 Carlos O'Donell <carlos@redhat.com>
44821
44822 * elf/dl-close.c (_dl_close_worker): Add comments.
44823
44824 2013-05-09 Joseph Myers <joseph@codesourcery.com>
44825
44826 [BZ #15359]
44827 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
44828 high part of pi/2.
44829 (__ieee754_rem_pio2l): Update comments.
44830
44831 [BZ #15429]
44832 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
44833 high part of pi/2.
44834 (__ieee754_rem_pio2l): Update comments.
44835
44836 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
44837 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
44838
44839 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
44840 M_PI_4l.
44841
44842 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
44843 (M_PI_34_LOG10El): Likewise.
44844 (M_PI2_LOG10El): Likewise.
44845 (M_PI4_LOG10El): Likewise.
44846 (M_PI_LOG10El): Likewise.
44847
44848 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44849
44850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44851
44852 2013-05-08 Joseph Myers <joseph@codesourcery.com>
44853
44854 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
44855 (MINUS_ZERO_INIT): Likewise.
44856 (PLUS_INFTY_INIT): Likewise.
44857 (MINUS_INFTY_INIT): Likewise.
44858 (QNAN_VALUE_INIT): Likewise.
44859 (MAX_VALUE_INIT): Likewise.
44860 (MIN_VALUE_INIT): Likewise.
44861 (MIN_SUBNORM_VALUE_INIT): Likewise.
44862 (plus_zero): Initialize with PLUS_ZERO_INIT.
44863 (minus_zero): Initialize with MINUS_ZERO_INIT.
44864 (plus_infty): Initialize with PLUS_INFTY_INIT.
44865 (minus_infty): Initialize with MINUS_INFTY_INIT.
44866 (qnan_value): Initialize with QNAN_VALUE_INIT.
44867 (max_value): Initialize with MAX_VALUE_INIT.
44868 (min_value): Initialize with MIN_VALUE_INIT.
44869 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
44870
44871 * math/libm-test.inc (RUN_TEST_if_f): New macro.
44872 (jn_test): Use TEST_if_f instead of TEST_ff_f.
44873 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
44874 (yn_test): Use TEST_if_f instead of TEST_ff_f.
44875
44876 * math/libm-test.inc (RUN_TEST_f_f): New macro.
44877 (RUN_TEST_2_f): Likewise.
44878 (RUN_TEST_ff_f): Likewise.
44879 (RUN_TEST_fi_f): Likewise.
44880 (RUN_TEST_fl_f): Likewise.
44881 (RUN_TEST_fff_f): Likewise.
44882 (RUN_TEST_c_f): Likewise.
44883 (RUN_TEST_f_f1): Likewise.
44884 (RUN_TEST_fF_f1): Likewise.
44885 (RUN_TEST_fI_f1): Likewise.
44886 (RUN_TEST_ffI_f1): Likewise.
44887 (RUN_TEST_c_c): Likewise.
44888 (RUN_TEST_cc_c): Likewise.
44889 (RUN_TEST_f_i): Likewise.
44890 (RUN_TEST_f_i_tg): Likewise.
44891 (RUN_TEST_ff_i_tg): Likewise.
44892 (RUN_TEST_f_b): Likewise.
44893 (RUN_TEST_f_b_tg): Likewise.
44894 (RUN_TEST_f_l): Likewise.
44895 (RUN_TEST_f_L): Likewise.
44896 (RUN_TEST_sincos): Likewise.
44897 * math/gen-libm-test.pl (new_test): Take new argument to indicate
44898 whether to show exceptions. Do not include ");\n" in return
44899 value.
44900 (special_functions): Output call to RUN_TEST_sincos instead of
44901 check_float calls. Update calls to new_test.
44902 (parse_args): Output call to single RUN_TEST_* macro instead of
44903 check_* calls and other assignments. Update calls to new_test.
44904
44905 [BZ #2546]
44906 [BZ #2560]
44907 [BZ #5159]
44908 [BZ #15426]
44909 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
44910 input to result for tgamma overflow.
44911 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
44912 (gamma_coeff): New variable.
44913 (NCOEFF): New macro.
44914 (gamma_positive): New function.
44915 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
44916 underflow here. Use gamma_positive instead of exp (lgamma) for
44917 other arguments.
44918 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
44919 (gamma_coeff): New variable.
44920 (NCOEFF): New macro.
44921 (gammaf_positive): New function.
44922 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
44923 underflow here. Use gamma_positive instead of exp (lgamma) for
44924 other arguments.
44925 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
44926 (gamma_coeff): New variable.
44927 (NCOEFF): New macro.
44928 (gammal_positive): New function.
44929 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
44930 underflow here. Use gamma_positive instead of exp (lgamma) for
44931 other arguments.
44932 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
44933 (gamma_coeff): New variable.
44934 (NCOEFF): New macro.
44935 (gammal_positive): New function.
44936 (__ieee754_gammal_r): Handle positive infinity, overflow and
44937 underflow here. Handle NaN the same as positive infinity. Remove
44938 check x < 0xffffffff for negative integers. Use gamma_positive
44939 instead of exp (lgamma) for other arguments.
44940 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
44941 (gamma_coeff): New variable.
44942 (NCOEFF): New macro.
44943 (gammal_positive): New function.
44944 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
44945 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
44946 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
44947 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
44948 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
44949 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
44950 * sysdeps/generic/math_private.h (__gamma_productf): New
44951 prototype.
44952 (__gamma_product): Likewise.
44953 (__gamma_productl): Likewise.
44954 * math/Makefile (libm-calls): Add gamma_product.
44955 * math/libm-test.inc (tgamma_test): Add more tests.
44956 * sysdeps/i386/fpu/libm-test-ulps: Update.
44957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44958
44959 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
44960
44961 * benchtests/bench-skeleton.c (main): Preheat CPU.
44962
44963 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
44964
44965 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
44966
44967 2013-05-07 Roland McGrath <roland@hack.frob.com>
44968
44969 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
44970 and _dl_skip_args_internal.
44971
44972 2013-05-07 Carlos O'Donell <carlos@redhat.com>
44973
44974 * manual/message.texi (Message Translation): Talk about users.
44975 Message to key mapping impacts design.
44976
44977 2013-05-06 Roland McGrath <roland@hack.frob.com>
44978
44979 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
44980
44981 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
44982
44983 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
44984 * sysdeps/wordsize-64/glob64.c: ... here.
44985
44986 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
44987 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
44988 New macros.
44989
44990 * debug/getlogin_r_chk.c: Moved to ...
44991 * login/getlogin_r_chk.c: ... here.
44992 * debug/Makefile (routines): Move getlogin_r_chk to ...
44993 * login/Makefile (routines): ... here.
44994 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
44995 * login/Versions (libc: GLIBC_2.4): ... here.
44996
44997 * io/poll.c (__poll): Renamed from poll.
44998 Add libc_hidden_def.
44999 (poll): Define as weak alias.
45000
45001 * debug/ptsname_r_chk.c: Moved to ...
45002 * login/ptsname_r_chk.c: ... here.
45003 * debug/Makefile (routines): Move ptsname_r_chk to ...
45004 * login/Makefile (routines): ... here.
45005 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
45006 * login/Versions (libc: GLIBC_2.4): ... here.
45007
45008 * posix/getlogin.c: Moved to ...
45009 * login/getlogin.c: ... here.
45010 * posix/getlogin_r.c: Moved to ...
45011 * login/getlogin_r.c: ... here.
45012 * posix/getlogin_r.c: Moved to ...
45013 * login/getlogin_r.c: ... here.
45014 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
45015 * login/Makefile (routines): ... here.
45016 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
45017 * login/Versions (libc: GLIBC_2.0): ... here.
45018
45019 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
45020 (setrlimit): Define as weak alias.
45021
45022 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
45023 Call __ names for open, ftruncate, and close.
45024 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
45025 (truncate): Define as weak alias.
45026
45027 2013-05-06 Joseph Myers <joseph@codesourcery.com>
45028
45029 * math/gen-libm-test.pl (parse_args): Initialize x before each
45030 test of frexp, modf and remquo.
45031
45032 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
45033 test signgam value.
45034
45035 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45036
45037 [BZ #15418]
45038 [BZ #15419]
45039 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
45040 internal tests.
45041 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45042
45043 2013-05-06 Roland McGrath <roland@hack.frob.com>
45044
45045 * elf/dl-writev.h: New file.
45046 * elf/dl-misc.c: Include it.
45047 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
45048 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
45049
45050 2013-05-04 Joseph Myers <joseph@codesourcery.com>
45051
45052 * math/libm-test.inc (noXFails): Remove variable.
45053 (noXPasses): Likewise.
45054 (BUILD_COMPLEX_INT): Remove macro.
45055 (print_screen): Remove xfail argument.
45056 (print_screen_max_error): Likewise.
45057 (update_stats): Likewise.
45058 (print_max_error): Likewise. Update calls to other affected
45059 functions.
45060 (print_complex_max_error): Likewise.
45061 (test_single_exception): Update calls to print_screen.
45062 (test_single_errno): Likewise.
45063 (check_float_internal): Remove xfail argument. Update calls to
45064 other affected functions.
45065 (check_float): Likewise.
45066 (check_complex): Likewise.
45067 (check_int): Likewise.
45068 (check_long): Likewise.
45069 (check_bool): Likewise.
45070 (check_longlong): Likewise.
45071 (main): Don't print noXFails and noXPasses.
45072 * math/gen-libm-test.pl (top level): Don't mention expected
45073 failure handling in comment.
45074 (new_test): Don't handle expected failures.
45075 (parse_args): Don't mention expected failure handling in comment.
45076 (generate_testfile): Don't handle expected failures.
45077 (parse_ulps): Likewise.
45078 (print_ulps_file): Likewise.
45079 (get_failure): Remove function.
45080 (output_test): Don't handle expected failures.
45081 * make/README.libm-test: Don't mention expected failure handling.
45082
45083 * math/libm-test.inc (plus_zero): Make const. Add initializer.
45084 (minus_zero): Likewise.
45085 (plus_infty): Likewise.
45086 (minus_infty): Likewise.
45087 (qnan_value): Likewise.
45088 (max_value): Likewise.
45089 (min_value): Likewise.
45090 (min_subnorm_value): Likewise.
45091 (initialize): Do not initialize those variables dynamically.
45092
45093 2013-05-03 Roland McGrath <roland@hack.frob.com>
45094
45095 * io/open.c (__open_2): Moved to ...
45096 * io/open_2.c: ... this new file.
45097 * io/open64.c (__open64_2): Moved to ...
45098 * io/open64_2.c: ... this new file.
45099 * io/openat.c (__openat_2): Moved to ...
45100 * io/openat_2.c: ... this new file.
45101 * io/openat64.c (__openat64_2): Moved to ...
45102 * io/openat64_2.c: ... this new file.
45103 * io/Makefile (routines): Add them.
45104 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
45105 * sysdeps/unix/sysv/linux/open_2.c: File removed.
45106 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
45107 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
45108 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
45109 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
45110 (__openat64): Add hidden_ver.
45111 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
45112 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
45113
45114 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
45115 Separately conditionalize setting of GLRO(dl_sysinfo) so
45116 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
45117 as well, but the actual setting is only under [NEED_DL_SYSINFO].
45118
45119 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45120
45121 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
45122 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
45123 definition.
45124 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
45125 * sysdeps/unix/sysv/linux/powerpc/init-first.c
45126 (_libc_vdso_platform_setup): Add __vdso_time initialization.
45127 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
45128 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
45129
45130 2013-05-03 Joseph Myers <joseph@codesourcery.com>
45131
45132 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
45133 test signgam value.
45134
45135 * math/libm-test.inc (hypot_test): Do not use
45136 IGNORE_ZERO_INF_SIGN.
45137
45138 2013-05-03 Andreas Jaeger <aj@suse.de>
45139
45140 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
45141 Linux 3.9.
45142 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
45143 (PF_MAX): Adjust for VSOCK change.
45144
45145 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45146
45147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45148
45149 2013-05-02 Carlos O'Donell <carlos@redhat.com>
45150
45151 [BZ #15264]
45152 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
45153 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
45154 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
45155
45156 2013-05-02 David S. Miller <davem@davemloft.net>
45157
45158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45159
45160 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
45161
45162 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
45163
45164 2013-05-01 Roland McGrath <roland@hack.frob.com>
45165
45166 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
45167
45168 2013-05-01 Richard Smith <richard@metafoo.co.uk>
45169
45170 [BZ #14952]
45171 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
45172 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45173 Use __attribute__ ((__gnu_inline__)).
45174 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45175 Don't use __attribute__ ((__gnu_inline__)).
45176
45177 2013-05-01 Joseph Myers <joseph@codesourcery.com>
45178
45179 [BZ #15423]
45180 * math/s_catan.c (__catan): Handle small real or imaginary part of
45181 input specially to avoid spurious underflow.
45182 * math/s_catanf.c (__catanf): Likewise.
45183 * math/s_catanh.c (__catanh): Likewise.
45184 * math/s_catanhf.c (__catanhf): Likewise.
45185 * math/s_catanhl.c (__catanhl): Likewise.
45186 * math/s_catanl.c (__catanl): Likewise.
45187 * math/libm-test.inc (catan_test): Add more tests.
45188 (catanh_test): Likewise.
45189 * sysdeps/i386/fpu/libm-test-ulps: Update.
45190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45191
45192 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45193
45194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45195
45196 2013-04-30 Joseph Myers <joseph@codesourcery.com>
45197
45198 [BZ #15416]
45199 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
45200 accurately for denominator in atan2.
45201 * math/s_catanf.c (__catanf): Likewise.
45202 * math/s_catanh.c (__catanh): Likewise.
45203 * math/s_catanhf.c (__catanhf): Likewise.
45204 * math/s_catanhl.c (__catanhl): Likewise.
45205 * math/s_catanl.c (__catanl): Likewise.
45206 * math/libm-test.inc (catan_test): Add more tests.
45207 (catanh_test): Likewise.
45208 * sysdeps/i386/fpu/libm-test-ulps: Update.
45209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45210
45211 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45212
45213 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
45214
45215 * benchtests/Makefile (bench): Remove slow benchmarks.
45216 * benchtests/atan-inputs: Add slow benchmark inputs.
45217 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
45218 (BENCH_FUNC): Accept variant offset.
45219 (VARIANT): Define.
45220 * benchtests/bench-skeleton.c (main): Run benchmark for each
45221 variant.
45222 * benchtests/cos-inputs: Add slow benchmark inputs.
45223 * benchtests/exp-inputs: Likewise.
45224 * benchtests/pow-inputs: Likewise.
45225 * benchtests/sin-inputs: Likewise.
45226 * benchtests/slowatan-inputs: Remove.
45227 * benchtests/slowatan.c: Remove.
45228 * benchtests/slowcos-inputs: Remove.
45229 * benchtests/slowcos.c: Remove.
45230 * benchtests/slowexp-inputs: Remove.
45231 * benchtests/slowexp.c: Remove.
45232 * benchtests/slowpow-inputs: Remove.
45233 * benchtests/slowpow.c: Remove.
45234 * benchtests/slowsin-inputs: Remove.
45235 * benchtests/slowsin.c: Remove.
45236 * benchtests/slowtan-inputs: Remove.
45237 * benchtests/slowtan.c: Remove.
45238 * benchtests/tan-inputs: Add slow benchmark inputs.
45239 * scripts/bench.pl: Parse comments and directives.
45240
45241 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
45242 in CPPFLAGS.
45243 ($(objpfx)bench-%.c): Remove *-ITER.
45244 * benchtests/bench-modf.c: Remove definition of ITER.
45245 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
45246 (main): Loop for DURATION seconds instead of fixed number of
45247 iterations.
45248 * scripts/bench.pl: Don't expect iterations in parameters.
45249
45250 2013-04-29 Roland McGrath <roland@hack.frob.com>
45251
45252 * io/fchdir.c (__fchdir): Renamed from fchdir.
45253 (fchdir): Define as weak alias.
45254
45255 2013-04-29 Joseph Myers <joseph@codesourcery.com>
45256
45257 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
45258 (ERRNO_EDOM): Likewise.
45259 (ERRNO_ERANGE): Likewise.
45260 (noErrnoTests): New variable.
45261 (init_max_error): Set errno to 0.
45262 (test_single_errno): New function.
45263 (test_errno): Likewise.
45264 (check_float_internal): Call test_errno. Set errno to 0.
45265 (check_complex): Refer to errno tests in comment.
45266 (check_int): Call test_errno. Set errno to 0.
45267 (check_long): Likewise.
45268 (check_bool): Likewise.
45269 (check_longlong): Likewise.
45270 (cos_test): Use ERRNO_* flags for errno tests instead of
45271 check_int.
45272 (expm1_test): Likewise.
45273 (fmod_test): Likewise.
45274 (ilogb_test): Likewise.
45275 (lgamma_test): Likewise.
45276 (pow_test): Likewise.
45277 (remainder_test): Likewise.
45278 (sin_test): Likewise.
45279 (tan_test): Likewise.
45280 (yn_test): Likewise.
45281 (initialize): Set errno to 0.
45282 (main): Print number of errno tests.
45283 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
45284
45285 2013-04-29 Andreas Jaeger <aj@suse.de>
45286
45287 [BZ #15084]
45288 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
45289 and RES_USEVC.
45290
45291 [BZ #15085]
45292 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
45293 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
45294 unimplemented.
45295
45296 [BZ #15380]
45297 * stdlib/random.c (__initstate): Return NULL if
45298 __initstate fails.
45299
45300 [BZ #15086]
45301 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
45302 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
45303 RES_SNGLKUPREOP.
45304
45305 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45306
45307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45308
45309 2013-04-29 Joseph Myers <joseph@codesourcery.com>
45310
45311 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
45312 of individual tests.
45313 (casin_test): Likewise.
45314 (casinh_test): Likewise.
45315
45316 2013-04-27 Joseph Myers <joseph@codesourcery.com>
45317
45318 [BZ #15409]
45319 * math/s_catan.c (__catan): Handle arguments with large real or
45320 imaginary part separately without squaring.
45321 * math/s_catanf.c (__catanf): Likewise.
45322 * math/s_catanh.c (__catanh): Likewise.
45323 * math/s_catanhf.c (__catanhf): Likewise.
45324 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45325 and redefine.
45326 (__catanhl): Handle arguments with large real or imaginary part
45327 separately without squaring.
45328 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45329 and redefine.
45330 (__catanl): Handle arguments with large real or imaginary part
45331 separately without squaring.
45332 * math/libm-test.inc (catan_test): Add more tests.
45333 (catanh_test): Likewise.
45334 * sysdeps/i386/fpu/libm-test-ulps: Update.
45335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45336
45337 2013-04-27 Andreas Jaeger <aj@suse.de>
45338
45339 [BZ #15007]
45340 * stdlib/stdlib.h: Update guards for qecvt.
45341 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
45342 <stdlib.h>.
45343
45344 2013-04-27 Allan McRae <allan@archlinux.org>
45345
45346 * sysdeps/i386/fpu/libm-test-ulps: Update.
45347
45348 2013-04-26 Joseph Myers <joseph@codesourcery.com>
45349
45350 [BZ #15406]
45351 * math/s_catan.c: Include <float.h>.
45352 (__catan): Ensure underflow exception occurs for underflowed
45353 result.
45354 * math/s_catanf.c: Include <float.h>.
45355 (__catanf): Ensure underflow exception occurs for underflowed
45356 result.
45357 * math/s_catanh.c: Include <float.h>.
45358 (__catanh): Ensure underflow exception occurs for underflowed
45359 result.
45360 * math/s_catanhf.c: Include <float.h>.
45361 (__catanhf): Ensure underflow exception occurs for underflowed
45362 result.
45363 * math/s_catanhl.c: Include <float.h>.
45364 (__catanhl): Ensure underflow exception occurs for underflowed
45365 result.
45366 * math/s_catanl.c: Include <float.h>.
45367 (__catanl): Ensure underflow exception occurs for underflowed
45368 result.
45369 * math/libm-test.inc (catan_test): Add more tests.
45370 (catanh_test): Likewise.
45371
45372 [BZ #15405]
45373 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
45374 underflowed result.
45375 * math/s_ccoshf.c (__ccoshf): Likewise.
45376 * math/s_ccoshl.c (__ccoshl): Likewise.
45377 * math/s_csin.c (__csin): Likewise.
45378 * math/s_csinf.c (__csinf): Likewise.
45379 * math/s_csinh.c (__csinh): Likewise.
45380 * math/s_csinhf.c (__csinhf): Likewise.
45381 * math/s_csinhl.c (__csinhl): Likewise.
45382 * math/s_csinl.c (__csinl): Likewise.
45383 * math/libm-test.inc (ccos_test): Add more tests.
45384 (ccosh_test): Likewise.
45385 (csin_test): Likewise.
45386 (csinh_test): Likewise.
45387
45388 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45389
45390 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
45391 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
45392 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
45393 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
45394 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
45395 powerpc/power5+/fpu folders.
45396 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
45397
45398
45399 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45400
45401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45402
45403 2013-04-25 Joseph Myers <joseph@codesourcery.com>
45404
45405 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
45406 additions to variable.
45407 [$(config-machine) = x86_64] (modules-names): Likewise.
45408 ($(objpfx)tst-audit3): Remove dependency.
45409 ($(objpfx)tst-audit3.out): Likewise.
45410 ($(objpfx)tst-audit4): Likewise.
45411 ($(objpfx)tst-audit4.out): Likewise.
45412 ($(objpfx)tst-audit5): Likewise.
45413 ($(objpfx)tst-audit5.out): Likewise.
45414 ($(objpfx)tst-audit6): Likewise.
45415 ($(objpfx)tst-audit6.out): Likewise.
45416 ($(objpfx)tst-audit7): Likewise.
45417 ($(objpfx)tst-audit7.out): Likewise.
45418 (tst-audit3-ENV): Remove variable.
45419 (tst-audit4-ENV): Likewise.
45420 (tst-audit5-ENV): Likewise.
45421 (tst-audit6-ENV): Likewise.
45422 (tst-audit7-ENV): Likewise.
45423 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
45424 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
45425 addition to variable.
45426 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
45427 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
45428 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
45429 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
45430 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
45431 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
45432 tst-audit3, tst-audit4 and tst-audit5.
45433 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
45434 tst-audit6 and tst-audit7.
45435 [$(subdir) = elf] (modules-names): Add audit modules for those
45436 tests.
45437 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
45438 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
45439 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
45440 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
45441 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
45442 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
45443 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
45444 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
45445 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
45446 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
45447 [$(subdir) = elf] (tst-audit3-ENV): New variable.
45448 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
45449 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
45450 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
45451 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
45452 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
45453 Likewise.
45454 [$(subdir) = elf && $(config-cflags-avx) = yes]
45455 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
45456 [$(subdir) = elf && $(config-cflags-avx) = yes]
45457 (CFLAGS-tst-auditmod4a.c): Likewise.
45458 [$(subdir) = elf && $(config-cflags-avx) = yes]
45459 (CFLAGS-tst-auditmod4b.c): Likewise.
45460 [$(subdir) = elf && $(config-cflags-avx) = yes]
45461 (CFLAGS-tst-auditmod6b.c): Likewise.
45462 [$(subdir) = elf && $(config-cflags-avx) = yes]
45463 (CFLAGS-tst-auditmod6c.c): Likewise.
45464 [$(subdir) = elf && $(config-cflags-avx) = yes]
45465 (CFLAGS-tst-auditmod7b.c): Likewise.
45466 * elf/tst-audit3.c: Move to ...
45467 * sysdeps/x86_64/tst-audit3.c: ... here.
45468 * elf/tst-audit4.c: Move to ...
45469 * sysdeps/x86_64/tst-audit4.c: ... here.
45470 * elf/tst-audit5.c: Move to ...
45471 * sysdeps/x86_64/tst-audit5.c: ... here.
45472 * elf/tst-audit6.c: Move to ...
45473 * sysdeps/x86_64/tst-audit6.c: ... here.
45474 * elf/tst-audit7.c: Move to ...
45475 * sysdeps/x86_64/tst-audit7.c: ... here.
45476 * elf/tst-auditmod3a.c: Move to ...
45477 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
45478 * elf/tst-auditmod3b.c: Move to ...
45479 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
45480 * elf/tst-auditmod4a.c: Move to ...
45481 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
45482 * elf/tst-auditmod4b.c: Move to ...
45483 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
45484 * elf/tst-auditmod5a.c: Move to ...
45485 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
45486 * elf/tst-auditmod5b.c: Move to ...
45487 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
45488 * elf/tst-auditmod6a.c: Move to ...
45489 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
45490 * elf/tst-auditmod6b.c: Move to ...
45491 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
45492 * elf/tst-auditmod6c.c: Move to ...
45493 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
45494 * elf/tst-auditmod7a.c: Move to ...
45495 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
45496 * elf/tst-auditmod7b.c: Move to ...
45497 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
45498
45499 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
45500
45501 [BZ #15366]
45502 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
45503 define unconditionally.
45504 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
45505 define unconditionally.
45506 (INT8_C, INT16_C, etc.): Likewise.
45507
45508 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
45509
45510 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
45511 __ehdr_start with hidden visibility.
45512
45513 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
45514
45515 2013-04-24 Carlos O'Donell <carlos@redhat.com>
45516
45517 * math/libm-test.inc (cos_test): Use accurate hex constants.
45518 (sincost_test): Likewise.
45519
45520 2013-04-24 Joseph Myers <joseph@codesourcery.com>
45521
45522 * math/libm-test.inc (catan_test): Add more tests.
45523 (catanh_test): Likewise.
45524
45525 * math/s_catanf.c (__catanf): Use suffixed floating-point
45526 constants.
45527 * math/s_catanhf.c (__catanhf): Likewise.
45528 * math/s_catanhl.c (__catanhl): Likewise.
45529 * math/s_catanl.c (__catanl): Likewise.
45530
45531 [BZ #15394]
45532 * math/s_catan.c (__catan): Calculate imaginary part of result
45533 with log1p not log unless computing log of number close to 0.
45534 * math/s_catanf.c (__catanf): Likewise.
45535 * math/s_catanl.c (__catanl): Likewise.
45536 * math/s_catanh.c (__catanh): Calculate real part of result with
45537 log1p not log unless computing log of number close to 0.
45538 * math/s_catanhf.c (__catanhf): Likewise.
45539 * math/s_catanhl.c (__catanhl): Likewise.
45540 * math/libm-test.inc (catan_test): Add more tests.
45541 (catanh_test): Likewise.
45542 * sysdeps/i386/fpu/libm-test-ulps: Update.
45543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45544
45545 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
45546
45547 * benchtests/Makefile: Mention files in which fast and slow
45548 paths of math functions are implemented.
45549
45550 2013-04-23 Roland McGrath <roland@hack.frob.com>
45551
45552 * sysdeps/posix/timespec_get.c: New file.
45553
45554 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45555
45556 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
45557 POWER.
45558 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
45559 for POWER.
45560 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
45561 powerpc/power5/fpu folders.
45562 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
45563 * benchtests/Makefile: Add modf testcase.
45564 * benchtests/bench-modf.c: New file: Benchmark test for mo
45565
45566 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
45567
45568 [BZ #14888]
45569 * time/Makefile (tests): Add tst-strptime-whitespace.
45570 * time/strptime_l.c (get_number): Use ISSPACE.
45571 (__strptime_internal): Likewise.
45572 * time/tst-strptime-whitespace.c: New test case.
45573
45574 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
45575
45576 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
45577 member.
45578 (_nss_files_init): Set it here.
45579
45580 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
45581
45582 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
45583 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
45584 unsigned.
45585
45586 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
45587
45588 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
45589
45590 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45591
45592 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
45593 size just once.
45594
45595 2013-04-21 David S. Miller <davem@davemloft.net>
45596
45597 * po/ru.po: Update Russion translation from translation project.
45598
45599 2013-04-17 Adam Conrad <adconrad@0c3.net>
45600
45601 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
45602 and setfsgid.
45603
45604 2013-04-17 Carlos O'Donell <carlos@redhat.com>
45605
45606 * configure.in: Remove i386 configure warning. Remove i386 case.
45607 * configure: Regenerate.
45608 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
45609 Add example to error message.
45610 * sysdeps/i386/configure: Regenerate.
45611
45612 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
45613
45614 * benchtests/Makefile (bench): Add cos, tan, slowcos and
45615 slowtan.
45616 * benchtests/cos-inputs: New file.
45617 * benchtests/slowcos-inputs: New file.
45618 * benchtests/slowcos.c: New file.
45619 * benchtests/slowtan-inputs: New file.
45620 * benchtests/slowtan.c: New file.
45621 * benchtests/tan-inputs: New file.
45622
45623 2013-04-16 Roland McGrath <roland@hack.frob.com>
45624
45625 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
45626 considered kosher.
45627
45628 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
45629
45630 * benchtests/Makefile: Include cppflags-iterator.mk to add
45631 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
45632
45633 * Makefile.in (bench-clean): New target.
45634 * benchtests/Makefile (bench-clean): Likewise.
45635
45636 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
45637
45638 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
45639
45640 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
45641
45642 * stdio-common/tstdiomisc.c: Fix coding-style violation.
45643
45644 2013-04-15 Andreas Schwab <schwab@suse.de>
45645
45646 * nscd/grpcache.c (cache_addgr): Properly check for short write.
45647 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45648 * nscd/pwdcache.c (cache_addpw): Likewise.
45649 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
45650 more than recsize.
45651
45652 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
45653
45654 * benchtests/Makefile (bench): Write all output to
45655 bench-out.tmp together.
45656
45657 2013-04-15 Andreas Schwab <schwab@suse.de>
45658
45659 * nscd/nscd.c (main): Don't fork again after closing files.
45660
45661 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
45662
45663 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
45664
45665 * benchtests/Rules (bench-deps): Collect dependencies into a
45666 single variable. Add Makefile to dependencies.
45667 ($(objpfx)bench-%.c): Depend on bench-deps.
45668
45669 2013-04-12 Roland McGrath <roland@hack.frob.com>
45670 Xavier Roche <roche+kml2@exalead.com>
45671
45672 [BZ #15361]
45673 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
45674 just that it's a file descriptor.
45675 * manual/llio.texi (Synchronizing AIO Operations): Update description
45676 for EBADF error from aio_fsync.
45677
45678 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
45679
45680 * Rules (bench): Move target definition...
45681 * benchtests/Makefile: ... here.
45682
45683 2013-04-11 Carlos O'Donell <carlos@redhat.com>
45684
45685 * math/libm-test.inc (cos_test): Fix PI/2 test.
45686 (sincos_test): Likewise.
45687 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45688 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
45689
45690 2013-04-11 Andreas Schwab <schwab@suse.de>
45691
45692 [BZ #13988]
45693 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
45694 accept exponent character only when digits were seen.
45695 * stdio-common/Makefile (tests): Add bug26.
45696 * stdio-common/bug26.c: New file.
45697
45698 [BZ #14293]
45699 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
45700 non-freeable.
45701
45702 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
45703
45704 * Makeconfig (rtld-prefix): Define built linker prefix.
45705 * Rules (run-bench): Use it.
45706 * math/Makefile (run-regen-ulps): Likewise.
45707
45708 * Rules (bench): Remove eval.
45709
45710 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45711 Roland McGrath <roland@hack.frob.com>
45712 Ondrej Bilka <neleai@seznam.cz>
45713
45714 [BZ #15346]
45715 * time/getdate.c: Include ctype.h and alloca.h.
45716 (__getdate_r): Trim leading and trailing spaces of input.
45717 * time/tst-getdate.c (tests): Add tests with leading and
45718 trailing spaces.
45719
45720 2013-04-08 Roland McGrath <roland@hack.frob.com>
45721
45722 [BZ #14280]
45723 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
45724 when computing value.
45725
45726 2013-04-06 Carlos O'Donell <carlos@redhat.com>
45727
45728 * math/README.libm-test (How can I generate "libm-test-ulps"?):
45729 Use testrun.sh to run libm tests.
45730
45731 [BZ #15309]
45732 * elf/dl-open.c (dl_open_worker): memset all of seen array.
45733
45734 2013-04-06 Marko Myllynen <myllynen@redhat.com>
45735
45736 [BZ #15264]
45737 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
45738
45739 2013-04-06 Carlos O'Donell <carlos@redhat.com>
45740
45741 * Makefile.in (regen-ulps): New target.
45742 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
45743 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
45744 [ifneq (no,$(PERL)] (regen-ulps): New target.
45745 [ifeq (no,$(PERL)] (regen-ulps): New target.
45746 * math/libm-test.inc (ulps_file_name): Define.
45747 (output_dir): New variable.
45748 (options): Add "output-dir" option.
45749 (parse_opt): Handle 'o' case.
45750 (main): If output_dir is non-NULL use it as a prefix
45751 otherwise use "".
45752 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
45753
45754 2013-04-06 Carlos O'Donell <carlos@redhat.com>
45755
45756 [BZ #10060, #10062]
45757 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
45758 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
45759 fail configure if __sync_val_compare_and_swap is not inlined.
45760 * sysdeps/i386/configure: Regenerate.
45761 * configure.in: Build for i686 when configured for i386.
45762 * configure: Regenerate.
45763 * README: Remove i386 reference.
45764
45765 2013-04-06 Carlos O'Donell <carlos@redhat.com>
45766
45767 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
45768 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45769
45770 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
45771
45772 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
45773 (lmsnanval): New variables.
45774 (F): Add conversion tests.
45775 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
45776 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
45777
45778 * stdio-common/tstdiomisc.c (F): Properly collect individual
45779 tests' results.
45780
45781 [BZ #14686, #15336]
45782 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
45783 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
45784 Instead, use input NaN values or generate a qNaN by arithmetic
45785 operation. Also fix bugs to comply with the standard.
45786 * math/libm-test.inc (remainder_test): Add more tests.
45787
45788 [BZ #15335, #15342]
45789 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
45790 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
45791 input NaN values or generate a qNaN by arithmetic operation.
45792
45793 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
45794 unreachable code.
45795
45796 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
45797 definitions.
45798
45799 2013-04-03 Joseph Myers <joseph@codesourcery.com>
45800
45801 [BZ #14478]
45802 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
45803 underflowed result.
45804 * math/s_cexpf.c (__cexpf): Likewise.
45805 * math/s_cexpl.c (__cexpl): Likewise.
45806 * math/libm-test.inc (cexp_test): Add more tests.
45807
45808 2013-04-03 Andreas Schwab <schwab@suse.de>
45809
45810 [BZ #15330]
45811 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
45812 order arrays from heap if bigger than alloca cutoff.
45813
45814 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
45815
45816 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
45817 (SNAN_TESTS_double): Refer to GCC PR56831.
45818 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
45819 GCC PR56828.
45820
45821 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
45822
45823 * Rules (bench): Move bench.out after the run is complete.
45824
45825 * Rules (bench): Echo currently running benchmark.
45826
45827 * benchtests/Makefile (bench): Add atan and slowatan.
45828 * benchtests/atan-inputs: New file.
45829 * benchtests/slowatan-inputs: New file.
45830 * benchtests/slowatan.c: New file.
45831
45832 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
45833 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
45834 its value.
45835
45836 [BZ #15305]
45837 * sysdeps/unix/sysv/linux/kernel-features.h
45838 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
45839 __ASSUME_XFS_RESTRICTED_CHOWN.
45840 * sysdeps/unix/sysv/linux/pathconf.c
45841 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45842 Save and restore errno.
45843
45844 2013-04-02 Joseph Myers <joseph@codesourcery.com>
45845
45846 [BZ #15327]
45847 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
45848 arguments using __kernel_casinh.
45849 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
45850 arguments using __kernel_casinhf.
45851 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
45852 arguments using __kernel_casinhl.
45853 * math/libm-test.inc (cacosh_test): Add more tests.
45854 * sysdeps/i386/fpu/libm-test-ulps: Update.
45855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45856
45857 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
45858
45859 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
45860 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
45861
45862 * bench/Makefile (bench): Add sin and slowsin.
45863 * benchtests/sin-inputs: New file.
45864 * benchtests/slowsin-inputs: New file.
45865 * benchtests/slowsin.c: New file.
45866
45867 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
45868 (bench): Add slowexp and slowpow.
45869 (exp-ITER): Increase iterations.
45870 (pow-ITER): Likewise.
45871 * benchtests/exp-inputs: Change input.
45872 * benchtests/pow-inputs: Likewise.
45873 * benchtests/slowexp-inputs: New file.
45874 * benchtests/slowexp.c: New file.
45875 * benchtests/slowpow-inputs: New file.
45876 * benchtests/slowpow.c: New file.
45877
45878 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45879
45880 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
45881 instructions.
45882 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45883 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
45884 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45885 * benchtests/Makefile: Add rint benchtest.
45886 * benchtests/rint-inputs: Input for rint benchtest.
45887
45888 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
45889
45890 * Versions.def (libm): Add GLIBC_2.18.
45891 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
45892 hidden libm prototypes.
45893 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
45894 * math/Makefile (libm-calls): Add s_issignaling.
45895 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
45896 __issignalingf, __issignalingl. Adjust all libm.abilist files.
45897 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
45898 declaration.
45899 * math/math.h [__USE_GNU] (issignaling): New macro.
45900 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
45901 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
45902 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
45903 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
45904 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
45905 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
45906 * manual/arith.texi (issignaling): New section.
45907 * manual/libm-err-tab.pl (@all_functions): Update comment.
45908 * math/gen-libm-test.pl (parse_args): Apply special handling for
45909 issignaling.
45910 * math/libm-test.inc (print_float, issignaling_test): New
45911 functions.
45912 (check_float_internal): Add issignaling checks.
45913 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
45914 default definition.
45915 * sysdeps/powerpc/math-tests.h: New file.
45916 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
45917 tests.
45918 * math/test-snan.c (TEST_FUNC): Likewise.
45919
45920 2013-03-30 David S. Miller <davem@davemloft.net>
45921
45922 * po/de.po: Update from translation team.
45923
45924 2013-03-30 Joseph Myers <joseph@codesourcery.com>
45925
45926 [BZ #10357]
45927 * math/k_casinh.c (__kernel_casinh): Handle arguments with
45928 imaginary part less than 1.0 and real part less than 0.5
45929 specially.
45930 * math/k_casinhf.c (__kernel_casinhf): Likewise.
45931 * math/k_casinhl.c (__kernel_casinhl): Likewise.
45932 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
45933 (cacos_test): Add more tests.
45934 (casin_test): Likewise.
45935 (casinh_test): Likewise.
45936 * sysdeps/i386/fpu/libm-test-ulps: Update.
45937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45938
45939 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
45940
45941 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
45942 ONE with its value.
45943
45944 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
45945 (__pow_mp): Replace ONE and MONE with their values.
45946 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45947 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
45948 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45949 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
45950 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45951 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45952
45953 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
45954
45955 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
45956 (__pow_mp): Replace ZERO and MZERO with their values.
45957 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45958 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45959 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45960 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45961 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45962 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
45963 (__sqr): Likewise.
45964
45965 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
45966
45967 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
45968
45969 2013-03-28 Roland McGrath <roland@hack.frob.com>
45970
45971 * include/stdlib.h [!SHARED] (__call_tls_dtors):
45972 Declare with __attribute__ ((weak)).
45973 * stdlib/exit.c (__libc_atexit) [!SHARED]:
45974 Call __call_tls_dtors only if it's not NULL.
45975
45976 2013-03-28 Roland McGrath <roland@hack.frob.com>
45977
45978 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
45979 didn't do it already, then set _dl_phdr and _dl_phnum based on the
45980 magic __ehdr_start linker symbol if it's defined.
45981 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
45982 them up here if it was already done.
45983
45984 * elf/dl-support.c (_dl_phdr): Make pointer to const.
45985 (_dl_aux_init): Use const in cast when setting it.
45986 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
45987 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
45988 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
45989
45990 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
45991 Declare them here.
45992 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
45993 * csu/libc-tls.c: Nor here.
45994 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
45995
45996 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
45997 (__libc_message): Never call vsyslog.
45998
45999 2013-03-28 Alan Modra <amodra@gmail.com>
46000
46001 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
46002 Define as empty.
46003 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
46004 Likewise.
46005
46006 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46007
46008 [BZ #15214]
46009 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
46010 underflow.
46011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46012
46013 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46014
46015 [BZ #15304]
46016 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46017 Don't add gid passed as argument.
46018
46019 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
46020
46021 2013-03-27 Joseph Myers <joseph@codesourcery.com>
46022
46023 [BZ #15307]
46024 * math/k_casinh.c (__kernel_casinh): Handle arguments with
46025 imaginary part between 1.0 and 1.5 and real part less than 0.5
46026 specially.
46027 * math/k_casinhf.c (__kernel_casinhf): Likewise.
46028 * math/k_casinhl.c (__kernel_casinhl): Likewise.
46029 * math/libm-test.inc (cacos_test): Add more tests.
46030 (casin_test): Likewise.
46031 (casinh_test): Likewise.
46032 * sysdeps/i386/fpu/libm-test-ulps: Update.
46033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46034
46035 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46036
46037 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
46038 constants.
46039 (norm): Likewise.
46040 (denorm): Likewise.
46041 (__dbl_mp): Likewise.
46042 (add_magnitudes): Likewise.
46043 (sub_magnitudes): Likewise.
46044 (__add): Likewise.
46045 (__sub): Likewise.
46046 (__mul): Likewise.
46047 (__sqr): Likewise.
46048 (__inv): Likewise.
46049 (__dvd): Likewise.
46050
46051 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
46052 commented code.
46053 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
46054 (__dubcos): Likewise.
46055 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
46056 (__ieee754_acos): Likewise.
46057 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46058 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
46059 (__exp1): Likewise.
46060 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46061 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46062 (log1): Likewise.
46063 (my_log2): Likewise.
46064 (checkint): Likewise.
46065 * sysdeps/ieee754/dbl-64/e_remainder.c
46066 (__ieee754_remainder): Likewise.
46067 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46068 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
46069 (bsloww): Likewise.
46070 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46071
46072 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46073 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
46074 MANTISSA_STORE_T to store computations on mantissa. Use
46075 macros for rounding and division.
46076 (denorm): Likewise.
46077 (__dbl_mp): Likewise.
46078 (add_magnitudes): Likewise.
46079 (sub_magnitudes): Likewise.
46080 (__mul): Likewise.
46081 (__sqr): Likewise.
46082 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
46083 powers of two in terms of TWOPOW macro.
46084 (mp_no): Make type of mantissa as MANTISSA_T.
46085 [!RADIXI]: Define RADIXI.
46086 [!TWO52]: Define TWO52.
46087 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46088
46089 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46090
46091 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
46092 llroundl symbol when building for PPC32.
46093
46094 2013-03-24 Mark H Weaver <mhw@netris.org>
46095
46096 * manual/arith.texi (Normalization Functions): Fix prototypes for
46097 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
46098
46099 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46100
46101 [BZ #13889]
46102 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
46103 high value to check if expl overflow.
46104 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
46105 to check for underflow and overflow.
46106 * math/libm-test.inc: Add exp test.
46107
46108 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
46109
46110 [BZ #11120]
46111 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
46112 with NOT_IN_libc.
46113
46114 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46115
46116 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
46117 symbol.
46118
46119 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
46120
46121 * math/gen-libm-test.pl (parse_args, special_functions): Properly
46122 wrap blocks consisting of several statements.
46123
46124 * sysdeps/generic/math-tests.h: New file.
46125 * sysdeps/i386/fpu/math-tests.h: Likewise.
46126 * math/test-snan.c: Include it.
46127 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
46128
46129 2013-03-21 Joseph Myers <joseph@codesourcery.com>
46130
46131 [BZ #15285]
46132 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
46133 (__ieee754_j0l): Do not improve calculations using cos of twice
46134 input for inputs above LDBL_MAX / 2.0L.
46135 (__ieee754_y0l): Likewise.
46136 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
46137 (__ieee754_j1l): Do not improve calculations using cos of twice
46138 input for inputs above LDBL_MAX / 2.0L.
46139 (__ieee754_y1l): Likewise.
46140 * math/libm-test.inc (j0_test): Add another test.
46141 (j1_test): Likewise.
46142 (y0_test): Likewise.
46143 (y1_test): Likewise.
46144 * sysdeps/i386/fpu/libm-test-ulps: Update.
46145
46146 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46147
46148 * Rules ($(objpfx)bench-%.c): Include code from a C source
46149 file.
46150
46151 2013-03-21 Joseph Myers <joseph@codesourcery.com>
46152
46153 [BZ #15287]
46154 * math/k_casinh.c (__kernel_casinh): Handle arguments with
46155 imaginary part 1.0 and real part less than 0.5 specially.
46156 * math/k_casinhf.c (__kernel_casinhf): Likewise.
46157 * math/k_casinhl.c (__kernel_casinhl): Likewise.
46158 * math/libm-test.inc (cacos_test): Add more tests.
46159 (casin_test): Likewise.
46160 (casinh_test): Likewise.
46161 * sysdeps/i386/fpu/libm-test-ulps: Update.
46162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46163
46164 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46165
46166 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
46167 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
46168
46169 2013-03-20 Joseph Myers <joseph@codesourcery.com>
46170
46171 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
46172 * config.make.in (config-cflags-sse4): Remove variable.
46173 (config-cflags-avx): Likewise.
46174 (config-cflags-sse2avx): Likewise.
46175 (config-cflags-novzeroupper): Likewise.
46176 (config-asflags-i686): Likewise.
46177 (have-mfma4): Likewise.
46178 (have-as-vis3): Likewise.
46179 (MIG): Likewise.
46180 * configure.in (MIG): Do not AC_SUBST.
46181 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
46182 (libc_cv_cc_sse4): Do not AC_SUBST.
46183 (libc_cv_cc_avx): Likewise.
46184 (libc_cv_cc_sse2avx): Likewise.
46185 (libc_cv_cc_novzeroupper): Likewise.
46186 (libc_cv_cc_fma4): Likewise.
46187 (libc_cv_as_i686): Likewise.
46188 (libc_cv_sparc_as_vis3): Likewise.
46189 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
46190 LIBC_CONFIG_VAR.
46191 (config-asflags-i686): Likewise.
46192 (config-cflags-avx): Likewise.
46193 (config-cflags-sse2avx): Likewise.
46194 (have-mfma4): Likewise.
46195 (config-cflags-novzeroupper): Likewise.
46196 * sysdeps/mach/configure.in (MIG): Likewise.
46197 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
46198 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
46199 LIBC_CONFIG_VAR.
46200 (config-cflags-avx): Likewise.
46201 (config-cflags-sse2avx): Likewise.
46202 (have-mfma4): Likewise.
46203 (config-cflags-novzeroupper): Likewise.
46204 * configure: Regenerated.
46205 * sysdeps/i386/configure: Likewise.
46206 * sysdeps/mach/configure: Likewise.
46207 * sysdeps/sparc/configure: Likewise.
46208 * sysdeps/x86_64/configure: Likewise.
46209
46210 2013-03-20 Roland McGrath <roland@hack.frob.com>
46211
46212 [BZ #14812]
46213 * locale/programs/localedef.c (options): Put N_ translation marker
46214 on argument names, not just descriptions.
46215
46216 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
46217
46218 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
46219
46220 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
46221
46222 [BZ #14176]
46223 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
46224
46225 2013-03-19 Roland McGrath <roland@hack.frob.com>
46226
46227 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
46228 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
46229 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
46230 [!BEFORE_ABORT] (before_abort): New function.
46231 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
46232 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
46233 (writev_for_fatal): New function.
46234 (WRITEV_FOR_FATAL): New macro; call that.
46235 (backtrace_and_maps): New function.
46236 (BEFORE_ABORT): New macro; call that.
46237 (struct str_list): Type removed.
46238 (__libc_message, __libc_fatal): Functions removed.
46239 Include <sysdeps/posix/libc_fatal.c> instead.
46240
46241 2013-03-19 Joseph Myers <joseph@codesourcery.com>
46242
46243 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
46244 constants.
46245 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
46246 double constants.
46247
46248 2013-03-19 Andreas Schwab <schwab@suse.de>
46249
46250 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
46251 * sysdeps/gnu/configure: Regenerate.
46252
46253 * configure.in: Substitute libc_cv_rtlddir.
46254 * configure: Regenerate.
46255 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
46256 * Makeconfig (rtlddir, inst_rtlddir): New variables.
46257 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
46258 * elf/Makefile (install-others, CFLAGS-interp.c)
46259 (ldso_install, common-ldd-rewrite): Likewise.
46260 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
46261 $(inst_slibdir)/$(rtld-installed-name).
46262 * scripts/rellns-sh: Add -p option.
46263 * Makerules (make-shlib-link): Use rellns-sh to get relative name
46264 for source.
46265
46266 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
46267
46268 * manual/nptl.texi: Renamed to ...
46269 * manual/threads.texi: ... this.
46270 * manual/Makefile (chapters): Update.
46271
46272 2013-03-18 Roland McGrath <roland@hack.frob.com>
46273
46274 [BZ #14812]
46275 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
46276 on argument names, not just descriptions.
46277 * malloc/memusagestat.c (options): Likewise.
46278 * nss/getent.c (options): Likewise.
46279
46280 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
46281
46282 [BZ #14812]
46283 * iconv/iconv_prog.c (options): Put N_ translation marker
46284 on argument names, not just descriptions.
46285 * iconv/iconvconfig.c (options): Likewise.
46286
46287 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
46288
46289 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
46290 implementation which is faster on all x86_64 architectures.
46291 Tested on AMD, Intel Nehalem, SNB, IVB.
46292 * sysdeps/x86_64/strnlen.S: Likewise.
46293
46294 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46295 Remove all multiarch strlen and strnlen versions.
46296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46297 Remove strlen and strnlen related parts.
46298
46299 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
46300 Inline strlen part.
46301 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
46302
46303 * sysdeps/x86_64/multiarch/strlen.S: Remove.
46304 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
46305 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
46306 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
46307 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46308 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
46309
46310 2013-03-17 Carlos O'Donell <carlos@redhat.com>
46311
46312 * manual/memory.texi (Malloc Tunable Parameters):
46313 Sort parameters alphabetically. Add comments for missing entries.
46314
46315 2013-03-17 David S. Miller <davem@davemloft.net>
46316
46317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46318
46319 2013-03-16 Joseph Myers <joseph@codesourcery.com>
46320
46321 [BZ #15283]
46322 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
46323 for arguments at most half maximum finite value.
46324 * math/libm-test.inc (j0_test): Add more tests.
46325 (j1_test): Likewise.
46326 (y0_test): Likewise.
46327 (y1_test): Likewise.
46328 * sysdeps/i386/fpu/libm-test-ulps: Update.
46329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46330
46331 [BZ #14155]
46332 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
46333 1 / x and functions P and Q for arguments above 0x1p256L.
46334 (__ieee754_y0l): Likewise.
46335 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
46336 (__ieee754_y1l): Likewise.
46337 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
46338 (j1_test): Likewise.
46339 (y0_test): Likewise.
46340 (y1_test): Likewise.
46341
46342 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
46343
46344 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
46345 variable.
46346
46347 2013-03-15 Roland McGrath <roland@hack.frob.com>
46348
46349 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
46350 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
46351 zero since it's initialized to EXEC_PAGESIZE.
46352
46353 * sysdeps/unix/sysv/linux/ldsodefs.h
46354 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
46355 * sysdeps/generic/ldsodefs.h: ... here.
46356
46357 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
46358
46359 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
46360
46361 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
46362 math/test-snan.c.
46363 * math/test-snan.c: Renamed from
46364 sysdeps/powerpc/fpu/test-powerpc-snan.c.
46365 * math/Makefile (tests): Add test-snan.
46366 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
46367 test-powerpc-snan.
46368
46369 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
46370 SUFFIX. Initialize qNaN_var with __builtin_nan family of
46371 functions.
46372 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
46373 __builtin_nan family of functions.
46374 * math/libm-test.inc (initialize): Initialize qnan_value with
46375 __builtin_nan family of functions.
46376 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
46377 Remove variables.
46378 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
46379 Remove functions.
46380 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
46381 storage class. Initialize qNaN_var and sNaN_var with
46382 __builtin_nan and __builtin_nans families of functions,
46383 respectively.
46384
46385 * math/libm-test.inc (acosh_test): Also test with qNaN input.
46386 (sqrt_test): Remove duplicate test with qNaN input.
46387 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
46388 (round_test, signbit_test, significand_test): Note missing +/-Inf
46389 as well as qNaN tests.
46390
46391 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
46392 qNaN_var. Fix a few strings, too.
46393 * math/libm-test.inc (nan_value): Rename to qnan_value.
46394 * math/gen-libm-test.pl (%beautify): Adjust to that.
46395 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
46396 * math/test-misc.c (main): Likewise.
46397 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
46398 to __qnan_bytes, and __qnan_union, respectively.
46399 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
46400 Likewise.
46401 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
46402 and lqnanval, respectively.
46403 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
46404 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
46405 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
46406 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
46407
46408 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
46409 * math/test-misc.c (main) [__x86_64__]: Enable test for long
46410 doubles.
46411
46412 * math/test-misc.c (main): Fix copy'n'pastos.
46413 * misc/tst-efgcvt.c (special): Likewise.
46414
46415 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
46416 Remove declarations.
46417
46418 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46419
46420 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
46421 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
46422 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
46423 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
46424
46425 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46426
46427 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
46428 macro to return vdso values correctly in IFUNC implementations.
46429 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46430 Optimization by using IFUNC.
46431
46432 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46433 Richard Henderson <rth@redhat.com>
46434 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46435
46436 * Makefile.in (bench): New target.
46437 * NEWS: Mention the benchmark framework.
46438 * Rules (bench): Likewise.
46439 (binaries-bench): Generate binaries for functions to
46440 benchmark.
46441 * benchtests/Makefile: New makefile for benchmark tests.
46442 * benchtests/bench-skeleton.c: New skeleton file for benchmark
46443 programs.
46444 * benchtests/exp-inputs: New input file for EXP function.
46445 * benchtests/pow-inputs: New input file for POW function.
46446 * scripts/bench.pl: New script to generate source files for
46447 benchmark programs.
46448
46449 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46450
46451 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46452 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
46453 computations on mantissa. Use macros for rounding and
46454 division.
46455 (denorm): Likewise.
46456 (__dbl_mp): Likewise.
46457 (add_magnitudes): Likewise.
46458 (sub_magnitudes): Likewise.
46459 (__mul): Likewise.
46460 (__sqr): Likewise.
46461 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
46462 powers of two in terms of TWOPOW macro.
46463 (mp_no): Make type of mantissa as MANTISSA_T.
46464 [!RADIXI]: Define RADIXI.
46465 [!TWO52]: Define TWO52.
46466 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46467
46468 * manual/nptl.texi (cindex): Modify threads to pthreads.
46469
46470 2013-03-15 Joseph Myers <joseph@codesourcery.com>
46471
46472 * sysdeps/x86_64/preconfigure: Regenerated.
46473
46474 2013-03-14 Joseph Myers <joseph@codesourcery.com>
46475
46476 [BZ #14155]
46477 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
46478 0x1p28 and above.
46479 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
46480 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
46481 0x1p28 and above.
46482 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
46483 * math/libm-test.inc (j0_test): Do not allow one spurious
46484 underflow exception.
46485 (y1_test): Likewise.
46486
46487 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
46488
46489 * manual/Makefile (chapters): Add nptl.
46490 * manual/debug.texi (Debugging Support): Add link to Threads
46491 chapter.
46492 * manual/nptl.texi: New file.
46493
46494 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
46495
46496 2013-03-14 Petr Baudis <pasky@ucw.cz>
46497
46498 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
46499 for non-NULL pointer before the memory validity test. Pointed
46500 out by Holger Brunck <holger.brunck@keymile.com>.
46501
46502 2013-03-13 Andreas Schwab <schwab@suse.de>
46503
46504 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
46505 instead of .os.
46506
46507 2013-03-13 Joseph Myers <joseph@codesourcery.com>
46508
46509 * timezone/zic.c: Update from tzcode 2013b.
46510
46511 2013-03-12 Carlos O'Donell <carlos@redhat.com>
46512
46513 * manual/install.texi (Configuring and compiling):
46514 Mention i686 and i586.
46515 * INSTALL: Regenerate.
46516
46517 2013-03-12 Roland McGrath <roland@hack.frob.com>
46518
46519 * sysdeps/init_array/elf-init.c: New file.
46520 * csu/elf-init.c
46521 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
46522 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
46523
46524 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
46525 __gmon_start__ as global, but as static with a .preinit_array pointer.
46526 * sysdeps/init_array/gmon-start.c: New file. Use that.
46527 * sysdeps/init_array/crti.S: New file, empty except for comments.
46528 * sysdeps/init_array/crtn.S: Likewise.
46529
46530 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
46531
46532 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
46533 definining bcopy.
46534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46535 Remove Prefer_SSE_for_memop.
46536 * sysdeps/x86_64/multiarch/init-arch.h: Remove
46537 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
46538 HAS_PREFER_SSE_FOR_MEMOP.
46539 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
46540 memset-x86-64.
46541 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46542 Remove bzero, memset ifunc support.
46543 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
46544 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
46545 * sysdeps/x86_64/multiarch/memset.S: Likewise.
46546 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46547
46548 2013-03-11 Andreas Schwab <schwab@suse.de>
46549
46550 [BZ #15234]
46551 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
46552 by SHLIB_COMPAT.
46553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
46554 (GLIBC_2.16): Remove pthread_atfork.
46555
46556 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
46557
46558 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
46559 (ptestcases.h): Likewise.
46560
46561 2013-03-08 Roland McGrath <roland@hack.frob.com>
46562
46563 * Makeconfig ($(common-objpfx)config.status): Depend on
46564 sysdeps/*/preconfigure{,.in} too.
46565
46566 2013-03-08 Joseph Myers <joseph@codesourcery.com>
46567
46568 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
46569 (__free_hook): Use void * instead of __malloc_ptr_t.
46570 (__malloc_hook): Likewise.
46571 (__realloc_hook): Likewise.
46572 (__memalign_hook): Likewise.
46573 (__after_morecore_hook): Likewise.
46574 * malloc/arena.c (save_malloc_hook): Likewise.
46575 (save_free_hook): Likewise.
46576 * malloc/hooks.c (malloc_hook_ini): Likewise.
46577 (realloc_hook_ini): Likewise.
46578 (memalign_hook_ini): Likewise.
46579 * malloc/malloc.c (malloc_hook_ini): Likewise.
46580 (realloc_hook_ini): Likewise.
46581 (memalign_hook_ini): Likewise.
46582 (__free_hook): Likewise.
46583 (__malloc_hook): Likewise.
46584 (__realloc_hook): Likewise.
46585 (__memalign_hook): Likewise.
46586 (__libc_malloc): Likewise.
46587 (__libc_free): Likewise.
46588 (__libc_realloc): Likewise.
46589 (__libc_memalign): Likewise.
46590 (__libc_valloc): Likewise.
46591 (__libc_pvalloc): Likewise.
46592 (__libc_calloc): Likewise.
46593 (__posix_memalign): Likewise.
46594 * malloc/morecore.c (__sbrk): Likewise.
46595 (__default_morecore): Likewise.
46596
46597 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
46598
46599 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
46600 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
46601 __malloc_ptrdiff_t.
46602
46603 * malloc/malloc.h (__malloc_size_t): Remove macro.
46604 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
46605 __malloc_size_t.
46606 (old_memalign_hook): Likewise.
46607 (old_realloc_hook): Likewise.
46608 (struct hdr): Likewise.
46609 (flood): Likewise.
46610 (mallochook): Likewise.
46611 (memalignhook): Likewise.
46612 (reallochook): Likewise.
46613 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
46614 (tr_old_realloc_hook): Likewise.
46615 (tr_old_memalign_hook): Likewise.
46616 (tr_mallochook): Likewise.
46617 (tr_reallochook): Likewise.
46618 (tr_memalignhook): Likewise.
46619
46620 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46621
46622 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
46623 default_ldbl_pack and using as default implementation.
46624 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
46625 implementation.
46626 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
46627 redundant definition.
46628 (ldbl_insert_mantissa): Likewise.
46629 (ldbl_canonicalize): Likewise.
46630 (ldbl_nearbyint): Likewise.
46631 (ldbl_pack): Rename to ldbl_pack_ppc.
46632 (ldbl_unpack): Rename to ldbl_unpack_ppc.
46633 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
46634 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
46635
46636 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
46637
46638 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
46639 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
46640 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
46641 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
46642 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
46643 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
46644 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
46645 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
46646
46647 2013-03-07 Andreas Jaeger <aj@suse.de>
46648
46649 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46650 bits/mman-linux.h.
46651
46652 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46653
46654 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
46655 Include mpa.h and declare __MPEXP.
46656 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
46657 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46658 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46659 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
46660 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46661 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46662 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
46663
46664 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
46665 (__slowpow): Use long double EXPL and LOGL functions to
46666 compute POW.
46667 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46668 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46669 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
46670 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46671 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46672 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
46673
46674 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
46675 intermediate variable to calculate exponent.
46676 (__sqr): Likewise.
46677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46678 Likewise.
46679 (__sqr): Likewise.
46680
46681 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
46682 [!NO__SQR]: Define __sqr.
46683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
46684 and NO__SQR. Remove all code except __mul and __sqr. Include
46685 sysdeps/ieee754/dbl-64/mpa.c.
46686 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46687
46688 [BZ #12723]
46689 * posix/Makefile (tests): Add tst-pathconf.
46690 * posix/tst-pathconf.c: New test case.
46691 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
46692 _PC_PIPE_BUF.
46693 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
46694
46695 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
46696
46697 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
46698
46699 2013-03-06 Andreas Jaeger <aj@suse.de>
46700
46701 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
46702 definition via __MAP_ANONYMOUS.
46703
46704 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
46705 it's not part of Linux headers.
46706
46707 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
46708 (MAP_HUGE_MASK): Define.
46709
46710 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46711 Define.
46712 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46713 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46714 Define.
46715 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46716 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46717 Define.
46718 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46719 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
46720 Define.
46721 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46722
46723 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
46724 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
46725 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
46726 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
46727 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
46728 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
46729
46730 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46731 Handle f2fs.
46732
46733 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46734 Handle f2fs and efivarfs.
46735
46736 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
46737 f2fs.
46738
46739 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
46740 (EFIVARFS_MAGIC): Add.
46741 (F2FS_LINK_MAX): Add.
46742
46743 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46744
46745 * stdio-common/vfprintf.c: Replace __builtin_expect with
46746 __glibc_unlikely.
46747
46748 2013-03-06 Joseph Myers <joseph@codesourcery.com>
46749
46750 [BZ #13550]
46751 * sysdeps/generic/bp-sym.h: Remove file.
46752 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
46753 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
46754 <bp-sym.h> and <bp-asm.h>.
46755 (__longjmp): Don't use BP_SYM.
46756 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
46757 and <bp-asm.h>.
46758 (memcpy): Don't use BP_SYM.
46759 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
46760 <bp-sym.h> and <bp-asm.h>.
46761 (memcpy): Don't use BP_SYM.
46762 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
46763 <bp-asm.h>.
46764 (memcpy): Don't use BP_SYM.
46765 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
46766 <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/memcmp.S: Don't include
46774 <bp-sym.h> and <bp-asm.h>.
46775 (memcmp): Don't use BP_SYM. Remove comment about bounded
46776 pointers.
46777 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
46778 <bp-sym.h> and <bp-asm.h>.
46779 (memcpy): Don't use BP_SYM.
46780 * sysdeps/powerpc/powerpc64/power4/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/power4/strncmp.S: Don't include
46789 <bp-sym.h> and <bp-asm.h>.
46790 (strncmp): Don't use BP_SYM. Remove comment about bounded
46791 pointers.
46792 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
46793 <bp-sym.h> and <bp-asm.h>.
46794 (memcpy): Don't use BP_SYM.
46795 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
46796 <bp-sym.h> and <bp-asm.h>.
46797 (memset): Don't use BP_SYM.
46798 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46799 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46800 (__bzero): Don't use BP_SYM.
46801 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46802 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46803 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
46804 <bp-sym.h> and <bp-asm.h>.
46805 (__memchr): Don't use BP_SYM.
46806 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
46807 <bp-sym.h> and <bp-asm.h>.
46808 (memcmp): Don't use BP_SYM. Remove comment about bounded
46809 pointers.
46810 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
46811 <bp-sym.h> and <bp-asm.h>.
46812 (memcpy): Don't use BP_SYM.
46813 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
46814 <bp-sym.h> and <bp-asm.h>.
46815 (__mempcpy): Don't use BP_SYM.
46816 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
46817 <bp-sym.h> and <bp-asm.h>.
46818 (__memrchr): Don't use BP_SYM.
46819 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
46820 <bp-sym.h> and <bp-asm.h>.
46821 (memset): Don't use BP_SYM.
46822 (__bzero): Likewise.
46823 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
46824 <bp-sym.h> and <bp-asm.h>.
46825 (__rawmemchr): Don't use BP_SYM.
46826 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
46827 <bp-sym.h> and <bp-asm.h>.
46828 (__STRCMP): Don't use BP_SYM.
46829 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
46830 <bp-sym.h> and <bp-asm.h>.
46831 (strchr): Don't use BP_SYM.
46832 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
46833 <bp-sym.h> and <bp-asm.h>.
46834 (__strchrnul): Don't use BP_SYM.
46835 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
46836 <bp-sym.h> and <bp-asm.h>.
46837 (strlen): Don't use BP_SYM.
46838 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
46839 <bp-sym.h> and <bp-asm.h>.
46840 (strncmp): Don't use BP_SYM. Remove comment about bounded
46841 pointers.
46842 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
46843 <bp-sym.h> and <bp-asm.h>.
46844 (__strnlen): Don't use BP_SYM.
46845 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
46846 <bp-sym.h> and <bp-asm.h>.
46847 (__GI__setjmp): Don't use BP_SYM.
46848 (_setjmp): Likewise.
46849 (__sigsetjmp): Likewise.
46850 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
46851 (L(start_addresses)): Don't use BP_SYM.
46852 (_start): Likewise.
46853 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
46854 <bp-asm.h>.
46855 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
46856 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
46857 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46858 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46859 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
46860 <bp-asm.h>.
46861 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
46862 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
46863 about bounded pointers.
46864 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46865 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46866 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
46867 <bp-asm.h>.
46868 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
46869 about bounded pointers. Remove GKM FIXME comments.
46870 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46871 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
46872 <bp-asm.h>.
46873 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
46874 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
46875 Remove GKM FIXME comments.
46876 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46877 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46878 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
46879 <bp-asm.h>.
46880 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
46881 about bounded pointers. Remove GKM FIXME comment.
46882 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
46883 and <bp-asm.h>.
46884 (strncmp): Don't use BP_SYM. Remove comment about bounded
46885 pointers.
46886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
46887 <bp-sym.h> and <bp-asm.h>.
46888 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
46890 <bp-sym.h> and <bp-asm.h>.
46891 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
46892 comment.
46893
46894 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46895
46896 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
46897 call free(NULL).
46898
46899 2013-03-05 David S. Miller <davem@davemloft.net>
46900
46901 * po/es.po: Update from translation team.
46902
46903 2013-03-05 Andreas Jaeger <aj@suse.de>
46904
46905 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
46906 <bits/mman-linux.h>.
46907 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46908 is fine.
46909 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
46910 <bits/mman-linux.h> to end of file.
46911 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46912 is fine.
46913 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
46914 <bits/mman-linux.h> to end of file.
46915 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46916 is fine.
46917 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
46918 <bits/mman-linux.h> to end of file.
46919
46920 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
46921 (MCL_CURRENT, MCL_FUTURE): Define here.
46922
46923 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46924
46925 [BZ #15232]
46926 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
46927 attribute_hidden.
46928 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46929
46930 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46931
46932 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
46933 fourth parameter needed for rt_sigprocmask syscall.
46934 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46935 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46936 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
46937 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46938 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46939 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
46940
46941 2013-03-04 Joseph Myers <joseph@codesourcery.com>
46942
46943 [BZ #13550]
46944 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
46945 comment about bounded pointers.
46946 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
46947 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
46948
46949 2013-03-04 Andreas Jaeger <aj@suse.de>
46950
46951 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
46952 common definitions.
46953
46954 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
46955 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
46956 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
46957 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46958 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46959 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46960
46961 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46962
46963 [BZ #15055]
46964 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
46965 __ieee754_sqrl instead of __sqrl.
46966
46967 2013-03-01 Joseph Myers <joseph@codesourcery.com>
46968
46969 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
46970 * sysdeps/powerpc/fpu_control.h: ... here.
46971 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
46972 * sysdeps/powerpc/bits/fenvinline.h: ... here.
46973 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
46974 * sysdeps/powerpc/bits/mathinline.h: ... here.
46975
46976 2013-03-01 Roland McGrath <roland@hack.frob.com>
46977
46978 * elf/dl-hwcaps.c (_dl_important_hwcaps):
46979 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
46980 to just [NEED_DL_SYSINFO_DSO].
46981 * elf/dl-support.c: Likewise.
46982 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
46983 * elf/rtld.c (dl_main): Likewise.
46984 * elf/setup-vdso.h (setup_vdso): Likewise.
46985 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
46986 * sysdeps/unix/sysv/linux/dl-sysdep.c
46987 (_dl_discover_osversion): Likewise.
46988
46989 2013-03-01 Carlos O'Donell <carlos@redhat.com>
46990
46991 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
46992 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46993
46994 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
46995
46996 * NEWS: Mention libm performance improvements and non-x86 PI
46997 futex support.
46998
46999 * csu/libc-start.c (__pthread_initialize_minimal): Change
47000 function arguments.
47001 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
47002
47003 2013-02-28 Joseph Myers <joseph@codesourcery.com>
47004
47005 [BZ #13550]
47006 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
47007 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
47008 <bp-sym.h> and <bp-asm.h>.
47009 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47010 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
47011 and <bp-asm.h>.
47012 (memcpy): Don't use BP_SYM.
47013 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
47014 <bp-asm.h>.
47015 (__mpn_add_n): Don't use BP_SYM.
47016 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
47017 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
47018 and <bp-asm.h>.
47019 (__mpn_addmul_1): Don't use BP_SYM.
47020 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47021 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
47022 <bp-sym.h>.
47023 (_setjmp): Don't use BP_SYM.
47024 (__novmx_setjmp): Likewise.
47025 (__GI__setjmp): Likewise.
47026 (__vmx_setjmp): Likewise.
47027 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
47028 <bp-sym.h>.
47029 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
47030 (__bzero): Don't use BP_SYM.
47031 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47032 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47033 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
47034 <bp-sym.h> and <bp-asm.h>.
47035 (memcpy): Don't use BP_SYM.
47036 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
47037 <bp-sym.h> and <bp-asm.h>.
47038 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47039 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
47040 <bp-sym.h> and <bp-asm.h>.
47041 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47042 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
47043 <bp-asm.h>.
47044 (__mpn_lshift): Don't use BP_SYM.
47045 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47046 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
47047 <bp-asm.h>.
47048 (memset): Don't use BP_SYM.
47049 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47050 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47051 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
47052 <bp-asm.h>.
47053 (__mpn_mul_1): Don't use BP_SYM.
47054 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47055 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
47056 <bp-sym.h> and <bp-asm.h>.
47057 (memcmp): Don't use BP_SYM.
47058 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
47059 <bp-sym.h> and <bp-asm.h>.
47060 (memcpy): Don't use BP_SYM.
47061 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
47062 <bp-sym.h> and <bp-asm.h>.
47063 (memset): Don't use BP_SYM.
47064 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
47065 <bp-sym.h> and <bp-asm.h>.
47066 (strncmp): Don't use BP_SYM.
47067 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
47068 <bp-sym.h> and <bp-asm.h>.
47069 (memcpy): Don't use BP_SYM.
47070 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
47071 <bp-sym.h> and <bp-asm.h>.
47072 (memset): Don't use BP_SYM.
47073 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
47074 <bp-sym.h> and <bp-asm.h>.
47075 (__memchr): Don't use BP_SYM.
47076 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
47077 <bp-sym.h> and <bp-asm.h>.
47078 (memcmp): Don't use BP_SYM.
47079 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
47080 <bp-sym.h> and <bp-asm.h>.
47081 (memcpy): Don't use BP_SYM.
47082 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
47083 <bp-sym.h> and <bp-asm.h>.
47084 (__mempcpy): Don't use BP_SYM.
47085 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
47086 <bp-sym.h> and <bp-asm.h>.
47087 (__memrchr): Don't use BP_SYM.
47088 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
47089 <bp-sym.h> and <bp-asm.h>.
47090 (memset): Don't use BP_SYM.
47091 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
47092 <bp-sym.h> and <bp-asm.h>.
47093 (__rawmemchr): Don't use BP_SYM.
47094 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
47095 <bp-sym.h> and <bp-asm.h>.
47096 (__STRCMP): Don't use BP_SYM.
47097 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
47098 <bp-sym.h> and <bp-asm.h>.
47099 (strchr): Don't use BP_SYM.
47100 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
47101 <bp-sym.h> and <bp-asm.h>.
47102 (__strchrnul): Don't use BP_SYM.
47103 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
47104 <bp-sym.h> and <bp-asm.h>.
47105 (strlen): Don't use BP_SYM.
47106 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
47107 <bp-sym.h> and <bp-asm.h>.
47108 (strncmp): Don't use BP_SYM.
47109 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
47110 <bp-sym.h> and <bp-asm.h>.
47111 (__strnlen): Don't use BP_SYM.
47112 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
47113 <bp-asm.h>.
47114 (__mpn_rshift): Don't use BP_SYM.
47115 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47116 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
47117 <bp-sym.h> and <bp-asm.h>.
47118 (__sigsetjmp): Don't use BP_SYM.
47119 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
47120 (L(start_addresses)): Don't use BP_SYM.
47121 (_start): Likewise.
47122 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
47123 <bp-asm.h>.
47124 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
47125 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47126 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47127 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
47128 <bp-asm.h>.
47129 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
47130 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47131 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47132 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
47133 <bp-asm.h>.
47134 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
47135 comments.
47136 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47137 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
47138 <bp-asm.h>.
47139 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
47140 FIXME comments.
47141 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47142 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47143 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
47144 <bp-asm.h>.
47145 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
47146 comment.
47147 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
47148 and <bp-asm.h>.
47149 (strncmp): Don't use BP_SYM,
47150 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
47151 <bp-asm.h>.
47152 (__mpn_sub_n): Don't use BP_SYM.
47153 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47154 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
47155 and <bp-asm.h>.
47156 (__mpn_submul_1): Don't use BP_SYM.
47157 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
47159 <bp-sym.h> and <bp-asm.h>.
47160 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
47162 <bp-sym.h> and <bp-asm.h>.
47163 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
47164 comment.
47165
47166 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47167
47168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
47169 Use ZK to minimize writes to Z.
47170 (sub_magnitudes): Simplify code a bit.
47171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
47172 Use ZK to minimize writes to Z.
47173 (sub_magnitudes): Simplify code a bit.
47174
47175 2013-02-27 Roland McGrath <roland@hack.frob.com>
47176
47177 * csu/gmon-start.c: Add special exception to license text.
47178
47179 2013-02-27 Richard Henderson <rth@redhat.com>
47180
47181 * scripts/config.guess: Update from config.git.
47182 * scripts/config.sub: Likewise.
47183
47184 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
47185
47186 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
47187
47188 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
47189
47190 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
47191
47192 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
47193
47194 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
47195
47196 2013-02-26 Roland McGrath <roland@hack.frob.com>
47197
47198 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
47199 [$(build-shared = yes].
47200
47201 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47202
47203 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
47204 (__mul): Reduce iterations for calculating mantissa.
47205
47206 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
47207 MPTWO.
47208 (__mpranred): Likewise.
47209
47210 [BZ #15160]
47211 * malloc/memusagestat.c (main): Draw graphs for heap and stack
47212 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
47213
47214 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
47215
47216 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
47217 Define __attribute__.
47218
47219 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47220
47221 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
47222 unused.
47223 * posix/regex_internal.h (__attribute): Remove.
47224 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
47225 (re_string_context_at): Likewise.
47226 (bitset_not): Use __attribute__ and mark function as possibly
47227 unused.
47228 (bitset_merge): Likewise.
47229 (bitset_mask): Likewise.
47230 (re_string_char_size_at): Likewise.
47231 (re_string_wchar_at): Likewise.
47232 (re_string_elem_size_at): Likewise.
47233
47234 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47235
47236 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
47237 code.
47238 (cc32): Likewise.
47239
47240 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
47241 (__acr): Likewise.
47242 (__cpy): Likewise.
47243 (norm): Likewise.
47244 (denorm): Likewise.
47245 (__dbl_mp): Likewise.
47246 (add_magnitudes): Likewise.
47247 (sub_magnitudes): Likewise.
47248 (__mul): Likewise.
47249 (__inv): Likewise.
47250
47251 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
47252 style.
47253
47254 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
47255 style.
47256
47257 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
47258 code.
47259
47260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
47261 up changes with default code.
47262 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
47263 Likewise.
47264
47265 2013-02-24 Allan McRae <allan@archlinux.org>
47266
47267 * manual/socket.texi (The Internet Namespace): Order menu items
47268 to match that in the file.
47269
47270 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
47271 node listing of the info page menu.
47272
47273 2013-02-21 Joseph Myers <joseph@codesourcery.com>
47274
47275 [BZ #13550]
47276 * sysdeps/i386/bp-asm.h: Remove file.
47277 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47278 (PARMS): Do not use macros from bp-asm.h.
47279 (S1): Likewise.
47280 (S2): Likewise.
47281 (SIZE): Likewise.
47282 (__mpn_add_n): Do not use BP_SYM
47283 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
47284 "bp-asm.h".
47285 (PARMS): Do not use macros from bp-asm.h.
47286 (S1): Likewise.
47287 (SIZE): Likewise.
47288 (__mpn_addmul_1): Do not use BP_SYM
47289 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
47290 "bp-asm.h".
47291 (PARMS): Do not use macros from bp-asm.h.
47292 (SIGMSK): Likewise.
47293 (_setjmp): Likewise. Do not use BP_SYM.
47294 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
47295 "bp-asm.h".
47296 (PARMS): Do not use macros from bp-asm.h.
47297 (SIGMSK): Likewise.
47298 (setjmp): Likewise. Do not use BP_SYM.
47299 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
47300 "bp-asm.h".
47301 (PARMS): Do not use macros from bp-asm.h.
47302 (__frexp): Do not use BP_SYM.
47303 (frexp): Likewise.
47304 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
47305 "bp-asm.h".
47306 (PARMS): Do not use macros from bp-asm.h.
47307 (__frexpf): Do not use BP_SYM.
47308 (frexpf): Likewise.
47309 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
47310 "bp-asm.h".
47311 (PARMS): Do not use macros from bp-asm.h.
47312 (__frexpl): Do not use BP_SYM.
47313 (frexpl): Likewise.
47314 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
47315 "bp-asm.h".
47316 (PARMS): Do not use macros from bp-asm.h.
47317 (__remquo): Do not use BP_SYM.
47318 (remquo): Likewise.
47319 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
47320 "bp-asm.h".
47321 (PARMS): Do not use macros from bp-asm.h.
47322 (__remquof): Do not use BP_SYM.
47323 (remquof): Likewise.
47324 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
47325 "bp-asm.h".
47326 (PARMS): Do not use macros from bp-asm.h.
47327 (__remquol): Do not use BP_SYM.
47328 (remquol): Likewise.
47329 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
47330 "bp-asm.h".
47331 (PARMS): Do not use macros from bp-asm.h.
47332 (DEST): Likewise.
47333 (SRC): Likewise.
47334 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
47335 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
47336 "bp-asm.h".
47337 (PARMS): Do not use macros from bp-asm.h.
47338 (strlen): Do not use BP_SYM.
47339 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
47340 "bp-asm.h".
47341 (PARMS): Do not use macros from bp-asm.h.
47342 (S1): Likewise.
47343 (S2): Likewise.
47344 (SIZE): Likewise.
47345 (__mpn_add_n): Do not use BP_SYM.
47346 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
47347 "bp-asm.h".
47348 (PARMS): Do not use macros from bp-asm.h.
47349 (S1): Likewise.
47350 (SIZE): Likewise.
47351 (__mpn_addmul_1): Do not use BP_SYM.
47352 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
47353 weak_alias.
47354 (bzero): Likewise.
47355 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
47356 "bp-asm.h".
47357 (PARMS): Do not use macros from bp-asm.h.
47358 (S): Likewise.
47359 (SIZE): Likewise.
47360 (__mpn_lshift): Do not use BP_SYM.
47361 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
47362 "bp-asm.h".
47363 (PARMS): Do not use macros from bp-asm.h.
47364 (DEST): Likewise.
47365 (SRC): Likewise.
47366 (LEN): Likewise.
47367 (memcpy): Likewise. Do not use BP_SYM.
47368 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
47369 libc_hidden_def and weak_alias.
47370 (mempcpy): Do not use BP_SYM in weak_alias.
47371 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
47372 "bp-asm.h".
47373 (PARMS): Do not use macros from bp-asm.h.
47374 (DEST): Likewise.
47375 (LEN): Likewise.
47376 [!BZERO_P] (CHR): Likewise.
47377 (memset): Likewise. Do not use BP_SYM.
47378 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
47379 "bp-asm.h".
47380 (PARMS): Do not use macros from bp-asm.h.
47381 (S1): Likewise.
47382 (SIZE): Likewise.
47383 (__mpn_mul_1): Do not use BP_SYM.
47384 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
47385 "bp-asm.h".
47386 (PARMS): Do not use macros from bp-asm.h.
47387 (S): Likewise.
47388 (SIZE): Likewise.
47389 (__mpn_rshift): Do not use BP_SYM.
47390 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
47391 "bp-asm.h".
47392 (PARMS): Do not use macros from bp-asm.h.
47393 (STR): Likewise.
47394 (CHR): Likewise.
47395 (strchr): Likewise. Do not use BP_SYM.
47396 (index): Do not use BP_SYM in weak_alias.
47397 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
47398 "bp-asm.h".
47399 (PARMS): Do not use macros from bp-asm.h.
47400 (DEST): Likewise.
47401 (SRC): Likewise.
47402 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
47403 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
47404 "bp-asm.h".
47405 (PARMS): Do not use macros from bp-asm.h.
47406 (strlen): Do not use BP_SYM.
47407 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
47408 "bp-asm.h".
47409 (PARMS): Do not use macros from bp-asm.h.
47410 (S1): Likewise.
47411 (S2): Likewise.
47412 (SIZE): Likewise.
47413 (__mpn_sub_n): Do not use BP_SYM.
47414 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
47415 "bp-asm.h".
47416 (PARMS): Do not use macros from bp-asm.h.
47417 (S1): Likewise.
47418 (SIZE): Likewise.
47419 (__mpn_submul_1): Do not use BP_SYM.
47420 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
47421 "bp-asm.h".
47422 (PARMS): Do not use macros from bp-asm.h.
47423 (S1): Likewise.
47424 (S2): Likewise.
47425 (SIZE): Likewise.
47426 (__mpn_add_n): Do not use BP_SYM.
47427 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
47428 weak_alias.
47429 (bzero): Likewise.
47430 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
47431 "bp-asm.h".
47432 (PARMS): Do not use macros from bp-asm.h.
47433 (BLK2): Likewise.
47434 (LEN): Likewise.
47435 (memcmp): Do not use BP_SYM.
47436 (bcmp): Do not use BP_SYM in weak_alias.
47437 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
47438 "bp-asm.h".
47439 (PARMS): Do not use macros from bp-asm.h.
47440 (DEST): Likewise.
47441 (SRC): Likewise.
47442 (LEN): Likewise.
47443 (memcpy): Likewise. Do not use BP_SYM.
47444 * sysdeps/i386/i686/memmove.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 (SRC): Likewise.
47449 (LEN): Likewise.
47450 (memmove): Likewise. Do not use BP_SYM.
47451 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
47452 "bp-asm.h".
47453 (PARMS): Do not use macros from bp-asm.h.
47454 (DEST): Likewise.
47455 (SRC): Likewise.
47456 (LEN): Likewise.
47457 (__mempcpy): Likewise. Do not use BP_SYM.
47458 (mempcpy): Do not use BP_SYM in weak_alias.
47459 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
47460 "bp-asm.h".
47461 (PARMS): Do not use macros from bp-asm.h.
47462 (DEST): Likewise.
47463 (LEN): Likewise.
47464 [!BZERO_P] (CHR): Likewise.
47465 (memset): Likewise. Do not use BP_SYM.
47466 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
47467 "bp-asm.h".
47468 (PARMS): Do not use macros from bp-asm.h.
47469 (STR2): Likewise.
47470 (strcmp): Do not use BP_SYM.
47471 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
47472 "bp-asm.h".
47473 (PARMS): Do not use macros from bp-asm.h.
47474 (STR): Likewise.
47475 (DELIM): Likewise.
47476 [USE_AS_STRTOK_R] (SAVE): Likewise.
47477 (FUNCTION): Likewise. Do not use BP_SYM.
47478 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
47479 aliases.
47480 (strtok_r): Likewise.
47481 (__GI___strtok_r): Likewise.
47482 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47483 (PARMS): Do not use macros from bp-asm.h.
47484 (S): Likewise.
47485 (SIZE): Likewise.
47486 (__mpn_lshift): Do not use BP_SYM.
47487 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47488 (PARMS): Do not use macros from bp-asm.h.
47489 (STR): Likewise.
47490 (CHR): Likewise.
47491 (__memchr): Do not use BP_SYM.
47492 (memchr): Do not use BP_SYM in weak_alias.
47493 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47494 (PARMS): Do not use macros from bp-asm.h.
47495 (BLK2): Likewise.
47496 (LEN): Likewise.
47497 (memcmp): Do not use BP_SYM.
47498 (bcmp): Do not use BP_SYM in weak_alias.
47499 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
47500 (PARMS): Do not use macros from bp-asm.h.
47501 (S1): Likewise.
47502 (SIZE): Likewise.
47503 (__mpn_mul_1): Do not use BP_SYM.
47504 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
47505 "bp-asm.h".
47506 (PARMS): Do not use macros from bp-asm.h.
47507 (STR): Likewise.
47508 (CHR): Likewise.
47509 (__rawmemchr): Do not use BP_SYM.
47510 (rawmemchr): Do not use BP_SYM in weak_alias.
47511 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47512 (PARMS): Do not use macros from bp-asm.h.
47513 (S): Likewise.
47514 (SIZE): Likewise.
47515 (__mpn_rshift): Do not use BP_SYM.
47516 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47517 (PARMS): Do not use macros from bp-asm.h.
47518 (SIGMSK): Likewise.
47519 (__sigsetjmp): Likewise. Do not use BP_SYM.
47520 * sysdeps/i386/start.S: Do not include "bp-sym.h".
47521 (_start): Do not use BP_SYM.
47522 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
47523 (PARMS): Do not use macros from bp-asm.h.
47524 (DEST): Likewise.
47525 (SRC): Likewise.
47526 (__stpcpy): Likewise. Do not use BP_SYM.
47527 (stpcpy): Do not use BP_SYM in weak_alias.
47528 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
47529 "bp-asm.h".
47530 (PARMS): Do not use macros from bp-asm.h.
47531 (DEST): Likewise.
47532 (SRC): Likewise.
47533 (LEN): Likewise.
47534 (__stpncpy): Likewise. Do not use BP_SYM.
47535 (stpncpy): Do not use BP_SYM in weak_alias.
47536 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47537 (PARMS): Do not use macros from bp-asm.h.
47538 (STR): Likewise.
47539 (CHR): Likewise.
47540 (strchr): Likewise. Do not use BP_SYM.
47541 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
47542 "bp-asm.h".
47543 (PARMS): Do not use macros from bp-asm.h.
47544 (STR): Likewise.
47545 (CHR): Likewise.
47546 (__strchrnul): Likewise. Do not use BP_SYM.
47547 (strchrnul): Do not use BP_SYM in weak_alias.
47548 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
47549 "bp-asm.h".
47550 (PARMS): Do not use macros from bp-asm.h.
47551 (STOP): Likewise.
47552 (strcspn): Do not use BP_SYM.
47553 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
47554 "bp-asm.h".
47555 (PARMS): Do not use macros from bp-asm.h.
47556 (STR): Likewise.
47557 (STOP): Likewise.
47558 (strpbrk): Likewise. Do not use BP_SYM.
47559 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
47560 "bp-asm.h".
47561 (PARMS): Do not use macros from bp-asm.h.
47562 (STR): Likewise.
47563 (CHR): Likewise.
47564 (strrchr): Likewise. Do not use BP_SYM.
47565 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
47566 (PARMS): Do not use macros from bp-asm.h.
47567 (SKIP): Likewise.
47568 (strspn): Do not use BP_SYM.
47569 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
47570 (PARMS): Do not use macros from bp-asm.h.
47571 (STR): Likewise.
47572 (DELIM): Likewise.
47573 (SAVE): Likewise.
47574 (FUNCTION): Likewise. Do not use BP_SYM.
47575 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
47576 aliases.
47577 (strtok_r): Likewise.
47578 (__GI___strtok_r): Likewise.
47579 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47580 (PARMS): Do not use macros from bp-asm.h.
47581 (S1): Likewise.
47582 (S2): Likewise.
47583 (SIZE): Likewise.
47584 (__mpn_sub_n): Do not use BP_SYM.
47585 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
47586 "bp-asm.h".
47587 (PARMS): Do not use macros from bp-asm.h.
47588 (S1): Likewise.
47589 (SIZE): Likewise.
47590 (__mpn_submul_1): Do not use BP_SYM.
47591 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
47592 <bp-sym.h>.
47593 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
47594 and <bp-asm.h>.
47595 (PARMS): Do not use macros from bp-asm.h.
47596 (FLAGS): Likewise.
47597 (PTID): Likewise.
47598 (TLS): Likewise.
47599 (CTID): Likewise.
47600 (__clone): Do not use BP_SYM.
47601 (clone): Do not use BP_SYM in weak_alias.
47602 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
47603 and <bp-asm.h>.
47604 (PARMS): Do not use macros from bp-asm.h.
47605 (LEN): Likewise.
47606 (__mmap64): Do not use BP_SYM.
47607 (mmap64): Do not use BP_SYM in weak_alias.
47608 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47609 <bp-sym.h> and <bp-asm.h>.
47610 (PARMS): Do not use macros from bp-asm.h.
47611 (__posix_fadvise64_l64): Do not use BP_SYM.
47612 * sysdeps/unix/sysv/linux/i386/semtimedop.S
47613 (PARMS): Do not use macros from bp-asm.h.
47614 (NSOPS): Likewise.
47615 (semtimedop): Do not use BP_SYM.
47616 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
47617 and <bp-asm.h>.
47618
47619 2013-02-21 Allan McRae <allan@archlinux.org>
47620
47621 * manual/message.texi (Charset conversion in gettext):
47622 Move @end statement to beginning of line.
47623
47624 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47625
47626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
47627 static.
47628 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47629 Likewise.
47630
47631 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
47632 (denorm): Likewise.
47633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
47634 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
47635
47636 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47637
47638 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
47639 tail-call to the resolved function if pltexit isn't needed.
47640
47641 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47642
47643 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
47644 or Y being zero as being unlikely.
47645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47646 Likewise.
47647
47648 2013-02-20 Carlos O'Donell <carlos@redhat.com>
47649
47650 * manual/nss.texi (System Databases and Name Service Switch):
47651 Remove frobnicate @pxref.
47652
47653 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
47654
47655 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47656 __attribute__ ((unused)) to __attribute__ ((__unused__)).
47657
47658 2013-02-20 Petr Machata <pmachata@redhat.com>
47659
47660 * elf/elf.h (R_ARM_TARGET1): New macro.
47661 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
47662 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
47663 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
47664 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
47665 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
47666 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
47667 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
47668 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
47669 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
47670 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
47671 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
47672 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
47673 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
47674 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
47675 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
47676 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
47677 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
47678 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
47679 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
47680 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
47681 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
47682 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
47683 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
47684 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
47685 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
47686 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
47687 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
47688 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
47689 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
47690 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
47691 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
47692 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
47693 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
47694 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
47695 (R_ARM_THM_GOT_BREL12): Likewise.
47696 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
47697 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
47698 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
47699 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
47700 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
47701 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
47702 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
47703 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
47704 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
47705
47706 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
47707
47708 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47709 __attribute_used__ to __attribute__ ((unused)).
47710
47711 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
47712
47713 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
47714 powerpc mpa.c.
47715 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
47716 comment formatting.
47717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
47718
47719 2013-02-19 Joseph Myers <joseph@codesourcery.com>
47720
47721 [BZ #13550]
47722 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
47723 Remove macro.
47724 (ENTER): Remove both macro definitions.
47725 (LEAVE): Likewise.
47726 (CHECK_BOUNDS_LOW): Likewise.
47727 (CHECK_BOUNDS_HIGH): Likewise.
47728 (CHECK_BOUNDS_BOTH): Likewise.
47729 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
47730 (RETURN_BOUNDED_POINTER): Likewise.
47731 (RETURN_NULL_BOUNDED_POINTER): Likewise.
47732 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
47733 (POP_ERRNO_LOCATION_RETURN): Likewise.
47734 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
47735 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47736 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
47737 macros.
47738 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47739 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
47740 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
47741 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
47742 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
47743 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
47744 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
47745 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
47746 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
47747 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
47748 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
47749 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
47750 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47751 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
47752 removed macros.
47753 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47754 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
47755 macros.
47756 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47757 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
47758 * sysdeps/i386/i586/memset.S (memset): Likewise.
47759 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
47760 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47761 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
47762 macros.
47763 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47764 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
47765 Change uses of L(2) to L(out).
47766 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
47767 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
47768 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
47769 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47770 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
47771 removed macros.
47772 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47773 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
47774 macros.
47775 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47776 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
47777 (RETURN): Do not use macro LEAVE.
47778 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
47779 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
47780 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
47781 * sysdeps/i386/i686/memset.S (memset): Likewise.
47782 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
47783 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
47784 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47785 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
47786 Likewise.
47787 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47788 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
47789 L(1_2) and L(1_3) into L(1).
47790 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47791 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
47792 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47793 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
47794 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47795 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
47796 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
47797 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47798 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
47799 macros.
47800 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
47801 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47802 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
47803 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
47804 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
47805 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47806 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
47807 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
47808 * sysdeps/i386/strcspn.S (strcspn): Likewise.
47809 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
47810 * sysdeps/i386/strrchr.S (strrchr): Likewise.
47811 * sysdeps/i386/strspn.S (strspn): Likewise.
47812 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
47813 conditional code.
47814 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47815 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
47816 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47817 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
47818 L(1_3) into L(1_1).
47819 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
47820 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47821 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
47822 macros.
47823 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47824
47825 2013-02-19 Jakub Jelinek <jakub@redhat.com>
47826
47827 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
47828 macro.
47829
47830 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
47831
47832 * math/atest-exp.c (exp_mpn): Remove ROUND.
47833 * math/atest-exp2.c (exp_mpn): Likewise.
47834 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
47835
47836 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
47837 * stdlib/tst-tls-atexit-lib.c: Likewise.
47838 * stdlib/tst-tls-atexit.c: Likewise.
47839
47840 2013-02-18 Mike Frysinger <vapier@gentoo.org>
47841
47842 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
47843 and __attribute_alloc_size__.
47844
47845 2013-02-18 Mike Frysinger <vapier@gentoo.org>
47846
47847 * include/programs/xmalloc.h: Change __attribute_alloc_size to
47848 __attribute_alloc_size__.
47849 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
47850 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
47851
47852 2013-02-18 Mike Frysinger <vapier@gentoo.org>
47853
47854 * include/programs/xmalloc.h: New file.
47855 * catgets/gencat.c: Include it.
47856 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
47857 * elf/pldd.c: Likewise.
47858 * iconv/iconv_charmap.c: Likewise.
47859 * iconv/iconvconfig.c: Likewise.
47860 * iconv/strtab.c: Likewise.
47861 * locale/programs/locale.c: Likewise.
47862 * locale/programs/localedef.h: Likewise.
47863 * locale/programs/simple-hash.c: Likewise.
47864 * nscd/nscd.h: Likewise.
47865 * nss/makedb.c: Likewise.
47866 * sysdeps/generic/ldconfig.h: Likewise.
47867
47868 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
47869
47870 * Versions.def: Add GLIBC_2.18.
47871 * include/link.h (struct link_map): New member l_tls_dtor_count.
47872 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
47873 (__call_tls_dtors): Likewise.
47874 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
47875 __cxa_thread_atexit_impl.
47876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47877 Likewise.
47878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47879 Likewise.
47880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47881 Likewise.
47882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47883 Likewise.
47884 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
47886 Likewise.
47887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
47888 Likewise.
47889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47891 Likewise.
47892 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
47893 (tests): Add test case tst-tls-atexit.
47894 (modules-names): Add shared library for tst-tls-atexit.
47895 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
47896 (GLIBC_PRIVATE): Add __call_tls_dtors.
47897 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
47898 for libstdc++.
47899 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
47900 * stdlib/tst-tls-atexit.c: New test case.
47901 * stdlib/tst-tls-atexit-lib.c: New test case.
47902
47903 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
47904
47905 * elf/Versions (ld): Add _dl_find_dso_for_object.
47906 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
47907 * elf/dl-open.c (_dl_find_dso_for_object): New function.
47908 (dl_open_worker): Use _dl_find_dso_for_object.
47909 * elf/dl-sym.c (do_sym): Likewise.
47910 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
47911
47912 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47913
47914 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
47915 Syntactic changes only.
47916 (_dl_runtime_profile): Do a tail-call to the resolved function.
47917
47918 2013-02-17 Joseph Myers <joseph@codesourcery.com>
47919
47920 [BZ #13550]
47921 * sysdeps/x86_64/bp-asm.h: Remove file.
47922 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
47923 <bp-sym.h> and <bp-asm.h>.
47924 (__clone): Do not use BP_SYM.
47925 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
47926 <bp-sym.h> and <bp-asm.h>.
47927 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47928 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
47929 "bp-asm.h".
47930 (_setjmp): Do not use BP_SYM.
47931 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
47932 "bp-asm.h".
47933 (setjmp): Do not use BP_SYM.
47934 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
47935 libc_hidden_def.
47936 (mempcpy): Do not use BP_SYM in weak_alias.
47937 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
47938 "bp-asm.h".
47939 (strchr): Do not use BP_SYM.
47940 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
47941 "bp-asm.h".
47942 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
47943 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
47944 (_start): Do not use BP_SYM.
47945 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
47946 "bp-asm.h".
47947 (strcat): Do not use BP_SYM.
47948 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
47949 "bp-asm.h".
47950 (STRCMP): Do not use BP_SYM.
47951 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
47952 "bp-asm.h".
47953 (STRCPY): Do not use BP_SYM.
47954 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
47955 "bp-asm.h".
47956 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
47957 "bp-asm.h".
47958 (FUNCTION): Do not use BP_SYM.
47959 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
47960 weak_alias.
47961 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
47962
47963 2013-02-17 Andreas Jaeger <aj@suse.de>
47964
47965 * time/Versions: Sort entries.
47966 * string/Versions: Likewise.
47967 * resolv/Versions: Likewise.
47968 * posix/Versions: Likewise.
47969 * iconv/Versions: Likewise.
47970 * elf/Versions: Likewise.
47971 * wcsmbs/Versions: Likewise.
47972
47973 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
47974
47975 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
47976 loop termination condition.
47977
47978 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
47979 variable to calculate EZ.
47980 (__sqr): Likewise.
47981
47982 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
47983 the lower precision input.
47984
47985 2013-02-15 Joseph Myers <joseph@codesourcery.com>
47986
47987 [BZ #13550]
47988 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
47989 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
47990 (run-via-rtld-prefix): Do not handle %-bp tests.
47991 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
47992 (all-object-suffixes): Remove .ob.
47993 (bppfx): Remove variable.
47994 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
47995 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
47996 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
47997 [$(build-bounded) = yes] (libtype.ob): Likewise.
47998 * Makerules (elide-routines.ob): Remove variable.
47999 (do-tests-clean): Do not handle *-bp.out.
48000 (common-mostlyclean): Do not handle *-bp and *-bp.out.
48001 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
48002 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
48003 (tests): Do not include $(tests-bp.out).
48004 (xtests): Do not include $(xtests-bp.out).
48005 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
48006 [$(build-bounded) = yes] ($(addprefix
48007 $(objpfx),$(binaries-bounded))): Remove rule.
48008 ($(objpfx)%-bp.out): Remove rule.
48009 * config.make.in (build-bounded): Remove variable.
48010 * crypt/Makefile [$(build-bounded) = yes]
48011 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
48012 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
48013 append to variable.
48014 [$(build-bounded) = yes] (install-lib): Likewise.
48015 [$(build-bounded) = yes] (generated): Likewise.
48016 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
48017 Remove rule.
48018 * intl/Makefile [$(build-bounded) = yes]
48019 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
48020 * math/Makefile [$(build-bounded) = yes]
48021 ($(tests:%=$(objpfx)%-bp): Likewise.
48022 * misc/Makefile [$(build-bounded) = yes]
48023 ($(objpfx)tst-tsearch-bp): Likewise.
48024 * nptl/Makeconfig (bounded-thread-library): Remove variable.
48025 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
48026 Remove dependency.
48027 * string/Makefile (o-objects.ob): Remove variable.
48028 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
48029 (CFLAGS-.ob): Remove variable.
48030 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
48031 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
48032 both definitions of variable.
48033 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
48034 (ASFLAGS-.ob): Remove variable.
48035
48036 2013-02-14 Joseph Myers <joseph@codesourcery.com>
48037
48038 [BZ #13550]
48039 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
48040 Remove __BOUNDED_POINTERS__ from condition.
48041 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
48042 * string/bits/string2.h [!__NO_STRING_INLINES &&
48043 !__BOUNDED_POINTERS__]: Likewise.
48044 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
48045 Likewise.
48046 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
48047 Remove conditional code.
48048 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
48049 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
48050 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
48051 condition.
48052
48053 [BZ #13550]
48054 * csu/libc-start.c: Do not include <bp-sym.h>.
48055 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
48056 * elf/dl-open.c: Do not include <bp-sym.h>.
48057 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
48058 * math/fegetenv.c: Do not include <bp-sym.h>.
48059 (fegetenv): Do not use BP_SYM in versioned symbols.
48060 * nptl/sysdeps/pthread/bits/libc-lockP.h
48061 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
48062 <bp-sym.h>.
48063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48064 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
48065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48066 (__pthread_mutex_destroy): Likewise.
48067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48068 (__pthread_mutex_lock): Likewise.
48069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48070 (__pthread_mutex_trylock): Likewise.
48071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48072 (__pthread_mutex_unlock): Likewise.
48073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48074 (__pthread_mutexattr_init): Likewise.
48075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48076 (__pthread_mutexattr_destroy): Likewise.
48077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48078 (__pthread_mutexattr_settype): Likewise.
48079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48080 (__pthread_rwlock_init): Likewise.
48081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48082 (__pthread_rwlock_destroy): Likewise.
48083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48084 (__pthread_rwlock_rdlock): Likewise.
48085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48086 (__pthread_rwlock_tryrdlock): Likewise.
48087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48088 (__pthread_rwlock_wrlock): Likewise.
48089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48090 (__pthread_rwlock_trywrlock): Likewise.
48091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48092 (__pthread_rwlock_unlock): Likewise.
48093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48094 (__pthread_key_create): Likewise.
48095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48096 (__pthread_setspecific): Likewise.
48097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48098 (__pthread_getspecific): Likewise.
48099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
48100 Likewise.
48101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48102 (_pthread_cleanup_push_defer): Likewise.
48103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48104 (_pthread_cleanup_pop_restore): Likewise.
48105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48106 (pthread_setcancelstate): Likewise.
48107 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
48108 <bp-sym.h>.
48109 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
48110 (memchr): Do not use BP_SYM in weak_alias.
48111 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
48112 (fegetenv): Do not use BP_SYM in versioned symbols.
48113 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
48114 (fesetenv): Do not use BP_SYM in versioned symbols.
48115 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48116 (feupdateenv): Do not use BP_SYM in versioned symbols.
48117 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48118 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48119 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
48120 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
48121 (open64): Do not use BP_SYM in weak_alias.
48122 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
48123 (fegetenv): Do not use BP_SYM in versioned symbols.
48124 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
48125 (fesetenv): Do not use BP_SYM in versioned symbols.
48126 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48127 (feupdateenv): Do not use BP_SYM in versioned symbols.
48128 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
48129 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
48130 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
48131 (feraiseexcept): Do not use BP_SYM in versioned symbols.
48132 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48133 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48134 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
48135 <bp-sym.h>.
48136 (__libc_start_main): Do not use BP_SYM.
48137
48138 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
48139
48140 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
48141 redundant return line.
48142 (norm): Likewise.
48143 (denorm): Likewise.
48144 (dbl_mp): Likewise.
48145 (sub_magnitudes): Likewise.
48146 (__add): Likewise.
48147 (__sub): Likewise.
48148 (__mul): Likewise.
48149 (__inv): Likewise.
48150 (__dvd): Likewise.
48151 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
48152 (norm): Likewise.
48153 (denorm): Likewise.
48154 (dbl_mp): Likewise.
48155 (sub_magnitudes): Likewise.
48156 (__add): Likewise.
48157 (__sub): Likewise.
48158 (__mul): Likewise.
48159 (__inv): Likewise.
48160 (__dvd): Likewise.
48161
48162 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
48163 instead of __mul.
48164 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48165 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
48166 (cc32): Likewise.
48167
48168 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
48169 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
48170 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
48171 of __mul for squares.
48172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
48173 function
48174 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
48175 Likewise.
48176 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
48177 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48178
48179 2013-02-13 Joseph Myers <joseph@codesourcery.com>
48180
48181 [BZ #13550]
48182 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
48183 code.
48184 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
48185 prototype or function definition. Rename ubp_* variables and
48186 parameters. Remove argv definitions conditional on
48187 [__BOUNDED_POINTERS__].
48188 * debug/backtrace.c (__backtrace): Do not use __unbounded.
48189 * elf/dl-runtime.c (_dl_fixup): Likewise.
48190 * include/set-hooks.h (RUN_HOOK): Likewise.
48191 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
48192 definition.
48193 * string/strcpy.c (strcpy): Do not use __unbounded.
48194 * sysdeps/generic/frame.h (struct layout): Likewise.
48195 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
48196 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
48197 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
48198 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
48199 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
48200 (__backtrace): Likewise.
48201 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
48202 use __ptrvalue.
48203 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
48204 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48205 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
48206 Likewise.
48207 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
48208 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
48209 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48210 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48211 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
48212 Do not use __unbounded.
48213 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
48214 Rename __unboundedrlimits parameter to rlimits in prototype.
48215 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
48216 Do not use __unbounded.
48217 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
48218 not use __ptrvalue.
48219 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48220 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
48221 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48222 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
48223 __ptrvalue or __unbounded.
48224 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
48225 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
48226 use __unbounded.
48227 (__new_msgctl): Do not use __ptrvalue.
48228 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
48229 __unbounded.
48230 (__libc_msgrcv): Do not use __ptrvalue.
48231 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
48232 startup_info): Do not use __unbounded.
48233 (__libc_start_main): Likewise. Rename ubp_* variables and
48234 parameters. Remove argv definitions conditional on
48235 [__BOUNDED_POINTERS__].
48236 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
48237 __ptrvalue.
48238 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
48239 use __unbounded.
48240 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
48241 or __ptrvalue.
48242 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
48243 use __unbounded.
48244 (__new_shmctl): Do not use __ptrvalue.
48245 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
48246 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
48247 Likewise.
48248 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
48249 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
48250 (__libc_sigaction): Likewise.
48251 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
48252 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
48253 Likewise.
48254 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48255
48256 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
48257
48258 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
48259
48260 * string/mempcpy.c: Implement by calling memcpy.
48261
48262 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
48263
48264 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
48265
48266 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
48267 evaluation.
48268
48269 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
48270 values in the mantissa.
48271
48272 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
48273 minimize writes to Z.
48274 (sub_magnitudes): Simplify code a bit.
48275
48276 2013-02-12 Roland McGrath <roland@hack.frob.com>
48277
48278 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
48279 from the message. The linker prefixes all warnings with that already.
48280
48281 2013-02-12 Andreas Schwab <schwab@suse.de>
48282
48283 [BZ #15078]
48284 * posix/regexec.c (extend_buffers): Add parameter min_len.
48285 (check_matching): Pass minimum needed length.
48286 (clean_state_log_if_needed): Likewise.
48287 (get_subexp): Likewise.
48288 * posix/Makefile (tests): Add bug-regex34.
48289 (bug-regex34-ENV): Define.
48290 * posix/bug-regex34.c: New file.
48291
48292 [BZ #11561]
48293 * posix/regcomp.c (parse_bracket_exp): When looking up collating
48294 elements compare against the byte sequence of it, not its name.
48295 * posix/Makefile (tests): Add bug-regex35.
48296 (bug-regex35-ENV): Define.
48297 * posix/bug-regex35.c: New file.
48298
48299 2013-02-11 Tom de Vries <tom@codesourcery.com>
48300
48301 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
48302 comment.
48303 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
48304 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
48305 (CHECK_EOL): Add undef.
48306
48307 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
48308
48309 * bits/stdlib-bsearch.h: New file.
48310 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
48311 * stdlib/stdlib.h: Likewise.
48312
48313 2013-02-11 Roland McGrath <roland@hack.frob.com>
48314
48315 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
48316 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
48317 declaration.
48318 * manual/search.texi (Array Search Function): Add missing const in
48319 lfind prototype.
48320 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
48321 declaration to use rlim_t.
48322 (Basic Scheduling Functions): Remove erroneous const from
48323 sched_getparam prototype. Remove erroneous * from
48324 sched_get_priority_max and sched_get_priority_min prototypes.
48325 (Resource Usage): Fix summary @comment on vtimes to refer to
48326 sys/vtimes.h rather than vtimes.h.
48327 Add missing *s in vtimes prototype.
48328 (Limits on Resources): Fix ulimit prototype to return long int.
48329 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
48330 prototypes to use long int rather than double.
48331 (BSD Random): Fix initstate and setstate to use char *, not void *.
48332 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
48333 prototype to make second argument 'struct aiocb64 *const[]'.
48334 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
48335 (Status of AIO Operations): Remove erroneous const in aio_return and
48336 aio_return64 prototypes.
48337 (Synchronizing I/O): Fix sync prototype to return void.
48338 * manual/startup.texi (Suboptions): Remove an erroneous const in
48339 getsubopt prototype.
48340 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
48341 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
48342 use size_t rather than int.
48343 (Scanning All Users): Likewise for getpwent_r.
48344 (Setting Groups): Add missing const to setgroups prototype.
48345 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
48346 * manual/socket.texi (Host Names): Fix gethostbyaddr and
48347 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
48348 'const void *' rather than 'const char *'.
48349 (Host Address Functions): Likewise for inet_ntop.
48350 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
48351 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
48352 ssize_t for return value.
48353 (Sending Data): Likewise for send, sendto, sendmsg.
48354 (Socket Option Functions): Add a missing const in setsockopt prototype.
48355 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
48356 use wchar_t for the argument.
48357 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
48358 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
48359 take no arguments.
48360 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
48361 double/float/long double for second argument.
48362 Fix return types of significand, significandf, significandl.
48363 * manual/filesys.texi (Setting Permissions): Use mode_t for second
48364 argument in fchmod prototype.
48365 (File Owner): Use uid_t and gid_t in fchown prototype.
48366 (File Times): Add const to utimes, futimes, and lutimes prototypes.
48367 (Making Special Files): Use mode_t and dev_t in mknod prototype.
48368 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
48369 use 'const struct dirent **' as argument types to CMP function pointer
48370 argument.
48371 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
48372 (File Times): Fix summary magic @comment for struct utimbuf and utime
48373 to refer to utime.h, not time.h.
48374 * manual/string.texi (Argz Functions): Add missing const in
48375 argz_extract and argz_next prototypes.
48376 (Finding Tokens in a String): Likewise for basename.
48377 (String/Array Comparison): Fix typo in wcscasecmp prototype.
48378 (Copying and Concatenation): Fix typo in wmemmove prototype.
48379 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
48380 (Signal Stack): Remove erroneous const in sigstack prototype.
48381 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
48382 prototype.
48383 (Simple Calendar Time): Likewise for stime.
48384 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
48385 prototype.
48386 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
48387 say sys/sysctl.h instead.
48388 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
48389 and vsyslog prototypes.
48390
48391 2013-02-11 Tom de Vries <tom@codesourcery.com>
48392
48393 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
48394 Remove.
48395
48396 2013-02-11 Roland McGrath <roland@hack.frob.com>
48397
48398 * misc/sys/mman.h: Fix typo in mremap comment.
48399
48400 2013-02-08 Roland McGrath <roland@hack.frob.com>
48401
48402 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
48403 the '\0' terminator.
48404
48405 2013-02-08 Joseph Myers <joseph@codesourcery.com>
48406
48407 [BZ #13550]
48408 * debug/segfault.c: Don't include <bp-checks.h>.
48409 * sysdeps/generic/bp-checks.h: Remove file.
48410 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
48411 (__GETDENTS): Don't use CHECK_N.
48412 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
48413 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
48414 (__getgroups): Don't use CHECK_N.
48415 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
48416 (setgroups): Don't use CHECK_N.
48417 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
48418 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
48419 (__libc_msgrcv): Don't use CHECK_N.
48420 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
48421 (__libc_msgsnd): Don't use CHECK_N.
48422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
48423 <bp-checks.h>.
48424 (__libc_pread): Don't use CHECK_N.
48425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
48426 include <bp-checks.h>.
48427 (__libc_pread64): Don't use CHECK_N.
48428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
48429 include <bp-checks.h>.
48430 (__libc_pwrite): Don't use CHECK_N.
48431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
48432 include <bp-checks.h>.
48433 (__libc_pwrite64): Don't use CHECK_N.
48434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
48435 <bp-checks.h>.
48436 (__libc_pread): Don't use CHECK_N.
48437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
48438 include <bp-checks.h>.
48439 (__libc_pread64): Don't use CHECK_N.
48440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
48441 include <bp-checks.h>.
48442 (__libc_pwrite): Don't use CHECK_N.
48443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
48444 include <bp-checks.h>.
48445 (__libc_pwrite64): Don't use CHECK_N.
48446 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
48447 (do_pread): Don't use CHECK_N.
48448 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
48449 (do_pread64): Don't use CHECK_N.
48450 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
48451 (do_pwrite): Don't use CHECK_N.
48452 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
48453 (do_pwrite64): Don't use CHECK_N.
48454 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
48455 (__libc_readv): Don't use CHECK_N.
48456 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
48457 (semop): Don't use CHECK_N.
48458 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
48459 <bp-checks.h>.
48460 (semtimedop): Don't use CHECK_N.
48461 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
48462 (__libc_pread): Don't use CHECK_N.
48463 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
48464 <bp-checks.h>.
48465 (__libc_pread64): Don't use CHECK_N.
48466 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
48467 <bp-checks.h>.
48468 (__libc_pwrite): Don't use CHECK_N.
48469 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
48470 <bp-checks.h>.
48471 (__libc_pwrite64): Don't use CHECK_N.
48472 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
48473 <bp-checks.h>.
48474 (__libc_msgrcv): Don't use CHECK_N.
48475 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
48476 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
48477 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
48478 (__libc_writev): Don't use CHECK_N.
48479
48480 2013-02-08 Roland McGrath <roland@hack.frob.com>
48481
48482 * string/strcpy.c: Removed unused variable.
48483
48484 * Makeconfig (+sysdep-includes): Define with := rather than =.
48485 Use an existing include/ subdir of each sysdeps dir before it.
48486
48487 2013-02-08 Carlos O'Donell <carlos@redhat.com>
48488
48489 * nscd/connection.c (register_traced_file): Comment function.
48490 [HAVE_INOTIFY] (union __inev): Define.
48491 [HAVE_INOTIFY] (inotify_check_files): New function.
48492 [HAVE_INOTIFY] (clear_db_cache): Likewise.
48493 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
48494 clear_db_cache.
48495 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
48496
48497 2013-02-08 Carlos O'Donell <carlos@redhat.com>
48498
48499 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
48500 loaded if not already and that a failure is permanent.
48501
48502 2013-02-08 Carlos O'Donell <carlos@redhat.com>
48503
48504 [BZ #15006]
48505 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
48506 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
48507
48508 2013-02-08 Joseph Myers <joseph@codesourcery.com>
48509
48510 [BZ #13550]
48511 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
48512 (CHECK_1_NULL_OK): Likewise.
48513 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
48514 (__fxstat): Do not use CHECK_1.
48515 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
48516 <bp-checks.h>.
48517 (___fxstat64): Do not use CHECK_1.
48518 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48519 <bp-checks.h>.
48520 (__fxstatat): Do not use CHECK_1.
48521 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48522 <bp-checks.h>.
48523 (__fxstatat64): Do not use CHECK_1.
48524 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
48525 <bp-checks.h>.
48526 (__fxstat): Do not use CHECK_1.
48527 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48528 <bp-checks.h>.
48529 (__fxstatat): Do not use CHECK_1.
48530 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48531 <bp-checks.h>.
48532 (__getresgid): Do not use CHECK_1.
48533 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48534 <bp-checks.h>.
48535 (__getresuid): Do not use CHECK_1.
48536 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
48537 <bp-checks.h>.
48538 (__lxstat): Do not use CHECK_1.
48539 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48540 <bp-checks.h>.
48541 (__old_msgctl): Do not use CHECK_1.
48542 (__new_msgctl): Likewise.
48543 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
48544 <bp-checks.h>.
48545 (__new_setrlimit): Do not use CHECK_1.
48546 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48547 <bp-checks.h>.
48548 (__old_shmctl): Do not use CHECK_1.
48549 (__new_shmctl): Likewise.
48550 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
48551 <bp-checks.h>.
48552 (__xstat): Do not use CHECK_1.
48553 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
48554 (__lxstat): Do not use CHECK_1.
48555 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
48556 <bp-checks.h>.
48557 (___lxstat64): Do not use CHECK_1.
48558 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
48559 (__old_msgctl): Do not use CHECK_1.
48560 (__new_msgctl): Likewise.
48561 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
48562 <bp-checks.h>.
48563 (__gettimeofday): Do not use CHECK_1.
48564 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
48565 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
48566 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
48567 <bp-checks.h>.
48568 (__gettimeofday): Do not use CHECK_1.
48569 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
48570 (__old_shmctl): Do not use CHECK_1_NULL_OK.
48571 (__new_shmctl): Do not use CHECK_1.
48572 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
48573 <bp-checks.h>.
48574 (do_sigtimedwait): Do not use CHECK_1.
48575 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
48576 <bp-checks.h>.
48577 (do_sigwaitinfo): Do not use CHECK_1.
48578 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
48579 <bp-checks.h>.
48580 (msgctl): Do not use CHECK_1.
48581 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
48582 <bp-checks.h>.
48583 (shmctl): Do not use CHECK_1.
48584 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
48585 (ustat): Do not use CHECK_1.
48586 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
48587 <bp-checks.h>.
48588 (__fxstat): Do not use CHECK_1.
48589 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48590 <bp-checks.h>.
48591 (__fxstatat): Do not use CHECK_1.
48592 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
48593 <bp-checks.h>.
48594 (__lxstat): Do not use CHECK_1.
48595 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
48596 <bp-checks.h>.
48597 (__xstat): Do not use CHECK_1.
48598 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
48599 (__xstat): Do not use CHECK_1.
48600 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
48601 (___xstat64): Do not use CHECK_1.
48602
48603 [BZ #13550]
48604 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
48605 definitions.
48606 (CHECK_BOUNDS_HIGH): Likewise.
48607 * string/strcpy.c: Do not include <bp-checks.h>.
48608 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
48609
48610 2013-02-07 Roland McGrath <roland@hack.frob.com>
48611
48612 * nscd/nscd-client.h (__nscd_drop_map_ref):
48613 Add __attribute__ ((unused)).
48614 * nis/nss-nisplus.h (niserr2nss): Likewise.
48615
48616 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
48617 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
48618
48619 * csu/libc-tls.c (init_static_tls, init_slotinfo):
48620 Remove inline keyword.
48621 * include/rounding-mode.h (round_away): Likewise.
48622 * libio/wfileops.c (adjust_wide_data): Likewise.
48623 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
48624 (__m128i_strloadu_tolower): Likewise.
48625 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
48626 (__m128i_strloadu_tolower): Likewise.
48627 * time/mktime.c (ydhms_diff): Likewise.
48628 * locale/elem-hash.h (elem_hash): Likewise.
48629 * locale/setlocale.c (setdata): Likewise.
48630 * posix/regex_internal.h (re_string_char_size_at): Likewise.
48631 (re_string_wchar_at): Likewise.
48632 (bitset_not, bitset_merge, bitset_mask): Likewise.
48633 [!(__GNUC__ > 3)] (inline): Remove macro.
48634 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
48635 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
48636 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
48637 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
48638 * string/memcmp.c (memcmp_bytes): Likewise.
48639 * locale/programs/locarchive.c (compute_hashval): Likewise.
48640 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
48641 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
48642 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
48643 * nss/getent.c (print_rpc, print_protocols): Likewise.
48644 (print_passwd, print_group, print_aliases): Likewise.
48645 * nis/nss-nisplus.h (niserr2nss): Likewise.
48646 * nscd/connections.c (restart_p): Likewise.
48647 Change return type to bool.
48648
48649 2013-02-05 Roland McGrath <roland@hack.frob.com>
48650
48651 * Makeconfig (all-Depend-files): Add existing
48652 $(sorted-subdirs:=/Depend) files.
48653 (all-subdirs): Remove nss.
48654 * sysdeps/unix/inet/Subdirs: Add it here instead.
48655 * hesiod/Depend: New file.
48656
48657 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
48658 instead of calling alloca.
48659
48660 * io/lseek.c (__lseek): Rename to __libc_lseek.
48661 Define __lseek as an alias.
48662
48663 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
48664
48665 2013-02-04 Carlos O'Donell <carlos@redhat.com>
48666
48667 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
48668 else clause and remove check for non-standard endianness.
48669
48670 2013-02-04 David S. Miller <davem@davemloft.net>
48671
48672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48673
48674 2013-02-04 Joseph Myers <joseph@codesourcery.com>
48675
48676 [BZ #13550]
48677 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
48678 (__ubp_memchr): Remove prototype.
48679 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
48680 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48681 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
48682 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48683 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
48684 Remove alias.
48685 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
48686 (__ubp_memchr): Likewise.
48687 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
48688 (__ubp_memchr): Likewise.
48689 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
48690 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
48691 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
48692 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
48693 CHECK_STRING.
48694 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48695 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
48696 (__getcwd): Do not use CHECK_STRING.
48697 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48698 <bp-checks.h>.
48699 (__real_chown): Do not use CHECK_STRING.
48700 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
48701 <bp-checks.h>.
48702 (fchownat): Do not use CHECK_STRING.
48703 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
48704 CHECK_STRING.
48705 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48706 <bp-checks.h>.
48707 (__lchown): Do not use CHECK_STRING.
48708 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48709 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48710 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48711 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
48712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48713 include <bp-checks.h>.
48714 (truncate64): Do not use CHECK_STRING.
48715 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48716 <bp-checks.h>.
48717 (__real_chown): Do not use CHECK_STRING.
48718 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48719 <bp-checks.h>.
48720 (__lchown): Do not use CHECK_STRING.
48721 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48722 <bp-checks.h>.
48723 (__chown): Do not use CHECK_STRING.
48724 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
48725 <bp-checks.h>.
48726 (truncate64): Do not use CHECK_STRING.
48727 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
48728 Likewise.
48729 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
48730 (__xmknod): Do not use CHECK_STRING.
48731 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48732 <bp-checks.h>.
48733 (__xmknodat): Do not use CHECK_STRING.
48734 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48735 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
48736
48737 2013-02-04 Andreas Schwab <schwab@suse.de>
48738
48739 [BZ #14142]
48740 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
48741 * include/netdb.h: Likewise for h_errno.
48742 * elf/tst-stackguard1.c: Include <tls.h>.
48743
48744 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
48745
48746 * elf/link.h (struct link_map): Extend the l_addr comment.
48747 * include/link.h (struct link_map): Likewise.
48748
48749 2013-02-01 Joseph Myers <joseph@codesourcery.com>
48750
48751 [BZ #13550]
48752 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
48753 (BOUNDED_1): Remove macro.
48754 * debug/backtrace.c: Don't include <bp-checks.h>.
48755 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
48756 (__backtrace): Likewise.
48757 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
48758 <bp-checks.h>.
48759 (__backtrace): Don't use BOUNDED_1.
48760 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
48761 <bp-checks.h>.
48762 (__backtrace): Don't use BOUNDED_1.
48763 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
48764 (__backtrace): Don't use BOUNDED_1.
48765 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
48766 (shmat): Don't use BOUNDED_N.
48767
48768 2013-01-31 Joseph Myers <joseph@codesourcery.com>
48769
48770 [BZ #13550]
48771 * sysdeps/generic/bp-start.h: Remove file.
48772 * csu/libc-start.c: Don't include <bp-start.h>.
48773 (LIBC_START_MAIN): Set up __environ directly instead of using
48774 INIT_ARGV_and_ENVIRON.
48775 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
48776 <bp-start.h>.
48777
48778 [BZ #13550]
48779 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
48780 definitions.
48781 (CHECK_FCNTL): Likewise.
48782 (CHECK_N_PAGES): Likewise.
48783
48784 [BZ #13550]
48785 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
48786 definitions.
48787 (CHECK_SIGSET_NULL_OK): Likewise.
48788 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
48789 <bp-checks.h>.
48790 (sigpending): Don't use CHECK_SIGSET.
48791 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
48792 <bp-checks.h>.
48793 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48794 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
48795 <bp-checks.h>.
48796 (do_sigsuspend): Don't use CHECK_SIGSET.
48797 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
48798 use CHECK_SIGSET.
48799 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
48800 (do_sigwait): Don't use CHECK_SIGSET.
48801 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
48802 use CHECK_SIGSET.
48803 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
48804 include <bp-checks.h>.
48805 (sigpending): Don't use CHECK_SIGSET.
48806 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
48807 include <bp-checks.h>.
48808 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48809 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
48810 <bp-checks.h>.
48811 (sigpending): Don't use CHECK_SIGSET.
48812 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
48813 <bp-checks.h>.
48814 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48815
48816 [BZ #13550]
48817 * sysdeps/generic/bp-semctl.h: Remove file.
48818 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
48819 <bp-checks.h> and <bp-semctl.h>.
48820 (__old_semctl): Don't use CHECK_SEMCTL.
48821 (__new_semctl): Likewise.
48822 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
48823 and <bp-semctl.h>.
48824 (__old_semctl): Don't use CHECK_SEMCTL.
48825 (__new_semctl): Likewise.
48826 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
48827 <bp-checks.h> and <bp-semctl.h>.
48828 (__old_semctl): Don't use CHECK_SEMCTL.
48829 (__new_semctl): Likewise.
48830 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
48831 <bp-checks.h> and <bp-semctl.h>.
48832 (semctl): Don't use CHECK_SEMCTL.
48833
48834 [BZ #13550]
48835 * Makerules (elide-bp-thunks): Remove variable.
48836 (elide-routines.oS): Don't use $(elide-bp-thunks).
48837 (elide-routines.os): Likewise.
48838 (elide-routines.o): Likewise.
48839 (elide-routines.op): Likewise.
48840 (elide-routines.og): Likewise.
48841 (objects): Don't use $(bp-thunks).
48842 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
48843 include.
48844 (common-generated): Do not add s-proto-bp.d.
48845 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
48846 (int): Likewise.
48847 (typ): Likewise.
48848 Do not generate makefile rules for bounded-pointer thunks.
48849 * sysdeps/generic/bp-thunks.h: Remove file.
48850 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
48851 * sysdeps/unix/s-proto-bp.S: Likewise.
48852
48853 [BZ #15062]
48854 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
48855 parts of result separately when argument is not close to line from
48856 -i to i and one part of argument is small.
48857 * math/k_casinhf.c (__kernel_casinhf): Likewise.
48858 * math/k_casinhl.c (__kernel_casinhl): Likewise.
48859 * math/libm-test.inc (cacos_test): Add more tests.
48860 (casin_test): Likewise.
48861 (casinh_test): Likewise.
48862 * sysdeps/i386/fpu/libm-test-ulps: Update.
48863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48864
48865 2013-01-31 David S. Miller <davem@davemloft.net>
48866
48867 * po/de.po: Update from translation team.
48868
48869 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
48870
48871 * time/tzfile.c: Include stdint.h for SIZE_MAX.
48872
48873 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
48874
48875 * configure.in (_AC_PROG_CC_C89): New definition.
48876 * configure: Regenerate.
48877
48878 * configure.in (AC_PROG_CPP): New definition.
48879 * configure: Regenerate.
48880
48881 2013-01-23 Joseph Myers <joseph@codesourcery.com>
48882
48883 * debug/tst-backtrace.h: New file.
48884 * debug/tst-backtrace2.c: Include tst-backtrace.h.
48885 (ret): Remove variable.
48886 (x): Likewise.
48887 (FAIL): Remove macro.
48888 (NO_INLINE): Likewise.
48889 (fn1): Use match function instead of strstr.
48890 * debug/tst-backtrace3.c: Include tst-backtrace.h.
48891 (ret): Remove variable.
48892 (x): Likewise.
48893 (FAIL): Remove macro.
48894 (NO_INLINE): Likewise.
48895 (fn): Use match function instead of strstr.
48896 * debug/tst-backtrace4.c: Include tst-backtrace.h.
48897 (ret): Remove variable.
48898 (x): Likewise.
48899 (FAIL): Remove macro.
48900 (NO_INLINE): Likewise.
48901 (handle_signal): Use match function instead of strstr.
48902 * debug/tst-backtrace5.c: Include tst-backtrace.h.
48903 (ret): Remove variable.
48904 (x): Likewise.
48905 (FAIL): Remove macro.
48906 (NO_INLINE): Likewise.
48907 (handle_signal): Use match function instead of strstr.
48908
48909 2013-01-23 Roland McGrath <roland@hack.frob.com>
48910
48911 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
48912
48913 2013-01-23 David S. Miller <davem@davemloft.net>
48914
48915 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
48916 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
48917 argument of CAS if possible.
48918 * sysdeps/sparc/sparc64/bits/atomic.h
48919 (__arch_compare_and_exchange_val_32_acq): Likewise.
48920 (__arch_compare_and_exchange_val_64_acq): Likewise.
48921
48922 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
48923
48924 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
48925 * sysdeps/posix/ulimit.c: ... this.
48926 Include <limits.h>.
48927 * sysdeps/unix/bsd/ulimit.c: Remove file.
48928
48929 2013-01-23 Adam Conrad <adconrad@0c3.net>
48930
48931 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
48932 (LDFLAGS-tst-array5): Likewise.
48933
48934 2013-01-23 Joseph Myers <joseph@codesourcery.com>
48935
48936 [BZ #15036]
48937 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
48938 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
48939 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
48940 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
48941
48942 2013-01-21 David S. Miller <davem@davemloft.net>
48943
48944 * sysdeps/sparc/backtrace.c: New file.
48945 * sysdeps/sparc/sparc32/backtrace.h: New file.
48946 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
48947 * sysdeps/sparc/sparc64/backtrace.h: New file.
48948 * sysdeps/sparc/sparc64/backtrace.c: Delete.
48949 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
48950 -funwind-tables.
48951
48952 2013-01-21 Andreas Schwab <schwab@suse.de>
48953
48954 [BZ #15020]
48955 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
48956 closed its stdout.
48957
48958 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
48959
48960 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
48961 "mpa2.h".
48962 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48963
48964 2013-01-18 Joseph Myers <joseph@codesourcery.com>
48965 Mark Mitchell <mark@codesourcery.com>
48966 Tom de Vries <tom@codesourcery.com>
48967 Paul Pluzhnikov <ppluzhnikov@google.com>
48968
48969 * debug/tst-backtrace2.c: New file.
48970 * debug/tst-backtrace3.c: Likewise.
48971 * debug/tst-backtrace4.c: Likewise.
48972 * debug/tst-backtrace5.c: Likewise.
48973 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
48974 (CFLAGS-tst-backtrace3.c): Likewise.
48975 (CFLAGS-tst-backtrace4.c): Likewise.
48976 (CFLAGS-tst-backtrace5.c): Likewise.
48977 (LDFLAGS-tst-backtrace2): Likewise.
48978 (LDFLAGS-tst-backtrace3): Likewise.
48979 (LDFLAGS-tst-backtrace4): Likewise.
48980 (LDFLAGS-tst-backtrace5): Likewise.
48981 (tests): Add new tests tst-backtrace2, tst-backtrace3,
48982 tst-backtrace4 and tst-backtrace5.
48983
48984 2013-01-18 Anton Blanchard <anton@samba.org>
48985 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48986
48987 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
48988 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
48989 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
48990 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
48991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48992 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
48993 "+r" and remove output regs list as redundant. Add explicit inline
48994 asm to specify register of return val to work around compiler codegen
48995 bug. Remove (int) cast on return value. Add return type parameter to
48996 use in macro so that this macro does not truncate return value for
48997 64-bit values.
48998 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
48999 pass to INTERNAL_VSYSCALL_NCS.
49000 (INLINE_VSYSCALL): Add 'long int' as return type to
49001 INTERNAL_VSYSCALL_NCS macro invocation.
49002 (INTERNAL_VSYSCALL): Add 'long int' as return type to
49003 INTERNAL_VSYSCALL_NCS macro invocation.
49004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49005
49006 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
49007
49008 [BZ #14496]
49009 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
49010 Fix application of SIMD FP exception mask.
49011
49012 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
49013 mp_no from a power of two.
49014 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
49015 __mpexp_twomm1. Use __pow_mp.
49016
49017 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
49018 multiplication.
49019
49020 2013-01-17 David S. Miller <davem@davemloft.net>
49021
49022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49023
49024 2013-01-17 Joseph Myers <joseph@codesourcery.com>
49025
49026 [BZ #15023]
49027 * include/complex.h: Condition contents on [!_COMPLEX_H].
49028 (__kernel_casinhf): New prototype.
49029 (__kernel_casinh): Likewise.
49030 (__kernel_casinhl): Likewise.
49031 * math/Makefile (libm_calls): Add k_casinh.
49032 * math/k_casinh.c: New file.
49033 * math/k_casinhf.c: Likewise.
49034 * math/k_casinhl.c: Likewise.
49035 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
49036 finite nonzero arguments.
49037 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
49038 finite nonzero arguments.
49039 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
49040 finite nonzero arguments.
49041 * math/s_casinh.c: Do not include <float.h>.
49042 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
49043 * math/s_casinhf.c: Do not include <float.h>.
49044 (__casinhf): Move code for finite nonzero arguments to
49045 k_casinhf.c.
49046 * math/s_casinhl.c: Do not include <float.h>.
49047 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
49048 redefine.
49049 (__casinhl): Move code for finite nonzero arguments to
49050 k_casinhl.c.
49051 * math/libm-test.inc (cacos_test): Add more tests.
49052 * sysdeps/i386/fpu/libm-test-ulps: Update.
49053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49054
49055 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
49056
49057 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
49058 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
49059 [!HAVE_MREMAP]: Remove [defined linux] case.
49060 * malloc/arena.c: Do not include <malloc-sysdep.h>.
49061
49062 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
49063
49064 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
49065
49066 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
49067
49068 * elf/elf.h (R_386_SIZE32): New relocation.
49069 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
49070 R_386_SIZE32.
49071 (elf_machine_rela): Likewise.
49072 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49073 R_X86_64_SIZE64 and R_X86_64_SIZE32.
49074
49075 2013-01-17 Joseph Myers <joseph@codesourcery.com>
49076
49077 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
49078 (FP_FAST_FMA): Do not define.
49079 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
49080 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
49081 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
49082 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
49083 !_SOFT_FLOAT]: Likewise.
49084 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
49085 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
49086 value.
49087 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
49088 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
49089 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
49090 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
49091 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
49092 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
49093 file.
49094
49095 2013-01-16 Andreas Schwab <schwab@suse.de>
49096
49097 [BZ #14327]
49098 * include/stdlib.h (__mktemp): Add declaration.
49099 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
49100 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
49101
49102 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
49103
49104 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
49105 definitions.
49106 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49107 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
49108 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
49109 definitions here.
49110 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
49111 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
49112 definitions.
49113 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
49114 and ONE.
49115 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
49116 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
49117 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
49118 definitions.
49119 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
49120 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
49121 definitions.
49122 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49123
49124 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
49125
49126 2013-01-15 David S. Miller <davem@davemloft.net>
49127
49128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49129 trunc{,f} to libm-sysdep_routes.
49130 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
49132 file.
49133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
49134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
49135 file.
49136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
49137 file.
49138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
49139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
49140 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
49141 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
49142 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
49143 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
49144 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
49145 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
49146
49147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49148 nearbyint{,f} to libm-sysdep_routes.
49149 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
49151 New file.
49152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
49153 file.
49154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
49155 New file.
49156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
49157 file.
49158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
49159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
49160 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
49161 file.
49162 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
49163 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
49164 file.
49165 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
49166 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
49167 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
49168
49169 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49170 libc_feholdexcept and libc_fesetenv.
49171
49172 2013-01-15 Mike Frysinger <vapier@gentoo.org>
49173
49174 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
49175
49176 2013-01-14 David S. Miller <davem@davemloft.net>
49177
49178 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
49179 (SPARC_ASM_VIS2_IFUNC): Likewise.
49180 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
49181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
49182 use of 'siam' instruction.
49183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
49184 Likewise.
49185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
49186 Likewise.
49187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
49188 Likewise.
49189 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
49190 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
49191 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
49192 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
49193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
49194 file.
49195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
49196 file.
49197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
49198 file.
49199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
49200 file.
49201 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
49202 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
49203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
49204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
49205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
49206 new VIS2 routines.
49207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49210 Likewise.
49211 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49212 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49213 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
49216 routines to libm-sysdep_routines.
49217 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49218
49219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49220 fdim/fdimf to libm-sysdep_routines.
49221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
49222 file.
49223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
49224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
49225 file.
49226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
49227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
49228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
49229 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
49230 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
49231 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
49232 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
49233
49234 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
49235
49236 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
49237 to optimize copies.
49238
49239 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
49240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49242
49243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
49244 local variable MPTWO.
49245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49246 Likewise.
49247
49248 2013-01-13 Mike Frysinger <vapier@gentoo.org>
49249
49250 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
49251 GLOB_NOESCAPE.
49252
49253 2013-01-13 Mike Frysinger <vapier@gentoo.org>
49254
49255 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
49256
49257 2013-01-13 Mike Frysinger <vapier@gentoo.org>
49258
49259 * manual/pattern.texi (glob_t): Document gl_flags.
49260 (glob64_t): Likewise.
49261
49262 2013-01-11 David S. Miller <davem@davemloft.net>
49263
49264 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
49265 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
49266 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
49267 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
49268 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
49269 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
49270 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
49271 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
49272 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
49273 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
49274 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
49275 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
49276 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
49277
49278 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49279 sparc V9 rather than using V8 code.
49280 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49281 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49282
49283 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49284 Move to...
49285 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
49286 Here.
49287
49288 2013-01-11 Roland McGrath <roland@hack.frob.com>
49289
49290 [BZ #14941]
49291 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
49292 not in the main loop.
49293 * configure: Regenerated.
49294
49295 2013-01-11 Joseph Myers <joseph@codesourcery.com>
49296
49297 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
49298 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
49299 to just #else.
49300 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
49301 [!__GLIBC_HAVE_LONG_LONG] case.
49302 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
49303 condition to just #else.
49304 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
49305 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
49306 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
49307 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
49308 unconditional.
49309 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
49310 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49311 #elif condition to just #else.
49312 * sysdeps/unix/sysv/linux/sys/sysmacros.h
49313 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
49314 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49315 #elif condition to just #else.
49316
49317 2013-01-11 Steve Ellcey <sellcey@mips.com>
49318
49319 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
49320 (EF_MIPS_ARCH_64): Fix value.
49321 (EF_MIPS_ARCH_32R2): New.
49322 (EF_MIPS_ARCH_64R2): New.
49323
49324 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
49325
49326 * Makeconfig (+link-pie-before-libc): New.
49327 (+link-pie-after-libc): Likewise.
49328 (+link-pie-tests): Likewise.
49329 (+link-pie): Rewritten.
49330 (link-before-libc): Remove $(config-LDFLAGS).
49331 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
49332 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
49333 (config-LDFLAGS): Renamed to ...
49334 (rtld-LDFLAGS): This.
49335 (rtld-tests-LDFLAGS): New macro.
49336 (link-libc-rpath-link): Likewise.
49337 (link-libc-tests-rpath-link): Likewise.
49338 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
49339 (link-libc): Prepand $(link-libc-rpath-link).
49340 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
49341 (test-program-prefix): New macro.
49342 (test-via-rtld-prefix): Likewise.
49343 (test-program-cmd): Likewise.
49344 (host-test-program-cmd): Likewise.
49345 * Makefile ($(common-objpfx)testrun.sh): Replace
49346 $(run-program-prefix) with $(test-program-prefix).
49347 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
49348 $(rtld-LDFLAGS).
49349 ($(common-objpfx)shlib.lds): Likewise.
49350 (build-module-helper): Likewise.
49351 ($(common-objpfx)format.lds): Likewise.
49352 * Rules (binaries-pie-tests): New.
49353 (binaries-pie-notests): Likewise.
49354 (binaries-pie): Rewritten.
49355 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
49356 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
49357 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
49358 (make-test-out): Replace $(host-built-program-cmd) with
49359 $(host-test-program-cmd).
49360 * config.make.in (build-hardcoded-path-in-tests): New variable.
49361 * configure.in (--enable-hardcoded-path-in-tests): New configure
49362 option.
49363 (hardcoded_path_in_tests): New AC_SUBST.
49364 * configure: Regenerated.
49365 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
49366 $(built-program-cmd) with $(test-program-cmd).
49367 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
49368 (test_program_cmd): This.
49369 * elf/Makefile ($(objpfx)order.out): Run test with
49370 $(test-program-prefix).
49371 ($(objpfx)order2.out): Likewise.
49372 ($(objpfx)tst-initorder.out): Likewise.
49373 ($(objpfx)tst-initorder2.out): Likewise.
49374 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
49375 $(test-program-cmd).
49376 ($(objpfx)tst-array1-static.out): Likewise.
49377 ($(objpfx)tst-array2.out): Likewise.
49378 ($(objpfx)tst-array3.out): Likewise.
49379 ($(objpfx)tst-array4.out): Likewise.
49380 ($(objpfx)tst-array5.out): Likewise.
49381 ($(objpfx)tst-array5-static.out): Likewise.
49382 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
49383 $(test-program-cmd).
49384 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
49385 $(run-program-prefix) with $(test-program-prefix).
49386 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
49387 (test_program_prefix): This.
49388 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
49389 $(run-program-prefix) with $(test-program-prefix).
49390 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
49391 (test_program_prefix): This.
49392 * iconvdata/tst-tables.sh: Likewise.
49393 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
49394 $(run-program-prefix) with $(test-program-prefix).
49395 ($(objpfx)tst-translit.out): Likewise.
49396 ($(objpfx)tst-gettext2.out): Likewise.
49397 ($(objpfx)tst-gettext4.out): Likewise.
49398 ($(objpfx)tst-gettext6.out): Likewise.
49399 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
49400 (test_program_prefix): This.
49401 * intl/tst-gettext2.sh: Likewise.
49402 * intl/tst-gettext4.sh Likewise.
49403 * intl/tst-gettext6.sh: Likewise.
49404 * intl/tst-translit.sh: Likewise.
49405 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
49406 with $(test-program-cmd).
49407 * libio/Makefile ($(objpfx)test-freopen.out): Replace
49408 $(run-program-prefix) with $(test-program-prefix).
49409 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
49410 (test_program_prefix): This.
49411 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
49412 $(run-program-prefix) with $(test-program-prefix).
49413 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
49414 (test_program_prefix): This.
49415 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
49416 * posix/Makefile ($(objpfx)globtest.out): Replace
49417 $(run-via-rtld-prefix) and $(test-wrapper) with
49418 $(test-program-prefix) and $(test-via-rtld-prefix).
49419 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
49420 $(test-program-prefix).
49421 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
49422 $(host-test-program-cmd).
49423 (tst-spawn-ARGS): Likewise.
49424 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
49425 $(test-program-prefix).
49426 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
49427 (test_via_rtld_prefix): This.
49428 (test_wrapper): Renamed to ...
49429 (test_program_prefix): This.
49430 (run_program_prefix): Replaced by test_program_prefix.
49431 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
49432 (test_program_prefix): This.
49433 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
49434 with $(host-test-program-cmd).
49435 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
49436 $(run-program-prefix) with $(test-program-prefix).
49437 ($(objpfx)tst-printf.out): Likewise.
49438 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
49439 $(test-program-cmd).
49440 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
49441 (test_program_prefix): This.
49442 * stdio-common/tst-unbputc.sh: Likewise.
49443 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
49444 $(run-program-prefix) with $(test-program-prefix).
49445 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
49446 (test_program_prefix): This.
49447 * string/Makefile ($(objpfx)tst-svc.out): Replace
49448 $(built-program-cmd) with $(test-program-cmd).
49449
49450 2013-01-11 Andreas Jaeger <aj@suse.de>
49451
49452 [BZ #15003]
49453 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
49454 value. Sync with Linux 3.7.
49455
49456 2013-01-10 David S. Miller <davem@davemloft.net>
49457
49458 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
49459 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49460 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49461
49462 2013-01-10 Roland McGrath <roland@hack.frob.com>
49463
49464 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
49465 never set.
49466 * configure: Regenerated.
49467
49468 2013-01-10 David S. Miller <davem@davemloft.net>
49469
49470 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49471 sparc V9 rather than using V8 code.
49472 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49473 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49474
49475 2013-01-10 Roland McGrath <roland@hack.frob.com>
49476
49477 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
49478 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
49479 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
49480 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
49481 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
49482 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
49483 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
49484 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
49485 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
49486 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
49487 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
49488 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
49489 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
49490 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
49491 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
49492 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
49493 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
49494 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
49495 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
49496 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
49497 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
49498 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
49499 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
49500 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
49501 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
49502 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
49503 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
49504
49505 2013-01-10 David S. Miller <davem@davemloft.net>
49506
49507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49508
49509 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
49510
49511 * posix/Makefile (tests-static): New variable.
49512 (tests): Add $(tests-static).
49513 (tst-exec-static-ARGS): New variable.
49514 (tst-spawn-static-ARGS): Likewise.
49515 * posix/tst-exec-static.c: New file.
49516 * posix/tst-spawn-static.c: Likewise.
49517 * posix/tst-exec.c: Support run directly.
49518 * posix/tst-spawn.c: Likewise.
49519
49520 2013-01-10 Joseph Myers <joseph@codesourcery.com>
49521
49522 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
49523 long.
49524 * math/bits/mathcalls.h (llrint): Likewise.
49525 (llround): Likewise.
49526 * stdlib/stdlib.h (struct drand48_data): Likewise.
49527 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
49528 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
49529 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
49530 Likewise.
49531 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
49532 Likewise.
49533 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
49534 (elf_greg_t): Likewise.
49535 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
49536 (__jmp_buf): Likewise.
49537 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
49538 definitions.
49539 (llrint): Likewise, for all definitions.
49540 (llrintl): Likewise.
49541
49542 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
49543 Remove [__GNUC__] condition.
49544 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
49545 condition to just [__USE_ISOC99].
49546 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
49547
49548 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
49549
49550 [BZ #14200]
49551 * sysdeps/unix/sysv/linux/x86/bits/environments.h
49552 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
49553 defined.
49554 (_POSIX_V6_ILP32_OFF32): Likewise.
49555 (_XBS5_ILP32_OFF32): Likewise.
49556 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
49557 (__ILP32_OFFBIG_LDFLAGS): Likewise.
49558
49559 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49560
49561 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
49562
49563 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
49564 doubles __mpexp_twomm1. Adjust usage.
49565 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
49566 Remove.
49567
49568 2013-01-10 Andreas Schwab <schwab@suse.de>
49569
49570 [BZ #14964]
49571 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
49572 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
49573
49574 2013-01-09 David S. Miller <davem@davemloft.net>
49575
49576 [BZ #15003]
49577 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
49578 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
49579 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
49580 (TCP_FASTOPEN): Define.
49581 (tcp_repair_opt): New structure.
49582 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
49583 enum values.
49584 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
49585 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
49586 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
49587 (tcp_cookie_transactions): New structure.
49588
49589 2013-01-09 Anton Blanchard <anton@samba.org>
49590
49591 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
49592 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
49593 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
49594 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
49595
49596 2013-01-09 Joseph Myers <joseph@codesourcery.com>
49597
49598 * include/features.h (__USE_ANSI): Remove.
49599
49600 2013-01-09 Roland McGrath <roland@hack.frob.com>
49601
49602 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
49603
49604 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
49605
49606 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
49607
49608 * sysdeps/s390/fpu/libm-test-ulps: Update.
49609
49610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49611
49612 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
49613 (__acr): Likewise.
49614 (__cpy): Likewise.
49615 (norm): Likewise.
49616 (denorm): Likewise.
49617 (__mp_dbl): Likewise.
49618 (__dbl_mp): Likewise.
49619 (add_magnitudes): Likewise.
49620 (sub_magnitudes): Likewise.
49621 (__add): Likewise.
49622 (__sub): Likewise.
49623 (__mul): Likewise.
49624 (__inv): Likewise.
49625 (__dvd): Likewise.
49626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
49627 (__acr): Likewise.
49628 (__cpy): Likewise.
49629 (norm): Likewise.
49630 (denorm): Likewise.
49631 (__mp_dbl): Likewise.
49632 (__dbl_mp): Likewise.
49633 (add_magnitudes): Likewise.
49634 (sub_magnitudes): Likewise.
49635 (__add): Likewise.
49636 (__sub): Likewise.
49637 (__mul): Likewise.
49638 (__inv): Likewise.
49639 (__dvd): Likewise.
49640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
49641 (__acr): Likewise.
49642 (__cpy): Likewise.
49643 (norm): Likewise.
49644 (denorm): Likewise.
49645 (__mp_dbl): Likewise.
49646 (__dbl_mp): Likewise.
49647 (add_magnitudes): Likewise.
49648 (sub_magnitudes): Likewise.
49649 (__add): Likewise.
49650 (__sub): Likewise.
49651 (__mul): Likewise.
49652 (__inv): Likewise.
49653 (__dvd): Likewise.
49654
49655 2013-01-08 Joseph Myers <joseph@codesourcery.com>
49656
49657 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
49658 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
49659 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
49660 2 && __USE_EXTERN_INLINES]: Likewise.
49661
49662 2013-01-08 Andreas Jaeger <aj@suse.de>
49663
49664 [BZ# 14985]
49665 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
49666 Remove.
49667 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49668 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49669
49670 2013-01-07 Anton Blanchard <anton@samba.org>
49671
49672 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
49673 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49674 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
49675 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49676 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49677 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49678 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
49679 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49681 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49682 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49683 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49684 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49685 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49686 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49687 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49688 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49689 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49690 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49691 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49692 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49693 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
49694 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49695 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49696 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
49697 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49698 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49699 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49700 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
49701 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49702 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49703 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49704 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49705 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49706 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49707 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49708 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49709 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
49710 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
49711 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49712 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
49713 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49714 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49715
49716 2013-01-07 Joseph Myers <joseph@codesourcery.com>
49717
49718 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
49719 (__MALLOC_PMT): Likewise.
49720 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
49721 [__GNUC__], only on [_LIBC].
49722 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49723 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
49724 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49725 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
49726 forward declaration.
49727 (realloc_hook_ini): Likewise.
49728 (memalign_hook_ini): Likewise.
49729 (__libc_memalign): Do not use __MALLOC_PMT in variable
49730 declaration.
49731 (__libc_valloc): Likewise.
49732 (__libc_pvalloc): Likewise.
49733 (__libc_calloc): Likewise.
49734 (__posix_memalign): Likewise.
49735
49736 [BZ #14996]
49737 * math/s_casinh.c: Include <float.h>.
49738 (__casinh): Do not do computation with squaring and square root
49739 for large arguments.
49740 * math/s_casinhf.c: Include <float.h>.
49741 (__casinhf): Do not do computation with squaring and square root
49742 for large arguments.
49743 * math/s_casinhl.c: Include <float.h>.
49744 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
49745 (__casinhl): Do not do computation with squaring and square root
49746 for large arguments.
49747 * math/libm-test.inc (casin_test): Add more tests.
49748 (casinh_test): Likewise.
49749 * sysdeps/i386/fpu/libm-test-ulps: Update.
49750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49751
49752 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
49753
49754 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
49755 (__x86_64_raw_data_cache_size): Likewise.
49756 (__x86_64_data_cache_size_half): Likewise.
49757 (__x86_64_raw_data_cache_size_half): Likewise.
49758 (__x86_64_shared_cache_size): Likewise.
49759 (__x86_64_raw_shared_cache_size): Likewise.
49760 (__x86_64_shared_cache_size_half): Likewise.
49761 (__x86_64_raw_shared_cache_size_half): Likewise.
49762 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
49763 to ...
49764 (__x86_data_cache_size): This.
49765 (__x86_64_raw_data_cache_size): Renamed to ...
49766 (__x86_raw_data_cache_size): This.
49767 (__x86_64_data_cache_size_half): Renamed to ...
49768 (__x86_data_cache_size_half): This.
49769 (__x86_64_raw_data_cache_size_half): Renamed to ...
49770 (__x86_raw_data_cache_size_half): This.
49771 (__x86_64_shared_cache_size): Renamed to ...
49772 (__x86_shared_cache_size): This.
49773 (__x86_64_raw_shared_cache_size): Renamed to ...
49774 (__x86_raw_shared_cache_size): This.
49775 (__x86_64_shared_cache_size_half): Renamed to ...
49776 (__x86_shared_cache_size_half): This.
49777 (__x86_64_raw_shared_cache_size_half): Renamed to ...
49778 (__x86_raw_shared_cache_size_half): This.
49779 * sysdeps/x86_64/memcpy.S: Updated.
49780 * sysdeps/x86_64/memset.S: Likewise.
49781 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49782 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49783 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49784
49785 2013-01-04 David S. Miller <davem@davemloft.net>
49786
49787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49788
49789 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
49790
49791 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
49792 1 to avoid redefinition warning.
49793 (__USE_GNU): Don't define.
49794 (init_signaling_nan): Protoize.
49795
49796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49797
49798 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49799
49800 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
49801 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
49802 (__cpymn): Likewise.
49803 (norm): Remove commented code.
49804 (denorm): Likewise.
49805 (__mp_dbl): Likewise.
49806 (__inv): Likewise.
49807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
49808 (__cpymn): Likewise.
49809 (norm): Remove commented code.
49810 (denorm): Likewise.
49811 (__mp_dbl): Likewise.
49812 (__inv): Likewise.
49813
49814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
49815 mp_no value for 1.0 and 2.0.
49816 (norm): Use RADIXI instead of radixi.d.
49817 (denorm): Likewise.
49818 (__mul): Use 0.0 instead of zero.d.
49819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
49820 mp_no value for 1.0 and 2.0.
49821 (norm): Use RADIXI instead of radixi.d.
49822 (denorm): Likewise.
49823 (__mul): Use 0.0 instead of zero.d.
49824
49825 2013-01-04 Joseph Myers <joseph@codesourcery.com>
49826
49827 [BZ #14994]
49828 * math/s_casinh.c (__casinh): Reduce finite argument to first
49829 quadrant then set signs of results at the end.
49830 * math/s_casinhf.c (__casinhf): Likewise.
49831 * math/s_casinhl.c (__casinhl): Likewise.
49832 * math/libm-test.inc (casin_test): Add more tests.
49833 (casinh_test): Likewise.
49834 * sysdeps/i386/fpu/libm-test-ulps: Update.
49835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49836
49837 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49838
49839 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
49840
49841 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
49842
49843 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
49844 declarations.
49845 (denorm): Likewise.
49846 (__mp_dbl): Likewise.
49847 (__inv): Likewise.
49848
49849 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
49850 and adjust the header comment.
49851
49852 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
49853 variable name from declaration.
49854
49855 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
49856
49857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49858 Initialize COMMON_CPUID_INDEX_7 element.
49859 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
49860 (CPUID_RTM): Likewise.
49861 (HAS_RTM): Likewise.
49862 (COMMON_CPUID_INDEX_7): New enum.
49863
49864 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
49865
49866 [BZ #14981]
49867 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
49868 size is zero, record memory as freed.
49869
49870 2013-01-03 Andreas Jaeger <aj@suse.de>
49871
49872 * po/ia.po: Add new Interlingua translation.
49873
49874 2012-01-03 Allan McRae <allan@archlinux.org>
49875
49876 * locale/programs/localedef.c: Fix description of '--posix' flag.
49877
49878 2013-01-02 Joseph Myers <joseph@codesourcery.com>
49879
49880 * NEWS: Update dates in second copyright notice.
49881 * README: Update copyright dates in example.
49882 * manual/libc.texinfo: Update copyright dates.
49883 * scripts/test-installation.pl: Update copyright date in --version
49884 output.
49885
49886 * hurd/ctty-input.c: Fix copyright notice formatting.
49887 * hurd/ctty-output.c: Likewise.
49888 * hurd/dtable.c: Likewise.
49889 * hurd/hurd-raise.c: Likewise.
49890 * hurd/hurdprio.c: Likewise.
49891 * hurd/msgportdemux.c: Likewise.
49892 * misc/sys/file.h: Likewise.
49893 * misc/sys/ioctl.h: Likewise.
49894 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49895 * sysdeps/mach/hurd/chdir.c: Likewise.
49896 * sysdeps/mach/hurd/fchdir.c: Likewise.
49897 * sysdeps/mach/hurd/rename.c: Likewise.
49898 * sysdeps/mach/hurd/rmdir.c: Likewise.
49899 * sysdeps/mach/hurd/seekdir.c: Likewise.
49900 * sysdeps/mach/hurd/setsid.c: Likewise.
49901 * sysdeps/posix/wait3.c: Likewise.
49902
49903 * All files with FSF copyright notices: Update copyright dates
49904 using scripts/update-copyrights.
49905 * intl/plural.c: Regenerated.
49906 * locale/programs/charmap-kw.h: Likewise.
49907 * locale/programs/locfile-kw.h: Likewise.
49908
49909 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
49910
49911 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
49912 four values.
49913
49914 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
49915 calculation loop and add branch prediction.
49916
49917 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
49918 check access beyond bounds of m1np.
49919
49920 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49921 MPTWO.
49922 (__inv): Remove local variable MPTWO to use the global
49923 constant.
49924 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
49925 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49926 variable MPTWO.
49927 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
49928 MP3HALFS static const.
49929
49930 2013-01-01 David S. Miller <davem@davemloft.net>
49931
49932 * po/ca.po: Update from translation team.
49933
49934 2013-01-01 Joseph Myers <joseph@codesourcery.com>
49935
49936 * scripts/update-copyrights: New file.
49937 * Makeconfig: Reformat copyright notice.
49938 * ctype/ctype.h: Likewise.
49939 * debug/swprintf_chk.c: Likewise.
49940 * elf/dl-cache.c: Likewise.
49941 * elf/dl-debug.c: Likewise.
49942 * elf/dl-object.c: Likewise.
49943 * grp/initgroups.c: Likewise.
49944 * hurd/Makefile: Likewise.
49945 * hurd/hurd/signal.h: Likewise.
49946 * hurd/hurdfault.c: Likewise.
49947 * hurd/hurdioctl.c: Likewise.
49948 * hurd/hurdlookup.c: Likewise.
49949 * hurd/intr-msg.c: Likewise.
49950 * iconv/gconv_open.c: Likewise.
49951 * libio/swprintf.c: Likewise.
49952 * locale/lc-ctype.c: Likewise.
49953 * locale/nl_langinfo.c: Likewise.
49954 * mach/Machrules: Likewise.
49955 * mach/Makefile: Likewise.
49956 * malloc/obstack.h: Likewise.
49957 * manual/Makefile: Likewise.
49958 * manual/tsort.awk: Likewise.
49959 * misc/bits/stab.def: Likewise.
49960 * nis/nis_print_group_entry.c: Likewise.
49961 * nis/nis_table.c: Likewise.
49962 * nis/nss_compat/compat-pwd.c: Likewise.
49963 * nis/nss_compat/compat-spwd.c: Likewise.
49964 * po/Makefile: Likewise.
49965 * posix/fnmatch.c: Likewise.
49966 * posix/regex.h: Likewise.
49967 * resolv/Makefile: Likewise.
49968 * resolv/nss_dns/dns-network.c: Likewise.
49969 * resolv/res_hconf.c: Likewise.
49970 * scripts/gen-sorted.awk: Likewise.
49971 * soft-fp/soft-fp.h: Likewise.
49972 * stdio-common/printf.h: Likewise.
49973 * stdlib/monetary.h: Likewise.
49974 * stdlib/random.c: Likewise.
49975 * stdlib/random_r.c: Likewise.
49976 * sysdeps/generic/Makefile: Likewise.
49977 * sysdeps/gnu/Makefile: Likewise.
49978 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49979 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49980 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49981 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49982 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49983 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49984 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49985 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49986 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49987 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49988 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49989 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49990 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49991 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49992 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
49993 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49994 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49995 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49996 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49997 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49998 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49999 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50000 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50001 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50002 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
50003 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50004 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50005 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
50006 * sysdeps/mach/hurd/errnos.awk: Likewise.
50007 * sysdeps/mach/hurd/fork.c: Likewise.
50008 * sysdeps/mach/hurd/getcwd.c: Likewise.
50009 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
50010 * sysdeps/mach/hurd/mmap.c: Likewise.
50011 * sysdeps/mach/hurd/utimes.c: Likewise.
50012 * sysdeps/mach/hurd/xmknod.c: Likewise.
50013 * sysdeps/posix/profil.c: Likewise.
50014 * sysdeps/posix/readdir_r.c: Likewise.
50015 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50016 * sysdeps/powerpc/bits/setjmp.h: Likewise.
50017 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
50018 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
50019 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50020 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50021 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50022 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50024 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50025 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50026 * sysdeps/pthread/lio_listio.c: Likewise.
50027 * sysdeps/sparc/dl-procinfo.h: Likewise.
50028 * sysdeps/unix/i386/sysdep.S: Likewise.
50029 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
50030 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
50031 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
50032 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
50033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50034 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
50035 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
50036 * sysdeps/unix/sysv/linux/speed.c: Likewise.
50037 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
50038 * sysdeps/wordsize-32/divdi3.c: Likewise.
50039 * time/sys/time.h: Likewise.
50040 * wcsmbs/Makefile: Likewise.
50041
50042 2013-01-01 David S. Miller <davem@davemloft.net>
50043
50044 * po/fr.po: Update from translation team.
50045
50046 * catgets/gencat.c: Update copyright year.
50047 * csu/version.c: Likewise.
50048 * debug/catchsegv.sh: Likewise.
50049 * debug/pcprofiledump.c: Likewise.
50050 * debug/xtrace.sh: Likewise.
50051 * elf/ldconfig.c: Likewise.
50052 * elf/ldd.bash.in: Likewise.
50053 * elf/pldd.c: Likewise.
50054 * elf/sotruss.ksh: Likewise.
50055 * elf/sprof.c: Likewise.
50056 * iconv/iconv_prog.c: Likewise.
50057 * iconv/iconvconfig.c: Likewise.
50058 * locale/programs/locale.c: Likewise.
50059 * locale/programs/localedef.c: Likewise.
50060 * login/programs/pt_chown.c: Likewise.
50061 * malloc/memusage.sh: Likewise.
50062 * malloc/memusagestat.c: Likewise.
50063 * malloc/mtrace.pl: Likewise.
50064 * nscd/nscd.c: Likewise.
50065 * nss/getent.c: Likewise.
50066 * nss/makedb.c: Likewise.
50067 * posix/getconf.c: Likewise.
50068
50069 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50070
50071 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
50072 numbers.
50073
50074 2012-12-30 Mike Frysinger <vapier@gentoo.org>
50075
50076 * math/bits/mathcalls.h (modf): Use __nonnull.
50077
50078 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
50079
50080 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
50081 (split): Use macro CN instead of the bare value.
50082 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
50083 could be used.
50084 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
50085 instead of the bare value.
50086 (power1): Likewise.
50087
50088 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50089
50090 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
50091 __ATAN_TWOM.
50092 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50093
50094 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
50095 their values.
50096 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50097 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50098 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
50099 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50100
50101 2012-12-28 Andreas Jaeger <aj@suse.de>
50102
50103 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
50104 values are from Linux 3.7.
50105
50106 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
50107 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
50108
50109 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50110
50111 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
50112 TRUE case.
50113
50114 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
50115 (norm): Likewise.
50116 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
50117 variables with preprocessor constants.
50118 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50119 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50120 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50121
50122 2012-12-27 Bruno Haible <bruno@clisp.org>
50123
50124 [BZ #14317]
50125 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
50126 only if needed.
50127
50128 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
50129
50130 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
50131 and use variable directly.
50132 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
50133
50134 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50135 MPONE.
50136 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
50137 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50138 variable MPONE.
50139 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50140 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50141 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
50142 include directive. Remove local variable MPONE.
50143 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
50144 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
50145 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50146
50147 2012-12-25 David S. Miller <davem@davemloft.net>
50148
50149 * version.h (RELEASE): Set to "development".
50150 (VERSION): Set to "2.17.90".
50151 * NEWS: Add 2.18 section.
50152
50153 2012-12-21 David S. Miller <davem@davemloft.net>
50154
50155 * po/hr.po: Update from translation team.
50156
50157 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50158
50159 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
50160
50161 2012-12-19 Steve Ellcey <sellcey@mips.com>
50162
50163 * NEWS: Mention new memcpy for MIPS.
50164
50165 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50166
50167 * manual/contrib.texi (Contributors): Spelling correction.
50168
50169 2012-12-15 David S. Miller <davem@davemloft.net>
50170
50171 * po/ru.po: Update from translation team.
50172
50173 2012-12-13 David S. Miller <davem@davemloft.net>
50174
50175 * NEWS: Mention IFUNC testsuite enhancements.
50176
50177 * po/pl.po: Update from translation team.
50178 * po/bg.po: Likewise.
50179
50180 * manual/contrib.texi (Contributors): Update entries for Hongjiu
50181 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
50182
50183 2012-12-11 David S. Miller <davem@davemloft.net>
50184
50185 * po/sv.po: Update from translation team.
50186
50187 * po/vi.po: Update from translation team.
50188
50189 * po/cs.po: Update from translation team.
50190
50191 * po/de.po: Update from translation team.
50192 * po/eo.po: Likewise.
50193 * po/nl.po: Likewise.
50194
50195 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50196
50197 [BZ #14246]
50198 * manual/argp.texi (Argp Helper Functions): Move node to follow
50199 Argp Parsing State.
50200
50201 [BZ #14872]
50202 * manual/conf.texi (Limits on File System Capacity): Mention if
50203 terminating null is included in the max size.
50204
50205 2012-12-10 Andreas Jaeger <aj@suse.de>
50206
50207 * po/cs.po: Update from translation team.
50208
50209 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
50210
50211 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
50212 void pointer and cast to uintptr_t.
50213 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
50214 path.
50215 * sysdeps/s390/s390-64/memcpy.S: Likewise.
50216 * sysdeps/s390/s390-64/memset.S: Likewise.
50217
50218 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
50219
50220 [BZ #14833]
50221 * menual/message.texi (Message Translation): Fix typos.
50222 (Helper programs for gettext): Likewise.
50223
50224 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
50225
50226 [BZ #14898]
50227 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
50228 Change to -1.
50229
50230 2012-12-07 David S. Miller <davem@davemloft.net>
50231
50232 * po/libc.pot: Update.
50233
50234 2012-12-07 Richard Henderson <rth@redhat.com>
50235
50236 [BZ #10114]
50237 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
50238 normal/normal case to before the switch.
50239 (_FP_DIV): Likewise.
50240
50241 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
50242 Mike Frysinger <vapier@gentoo.org>
50243
50244 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
50245 check for __NR_fadvise64_64.
50246
50247 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
50248
50249 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
50250 0, not just to plain "0" as a statement.
50251 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
50252 with cw.
50253
50254 2012-12-06 Joseph Myers <joseph@codesourcery.com>
50255
50256 * NEWS: Use sourceware.org in Bugzilla URL.
50257
50258 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
50259
50260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
50261 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50262
50263 * stdio-common/tst-put-error.c (do_test): Add newline to the
50264 padded test to ensure flush.
50265
50266 2012-12-05 Jeff Law <law@redhat.com>
50267
50268 * sunrpc/etc.rpc (fedfs_admin): Add entry.
50269
50270 2012-12-05 Joseph Myers <joseph@codesourcery.com>
50271
50272 * README: Don't refer to ports add-on as distributed separately.
50273 Mention AArch64 in list of systems supported in the ports add-on.
50274
50275 * LICENSES: Add more non-FSF copyright and license notices.
50276
50277 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
50278 ((unused)).
50279
50280 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
50281
50282 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
50283 10000 as width of padded output.
50284
50285 2012-12-04 Joseph Myers <joseph@codesourcery.com>
50286
50287 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
50288
50289 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
50290 variable LX with __attribute__ ((unused)).
50291 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50292 Likewise.
50293 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50294 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50295 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
50296 with __attribute__ ((unused)).
50297
50298 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
50299
50300 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
50301
50302 2012-12-04 Joseph Myers <joseph@codesourcery.com>
50303
50304 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
50305 (CFLAGS-nldbl-acos.c): New variable.
50306 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
50307 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
50308 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
50309 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
50310 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
50311 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
50312 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
50313 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
50314 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
50315 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
50316 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
50317 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
50318 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
50319 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
50320 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
50321 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
50322 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
50323 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
50324 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
50325 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
50326 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
50327 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
50328 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
50329 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
50330 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
50331 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
50332 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
50333 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
50334 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
50335 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
50336 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
50337 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
50338 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
50339 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
50340 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
50341 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
50342 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
50343 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
50344 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
50345 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
50346 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
50347 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
50348 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
50349 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
50350 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
50351 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
50352 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
50353 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
50354 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
50355 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
50356 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
50357 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
50358 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
50359 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
50360 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
50361 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
50362 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
50363 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
50364 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
50365 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
50366 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
50367 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
50368 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
50369 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
50370 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
50371 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
50372 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
50373 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
50374 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
50375 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
50376 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
50377 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
50378 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
50379 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
50380 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
50381 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
50382 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
50383 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
50384 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
50385 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
50386 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
50387 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
50388 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
50389 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
50390 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
50391 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
50392 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
50393 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
50394 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
50395 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
50396 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
50397 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
50398 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
50399 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
50400 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
50401 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
50402 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
50403
50404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50405 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50406
50407 [BZ #14914]
50408 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
50409 whole low double instead of just low 47 bits when splitting values
50410 into two parts.
50411
50412 2012-12-03 Allan McRae <allan@archlinux.org>
50413
50414 * manual/stdio.texi (Predefined Printf Handlers): Remove
50415 @hsep and @vsep usage.
50416
50417 2012-12-03 Mike Frysinger <vapier@gentoo.org>
50418
50419 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
50420 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
50421
50422 2012-12-03 Jeff Law <law@redhat.com>
50423
50424 * time/sys/time.h (settimeofday): Do not mark TV argument
50425 as __nonnull.
50426
50427 2012-12-01 Mike Frysinger <vapier@gentoo.org>
50428
50429 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
50430 when currently writing and seek to current position when not.
50431 * libio/Makefile (tests): Remove bug-fclose1.
50432 * libio/bug-fclose1.c: Delete.
50433
50434 2012-12-01 Joseph Myers <joseph@codesourcery.com>
50435
50436 * manual/arith.texi (feenableexcept): Fix typo.
50437 (fedisableexcept): Likewise.
50438
50439 2012-11-30 Roland McGrath <roland@hack.frob.com>
50440
50441 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
50442 second, differently-typed declaration, rather than a cast.
50443
50444 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50445
50446 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
50447 * include/rpc/svc.h: ... here.
50448
50449 2012-11-30 Aurelien Jarno <aurel32@debian.org>
50450
50451 [BZ #13013]
50452 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
50453 depending n and resplen2 to catch cases where answer
50454 equals answerp2.
50455
50456 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
50457
50458 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
50459 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
50460
50461 2012-11-29 Mike Frysinger <vapier@gentoo.org>
50462
50463 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
50464
50465 2012-11-29 Roland McGrath <roland@hack.frob.com>
50466
50467 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
50468
50469 2012-11-28 Jeff Law <law@redhat.com>
50470
50471 [BZ #13761]
50472 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
50473 dataset_temporary. Track alloca usage into alloca_used.
50474 If dataset is large allocate and release it via malloc/free.
50475
50476 2012-06-04 Florian Weimer <fweimer@redhat.com>
50477
50478 [BZ #14197]
50479 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
50480
50481 2012-11-28 David S. Miller <davem@davemloft.net>
50482
50483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50484
50485 2012-11-28 Joseph Myers <joseph@codesourcery.com>
50486
50487 [BZ #14803]
50488 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
50489 of pi/2 rounded to nearest to 64 bits.
50490 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
50491 nearest to 64 bits.
50492 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
50493 bits.
50494
50495 2012-11-28 Jeff Law <law@redhat.com>
50496 Martin Osvald <mosvald@redhat.com>
50497
50498 [BZ #14889]
50499 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
50500 * sunrpc/svc.c: Include time.h.
50501 (__svc_accept_failed): New function.
50502 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
50503 any reason other than EINTR, call __svc_accept_failed.
50504 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
50505 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
50506
50507 2012-11-28 Andreas Schwab <schwab@suse.de>
50508
50509 * scripts/abilist.awk: Also handle indirect functions in .opd
50510 section.
50511
50512 2012-11-28 Joseph Myers <joseph@codesourcery.com>
50513
50514 [BZ #13881]
50515 * sysdeps/x86/fpu/powl_helper.c: New file.
50516 * sysdeps/x86/fpu/Makefile: Likewise.
50517 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
50518 (p3): New object.
50519 (__ieee754_powl): Use __powl_helper for finite arguments except
50520 integer exponents below 8.
50521 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
50522 (p3): New object.
50523 (__ieee754_powl): Use __powl_helper for finite arguments except
50524 integer exponents below 8.
50525 * math/libm-test.inc (pow_test): Add more tests and enable some
50526 previously disabled tests.
50527 * sysdeps/i386/fpu/libm-test-ulps: Update.
50528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50529
50530 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50531 Carlos O'Donell <carlos_odonell@mentor.com>
50532
50533 * nss/makedb.c (is_prime): Assert that input is odd and greater
50534 than 4. Note that fact in a comment too.
50535 (next_prime): Add 4 to input.
50536
50537 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
50538
50539 [BZ #11741]
50540 * libio/Makefile (tests): Add test case tst-fwrite-error.
50541 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
50542 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
50543 * libio/tst-fwrite-error.c: New test case.
50544
50545 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
50546
50547 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
50548 before casting to void *.
50549 * include/libc-internal.h (__pointer_type): New macro.
50550 (__integer_if_pointer_type_sub): Likewise.
50551 (__integer_if_pointer_type): Likewise.
50552 (cast_to_integer): Likewise.
50553 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
50554 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
50555 before casting to atomic64_t.
50556 (atomic_exchange_acq): Likewise.
50557 (__arch_exchange_and_add_body): Likewise.
50558 (__arch_add_body): Likewise.
50559 (atomic_add_negative): Likewise.
50560 (atomic_add_zero): Likewise.
50561
50562 2012-11-26 Joseph Myers <joseph@codesourcery.com>
50563
50564 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
50565 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
50566 (add_fdes): Likewise.
50567 (linear_search_fdes): Likewise.
50568 (binary_search_unencoded_fdes): Likewise.
50569
50570 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
50571
50572 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
50573
50574 2012-11-24 Adam Conrad <adconrad@0c3.net>
50575
50576 * configure.in: Autodetect C++ header directories.
50577 * configure: Regenerated.
50578
50579 2012-11-23 Mike Frysinger <vapier@gentoo.org>
50580
50581 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
50582
50583 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
50584
50585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50586
50587 2012-11-22 Joseph Myers <joseph@codesourcery.com>
50588
50589 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
50590 LDBL_MANT_DIG == 106]: Disable some tests.
50591 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50592 Likewise.
50593 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50594 Likewise.
50595
50596 [BZ #14871]
50597 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
50598 input for small inputs. Return +/- pi/2 for large inputs.
50599 * math/libm-test.inc (atan_test): Add more tests.
50600
50601 * sysdeps/generic/unwind-dw2-fde-glibc.c
50602 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
50603 __attribute__ ((unused)).
50604
50605 [BZ #14645]
50606 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
50607 x * y if x and y are nonzero and z is zero.
50608
50609 [BZ #14811]
50610 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
50611 nonzero exponents with absolute value below 0x1p-117 to +/-
50612 0x1p-117.
50613
50614 [BZ #14869]
50615 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
50616 up arguments below 2**-450, not just those below 2**-500.
50617 * math/libm-test.inc (hypot_test): Add another test.
50618
50619 [BZ #14868]
50620 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
50621 Return a+b for ratio over 2**120, not 2**60.
50622 * math/libm-test.inc (hypot_test): Add another test.
50623
50624 * math/libm-test.inc (clog_test): Use
50625 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
50626 (clog10_test): Likewise.
50627
50628 [BZ #6778]
50629 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
50630
50631 2012-11-22 Andreas Schwab <schwab@suse.de>
50632
50633 * sysdeps/i386/fpu/libm-test-ulps: Update.
50634
50635 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
50636
50637 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
50638 printf output with newline.
50639
50640 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
50641
50642 [BZ #14865]
50643 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
50644 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
50645 -z nodlopen, -z initfirst and -z execstack support.
50646 * configure: Regenerated.
50647
50648 * elf/elf.h (DF_1_NODIRECT): New macro.
50649 (DF_1_IGNMULDEF): Likewise.
50650 (DF_1_NOKSYMS): Likewise.
50651 (DF_1_NOHDR): Likewise.
50652 (DF_1_EDITED): Likewise.
50653 (DF_1_NORELOC): Likewise.
50654 (DF_1_SYMINTPOSE): Likewise.
50655 (DF_1_GLOBAUDIT): Likewise.
50656 (DF_1_SINGLETON): Likewise.
50657 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
50658 DT_1_SUPPORTED_MASK bits.
50659 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
50660
50661 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
50662
50663 * sysdeps/unix/make-syscalls.sh: Document prefixes.
50664
50665 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
50666
50667 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
50668 macro.
50669
50670 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
50671 (sendmmsg): Move declarations...
50672 * socket/sys/socket.h: ... here.
50673 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
50674 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
50675 include it from...
50676 * socket/recvmmsg.c: ... this new file.
50677 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
50678 (sendmmsg): Rename to __sendmmsg, create weak alias and make
50679 definition of __sendmmsg hidden.
50680 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
50681 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
50682 Move ENOSYS stub into and include it from...
50683 * socket/sendmmsg.c: ... this new file.
50684 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
50685 (sysdep_routines): Move recvmmsg and sendmmsg...
50686 * socket/Makefile (routines): ... here.
50687 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
50688 (GLIBC_PRIVATE): Add __sendmmsg.
50689 * include/sys/socket.h (__sendmmsg): Add declarations.
50690 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
50691 sendmmsg.
50692
50693 2012-11-20 Joseph Myers <joseph@codesourcery.com>
50694
50695 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
50696 variable I1 with __attribute__ ((unused)).
50697 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50698
50699 2012-11-19 Joseph Myers <joseph@codesourcery.com>
50700
50701 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
50702 DUMMY variables with __attribute__ ((unused)).
50703
50704 * bits/byteswap.h: Include <bits/types.h>.
50705 (__bswap_64): Use __uint64_t instead of unsigned long long int.
50706
50707 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
50708
50709 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
50710 string_t. Do not manually set errno.
50711 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
50712 length with __strnlen. Make sure to both set errno and return it on
50713 failure.
50714
50715 2012-11-19 David S. Miller <davem@davemloft.net>
50716
50717 With help from Joseph Myers.
50718 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
50719 very large arguments properly.
50720 * math/libm-test.inc (atan_test): New tests.
50721 (atan2_test): New tests.
50722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50724
50725 2012-11-19 Joseph Myers <joseph@codesourcery.com>
50726
50727 [BZ #14856]
50728 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
50729 Define to 3.
50730
50731 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
50732 [POSIX] (EADDRNOTAVAIL): Likewise.
50733 [POSIX] (EAFNOSUPPORT): Likewise.
50734 [POSIX] (EALREADY): Likewise.
50735 [POSIX] (ECONNABORTED): Likewise.
50736 [POSIX] (ECONNREFUSED): Likewise.
50737 [POSIX] (ECONNRESET): Likewise.
50738 [POSIX] (EDESTADDRREQ): Likewise.
50739 [POSIX] (EDQUOT): Likewise.
50740 [POSIX] (EHOSTUNREACH): Likewise.
50741 [POSIX] (EIDRM): Likewise.
50742 [POSIX] (EISCONN): Likewise.
50743 [POSIX] (ELOOP): Likewise.
50744 [POSIX] (EMULTIHOP): Likewise.
50745 [POSIX] (ENETDOWN): Likewise.
50746 [POSIX] (ENETUNREACH): Likewise.
50747 [POSIX] (ENOBUFS): Likewise.
50748 [POSIX] (ENODATA): Likewise.
50749 [POSIX] (ENOLINK): Likewise.
50750 [POSIX] (ENOMSG): Likewise.
50751 [POSIX] (ENOPROTOOPT): Likewise.
50752 [POSIX] (ENOSR): Likewise.
50753 [POSIX] (ENOSTR): Likewise.
50754 [POSIX] (ENOTCONN): Likewise.
50755 [POSIX] (ENOTSOCK): Likewise.
50756 [POSIX] (EOPNOTSUPP): Likewise.
50757 [POSIX] (EOVERFLOW): Likewise.
50758 [POSIX] (EPROTO): Likewise.
50759 [POSIX] (EPROTONOSUPPORT): Likewise.
50760 [POSIX] (EPROTOTYPE): Likewise.
50761 [POSIX] (ESTALE): Likewise.
50762 [POSIX] (ETIME): Likewise.
50763 [POSIX] (ETXTBSY): Likewise.
50764 [POSIX] (EWOULDBLOCK): Likewise.
50765 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
50766 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
50767 [POSIX] (SEEK_CUR): Likewise.
50768 [POSIX] (SEEK_END): Likewise.
50769 [POSIX || UNIX98] (mode_t): Do not require.
50770 [POSIX] (off_t): Likewise.
50771 [POSIX] (pid_t): Likewise.
50772 [POSIX] (sys/stat.h): Do not allow header.
50773 [POSIX] (unistd.h): Likewise.
50774 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
50775 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
50776 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
50777 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
50778 require.
50779 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
50780 sigevent): Specify elements.
50781 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
50782 entry.
50783 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
50784 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
50785
50786 * conform/data/cpio.h-data [POSIX]: Disable whole file.
50787 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
50788 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
50789 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
50790 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
50791 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
50792 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
50793 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
50794 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
50795 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
50796 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
50797 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
50798 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
50799 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
50800 Likewise.
50801 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
50802 Likewise.
50803 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
50804 Likewise.
50805 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
50806 Likewise.
50807 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
50808 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
50809 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
50810 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
50811 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
50812 Specify lower bound on value.
50813 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
50814 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
50815 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
50816 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
50817 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
50818 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
50819 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
50820 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
50821 value.
50822 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
50823 as optional.
50824 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
50825 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
50826 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
50827 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
50828 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
50829 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
50830 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
50831 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
50832 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
50833 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
50834 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
50835 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
50836 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
50837 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
50838 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
50839 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
50840 entry.
50841 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
50842 optional.
50843 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
50844 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
50845 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
50846 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
50847 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
50848 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
50849 Likewise.
50850 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
50851 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
50852 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
50853 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
50854 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
50855 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
50856 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
50857 as optional.
50858 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
50859 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
50860 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
50861 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
50862 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
50863 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
50864 specify as optional.
50865 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
50866 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
50867 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
50868 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
50869 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
50870 [XPG3] (NL_LANGMAX): Likewise.
50871 [POSIX || XPG3] (NL_MSGMAX): Likewise.
50872 [POSIX || XPG3] (NL_NMAX): Likewise.
50873 [POSIX || XPG3] (NL_SETMAX): Likewise.
50874 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
50875 [XPG3] (NZERO): Likewise.
50876 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
50877 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
50878 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
50879 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
50880 (REG_ERANGE): Expect.
50881 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
50882 optional-constant.
50883 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
50884 Use (void) in prototype.
50885 [POSIX] (*_t): Allow.
50886 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
50887 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
50888 (WRDE_BADVAL): Expect.
50889
50890 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
50891 expect.
50892 [XPG3 || XPG4] (O_RSYNC): Likewise.
50893 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
50894 Likewise.
50895 [XPG3 || XPG4] (pthread_sigmask): Likewise.
50896 [XPG3 || XPG4] (sigqueue): Likewise.
50897 [XPG3 || XPG4] (sigtimedwait): Likewise.
50898 [XPG3 || XPG4] (sigwaitinfo): Likewise.
50899 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
50900 [XPG3 || XPG4] (vsnprintf): Likewise.
50901 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
50902 Likewise.
50903 [XPG3 || XPG4] (blksize_t): Likewise.
50904 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
50905 Likewise.
50906 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
50907 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50908 [XPG3 || XPG4] (struct itimerspec): Likewise.
50909 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
50910 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
50911 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
50912 [XPG3 || XPG4] (clockid_t): Likewise.
50913 [XPG3 || XPG4] (timer_t): Likewise.
50914 [XPG3 || XPG4] (clock_getres): Likewise.
50915 [XPG3 || XPG4] (clock_gettime): Likewise.
50916 [XPG3 || XPG4] (clock_settime): Likewise.
50917 [XPG3 || XPG4] (nanosleep): Likewise.
50918 [XPG3 || XPG4] (timer_create): Likewise.
50919 [XPG3 || XPG4] (timer_delete): Likewise.
50920 [XPG3 || XPG4] (timer_gettime): Likewise.
50921 [XPG3 || XPG4] (timer_getoverrun): Likewise.
50922 [XPG3 || XPG4] (timer_settime): Likewise.
50923 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
50924 [XPG3 || XPG4] (getlogin_r): Likewise.
50925 [XPG3 || XPG4] (pread): Likewise.
50926 [XPG3 || XPG4] (pthread_atfork): Likewise.
50927 [XPG3 || XPG4] (pwrite): Likewise.
50928
50929 [BZ #14835]
50930 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
50931 <bits/siginfo.h>.
50932
50933 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
50934
50935 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
50936 finalizing MALLSTREAM.
50937
50938 * sysdeps/mach/hurd/syncfs.c: New file.
50939
50940 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
50941
50942 [BZ #14719]
50943 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
50944 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
50945 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
50946 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
50947 (_nss_dns_gethostbyname4_r): Likewise.
50948 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
50949 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
50950
50951 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
50952
50953 [BZ #13763]
50954 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
50955
50956 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
50957
50958 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
50959 * elf/cache.c (print_entry): Print ",AArch64" for
50960 FLAG_AARCH64_LIB64
50961
50962 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
50963 * elf/cache.c (print_entry): Print ",hard-float" for
50964 FLAG_ARM_LIBHF.
50965
50966 2012-11-18 David S. Miller <davem@davemloft.net>
50967
50968 With help from Joseph Myers.
50969 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
50970 cutoff to 2**-13.
50971 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
50972 cutoff to 2**-25.
50973 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
50974 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
50975 small.
50976 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
50977 * math/libm-test.inc (y0_test): New tests.
50978 (y1_test): New tests.
50979 * sysdeps/i386/fpu/libm-test-ulps: Update.
50980 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50982
50983 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
50984
50985 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
50986 64-bit targets.
50987 * configure: Regenerated.
50988
50989 2012-11-17 David S. Miller <davem@davemloft.net>
50990
50991 [BZ #14811]
50992 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
50993 nonzero exponents with absolute value below 0x1p-128 to +/-
50994 0x1p-128.
50995
50996 2012-11-17 Joseph Myers <joseph@codesourcery.com>
50997
50998 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
50999
51000 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
51001
51002 * posix/getconf-speclist.c: New file.
51003 * posix/posix-envs.def: Likewise.
51004 * posix/confstr.c (START_ENV_GROUP): New macro.
51005 (END_ENV_GROUP): Likewise.
51006 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51007 (KNOWN_PRESENT_ENV_STRING): Likewise.
51008 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51009 (UNKNOWN_ENVIRONMENT): Likewise.
51010 (confstr): Include posix-envs.def instead of handling
51011 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
51012 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
51013 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
51014 (END_ENV_GROUP): Likewise.
51015 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51016 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51017 (UNKNOWN_ENVIRONMENT): Likewise.
51018 (__sysconf): Include posix-envs.def instead of handling associated
51019 cases directly here.
51020 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
51021 preprocessing getconf-speclist.c rather than running getconf or
51022 generating empty file.
51023
51024 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
51025
51026 * scripts/check-local-headers.sh: Ignore 'mach' headers.
51027
51028 2012-11-16 Andrej Lajovic <natrij@gmail.com>
51029
51030 [BZ #14672]
51031 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
51032
51033 2012-11-16 David S. Miller <davem@davemloft.net>
51034
51035 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
51036 smaller than LDBL_EPSILON/2.0L, just return xm1.
51037
51038 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
51039
51040 * elf/tst-array1.c (init): Set constructor priority to 1000.
51041 (fini): Set destructor priority to 1000.
51042 * elf/tst-array2dep.c: Likewise.
51043
51044 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
51045
51046 [BZ #11741]
51047 * libio/fileops.c (_IO_new_file_write): Correctly return error.
51048 (_IO_new_file_xsputn): Also return EOF if none of the input
51049 data was written when overflow failed.
51050 * libio/iopadn.c (_IO_padn): Likewise.
51051 * libio/iowpadn.c (_IO_wpadn): Likewise.
51052 * stdio-common/tst-put-error.c: Add copyright notice.
51053 (do_test): Add case for printing padded string.
51054 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
51055 _IO_padn returned error.
51056 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
51057 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
51058 return EOF.
51059
51060 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
51061
51062 * libio/libioP.h: Add comment note that the references to C++
51063 bits are now obsolete.
51064
51065 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51066
51067 * math/libm-test.inc (check_complex): Use asprintf.
51068
51069 2012-11-14 Joseph Myers <joseph@codesourcery.com>
51070
51071 * debug/pcprofiledump.c (print_version): Update copyright year.
51072 * malloc/memusagestat.c (print_version): Likewise.
51073
51074 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
51075
51076 [BZ #14831]
51077 * elf/Makefile (tests): Add tst-audit8.
51078 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
51079 ($(objpfx)tst-audit8.out): New target.
51080 (tst-audit8-ENV): New variable.
51081 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
51082 audit if l_reloc_result is NULL.
51083 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
51084 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
51085 * elf/tst-audit8.c: New file.
51086
51087 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51088
51089 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
51090 * misc/Makefile (CFLAGS-select.c): Define.
51091 * posix/Makefile (CFLAGS-pause.c): Define.
51092
51093 2012-11-13 David S. Miller <davem@davemloft.net>
51094
51095 * crypt/Makefile: Move test targets after toplevel Rules
51096 inclusion. Grab any necessary sysdep routines when linking.
51097 * crypt/md5.c (md5_process_block): Remove define, we will always
51098 name it __md5_process_block.
51099 (md5_finish_ctx): Update md5_process_block call.
51100 (md5_stream): Likewise.
51101 (md5_process_bytes): Likewise.
51102 (md5_process_block): Rename to __md5_process_block and move to ...
51103 * crypt/md5-block.c: ... here.
51104 * crypt/sha256.c (sha256_process_block): Move to ...
51105 * crypt/sha256-block.c: ... here.
51106 * crypt/sha512.c (sha512_process_block): Move to ...
51107 * crypt/sha512-block.c: ... here.
51108 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
51109 path.
51110 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
51111 * sysdeps/sparc/sparc64/multiarch/Makefile
51112 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
51113 crypt subdir.
51114 (localedef-aux): Add md5 crypto assembler when in locale subdir.
51115 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
51116 multiarch changes.
51117 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
51118 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
51119 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
51120 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
51121 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
51122 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
51123 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
51124 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
51125 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
51126 file.
51127 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
51128 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
51129 file.
51130 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
51131
51132 2012-11-13 Joseph Myers <joseph@codesourcery.com>
51133
51134 * timezone/tzselect.ksh: Update from tzcode git revision
51135 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
51136 * timezone/zdump.c: Likewise.
51137 * timezone/zic.c: Likewise.
51138 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
51139 in TZVERSION setting, not $(PKGVERSION).
51140 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
51141 REPORT_BUGS_TO settings.
51142
51143 [BZ #14838]
51144 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
51145 macro.
51146
51147 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51148
51149 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
51150 detection to immediately after _FP_ROUND().
51151 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
51152 bits are 0.
51153
51154 2012-11-11 David S. Miller <davem@davemloft.net>
51155
51156 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
51157 inttypes.h
51158 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
51159 __close rather than their public counterparts.
51160
51161 2012-11-10 Joseph Myers <joseph@codesourcery.com>
51162
51163 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
51164 file.
51165 [UNIX98] (sem_timedwait): Do not expect.
51166 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
51167 [XPG4 || UNIX98] (sockatmark): Do not expect.
51168 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
51169 (clock_getcpuclockid): Do not expect.
51170 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
51171 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
51172 Do not expect.
51173 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
51174 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
51175 [UNIX98] (vwscanf): Likewise.
51176 [UNIX98] (vswscanf): Likewise.
51177
51178 2012-11-09 Joseph Myers <joseph@codesourcery.com>
51179
51180 * timezone/version.h: Remove file.
51181 * timezone/README: Do not refer to version.h.
51182 * timezone/Makefile ($(objpfx)zic.o): New dependency on
51183 $(objpfx)version.h.
51184 ($(objpfx)zdump.o): Likewise.
51185 ($(objpfx)version.h): New target.
51186
51187 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
51188 2012i.
51189 * timezone/README: Don't mention modification to tzselect.ksh.
51190 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
51191 work on unmodified tzselect.ksh. Substitute version numbers in
51192 tzselect.ksh.
51193
51194 * Makefile (format-me): Remove.
51195 (INSTALL): Adjust indentation. Use commands directly instead of
51196 using $(format-me).
51197
51198 * aclocal.m4 (ACX_PKGVERSION): New macro.
51199 (ACX_BUGURL): Likewise.
51200 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
51201 (PKGVERSION): New AC_DEFINE_UNQUOTED.
51202 (REPORT_BUGS_TO): Likewise.
51203 * configure: Regenerated.
51204 * config.h.in (PKGVERSION): New macro.
51205 (REPORT_BUGS_TO): Likewise.
51206 * config.make.in (PKGVERSION): New variable.
51207 (PKGVERSION_TEXI): Likewise.
51208 (REPORT_BUGS_TO): Likewise.
51209 (REPORT_BUGS_TEXI): Likewise.
51210 * Makefile (format-me): Use -I$(common-objpfx)manual.
51211 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
51212 ($(common-objpfx)manual/%): New target.
51213 (manual/%): Remove target.
51214 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
51215 (print_version): Use PKGVERSION.
51216 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
51217 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
51218 and REPORT_BUGS_TO.
51219 ($(objpfx)xtrace): Likewise.
51220 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
51221 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
51222 (print_version): Use PKGVERSION.
51223 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
51224 (do_version): Use PKGVERSION.
51225 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
51226 REPORT_BUGS_TO.
51227 (common-ldd-rewrite): Likewise.
51228 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
51229 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
51230 (print_version): Use PKGVERSION.
51231 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
51232 * elf/pldd.c (argp_program_bug_address): Remove variable.
51233 (more_help): New function.
51234 (argp): Use more_help.
51235 (print_version): Use PKGVERSION.
51236 * elf/sln.c (main): Use PKGVERSION.
51237 (usage): Use REPORT_BUGS_TO.
51238 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
51239 (top level): Use PKGVERSION.
51240 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
51241 (print_version): Use PKGVERSION.
51242 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
51243 (print_version): Use PKGVERSION.
51244 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
51245 (print_version): Use PKGVERSION.
51246 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
51247 (print_version): Use PKGVERSION.
51248 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
51249 (print_version): Use PKGVERSION.
51250 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
51251 (print_version): Use PKGVERSION.
51252 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
51253 and BUGURL.
51254 ($(objpfx)memusage): Likewise.
51255 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
51256 (do_version): Use PKGVERSION.
51257 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
51258 (print_version): Use PKGVERSION.
51259 * malloc/mtrace.pl ($PACKAGE): Remove variable.
51260 ($PKGVERSION): New variable.
51261 ($REPORT_BUGS_TO): Likewise.
51262 (usage): Use $REPORT_BUGS_TO.
51263 (top level): Use $PKGVERSION.
51264 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
51265 ($(objpfx)pkgvers.texi): New rule.
51266 ($(objpfx)stamp-pkgvers): Likewise.
51267 * manual/install.texi: Include pkgvers.texi.
51268 (--with-pkgversion): Document new configure option.
51269 (--with-bugurl): Likewise.
51270 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
51271 than necessarily for this particular distribution. Use
51272 REPORT_BUGS_TO for where to report bugs.
51273 * INSTALL: Regenerated.
51274 * manual/libc.texinfo: Include pkgvers.texi.
51275 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
51276 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
51277 (print_version): Use PKGVERSION.
51278 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
51279 (print_version): Use PKGVERSION.
51280 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
51281 (print_version): Use PKGVERSION.
51282 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
51283 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
51284 macro.
51285 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
51286 (print_version): Use PKGVERSION.
51287 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
51288 (print_version): Use PKGVERSION.
51289 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
51290 and PKGVERSION.
51291
51292 * timezone/checktab.awk: Update from tzcode 2012i.
51293 * timezone/ialloc.c: Likewise.
51294 * timezone/private.h: Likewise.
51295 * timezone/scheck.c: Likewise.
51296 * timezone/tzfile.h: Likewise.
51297 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
51298 (TZVERSION): Hardcode tzcode version number.
51299 * timezone/zdump.c: Update from tzcode 2012i.
51300 * timezone/zic.c: Likewise.
51301 * timezone/version.h: New file.
51302 * timezone/README: Describe version.h. Update upstream location.
51303
51304 [BZ #14824]
51305 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
51306 (mktemp): Enable declaration.
51307 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
51308 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
51309 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
51310 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
51311 Likewise.
51312 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
51313 Likewise.
51314 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
51315 Likewise.
51316 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
51317 Likewise.
51318 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
51319 Likewise.
51320 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
51321 Likewise.
51322
51323 [BZ #14821]
51324 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
51325 offset in buffer as u_int32_t not u_long. Consistently use memcpy
51326 for copies of such integer values.
51327 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51328 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51329
51330 2012-11-09 Andreas Jaeger <aj@suse.de>
51331
51332 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
51333 definitions and declarations that are provided by
51334 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51335
51336 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51337
51338 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
51339 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
51340 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
51341 definition.
51342
51343 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51344
51345 * elf/elf.h: Update comment before AArch64 relocations.
51346
51347 2012-11-07 David S. Miller <davem@davemloft.net>
51348
51349 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
51350 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51351 (__start_context): Declare.
51352 (__makecontext_ret): Delete.
51353 (__makecontext): Hook up __start_context instead of
51354 __makecontext_ret.
51355 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
51356 (sysdep_routines): Add __start_context when in stdlib.
51357
51358 2012-11-07 Joseph Myers <joseph@codesourcery.com>
51359
51360 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
51361 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
51362 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
51363 hardcoded "nm".
51364 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
51365 (READELF): New variable. Use it instead of hardcoded "readelf".
51366
51367 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
51368
51369 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
51370 * sysdeps/x86/Makefile: Here.
51371 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
51372 * sysdeps/x86/tst-xmmymm.sh: This.
51373
51374 2012-11-07 Joseph Myers <joseph@codesourcery.com>
51375
51376 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
51377 expectations.
51378 [UNIX98] (pthread_barrier_t): Do not expect.
51379 [UNIX98] (pthread_barrierattr_t): Likewise.
51380 [UNIX98] (pthread_spinlock_t): Likewise.
51381 [UNIX98] (pthread_barrier_destroy): Likewise.
51382 [UNIX98] (pthread_barrier_init): Likewise.
51383 [UNIX98] (pthread_barrier_wait): Likewise.
51384 [UNIX98] (pthread_barrierattr_destroy): Likewise.
51385 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
51386 [UNIX98] (pthread_barrierattr_init): Likewise.
51387 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
51388 [UNIX98] (pthread_getcpuclockid): Likewise.
51389 [UNIX98] (pthread_mutex_timedlock): Likewise.
51390 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
51391 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
51392 [UNIX98] (pthread_sigmask): Likewise.
51393 [UNIX98] (pthread_spin_destroy): Likewise.
51394 [UNIX98] (pthread_spin_init): Likewise.
51395 [UNIX98] (pthread_spin_lock): Likewise.
51396 [UNIX98] (pthread_spin_trylock): Likewise.
51397 [UNIX98] (pthread_spin_unlock): Likewise.
51398 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
51399 Do not expect.
51400 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
51401 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
51402 [XPG3 || XPG4] (pthread_cond_t): Likewise.
51403 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
51404 [XPG3 || XPG4] (pthread_key_t): Likewise.
51405 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
51406 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
51407 [XPG3 || XPG4] (pthread_once_t): Likewise.
51408 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
51409 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
51410 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
51411 [XPG3 || XPG4] (pthread_t): Likewise.
51412
51413 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
51414 not expect.
51415 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
51416
51417 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
51418 Change function return type to int.
51419
51420 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
51421 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
51422 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
51423 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
51424 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
51425 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
51426 [!POSIX] (posix_madvise): Likewise.
51427 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
51428 && !UNIX98].
51429 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
51430 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
51431 (mode_t): Likewise.
51432 (posix_mem_offset): Likewise.
51433 (posix_typed_mem_get_info): Likewise.
51434 (posix_typed_mem_open): Likewise.
51435
51436 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
51437 Change condition to [XOPEN2K8].
51438
51439 * conform/conformtest.pl: Preprocess allow-header data with -x c
51440 instead of from stdin.
51441 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
51442 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
51443 [C99-based standards] (cerfc): Likewise.
51444 [C99-based standards] (cexp2): Likewise.
51445 [C99-based standards] (cexpm1): Likewise.
51446 [C99-based standards] (clog10): Likewise.
51447 [C99-based standards] (clog1p): Likewise.
51448 [C99-based standards] (clog2): Likewise.
51449 [C99-based standards] (clgamma): Likewise.
51450 [C99-based standards] (ctgamma): Likewise.
51451 [C99-based standards] (cerff): Likewise.
51452 [C99-based standards] (cerfcf): Likewise.
51453 [C99-based standards] (cexp2f): Likewise.
51454 [C99-based standards] (cexpm1f): Likewise.
51455 [C99-based standards] (clog10f): Likewise.
51456 [C99-based standards] (clog1pf): Likewise.
51457 [C99-based standards] (clog2f): Likewise.
51458 [C99-based standards] (clgammaf): Likewise.
51459 [C99-based standards] (ctgammaf): Likewise.
51460 [C99-based standards] (cerfl): Likewise.
51461 [C99-based standards] (cerfcl): Likewise.
51462 [C99-based standards] (cexp2l): Likewise.
51463 [C99-based standards] (cexpm1l): Likewise.
51464 [C99-based standards] (clog10l): Likewise.
51465 [C99-based standards] (clog1pl): Likewise.
51466 [C99-based standards] (clog2l): Likewise.
51467 [C99-based standards] (clgammal): Likewise.
51468 [C99-based standards] (ctgammal): Likewise.
51469 * conform/data/inttypes.h-data [C99-based standards]: Include
51470 stdint.h-data. Remove all expectations for stdint.h contents.
51471 [C99-based standards] (PRI*): Do not allow.
51472 [C99-based standards] (SCN*): Likewise.
51473 [C99-based standards] (*_t): Likewise.
51474 [C99-based-standards] (PRId8): Expect macro.
51475 [C99-based-standards] (PRIi8): Likewise.
51476 [C99-based-standards] (PRIo8): Likewise.
51477 [C99-based-standards] (PRIu8): Likewise.
51478 [C99-based-standards] (PRIx8): Likewise.
51479 [C99-based-standards] (PRIX8): Likewise.
51480 [C99-based-standards] (SCNd8): Likewise.
51481 [C99-based-standards] (SCNi8): Likewise.
51482 [C99-based-standards] (SCNo8): Likewise.
51483 [C99-based-standards] (SCNu8): Likewise.
51484 [C99-based-standards] (SCNx8): Likewise.
51485 [C99-based-standards] (PRIdLEAST8): Likewise.
51486 [C99-based-standards] (PRIiLEAST8): Likewise.
51487 [C99-based-standards] (PRIoLEAST8): Likewise.
51488 [C99-based-standards] (PRIuLEAST8): Likewise.
51489 [C99-based-standards] (PRIxLEAST8): Likewise.
51490 [C99-based-standards] (PRIXLEAST8): Likewise.
51491 [C99-based-standards] (SCNdLEAST8): Likewise.
51492 [C99-based-standards] (SCNiLEAST8): Likewise.
51493 [C99-based-standards] (SCNoLEAST8): Likewise.
51494 [C99-based-standards] (SCNuLEAST8): Likewise.
51495 [C99-based-standards] (SCNxLEAST8): Likewise.
51496 [C99-based-standards] (PRIdFAST8): Likewise.
51497 [C99-based-standards] (PRIiFAST8): Likewise.
51498 [C99-based-standards] (PRIoFAST8): Likewise.
51499 [C99-based-standards] (PRIuFAST8): Likewise.
51500 [C99-based-standards] (PRIxFAST8): Likewise.
51501 [C99-based-standards] (PRIXFAST8): Likewise.
51502 [C99-based-standards] (SCNdFAST8): Likewise.
51503 [C99-based-standards] (SCNiFAST8): Likewise.
51504 [C99-based-standards] (SCNoFAST8): Likewise.
51505 [C99-based-standards] (SCNuFAST8): Likewise.
51506 [C99-based-standards] (SCNxFAST8): Likewise.
51507 [C99-based-standards] (PRId16): Likewise.
51508 [C99-based-standards] (PRIi16): Likewise.
51509 [C99-based-standards] (PRIo16): Likewise.
51510 [C99-based-standards] (PRIu16): Likewise.
51511 [C99-based-standards] (PRIx16): Likewise.
51512 [C99-based-standards] (PRIX16): Likewise.
51513 [C99-based-standards] (SCNd16): Likewise.
51514 [C99-based-standards] (SCNi16): Likewise.
51515 [C99-based-standards] (SCNo16): Likewise.
51516 [C99-based-standards] (SCNu16): Likewise.
51517 [C99-based-standards] (SCNx16): Likewise.
51518 [C99-based-standards] (PRIdLEAST16): Likewise.
51519 [C99-based-standards] (PRIiLEAST16): Likewise.
51520 [C99-based-standards] (PRIoLEAST16): Likewise.
51521 [C99-based-standards] (PRIuLEAST16): Likewise.
51522 [C99-based-standards] (PRIxLEAST16): Likewise.
51523 [C99-based-standards] (PRIXLEAST16): Likewise.
51524 [C99-based-standards] (SCNdLEAST16): Likewise.
51525 [C99-based-standards] (SCNiLEAST16): Likewise.
51526 [C99-based-standards] (SCNoLEAST16): Likewise.
51527 [C99-based-standards] (SCNuLEAST16): Likewise.
51528 [C99-based-standards] (SCNxLEAST16): Likewise.
51529 [C99-based-standards] (PRIdFAST16): Likewise.
51530 [C99-based-standards] (PRIiFAST16): Likewise.
51531 [C99-based-standards] (PRIoFAST16): Likewise.
51532 [C99-based-standards] (PRIuFAST16): Likewise.
51533 [C99-based-standards] (PRIxFAST16): Likewise.
51534 [C99-based-standards] (PRIXFAST16): Likewise.
51535 [C99-based-standards] (SCNdFAST16): Likewise.
51536 [C99-based-standards] (SCNiFAST16): Likewise.
51537 [C99-based-standards] (SCNoFAST16): Likewise.
51538 [C99-based-standards] (SCNuFAST16): Likewise.
51539 [C99-based-standards] (SCNxFAST16): Likewise.
51540 [C99-based-standards] (PRId32): Likewise.
51541 [C99-based-standards] (PRIi32): Likewise.
51542 [C99-based-standards] (PRIo32): Likewise.
51543 [C99-based-standards] (PRIu32): Likewise.
51544 [C99-based-standards] (PRIx32): Likewise.
51545 [C99-based-standards] (PRIX32): Likewise.
51546 [C99-based-standards] (SCNd32): Likewise.
51547 [C99-based-standards] (SCNi32): Likewise.
51548 [C99-based-standards] (SCNo32): Likewise.
51549 [C99-based-standards] (SCNu32): Likewise.
51550 [C99-based-standards] (SCNx32): Likewise.
51551 [C99-based-standards] (PRIdLEAST32): Likewise.
51552 [C99-based-standards] (PRIiLEAST32): Likewise.
51553 [C99-based-standards] (PRIoLEAST32): Likewise.
51554 [C99-based-standards] (PRIuLEAST32): Likewise.
51555 [C99-based-standards] (PRIxLEAST32): Likewise.
51556 [C99-based-standards] (PRIXLEAST32): Likewise.
51557 [C99-based-standards] (SCNdLEAST32): Likewise.
51558 [C99-based-standards] (SCNiLEAST32): Likewise.
51559 [C99-based-standards] (SCNoLEAST32): Likewise.
51560 [C99-based-standards] (SCNuLEAST32): Likewise.
51561 [C99-based-standards] (SCNxLEAST32): Likewise.
51562 [C99-based-standards] (PRIdFAST32): Likewise.
51563 [C99-based-standards] (PRIiFAST32): Likewise.
51564 [C99-based-standards] (PRIoFAST32): Likewise.
51565 [C99-based-standards] (PRIuFAST32): Likewise.
51566 [C99-based-standards] (PRIxFAST32): Likewise.
51567 [C99-based-standards] (PRIXFAST32): Likewise.
51568 [C99-based-standards] (SCNdFAST32): Likewise.
51569 [C99-based-standards] (SCNiFAST32): Likewise.
51570 [C99-based-standards] (SCNoFAST32): Likewise.
51571 [C99-based-standards] (SCNuFAST32): Likewise.
51572 [C99-based-standards] (SCNxFAST32): Likewise.
51573 [C99-based-standards] (PRId64): Likewise.
51574 [C99-based-standards] (PRIi64): Likewise.
51575 [C99-based-standards] (PRIo64): Likewise.
51576 [C99-based-standards] (PRIu64): Likewise.
51577 [C99-based-standards] (PRIx64): Likewise.
51578 [C99-based-standards] (PRIX64): Likewise.
51579 [C99-based-standards] (SCNd64): Likewise.
51580 [C99-based-standards] (SCNi64): Likewise.
51581 [C99-based-standards] (SCNo64): Likewise.
51582 [C99-based-standards] (SCNu64): Likewise.
51583 [C99-based-standards] (SCNx64): Likewise.
51584 [C99-based-standards] (PRIdLEAST64): Likewise.
51585 [C99-based-standards] (PRIiLEAST64): Likewise.
51586 [C99-based-standards] (PRIoLEAST64): Likewise.
51587 [C99-based-standards] (PRIuLEAST64): Likewise.
51588 [C99-based-standards] (PRIxLEAST64): Likewise.
51589 [C99-based-standards] (PRIXLEAST64): Likewise.
51590 [C99-based-standards] (SCNdLEAST64): Likewise.
51591 [C99-based-standards] (SCNiLEAST64): Likewise.
51592 [C99-based-standards] (SCNoLEAST64): Likewise.
51593 [C99-based-standards] (SCNuLEAST64): Likewise.
51594 [C99-based-standards] (SCNxLEAST64): Likewise.
51595 [C99-based-standards] (PRIdFAST64): Likewise.
51596 [C99-based-standards] (PRIiFAST64): Likewise.
51597 [C99-based-standards] (PRIoFAST64): Likewise.
51598 [C99-based-standards] (PRIuFAST64): Likewise.
51599 [C99-based-standards] (PRIxFAST64): Likewise.
51600 [C99-based-standards] (PRIXFAST64): Likewise.
51601 [C99-based-standards] (SCNdFAST64): Likewise.
51602 [C99-based-standards] (SCNiFAST64): Likewise.
51603 [C99-based-standards] (SCNoFAST64): Likewise.
51604 [C99-based-standards] (SCNuFAST64): Likewise.
51605 [C99-based-standards] (SCNxFAST64): Likewise.
51606 [C99-based-standards] (PRIdMAX): Likewise.
51607 [C99-based-standards] (PRIiMAX): Likewise.
51608 [C99-based-standards] (PRIoMAX): Likewise.
51609 [C99-based-standards] (PRIuMAX): Likewise.
51610 [C99-based-standards] (PRIxMAX): Likewise.
51611 [C99-based-standards] (PRIXMAX): Likewise.
51612 [C99-based-standards] (SCNdMAX): Likewise.
51613 [C99-based-standards] (SCNiMAX): Likewise.
51614 [C99-based-standards] (SCNoMAX): Likewise.
51615 [C99-based-standards] (SCNuMAX): Likewise.
51616 [C99-based-standards] (SCNxMAX): Likewise.
51617 [C99-based-standards] (PRIdPTR): Likewise.
51618 [C99-based-standards] (PRIiPTR): Likewise.
51619 [C99-based-standards] (PRIoPTR): Likewise.
51620 [C99-based-standards] (PRIuPTR): Likewise.
51621 [C99-based-standards] (PRIxPTR): Likewise.
51622 [C99-based-standards] (PRIXPTR): Likewise.
51623 [C99-based-standards] (SCNdPTR): Likewise.
51624 [C99-based-standards] (SCNiPTR): Likewise.
51625 [C99-based-standards] (SCNoPTR): Likewise.
51626 [C99-based-standards] (SCNuPTR): Likewise.
51627 [C99-based-standards] (SCNxPTR): Likewise.
51628 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
51629 allow.
51630 * conform/data/stdint.h-data: Update comments to clarify
51631 requirements.
51632 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
51633 type.
51634 [C99-based standards] (INT8_MAX): Likewise.
51635 [C99-based standards] (INT16_MIN): Likewise.
51636 [C99-based standards] (INT16_MAX): Likewise.
51637 [C99-based standards] (INT32_MIN): Likewise.
51638 [C99-based standards] (INT32_MAX): Likewise.
51639 [C99-based standards] (INT64_MIN): Likewise.
51640 [C99-based standards] (INT64_MAX): Likewise.
51641 [C99-based standards] (UINT8_MAX): Likewise.
51642 [C99-based standards] (UINT16_MAX): Likewise.
51643 [C99-based standards] (UINT32_MAX): Likewise.
51644 [C99-based standards] (UINT64_MAX): Likewise.
51645 [C99-based standards] (INT_LEAST8_MIN): Likewise.
51646 [C99-based standards] (INT_LEAST8_MAX): Likewise.
51647 [C99-based standards] (INT_LEAST16_MIN): Likewise.
51648 [C99-based standards] (INT_LEAST16_MAX): Likewise.
51649 [C99-based standards] (INT_LEAST32_MIN): Likewise.
51650 [C99-based standards] (INT_LEAST32_MAX): Likewise.
51651 [C99-based standards] (INT_LEAST64_MIN): Likewise.
51652 [C99-based standards] (INT_LEAST64_MAX): Likewise.
51653 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
51654 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
51655 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
51656 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
51657 [C99-based standards] (INT_FAST8_MIN): Likewise.
51658 [C99-based standards] (INT_FAST8_MAX): Likewise.
51659 [C99-based standards] (INT_FAST16_MIN): Likewise.
51660 [C99-based standards] (INT_FAST16_MAX): Likewise.
51661 [C99-based standards] (INT_FAST32_MIN): Likewise.
51662 [C99-based standards] (INT_FAST32_MAX): Likewise.
51663 [C99-based standards] (INT_FAST64_MIN): Likewise.
51664 [C99-based standards] (INT_FAST64_MAX): Likewise.
51665 [C99-based standards] (UINT_FAST8_MAX): Likewise.
51666 [C99-based standards] (UINT_FAST16_MAX): Likewise.
51667 [C99-based standards] (UINT_FAST32_MAX): Likewise.
51668 [C99-based standards] (UINT_FAST64_MAX): Likewise.
51669 [C99-based standards] (INTPTR_MIN): Likewise.
51670 [C99-based standards] (INTPTR_MAX): Likewise.
51671 [C99-based standards] (UINTPTR_MAX): Likewise.
51672 [C99-based standards] (INTMAX_MIN): Likewise.
51673 [C99-based standards] (INTMAX_MAX): Likewise.
51674 [C99-based standards] (UINTMAX_MAX): Likewise.
51675 [C99-based standards] (PTRDIFF_MIN): Likewise.
51676 [C99-based standards] (PTRDIFF_MAX): Likewise.
51677 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
51678 [C99-based standards] (SIZE_MAX): Likewise.
51679 [C99-based standards] (WCHAR_MAX): Likewise.
51680 [C99-based standards] (WINT_MAX): Likewise.
51681 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
51682 constraint on value.
51683 [C99-based standards] (WCHAR_MIN): Likewise.
51684 [C99-based standards] (WINT_MIN): Likewise.
51685 [C99-based standards] (*_t): Allow.
51686 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
51687 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
51688 Include math.h-data and complex.h-data. Remove all expectations
51689 of math.h and complex.h contents.
51690 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
51691 at end of line.
51692 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
51693 (struct tm): Expect tag.
51694 [C99-based-standards] (wcstof): Expect function.
51695 [C99-based-standards] (wcstold): Likewise.
51696 [C99-based-standards] (wcstoll): Likewise.
51697 [C99-based-standards] (wcstoull): Likewise.
51698 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
51699 macro-int-constant. Specify type.
51700 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
51701 constraint on value.
51702 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51703 Specify type.
51704 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
51705 Specify value.
51706 [ISO C standards]: Do not allow headers.
51707 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
51708 wcs[abcdefghijklmnopqrstuvwxyz]*.
51709 [ISO C standards] (*_t): Do not allow.
51710 * conform/data/wctype.h-data [C99-based standards] (iswblank):
51711 Expect function.
51712 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
51713 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51714 Specify type.
51715 [ISO C standards]: Do not allow headers.
51716 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
51717 is[abcdefghijklmnopqrstuvwxyz]*.
51718 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
51719 to[abcdefghijklmnopqrstuvwxyz]*.
51720 [ISO C standards] (*_t): Do not allow.
51721 * conform/data/stdalign.h-data: New file.
51722 * conform/data/stdbool.h-data: Likewise.
51723 * conform/data/stdnoreturn.h-data: Likewise.
51724
51725 2012-11-07 Roland McGrath <roland@hack.frob.com>
51726
51727 [BZ #14815]
51728 * manual/filesys.texi (Directory Entries): Typo fix.
51729 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
51730
51731 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51732
51733 * elf/elf.h (EM_AARCH64): New macro.
51734 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
51735 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
51736 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
51737 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
51738 (R_AARCH64_TLSDESC): Likewise.
51739 (NT_ARM_TLS): Likewise.
51740 (NT_ARM_HW_BREAK): Likewise.
51741 (NT_ARM_HW_WATCH): Likewise.
51742
51743 2012-11-07 Joseph Myers <joseph@codesourcery.com>
51744
51745 [BZ #14811]
51746 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
51747 (__ieee754_powl): Saturate nonzero exponents with absolute value
51748 below 0x1p-79 to +/- 0x1p-79.
51749 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
51750 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
51751 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
51752 nonzero exponents with absolute value below 0x1p-32 to +/-
51753 0x1p-32.
51754 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
51755 (__ieee754_powl): Saturate nonzero exponents with absolute value
51756 below 0x1p-79 to +/- 0x1p-79.
51757 * math/libm-test.inc (pow_test): Add more tests.
51758
51759 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51760
51761 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
51762 _dl_s390_cap_flags with kernel. Increase string length.
51763 (_dl_s390_platforms): Add z196 and zEC12.
51764
51765 2012-11-07 Joseph Myers <joseph@codesourcery.com>
51766
51767 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
51768 Change XOPEN21K to XOPEN2K.
51769
51770 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
51771
51772 * string/memmove.c: Use memcpy when possible.
51773
51774 2012-11-06 Andreas Jaeger <aj@suse.de>
51775
51776 * po/eo.po: Update from translation team.
51777
51778 2012-11-06 Joseph Myers <joseph@codesourcery.com>
51779
51780 [BZ #14793]
51781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
51782 exponent and small x and y exponents, scale x or y up. Increase
51783 by 2 the exponent used in scaling up.
51784 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51785 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51786 * math/libm-test.inc (fma_test): Add more tests.
51787 (fma_test_towardzero): Likewise.
51788 (fma_test_downward): Likewise.
51789 (fma_test_upward): Likewise.
51790
51791 2012-11-05 Joseph Myers <joseph@codesourcery.com>
51792
51793 [BZ #14805]
51794 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
51795 fenv_t *.
51796
51797 [BZ #14801]
51798 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
51799 namespace for names of struct fields.
51800 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
51801 fenv_t fields.
51802 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
51803 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
51804
51805 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
51806
51807 [BZ #3665]
51808 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
51809
51810 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
51811
51812 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
51813 PTR_DEMANGLE.
51814
51815 [BZ #5246]
51816 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
51817 PTR_DEMANGLE.
51818
51819 2012-11-04 Joseph Myers <joseph@codesourcery.com>
51820
51821 [BZ #14797]
51822 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
51823 definitely overflow as x * y not x * y + z.
51824 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51825 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51826 * math/libm-test.inc (fma_test): Add more tests.
51827 (fma_test_towardzero): Likewise.
51828 (fma_test_downward): Likewise.
51829 (fma_test_upward): Likewise.
51830
51831 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
51832
51833 [BZ #157]
51834
51835 * include/stub-tag.h: Remove file.
51836 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
51837 '#include' of it.
51838 * manual/maint.texi (Porting): Don't reference it.
51839 * Makerules ($(objpfx)stubs): Likewise.
51840 * dirent/closedir.c: Don't include <stub-tag.h>.
51841 * dirent/dirfd.c: Likewise.
51842 * dirent/fdopendir.c: Likewise.
51843 * dirent/getdents.c: Likewise.
51844 * dirent/getdents64.c: Likewise.
51845 * dirent/opendir.c: Likewise.
51846 * dirent/readdir.c: Likewise.
51847 * dirent/readdir64.c: Likewise.
51848 * dirent/readdir64_r.c: Likewise.
51849 * dirent/readdir_r.c: Likewise.
51850 * dirent/rewinddir.c: Likewise.
51851 * dirent/seekdir.c: Likewise.
51852 * dirent/telldir.c: Likewise.
51853 * gmon/profil.c: Likewise.
51854 * grp/setgroups.c: Likewise.
51855 * inet/if_index.c: Likewise.
51856 * io/access.c: Likewise.
51857 * io/chdir.c: Likewise.
51858 * io/chmod.c: Likewise.
51859 * io/chown.c: Likewise.
51860 * io/close.c: Likewise.
51861 * io/dup.c: Likewise.
51862 * io/dup2.c: Likewise.
51863 * io/dup3.c: Likewise.
51864 * io/euidaccess.c: Likewise.
51865 * io/faccessat.c: Likewise.
51866 * io/fchdir.c: Likewise.
51867 * io/fchmod.c: Likewise.
51868 * io/fchmodat.c: Likewise.
51869 * io/fchown.c: Likewise.
51870 * io/fchownat.c: Likewise.
51871 * io/fcntl.c: Likewise.
51872 * io/flock.c: Likewise.
51873 * io/fstatfs.c: Likewise.
51874 * io/fstatfs64.c: Likewise.
51875 * io/fstatvfs.c: Likewise.
51876 * io/fstatvfs64.c: Likewise.
51877 * io/futimens.c: Likewise.
51878 * io/fxstat.c: Likewise.
51879 * io/fxstat64.c: Likewise.
51880 * io/fxstatat.c: Likewise.
51881 * io/fxstatat64.c: Likewise.
51882 * io/getcwd.c: Likewise.
51883 * io/isatty.c: Likewise.
51884 * io/lchmod.c: Likewise.
51885 * io/lchown.c: Likewise.
51886 * io/link.c: Likewise.
51887 * io/linkat.c: Likewise.
51888 * io/lseek.c: Likewise.
51889 * io/lseek64.c: Likewise.
51890 * io/lxstat64.c: Likewise.
51891 * io/mkdir.c: Likewise.
51892 * io/mkdirat.c: Likewise.
51893 * io/mkfifo.c: Likewise.
51894 * io/mkfifoat.c: Likewise.
51895 * io/open.c: Likewise.
51896 * io/open64.c: Likewise.
51897 * io/openat.c: Likewise.
51898 * io/openat64.c: Likewise.
51899 * io/pipe.c: Likewise.
51900 * io/pipe2.c: Likewise.
51901 * io/poll.c: Likewise.
51902 * io/posix_fadvise.c: Likewise.
51903 * io/posix_fadvise64.c: Likewise.
51904 * io/posix_fallocate.c: Likewise.
51905 * io/posix_fallocate64.c: Likewise.
51906 * io/read.c: Likewise.
51907 * io/readlink.c: Likewise.
51908 * io/readlinkat.c: Likewise.
51909 * io/rmdir.c: Likewise.
51910 * io/sendfile.c: Likewise.
51911 * io/sendfile64.c: Likewise.
51912 * io/statfs.c: Likewise.
51913 * io/statfs64.c: Likewise.
51914 * io/statvfs.c: Likewise.
51915 * io/statvfs64.c: Likewise.
51916 * io/symlink.c: Likewise.
51917 * io/symlinkat.c: Likewise.
51918 * io/ttyname.c: Likewise.
51919 * io/ttyname_r.c: Likewise.
51920 * io/umask.c: Likewise.
51921 * io/unlink.c: Likewise.
51922 * io/unlinkat.c: Likewise.
51923 * io/utime.c: Likewise.
51924 * io/utimensat.c: Likewise.
51925 * io/write.c: Likewise.
51926 * io/xmknod.c: Likewise.
51927 * io/xmknodat.c: Likewise.
51928 * io/xstat.c: Likewise.
51929 * io/xstat64.c: Likewise.
51930 * login/getpt.c: Likewise.
51931 * login/grantpt.c: Likewise.
51932 * login/unlockpt.c: Likewise.
51933 * math/e_acoshl.c: Likewise.
51934 * math/e_acosl.c: Likewise.
51935 * math/e_asinl.c: Likewise.
51936 * math/e_atan2l.c: Likewise.
51937 * math/e_atanhl.c: Likewise.
51938 * math/e_coshl.c: Likewise.
51939 * math/e_expl.c: Likewise.
51940 * math/e_fmodl.c: Likewise.
51941 * math/e_gammal_r.c: Likewise.
51942 * math/e_hypotl.c: Likewise.
51943 * math/e_j0l.c: Likewise.
51944 * math/e_j1l.c: Likewise.
51945 * math/e_jnl.c: Likewise.
51946 * math/e_lgammal_r.c: Likewise.
51947 * math/e_log10l.c: Likewise.
51948 * math/e_log2l.c: Likewise.
51949 * math/e_logl.c: Likewise.
51950 * math/e_powl.c: Likewise.
51951 * math/e_rem_pio2l.c: Likewise.
51952 * math/e_sinhl.c: Likewise.
51953 * math/e_sqrtl.c: Likewise.
51954 * math/fclrexcpt.c: Likewise.
51955 * math/fedisblxcpt.c: Likewise.
51956 * math/feenablxcpt.c: Likewise.
51957 * math/fegetenv.c: Likewise.
51958 * math/fegetexcept.c: Likewise.
51959 * math/fegetround.c: Likewise.
51960 * math/feholdexcpt.c: Likewise.
51961 * math/fesetenv.c: Likewise.
51962 * math/fesetround.c: Likewise.
51963 * math/feupdateenv.c: Likewise.
51964 * math/fgetexcptflg.c: Likewise.
51965 * math/fraiseexcpt.c: Likewise.
51966 * math/fsetexcptflg.c: Likewise.
51967 * math/ftestexcept.c: Likewise.
51968 * math/k_cosl.c: Likewise.
51969 * math/k_rem_pio2l.c: Likewise.
51970 * math/k_sinl.c: Likewise.
51971 * math/k_tanl.c: Likewise.
51972 * math/s_asinhl.c: Likewise.
51973 * math/s_atanl.c: Likewise.
51974 * math/s_cbrtl.c: Likewise.
51975 * math/s_erfl.c: Likewise.
51976 * math/s_expm1l.c: Likewise.
51977 * math/s_log1pl.c: Likewise.
51978 * math/s_tanhl.c: Likewise.
51979 * misc/acct.c: Likewise.
51980 * misc/brk.c: Likewise.
51981 * misc/chflags.c: Likewise.
51982 * misc/chroot.c: Likewise.
51983 * misc/fchflags.c: Likewise.
51984 * misc/fgetxattr.c: Likewise.
51985 * misc/flistxattr.c: Likewise.
51986 * misc/fremovexattr.c: Likewise.
51987 * misc/fsetxattr.c: Likewise.
51988 * misc/fsync.c: Likewise.
51989 * misc/ftruncate.c: Likewise.
51990 * misc/futimes.c: Likewise.
51991 * misc/futimesat.c: Likewise.
51992 * misc/getdomain.c: Likewise.
51993 * misc/getdtsz.c: Likewise.
51994 * misc/gethostid.c: Likewise.
51995 * misc/gethostname.c: Likewise.
51996 * misc/getloadavg.c: Likewise.
51997 * misc/getpagesize.c: Likewise.
51998 * misc/getsysstats.c: Likewise.
51999 * misc/getxattr.c: Likewise.
52000 * misc/gtty.c: Likewise.
52001 * misc/ioctl.c: Likewise.
52002 * misc/lgetxattr.c: Likewise.
52003 * misc/listxattr.c: Likewise.
52004 * misc/llistxattr.c: Likewise.
52005 * misc/lremovexattr.c: Likewise.
52006 * misc/lsetxattr.c: Likewise.
52007 * misc/lutimes.c: Likewise.
52008 * misc/madvise.c: Likewise.
52009 * misc/mincore.c: Likewise.
52010 * misc/mlock.c: Likewise.
52011 * misc/mlockall.c: Likewise.
52012 * misc/mmap.c: Likewise.
52013 * misc/mprotect.c: Likewise.
52014 * misc/msync.c: Likewise.
52015 * misc/munlock.c: Likewise.
52016 * misc/munlockall.c: Likewise.
52017 * misc/munmap.c: Likewise.
52018 * misc/preadv.c: Likewise.
52019 * misc/preadv64.c: Likewise.
52020 * misc/ptrace.c: Likewise.
52021 * misc/pwritev.c: Likewise.
52022 * misc/pwritev64.c: Likewise.
52023 * misc/readv.c: Likewise.
52024 * misc/reboot.c: Likewise.
52025 * misc/remap_file_pages.c: Likewise.
52026 * misc/removexattr.c: Likewise.
52027 * misc/revoke.c: Likewise.
52028 * misc/select.c: Likewise.
52029 * misc/setdomain.c: Likewise.
52030 * misc/setegid.c: Likewise.
52031 * misc/seteuid.c: Likewise.
52032 * misc/sethostid.c: Likewise.
52033 * misc/sethostname.c: Likewise.
52034 * misc/setregid.c: Likewise.
52035 * misc/setreuid.c: Likewise.
52036 * misc/setxattr.c: Likewise.
52037 * misc/sstk.c: Likewise.
52038 * misc/stty.c: Likewise.
52039 * misc/swapoff.c: Likewise.
52040 * misc/swapon.c: Likewise.
52041 * misc/sync.c: Likewise.
52042 * misc/syncfs.c: Likewise.
52043 * misc/syscall.c: Likewise.
52044 * misc/truncate.c: Likewise.
52045 * misc/ualarm.c: Likewise.
52046 * misc/usleep.c: Likewise.
52047 * misc/ustat.c: Likewise.
52048 * misc/utimes.c: Likewise.
52049 * misc/vhangup.c: Likewise.
52050 * misc/writev.c: Likewise.
52051 * posix/_exit.c: Likewise.
52052 * posix/alarm.c: Likewise.
52053 * posix/execve.c: Likewise.
52054 * posix/fexecve.c: Likewise.
52055 * posix/fork.c: Likewise.
52056 * posix/fpathconf.c: Likewise.
52057 * posix/getaddrinfo.c: Likewise.
52058 * posix/getegid.c: Likewise.
52059 * posix/geteuid.c: Likewise.
52060 * posix/getgid.c: Likewise.
52061 * posix/getgroups.c: Likewise.
52062 * posix/getlogin.c: Likewise.
52063 * posix/getlogin_r.c: Likewise.
52064 * posix/getpgid.c: Likewise.
52065 * posix/getpid.c: Likewise.
52066 * posix/getppid.c: Likewise.
52067 * posix/getresgid.c: Likewise.
52068 * posix/getresuid.c: Likewise.
52069 * posix/getsid.c: Likewise.
52070 * posix/getuid.c: Likewise.
52071 * posix/glob64.c: Likewise.
52072 * posix/nanosleep.c: Likewise.
52073 * posix/pathconf.c: Likewise.
52074 * posix/pause.c: Likewise.
52075 * posix/posix_madvise.c: Likewise.
52076 * posix/pread.c: Likewise.
52077 * posix/pread64.c: Likewise.
52078 * posix/pwrite.c: Likewise.
52079 * posix/pwrite64.c: Likewise.
52080 * posix/sched_getaffinity.c: Likewise.
52081 * posix/sched_getp.c: Likewise.
52082 * posix/sched_gets.c: Likewise.
52083 * posix/sched_primax.c: Likewise.
52084 * posix/sched_primin.c: Likewise.
52085 * posix/sched_rr_gi.c: Likewise.
52086 * posix/sched_setaffinity.c: Likewise.
52087 * posix/sched_setp.c: Likewise.
52088 * posix/sched_sets.c: Likewise.
52089 * posix/sched_yield.c: Likewise.
52090 * posix/setgid.c: Likewise.
52091 * posix/setlogin.c: Likewise.
52092 * posix/setpgid.c: Likewise.
52093 * posix/setresgid.c: Likewise.
52094 * posix/setresuid.c: Likewise.
52095 * posix/setsid.c: Likewise.
52096 * posix/setuid.c: Likewise.
52097 * posix/sleep.c: Likewise.
52098 * posix/spawni.c: Likewise.
52099 * posix/sysconf.c: Likewise.
52100 * posix/times.c: Likewise.
52101 * posix/wait.c: Likewise.
52102 * posix/wait3.c: Likewise.
52103 * posix/wait4.c: Likewise.
52104 * posix/waitpid.c: Likewise.
52105 * resolv/gai_sigqueue.c: Likewise.
52106 * resource/getpriority.c: Likewise.
52107 * resource/getrlimit.c: Likewise.
52108 * resource/getrusage.c: Likewise.
52109 * resource/nice.c: Likewise.
52110 * resource/setpriority.c: Likewise.
52111 * resource/setrlimit.c: Likewise.
52112 * resource/ulimit.c: Likewise.
52113 * rt/aio_cancel.c: Likewise.
52114 * rt/aio_fsync.c: Likewise.
52115 * rt/aio_read.c: Likewise.
52116 * rt/aio_sigqueue.c: Likewise.
52117 * rt/aio_suspend.c: Likewise.
52118 * rt/aio_write.c: Likewise.
52119 * rt/clock_getres.c: Likewise.
52120 * rt/clock_gettime.c: Likewise.
52121 * rt/clock_nanosleep.c: Likewise.
52122 * rt/clock_settime.c: Likewise.
52123 * rt/lio_listio.c: Likewise.
52124 * rt/mq_close.c: Likewise.
52125 * rt/mq_getattr.c: Likewise.
52126 * rt/mq_notify.c: Likewise.
52127 * rt/mq_open.c: Likewise.
52128 * rt/mq_receive.c: Likewise.
52129 * rt/mq_send.c: Likewise.
52130 * rt/mq_setattr.c: Likewise.
52131 * rt/mq_timedreceive.c: Likewise.
52132 * rt/mq_timedsend.c: Likewise.
52133 * rt/mq_unlink.c: Likewise.
52134 * rt/shm_open.c: Likewise.
52135 * rt/shm_unlink.c: Likewise.
52136 * rt/timer_create.c: Likewise.
52137 * rt/timer_delete.c: Likewise.
52138 * rt/timer_getoverr.c: Likewise.
52139 * rt/timer_gettime.c: Likewise.
52140 * rt/timer_settime.c: Likewise.
52141 * setjmp/__longjmp.c: Likewise.
52142 * setjmp/setjmp.c: Likewise.
52143 * signal/kill.c: Likewise.
52144 * signal/killpg.c: Likewise.
52145 * signal/raise.c: Likewise.
52146 * signal/sigaction.c: Likewise.
52147 * signal/sigaltstack.c: Likewise.
52148 * signal/sigblock.c: Likewise.
52149 * signal/sigignore.c: Likewise.
52150 * signal/sigintr.c: Likewise.
52151 * signal/signal.c: Likewise.
52152 * signal/sigpause.c: Likewise.
52153 * signal/sigpending.c: Likewise.
52154 * signal/sigqueue.c: Likewise.
52155 * signal/sigreturn.c: Likewise.
52156 * signal/sigset.c: Likewise.
52157 * signal/sigsetmask.c: Likewise.
52158 * signal/sigstack.c: Likewise.
52159 * signal/sigsuspend.c: Likewise.
52160 * signal/sigtimedwait.c: Likewise.
52161 * signal/sigvec.c: Likewise.
52162 * signal/sigwait.c: Likewise.
52163 * signal/sigwaitinfo.c: Likewise.
52164 * signal/sysv_signal.c: Likewise.
52165 * socket/accept.c: Likewise.
52166 * socket/accept4.c: Likewise.
52167 * socket/bind.c: Likewise.
52168 * socket/connect.c: Likewise.
52169 * socket/getpeername.c: Likewise.
52170 * socket/getsockname.c: Likewise.
52171 * socket/getsockopt.c: Likewise.
52172 * socket/isfdtype.c: Likewise.
52173 * socket/listen.c: Likewise.
52174 * socket/recv.c: Likewise.
52175 * socket/recvfrom.c: Likewise.
52176 * socket/recvmsg.c: Likewise.
52177 * socket/send.c: Likewise.
52178 * socket/sendmsg.c: Likewise.
52179 * socket/sendto.c: Likewise.
52180 * socket/setsockopt.c: Likewise.
52181 * socket/shutdown.c: Likewise.
52182 * socket/sockatmark.c: Likewise.
52183 * socket/socket.c: Likewise.
52184 * socket/socketpair.c: Likewise.
52185 * stdio-common/ctermid.c: Likewise.
52186 * stdio-common/cuserid.c: Likewise.
52187 * stdio-common/remove.c: Likewise.
52188 * stdio-common/rename.c: Likewise.
52189 * stdio-common/renameat.c: Likewise.
52190 * stdio-common/tempname.c: Likewise.
52191 * stdlib/getcontext.c: Likewise.
52192 * stdlib/makecontext.c: Likewise.
52193 * stdlib/setcontext.c: Likewise.
52194 * stdlib/swapcontext.c: Likewise.
52195 * stdlib/system.c: Likewise.
52196 * streams/fattach.c: Likewise.
52197 * streams/fdetach.c: Likewise.
52198 * streams/getmsg.c: Likewise.
52199 * streams/getpmsg.c: Likewise.
52200 * streams/putmsg.c: Likewise.
52201 * streams/putpmsg.c: Likewise.
52202 * sysdeps/unix/bsd/getpt.c: Likewise.
52203 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
52204 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
52205 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52207 Likewise.
52208 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
52209 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52210 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
52211 * sysvipc/msgctl.c: Likewise.
52212 * sysvipc/msgget.c: Likewise.
52213 * sysvipc/msgrcv.c: Likewise.
52214 * sysvipc/msgsnd.c: Likewise.
52215 * sysvipc/semctl.c: Likewise.
52216 * sysvipc/semget.c: Likewise.
52217 * sysvipc/semop.c: Likewise.
52218 * sysvipc/semtimedop.c: Likewise.
52219 * sysvipc/shmat.c: Likewise.
52220 * sysvipc/shmctl.c: Likewise.
52221 * sysvipc/shmdt.c: Likewise.
52222 * sysvipc/shmget.c: Likewise.
52223 * termios/tcdrain.c: Likewise.
52224 * termios/tcflow.c: Likewise.
52225 * termios/tcflush.c: Likewise.
52226 * termios/tcgetattr.c: Likewise.
52227 * termios/tcgetpgrp.c: Likewise.
52228 * termios/tcsendbrk.c: Likewise.
52229 * termios/tcsetattr.c: Likewise.
52230 * termios/tcsetpgrp.c: Likewise.
52231 * time/adjtime.c: Likewise.
52232 * time/clock.c: Likewise.
52233 * time/getitimer.c: Likewise.
52234 * time/gettimeofday.c: Likewise.
52235 * time/setitimer.c: Likewise.
52236 * time/settimeofday.c: Likewise.
52237 * time/stime.c: Likewise.
52238 * time/time.c: Likewise.
52239
52240 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
52241
52242 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
52243 /usr/old/bin.
52244
52245 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
52246 instead of spaces.
52247 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
52248
52249 2012-11-03 Joseph Myers <joseph@codesourcery.com>
52250
52251 [BZ #14796]
52252 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
52253 FE_TONEAREST before applying Dekker multiplication and Knuth
52254 addition. Clear inexact exceptions and check for exact zero
52255 results afterwards.
52256 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52257 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52258 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52259 * math/libm-test.inc (fma_test): Add more tests.
52260 (fma_test_towardzero): Likewise.
52261 (fma_test_downward): Likewise.
52262 (fma_test_upward): Likewise.
52263 * sysdeps/generic/math_private.h (default_libc_fesetround): New
52264 function.
52265 (libc_fesetround): New macro.
52266 (libc_fesetroundf): Likewise.
52267 (libc_fesetroundl): Likewise.
52268 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
52269 function.
52270 (libc_fesetround_387): Likewise.
52271 (libc_fesetroundf): New macro.
52272 (libc_fesetround): Likewise.
52273 (libc_fesetroundl): Likewise.
52274 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
52275 function.
52276 (libc_fesetroundf): New macro.
52277 (libc_fesetround): Likewise.
52278 (libc_fesetroundl): Likewise.
52279 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
52280 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
52281 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
52282 libm_hidden_ver.
52283 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
52284 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
52285 libm_hidden_def.
52286 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
52287 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
52288 libm_hidden_ver.
52289 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
52290 libm_hidden_def.
52291
52292 [BZ #3439]
52293 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
52294 integer constant usable in #if and use that to give value to enum
52295 constant.
52296 (FE_DIVBYZERO): Likewise.
52297 (FE_UNDERFLOW): Likewise.
52298 (FE_OVERFLOW): Likewise.
52299 (FE_INVALID): Likewise.
52300 (FE_INVALID_SNAN): Likewise.
52301 (FE_INVALID_ISI): Likewise.
52302 (FE_INVALID_IDI): Likewise.
52303 (FE_INVALID_ZDZ): Likewise.
52304 (FE_INVALID_IMZ): Likewise.
52305 (FE_INVALID_COMPARE): Likewise.
52306 (FE_INVALID_SOFTWARE): Likewise.
52307 (FE_INVALID_SQRT): Likewise.
52308 (FE_INVALID_INTEGER_CONVERSION): Likewise.
52309 (FE_TONEAREST): Likewise.
52310 (FE_TOWARDZERO): Likewise.
52311 (FE_UPWARD): Likewise.
52312 (FE_DOWNWARD): Likewise.
52313 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
52314 (FE_DIVBYZERO): Likewise.
52315 (FE_OVERFLOW): Likewise.
52316 (FE_UNDERFLOW): Likewise.
52317 (FE_INEXACT): Likewise.
52318 (FE_TONEAREST): Likewise.
52319 (FE_DOWNWARD): Likewise.
52320 (FE_UPWARD): Likewise.
52321 (FE_TOWARDZERO): Likewise.
52322 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
52323 (FE_UNDERFLOW): Likewise.
52324 (FE_OVERFLOW): Likewise.
52325 (FE_DIVBYZERO): Likewise.
52326 (FE_INVALID): Likewise.
52327 (FE_TONEAREST): Likewise.
52328 (FE_TOWARDZERO): Likewise.
52329 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
52330 (FE_OVERFLOW): Likewise.
52331 (FE_UNDERFLOW): Likewise.
52332 (FE_DIVBYZERO): Likewise.
52333 (FE_INEXACT): Likewise.
52334 (FE_TONEAREST): Likewise.
52335 (FE_TOWARDZERO): Likewise.
52336 (FE_UPWARD): Likewise.
52337 (FE_DOWNWARD): Likewise.
52338 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
52339 (FE_DIVBYZERO): Likewise.
52340 (FE_OVERFLOW): Likewise.
52341 (FE_UNDERFLOW): Likewise.
52342 (FE_INEXACT): Likewise.
52343 (FE_TONEAREST): Likewise.
52344 (FE_DOWNWARD): Likewise.
52345 (FE_UPWARD): Likewise.
52346 (FE_TOWARDZERO): Likewise.
52347
52348 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
52349
52350 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
52351
52352 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
52353
52354 * scripts/cross-test-ssh.sh (command): Use newlines to separate
52355 commands. Quote $PWD.
52356 (blacklist_exports): Don't use remove_newlines. Replace "declare
52357 -x" by "export".
52358 (remove_newlines): Remove.
52359
52360 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
52361
52362 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
52363 * stdlib/stdlib.h (atof): Moved to ...
52364 * include/bits/stdlib-float.h: Here. New file.
52365 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
52366 * stdlib/bits/stdlib-float.h: New file.
52367 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
52368 -mno-sse -mno-mmx.
52369 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
52370 <xmmintrin.h>.
52371
52372 2012-11-02 Joseph Myers <joseph@codesourcery.com>
52373
52374 * conform/conformtest.pl (@headers): Add fenv.h.
52375 * conform/data/fenv.h-data: New file.
52376 * include/fenv.h [_ISOMAC]: Disable all contents of file except
52377 include of <math/fenv.h>.
52378
52379 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
52380 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
52381 && !UNIX98]. Enables tests for XOPEN2K8.
52382 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
52383 POSIX2008]: Likewise.
52384
52385 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
52386 (struct rusage): Do not expect type or its members.
52387
52388 [BZ #3439]
52389 * math/math.h (FP_NAN): Define macro to integer constant usable in
52390 #if and use that to give value to enum constant.
52391 (FP_INFINITE): Likewise.
52392 (FP_ZERO): Likewise.
52393 (FP_SUBNORMAL): Likewise.
52394 (FP_NORMAL): Likewise.
52395
52396 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
52397
52398 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
52399 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
52400 arguments.
52401
52402 2012-11-02 Roland McGrath <roland@hack.frob.com>
52403
52404 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
52405 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
52406 autoconf-time if not.
52407 * configure.in: Remove AC_PREREQ.
52408
52409 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52410
52411 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
52412 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
52413 of the internal implementation.
52414
52415 2012-11-02 Joseph Myers <joseph@codesourcery.com>
52416
52417 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
52418 except include of <misc/sys/syslog.h>.
52419
52420 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
52421
52422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
52423 function returns with a NULL context exit with zero.
52424
52425 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52426
52427 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
52428
52429 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
52430
52431 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
52432 (run_program_cmd): This.
52433 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
52434 (tst_langinfo): New variable. Use it.
52435
52436 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
52437
52438 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
52439 floating point opcodes.
52440
52441 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
52442
52443 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
52444 variable.
52445
52446 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
52447
52448 * sysdeps/mach/hurd/powerpc: Remove directory.
52449 * sysdeps/mach/powerpc: Likewise.
52450
52451 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
52452
52453 * scripts/check-local-headers.sh: Ignore c++ headers.
52454
52455 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
52456
52457 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
52458 __libc_cleanup_region_start argument.
52459
52460 2012-11-01 Joseph Myers <joseph@codesourcery.com>
52461
52462 [BZ #14784]
52463 [BZ #14785]
52464 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
52465 x * y using scaling, not as x * y + z.
52466 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52467 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52468 * math/libm-test.inc (fma_test): Add more tests.
52469 (fma_test_towardzero): Likewise.
52470 (fma_test_downward): Likewise.
52471 (fma_test_upward): Likewise.
52472
52473 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
52474
52475 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
52476
52477 2012-10-31 Joseph Myers <joseph@codesourcery.com>
52478
52479 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
52480 New variable.
52481
52482 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
52483
52484 * rt/tst-shm.c (worker): Correct checking for mmap failure.
52485
52486 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
52487
52488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52489 Fix sort order.
52490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52491 Likewise.
52492
52493 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52494
52495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52496 Fix the order of the list for glibc 2.17.
52497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52498 Likewise.
52499
52500 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
52501
52502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52503
52504 2012-10-31 Joseph Myers <joseph@codesourcery.com>
52505
52506 [BZ #14610]
52507 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
52508 for low part of x being zero before using __atanl (y).
52509 * math/libm-test.inc (atan2_test): Add another test.
52510
52511 * manual/install.texi (Configuring and compiling): Document
52512 general use of test-wrapper and test-wrapper-env.
52513 * INSTALL: Regenerated.
52514
52515 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
52516 (__fma): Do not extract and scale down low bits on after-rounding
52517 systems when result rounded to normal precision would have normal
52518 exponent.
52519 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
52520 (__fmal): Do not extract and scale down low bits on after-rounding
52521 systems when result rounded to normal precision would have normal
52522 exponent.
52523 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
52524 (__fmal): Do not extract and scale down low bits on after-rounding
52525 systems when result rounded to normal precision would have normal
52526 exponent.
52527 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
52528 macro.
52529 (fma_test): Add more tests.
52530 (fma_test_towardzero): Likewise.
52531 (fma_test_downward): Likewise.
52532 (fma_test_upward): Likewise.
52533
52534 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
52535
52536 * sysdeps/i386/tininess.h: Renamed to ...
52537 * sysdeps/x86/tininess.h: This.
52538 * sysdeps/x86_64/tininess.h: Removed.
52539
52540 2012-10-30 Joseph Myers <joseph@codesourcery.com>
52541
52542 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
52543 input. Use $(build-program-cmd).
52544 ($(objpfx)tst-array1-static.out): Likewise.
52545 ($(objpfx)tst-array2.out): Likewise.
52546 ($(objpfx)tst-array3.out): Likewise.
52547 ($(objpfx)tst-array4.out): Likewise.
52548 ($(objpfx)tst-array5.out): Likewise.
52549 ($(objpfx)tst-array5-static.out): Likewise.
52550
52551 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
52552
52553 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
52554 if defined.
52555
52556 * nss/nsswitch.h (nss_interface_function): Provide new
52557 macro for use with NSS functions.
52558 * grp/initgroups.c: Use new macro.
52559 * nss/getXXbyYY.c: Likewise.
52560 * nss/getXXbyYY_r.c: Likewise.
52561 * nss/getXXent.c: Likewise.
52562 * nss/getXXent_r.c: Likewise.
52563 * sysdeps/posix/getaddrinfo.c: Likewise.
52564
52565 2012-10-30 Andreas Jaeger <aj@suse.de>
52566
52567 * po/ru.po: Update Russion translation from translation project.
52568
52569 2012-10-30 Joseph Myers <joseph@codesourcery.com>
52570
52571 [BZ #14152]
52572 [BZ #14783]
52573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
52574 result and shift together with sticky bit instead of replicating
52575 round-to-nearest rounding.
52576 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52577 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52578 * math/libm-test.inc (fma_test): Add more tests. Do not permit
52579 missing underflow exceptions.
52580 (fma_test_towardzero): Add more tests.
52581 (fma_test_downward): Likewise.
52582 (fma_test_upward): Likewise.
52583
52584 [BZ #14047]
52585 * sysdeps/generic/tininess.h: New file.
52586 * sysdeps/i386/tininess.h: Likewise.
52587 * sysdeps/sh/tininess.h: Likewise.
52588 * sysdeps/x86_64/tininess.h: Likewise.
52589 * stdlib/tst-strtod-underflow.c: Likewise.
52590 * stdlib/tst-tininess.c: Likewise.
52591 * stdlib/strtod_l.c: Include <tininess.h>.
52592 (round_and_return): Do not set errno for exact underflow cases.
52593 Force an underflow exception when setting errno for underflow.
52594 Determine underflow based on rounding to normal precision if
52595 TININESS_AFTER_ROUNDING.
52596 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
52597 ERANGE for exact underflow cases.
52598 * stdlib/Makefile (tests): Add tst-tininess and
52599 tst-strtod-underflow.
52600 ($(objpfx)tst-tininess): Use $(link-libm).
52601 ($(objpfx)tst-strtod-underflow): Likewise.
52602
52603 2012-10-30 Andreas Jaeger <aj@suse.de>
52604
52605 [BZ#14767]
52606 * elf/Makefile (tests): Remove conditional for have-initfini-array
52607 since this is now always required and the variable does not exist
52608 anymore.
52609 (tests-static): Likewise.
52610 (modules-names): Likewise.
52611
52612 * po/eo.po: Add Esperanto translation from translation project.
52613
52614 * elf/tst-array1.c (fini_array): Make writeable so that it can be
52615 merged with constructor/destructor.
52616 (init_array): Likewise.
52617 * elf/tst-array2dep.c (fini_array): Likewise.
52618 (init_array): Likewise.
52619
52620 2012-10-29 Mike Frysinger <vapier@gentoo.org>
52621
52622 * manual/message.texi: Delete @cartouche tags.
52623
52624 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
52625
52626 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
52627 EOPNOTSUPP.
52628 * sysdeps/mach/hurd/fsync.c: Likewise.
52629
52630 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
52631 [_POSIX_REALTIME_SIGNALS]: Change condition to
52632 [_POSIX_REALTIME_SIGNALS > 0].
52633
52634 2012-10-27 Andreas Jaeger <aj@suse.de>
52635
52636 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
52637 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
52638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
52639 [__WORDSIZE != 64]: Likewise.
52640
52641 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
52642
52643 * iconvdata/tst-table.sh: Remove ${SHELL}.
52644 * iconvdata/tst-tables.sh: Likewise.
52645
52646 2012-10-25 David S. Miller <davem@davemloft.net>
52647
52648 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52649 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
52650 of strtoull.
52651
52652 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
52653 ifunc-impl-list.c
52654 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52655 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
52656 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
52657 file.
52658
52659 2012-10-25 Roland McGrath <roland@hack.frob.com>
52660
52661 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52662 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
52663 __getdirentries.
52664
52665 2012-10-25 Joseph Myers <joseph@codesourcery.com>
52666 Jim Blandy <jimb@codesourcery.com>
52667
52668 * scripts/cross-test-ssh.sh: New file.
52669 * manual/install.texi (Configuring and compiling): Document use of
52670 cross-test-ssh.sh.
52671 * INSTALL: Regenerated.
52672
52673 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
52674
52675 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
52676 EOPNOTSUPP.
52677
52678 2012-10-25 Joseph Myers <joseph@codesourcery.com>
52679
52680 * Makeconfig (run-program-prefix): Fix comment.
52681
52682 2012-10-24 Joseph Myers <joseph@codesourcery.com>
52683 Jim Blandy <jimb@codesourcery.com>
52684
52685 * Makeconfig (test-wrapper): New variable,
52686 (test-wrapper-env): Likewise.
52687 [$(cross-compiling) = yes && $(test-wrapper) != ""]
52688 (run-built-tests): Define to yes.
52689 (run-program-prefix): Use $(test-wrapper).
52690 (built-program-cmd): Likewise.
52691 * Rules (make-test-out): Use $(test-wrapper-env) and
52692 $(host-built-program-cmd).
52693 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
52694 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
52695 tst-pathopt.sh.
52696 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
52697 $(test-wrapper-env) to tst-rtld-load-self.sh.
52698 ($(objpfx)order2.out): Use $(test-wrapper).
52699 ($(objpfx)tst-initorder.out): Likewise.
52700 ($(objpfx)tst-initorder2.out): Likewise.
52701 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
52702 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
52703 (test_wrapper_env): New variable. Use it to run ld.so.
52704 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
52705 Use it to run ld.so.
52706 (test_wrapper_env): Likewise.
52707 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
52708 $(test-wrapper) to run-iconv-test.sh.
52709 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
52710 (ICONV): Use $test_wrapper.
52711 * posix/Makefile ($(objpfx)globtest.out): Pass
52712 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
52713 globtest.sh, not $(run-program-prefix).
52714 * posix/globtest.sh (run_via_rtld_prefix): New variable.
52715 (test_wrapper): Likewise.
52716 (test_wrapper_env): Likewise. Use it to run globtest with HOME
52717 set together with run_via_rtld_prefix.
52718 (run_program_prefix): Define in terms of test_wrapper and
52719 run_via_rtld_prefix.
52720
52721 2012-10-24 Roland McGrath <roland@hack.frob.com>
52722
52723 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
52724 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
52725 Targets removed.
52726
52727 [BZ #14743]
52728 * include/time.h: Remove librt_hidden_proto (clock_gettime).
52729 Declare __clock_getres, __clock_gettime, __clock_settime,
52730 __clock_nanosleep, and __clock_getcpuclockid.
52731 * rt/clock_gettime.c: Define __clock_gettime as an alias.
52732 Remove librt_hidden_def (clock_gettime).
52733 * sysdeps/unix/clock_gettime.c: Likewise.
52734 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
52735 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
52736 * rt/clock_getres.c: Define __clock_getres as an alias.
52737 * sysdeps/posix/clock_getres.c: Likewise.
52738 * rt/clock_settime.c: Define __clock_settime as an alias.
52739 * sysdeps/unix/clock_settime.c: Likewise.
52740 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
52741 * sysdeps/unix/clock_nanosleep.c: Likewise.
52742 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
52743 * rt/clock-compat.c: New file.
52744 * rt/Makefile (librt-routines): Add clock-compat and move
52745 $(clock-routines) to ...
52746 (routines): ... here, new variable.
52747 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
52748 Don't add get_clockfreq here.
52749 * rt/Versions (libc: GLIBC_2.17): New version set.
52750 Add clock_* symbols here.
52751 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
52752 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
52753 (GLIBC_2.17): Add clock_* symbols.
52754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52756 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52758 Likewise.
52759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52760 Likewise.
52761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52765 * NEWS: Mention the move.
52766
52767 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52768 Use __open, __read, __close rather than their public counterparts.
52769 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52770 (__get_clockfreq_via_cpuinfo): Likewise.
52771 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
52772 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
52773
52774 * config.h.in (HAVE_IFUNC): New #undef.
52775 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
52776 was successful.
52777 * configure: Regenerated.
52778
52779 2012-10-24 Mike Frysinger <vapier@gentoo.org>
52780
52781 * configure.in: Move READELF check to start of file.
52782 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
52783 libc_cv_asm_gnu_indirect_function in the process.
52784 * configure: Regenerated.
52785
52786 2012-10-24 Mike Frysinger <vapier@gentoo.org>
52787
52788 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
52789 send the output to /dev/null.
52790 (libc_cv_cc_with_libunwind): Likewise.
52791 (libc_cv_as_noexecstack): Likewise.
52792 * configure: Regenerate.
52793
52794 2012-10-24 Joseph Myers <joseph@codesourcery.com>
52795
52796 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
52797
52798 * posix/globtest.sh (TMPDIR): Do not set.
52799 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
52800 (testout): Likewise.
52801
52802 2012-10-24 Andreas Jaeger <aj@suse.de>
52803
52804 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
52805 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
52806 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
52807 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
52808 posix_fadvise64, posix_fallocate64.
52809
52810 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
52811 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
52812 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
52813 Likewise.
52814 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
52815 Likewise.
52816 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
52817
52818 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
52819 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
52820 <bits/fcntl-linux.h>.
52821 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
52822
52823 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
52824 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
52825 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
52826 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
52827 [__WORDSIZE != 64]: Likewise.
52828
52829 2012-10-23 Joseph Myers <joseph@codesourcery.com>
52830
52831 * Makeconfig (run-built-tests): New variable.
52832 * Rules [$(cross-compiling) = yes]: Change condition to
52833 [$(run-built-tests) = no].
52834 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
52835 to [$(run-built-tests) = yes].
52836 * elf/Makefile [$(cross-compiling) = no]: Likewise.
52837 * grp/Makefile [$(cross-compiling) = no]: Likewise.
52838 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
52839 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
52840 * intl/Makefile [$(cross-compiling) = no]: Likewise.
52841 * io/Makefile [$(cross-compiling) = no]: Likewise.
52842 * libio/Makefile [$(cross-compiling) = no]: Likewise.
52843 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
52844 * misc/Makefile [$(cross-compiling) = no]: Likewise.
52845 * posix/Makefile [$(cross-compiling) = no]: Likewise.
52846 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
52847 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
52848 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
52849 * string/Makefile [$(cross-compiling) = no]: Likewise.
52850
52851 * posix/Makefile ($(objpfx)globtest.out): Pass
52852 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
52853 $(rtld-installed-name).
52854 * posix/globtest.sh (elf_objpfx): Remove variable.
52855 (rtld_installed_name): Likewise.
52856 (library_path): Likewise.
52857 (run_program_prefix): New variable. Use for running globtest
52858 binary.
52859
52860 2012-10-23 Jim Blandy <jimb@codesourcery.com>
52861 Joseph Myers <joseph@codesourcery.com>
52862
52863 * Makeconfig (host-built-program-cmd): New variable.
52864 * elf/Makefile (tst-stackguard1-ARGS): Use
52865 $(host-built-program-cmd).
52866 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
52867 (tst-spawn-ARGS): Likewise.
52868 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
52869
52870 2012-10-23 Joseph Myers <joseph@codesourcery.com>
52871 Jim Blandy <jimb@codesourcery.com>
52872
52873 * Makeconfig (run-via-rtld-prefix): New variable.
52874 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
52875 (built-program-cmd): Likewise.
52876
52877 2012-10-22 Andreas Jaeger <aj@suse.de>
52878
52879 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
52880 __O_RSYNC if it exists, otherwise to O_SYNC.
52881
52882 2012-10-22 Jim Blandy <jimb@codesourcery.com>
52883 Joseph Myers <joseph@codesourcery.com>
52884
52885 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
52886 /dev/null.
52887 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
52888 from /dev/null
52889 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
52890 /dev/null.
52891
52892 2012-10-22 Andreas Jaeger <aj@suse.de>
52893
52894 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
52895 Define always.
52896 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
52897
52898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52899 bits/fcntl-linux.h.
52900
52901 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
52902 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
52903
52904 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
52905 to __O_LARGEFILE.
52906 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
52907 to __O_LARGEFILE.
52908
52909 2012-10-21 Jim Blandy <jimb@codesourcery.com>
52910 Joseph Myers <joseph@codesourcery.com>
52911
52912 * config.make.in (NM): New variable.
52913
52914 2012-10-21 Andreas Jaeger <aj@suse.de>
52915
52916 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
52917 definitions and declarations that are provided by
52918 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52919
52920 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
52921
52922 [BZ #14683]
52923 * elf/Makefile (tests-static): Add tst-leaks1-static.
52924 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
52925 ($(objpfx)tst-leaks1-static): New rule.
52926 ($(objpfx)tst-leaks1-static-mem): Likewise.
52927 (tst-leaks1-static-ENV): New macro.
52928 * elf/dl-open.c (dl_open_worker): Check the main application
52929 only if SHARED is defined.
52930 * elf/tst-leaks1-static.c: New file.
52931
52932 2012-10-20 Andreas Jaeger <aj@suse.de>
52933
52934 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
52935 generic values for Linux.
52936 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
52937 and declarations that are provided by <bits/fcntl-linux.h> and
52938 include <bits/fcntl-linux.h>.
52939 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52940 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52941
52942 2012-10-20 Roland McGrath <roland@hack.frob.com>
52943
52944 * io/fcntl.h: Move include of <bits/types.h> to the top and
52945 include it unconditionally.
52946
52947 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
52948
52949 * wcsmbs/Makefile (tests-ifunc): New variable.
52950 (tests): Add $(tests-ifunc).
52951 * wcsmbs/test-wcschr-ifunc.c: New file.
52952 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
52953 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
52954 * wcsmbs/test-wcslen-ifunc.c: Likewise.
52955 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
52956 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
52957
52958 * string/Makefile (tests-ifunc): New variable.
52959 (tests): Add $(tests-ifunc).
52960 * string/test-memccpy.c (TEST_NAME): New macro.
52961 * string/test-memchr.c (TEST_NAME): Likewise.
52962 * string/test-memcmp.c (TEST_NAME): Likewise.
52963 * string/test-memcpy.c (TEST_NAME): Likewise.
52964 * string/test-memmem.c (TEST_NAME): Likewise.
52965 * string/test-memmove.c (TEST_NAME): Likewise.
52966 * string/test-memset.c (TEST_NAME): Likewise.
52967 * string/test-rawmemchr.c (TEST_NAME): Likewise.
52968 * string/test-stpcpy.c (TEST_NAME): Likewise.
52969 * string/test-stpncpy.c (TEST_NAME): Likewise.
52970 * string/test-strcasecmp.c (TEST_NAME): Likewise.
52971 * string/test-strcasestr.c (TEST_NAME): Likewise.
52972 * string/test-strcat.c (TEST_NAME): Likewise.
52973 * string/test-strchr.c (TEST_NAME): Likewise.
52974 * string/test-strcmp.c(TEST_NAME): Likewise.
52975 * string/test-strcpy.c (TEST_NAME): Likewise.
52976 * string/test-strcspn.c (TEST_NAME): Likewise.
52977 * string/test-strlen.c (TEST_NAME): Likewise.
52978 * string/test-strncasecmp.c (TEST_NAME): Likewise.
52979 * string/test-strncmp.c (TEST_NAME): Likewise.
52980 * string/test-strncpy.c (TEST_NAME): Likewise.
52981 * string/test-strnlen.c (TEST_NAME): Likewise.
52982 * string/test-strpbrk.c (TEST_NAME): Likewise.
52983 * string/test-strrchr.c (TEST_NAME): Likewise.
52984 * string/test-strspn.c (TEST_NAME): Likewise.
52985 * string/test-strstr.c (TEST_NAME): Likewise.
52986 * string/test-bcopy-ifunc.c: New file.
52987 * string/test-bzero-ifunc.c: Likewise.
52988 * string/test-memccpy-ifunc.c: Likewise.
52989 * string/test-memchr-ifunc.c: Likewise.
52990 * string/test-memcmp-ifunc.c: Likewise.
52991 * string/test-memcpy-ifunc.c: Likewise.
52992 * string/test-memmem-ifunc.c: Likewise.
52993 * string/test-memmove-ifunc.c: Likewise.
52994 * string/test-mempcpy-ifunc.c: Likewise.
52995 * string/test-memset-ifunc.c: Likewise.
52996 * string/test-rawmemchr-ifunc.c: Likewise.
52997 * string/test-stpcpy-ifunc.c: Likewise.
52998 * string/test-stpncpy-ifunc.c: Likewise.
52999 * string/test-strcasecmp-ifunc.c: Likewise.
53000 * string/test-strcasestr-ifunc.c: Likewise.
53001 * string/test-strcat-ifunc.c: Likewise.
53002 * string/test-strchr-ifunc.c: Likewise.
53003 * string/test-strchrnul-ifunc.c: Likewise.
53004 * string/test-strcmp-ifunc.c: Likewise.
53005 * string/test-strcpy-ifunc.c: Likewise.
53006 * string/test-strcspn-ifunc.c: Likewise.
53007 * string/test-strlen-ifunc.c: Likewise.
53008 * string/test-strncasecmp-ifunc.c: Likewise.
53009 * string/test-strncat-ifunc.c: Likewise.
53010 * string/test-strncmp-ifunc.c: Likewise.
53011 * string/test-strncpy-ifunc.c: Likewise.
53012 * string/test-strnlen-ifunc.c: Likewise.
53013 * string/test-strpbrk-ifunc.c: Likewise.
53014 * string/test-strrchr-ifunc.c: Likewise.
53015 * string/test-strspn-ifunc.c: Likewise.
53016 * string/test-strstr-ifunc.c: Likewise.
53017
53018 * debug/Makefile (tests-ifunc): New variable.
53019 (tests): Add $(tests-ifunc).
53020 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
53021 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
53022 * debug/test-stpcpy_chk-ifunc.c: New file.
53023 * debug/test-strcpy_chk-ifunc.c: Likewise.
53024
53025 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
53026
53027 [BZ #13601]
53028 * elf/dl-load.c (open_verify): Retry read if the entire ELF
53029 header is not read in.
53030
53031 2012-10-19 Joseph Myers <joseph@codesourcery.com>
53032
53033 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
53034 script to $(SHELL) as $<. Pass $(common-objpfx) to script
53035 directly. Pass built executable to script as
53036 $(built-program-cmd).
53037 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
53038 $testprogram without using LD_LIBRARY_PATH and $ldso.
53039
53040 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
53041 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
53042 $(rtld-installed-name).
53043 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
53044 (rtld_installed_name): Likewise.
53045 (library_path): Likewise.
53046 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
53047 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
53048 $(run-program-prefix) to tst-tables.sh.
53049 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
53050 it to run tst-table-from and tst-table-to.
53051 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
53052 Pass it to tst-table.sh.
53053 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
53054 $(run-program-prefix) to tst-gettext.sh.
53055 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
53056 tst-translit.sh.
53057 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
53058 tst-gettext2.sh.
53059 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
53060 to run tst-gettext.
53061 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
53062 to run tst-gettext2.
53063 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
53064 to run tst-translit.
53065 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
53066 $(run-program-prefix) to tst-mtrace.sh.
53067 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
53068 to run tst-mtrace.
53069 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
53070 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
53071 $(rtld-installed-name).
53072 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
53073 (rtld_installed_name): Likewise.
53074 (run_program_prefix): New variable. Use it to run wordexp-test.
53075
53076 * Makeconfig (ARCH): Remove all definitions.
53077 (machine): Likewise.
53078 [ARCH]: Remove conditional code.
53079 [!objdir]: Give error.
53080 [!objdir] (objpfx): Remove.
53081 [!objdir] (common-objpfx): Likewise.
53082 [!objdir] (common-objdir): Likewise.
53083 * configure.in (config_makefile): Remove. Hardcode Makefile in
53084 AC_CONFIG_FILES call.
53085 * configure: Regenerated.
53086
53087 [BZ #13888]
53088 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
53089 or TMPDIR.
53090 (testout): Likewise.
53091
53092 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
53093 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
53094 $(rtld-installed-name).
53095 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
53096 (rtld_installed_name): Likwise.
53097 (runit): Remove function.
53098 (run_getconf): New variable, Use it for running getconf binary.
53099
53100 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
53101
53102 [BZ #14716]
53103 * string/test-memmem.c (check_result): New function.
53104 (do_one_test): Use it.
53105 (check1): New function.
53106 (test_main): Use it.
53107
53108 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
53109
53110 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
53111
53112 2012-10-18 Joseph Myers <joseph@codesourcery.com>
53113
53114 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
53115 (_G_LSEEK64): Likewise.
53116 (_G_MMAP64): Likewise.
53117 (_G_FSTAT64): Likewise.
53118 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
53119 (_G_LSEEK64): Likewise.
53120 (_G_MMAP64): Likewise.
53121 (_G_FSTAT64): Likewise.
53122 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
53123 unconditional. Call __mmap64 directly.
53124 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
53125 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
53126 __lseek64 directly.
53127 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
53128 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
53129 __mmap64 directly.
53130 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
53131 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
53132 __lseek64 directly.
53133 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
53134 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
53135 __lseek64 directly.
53136 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
53137 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
53138 __lseek64 directly.
53139 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
53140 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
53141 __fxstat64 directly.
53142 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
53143 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
53144 unconditional.
53145 (freopen64) [!_G_OPEN64]: Remove conditional code.
53146 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
53147 unconditional.
53148 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
53149 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
53150 unconditional.
53151 (ftello64) [!_G_LSEEK64]: Remove conditional code.
53152 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
53153 unconditional.
53154 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53155 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
53156 unconditional.
53157 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
53158 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
53159 unconditional.
53160 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53161 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
53162 unconditional.
53163 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53164 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
53165 unconditional.
53166 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53167
53168 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
53169
53170 [BZ #12140]
53171 * manual/memory.texi (Malloc Tunable Parameters): Add note
53172 about free list pointers overwriting some perturb bytes.
53173 Wording suggested by Roland McGrath.
53174
53175 2012-10-17 Joseph Myers <joseph@codesourcery.com>
53176
53177 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
53178 (lgamma_test): Likewise.
53179 (tgamma_test): Likewise.
53180
53181 2012-10-16 Florian Weimer <fweimer@redhat.com>
53182
53183 [BZ #14700]
53184 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
53185 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
53186
53187 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
53188
53189 * NEWS: Mention BZ #14716.
53190 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
53191 when removing AVAILABLE1_USES_J macro.
53192
53193 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
53194
53195 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
53196 (__bswap_64): __uint64_t for unsigned 64-bit int.
53197
53198 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
53199
53200 * include/string.h (memmem): Declare libc hidden alias.
53201 * string/memmem.c (memmem): Define libc hidden alias.
53202 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
53203 __read, __close instead of open, read, close.
53204
53205 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
53206
53207 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
53208 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
53209 global and hidden.
53210 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
53211 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
53212 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
53213 Likewise.
53214 (__rawmemchr_sse2): Likewise.
53215 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
53216 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
53217 (__strchr_sse2): Likewise.
53218 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
53219 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
53220 (__strcasecmp_sse2): Likewise.
53221 (__strncasecmp_sse2): Likewise.
53222 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
53223 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
53224 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
53225 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
53226 (__strrchr_sse2): Likewise.
53227 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
53228 ifunc-impl-list.c.
53229 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
53230 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
53231 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
53232 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53233 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
53234 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
53235 * sysdeps/x86_64/multiarch/memset.S: Likewise.
53236 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53237 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
53238 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
53239 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
53240 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
53241 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
53242 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
53243 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
53244 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53245 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
53246 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
53247 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
53248 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
53249 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
53250 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
53251 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
53252 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53253 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
53254 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53255 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
53256 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53257 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
53258 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
53259
53260 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
53261 global and hidden.
53262 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
53263 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
53264 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
53265 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
53266 Likewise.
53267 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
53268 Likewise.
53269 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
53270 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
53271 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
53272 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
53273 ifunc-impl-list.c.
53274 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53275 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53276 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53277 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53278 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53279 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53280 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53281 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53282 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53283 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53284 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53285 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53286 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53287 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
53288 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
53289 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53290 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
53291 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
53292 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53293 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53294 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53295 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53296 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53297 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53298 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53299 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
53300 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
53301 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
53302 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
53303 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53304 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
53305 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53306 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53307 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
53308 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53309 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53310 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53311 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53312 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53313 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53314 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
53315
53316 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
53317 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
53318 * include/ifunc-impl-list.h: New file.
53319 * misc/ifunc-impl-list.c: Likewise.
53320 * misc/Makefile (routines): Add ifunc-impl-list.
53321 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
53322 * string/test-string.h: Include <ifunc-impl-list.h>.
53323 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
53324 TEST_NAME]: New variables.
53325 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
53326 are defined.
53327 (test_init): Call __libc_ifunc_impl_list to initialize
53328 func_list if TEST_IFUNC and TEST_NAME are defined.
53329
53330 * string/Makefile (strop-tests): Add bcopy and bzero.
53331 * string/test-bcopy.c: New file.
53332 * string/test-bzero.c: Likewise.
53333 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
53334 defined.
53335 * string/test-memset.c: Support bzero test if TEST_BZERO is
53336 defined.
53337 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
53338 __libc_memmove.
53339 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
53340 __libc_memset.
53341 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
53342 of memset.
53343
53344 2012-10-10 Joseph Myers <joseph@codesourcery.com>
53345
53346 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
53347 * configure: Regenerated.
53348
53349 * Makeconfig (+link-static-before-libc): Don't include
53350 $(link-static-libc).
53351
53352 * libio/libio.h (_IO_pos_t): Remove.
53353
53354 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
53355
53356 * NEWS: Add note about FIPS mode. Wording suggested by Roland
53357 McGrath.
53358
53359 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
53360
53361 * crypt/crypt-entry.c: Include fips-private.h.
53362 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
53363 * crypt/md5c-test.c (main): Tolerate disabled MD5.
53364 * sysdeps/unix/sysv/linux/fips-private.h: New file.
53365 * sysdeps/generic/fips-private.h: New file, dummy fallback.
53366
53367 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
53368
53369 * crypt/crypt-private.h: Include stdbool.h.
53370 (_ufc_setup_salt_r): Return bool.
53371 * crypt/crypt-entry.c: Include errno.h.
53372 (__crypt_r): Return NULL with EINVAL for bad salt.
53373 * crypt/crypt_util.c (bad_for_salt): New.
53374 (_ufc_setup_salt_r): Check that salt is long enough and within
53375 the specified alphabet.
53376 * crypt/badsalttest.c: New file.
53377 * crypt/Makefile (tests): Add it.
53378 ($(objpfx)badsalttest): New.
53379
53380 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
53381
53382 * NEWS: Add entry for BZ #14602.
53383
53384 2012-10-09 Joseph Myers <joseph@codesourcery.com>
53385
53386 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
53387 type-generic.
53388 * math/libm-test.inc: Update comment listing what functions and
53389 macros are tested.
53390 (isgreater_test): New function.
53391 (isgreaterequal_test): Likewise.
53392 (isless_test): Likewise.
53393 (islessequal_test): Likewise.
53394 (islessgreater_test): Likewise.
53395 (isunordered_test): Likewise.
53396 (main): Call the new functions.
53397
53398 2012-10-09 Roland McGrath <roland@hack.frob.com>
53399
53400 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
53401 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
53402 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
53403 * sysdeps/i386/configure: Regenerated.
53404 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
53405 * sysdeps/mach/configure: Regenerated.
53406 * sysdeps/mach/hurd/configure: Regenerated.
53407 * sysdeps/powerpc/configure: Regenerated.
53408 * sysdeps/powerpc/powerpc32/configure: Regenerated.
53409 * sysdeps/powerpc/powerpc64/configure: Regenerated.
53410 * sysdeps/s390/s390-32/configure: Regenerated.
53411 * sysdeps/s390/s390-64/configure: Regenerated.
53412 * sysdeps/sh/configure: Regenerated.
53413 * sysdeps/sparc/configure: Regenerated.
53414 * sysdeps/unix/sysv/linux/configure: Regenerated.
53415 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
53416 * sysdeps/x86_64/configure: Regenerated.
53417
53418 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
53419 defined. Don't check if MAP is NULL.
53420
53421 2012-10-09 Joseph Myers <joseph@codesourcery.com>
53422
53423 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
53424 (_G_stat64): Likewise.
53425 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
53426 (_G_stat64): Likewise.
53427 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
53428 instead of struct _G_stat64.
53429 * libio/fileops.c (mmap_remap_check): Likewise.
53430 (decide_maybe_mmap): Likewise.
53431 (_IO_new_file_seekoff): Likewise.
53432 (_IO_file_stat): Likewise.
53433 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
53434 _G_off64_t.
53435 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
53436 instead of struct _G_stat64.
53437 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53438
53439 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
53440
53441 [BZ #14602]
53442 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53443 Replace with ...
53444 (CHECK_EOL): New macro.
53445 (two_way_short_needle): Check beginning of haystack for EOL. Use
53446 CHECK_EOL.
53447 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53448 Replace with CHECK_EOL.
53449 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53450 Replace with CHECK_EOL.
53451
53452 2012-10-08 Joseph Myers <joseph@codesourcery.com>
53453
53454 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
53455 type-generic.
53456 * math/libm-test.inc: Update comment listing what functions and
53457 macros are tested.
53458 (finite_test): New function.
53459 (isinf_test): Likewise.
53460 (isnan_test): Likewise.
53461 (fpclassify_test): Test subnormal input.
53462 (isfinite_test): Likewise.
53463 (isnormal_test): Likewise.
53464 (main): Call the new functions.
53465
53466 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
53467
53468 [BZ #14660]
53469 * Makerules (%.dynsym): Force C locale when running
53470 $(OBJDUMP) --dynamic-syms.
53471
53472 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
53473
53474 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
53475 <stdint.h>.
53476
53477 2012-10-06 David S. Miller <davem@davemloft.net>
53478
53479 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
53480 upper 32-bits of the length value in %o2 since we use branch-on-register
53481 tests which consider the entire 64-bit register.
53482
53483 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
53484
53485 * string/test-strstr.c (check2): Add a test for page boundary.
53486
53487 2012-10-05 David S. Miller <davem@davemloft.net>
53488
53489 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
53490 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
53491 file.
53492 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53493 sysdep_routines.
53494 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53495 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
53496 and bzero when HWCAP_SPARC_CRYPTO is present.
53497
53498 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
53499
53500 [BZ #14602]
53501 * string/test-strstr.c (check2): New function.
53502 (test_main): Call check2.
53503
53504 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
53505 and bug-strchr1.
53506 * string/bug-strcasestr1.c (do_test): Moved to ...
53507 * string/test-strcasestr.c (check1): Here. New function.
53508 (do_one_test): Break out result checking code into ...
53509 (check_result): This. New function.
53510 (do_one_test): Call check_result.
53511 (test_main): Call check1.
53512 * string/bug-strchr1.c (do_test): Moved to ...
53513 * string/test-strchr.c (check1): Here. New function.
53514 (do_one_test): Break out result checking code into ...
53515 (check_result): This. New function.
53516 (do_one_test): Call check_result.
53517 (test_main): Call check1.
53518 * string/bug-strstr1.c (main): Moved to ...
53519 * string/test-strstr.c (check1): Here. New function.
53520 (do_one_test): Break out result checking code into ...
53521 (check_result): This. New function.
53522 (do_one_test): Call check_result.
53523 (test_main): Call check1.
53524 * string/bug-strcasestr1.c: Removed.
53525 * string/bug-strchr1.c: Likewise.
53526 * string/bug-strstr1.c: Likewise.
53527
53528 * elf/Makefile (dl-routines): Add hwcaps.
53529 * elf/dl-support.c (_dl_important_hwcaps): Removed.
53530 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
53531 (_dl_important_hwcaps): Moved to ...
53532 * elf/dl-hwcaps.c: Here. New file.
53533 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
53534
53535 [BZ #14557]
53536 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
53537 if IS_IN_rtld isn't defined.
53538
53539 * elf/dl-support.c (_dl_sysinfo_map): New.
53540 Include "get-dynamic-info.h" and "setup-vdso.h".
53541 (_dl_non_dynamic_init): Call setup_vdso.
53542 * elf/dynamic-link.h: Don't include <assert.h>.
53543 (elf_get_dynamic_info): Moved to ...
53544 * elf/get-dynamic-info.h: Here. New file.
53545 * elf/dynamic-link.h: Include "get-dynamic-info.h".
53546 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
53547 * elf/setup-vdso.h: Here. New file.
53548 * elf/rtld.c: Include "setup-vdso.h".
53549 (dl_main): Call setup_vdso.
53550
53551 2012-10-05 Joseph Myers <joseph@codesourcery.com>
53552
53553 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
53554 creal in comment listing functions tested. List finite, isinf,
53555 isnan, isless, islessequal, isgreater, isgreaterequal,
53556 islessgreater, isunordered, lgamma_r and pow10 as functions and
53557 macros not tested. Mention which functions not tested are aliases
53558 for other functions. Fix typo. Note that signs of NaNs are not
53559 tested.
53560
53561 * scripts/config.guess: Update from config.git.
53562 * scripts/config.sub: Likewise.
53563
53564 2012-10-04 Roland McGrath <roland@hack.frob.com>
53565
53566 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
53567 * misc/madvise.c (madvise): Renamed to __madvise.
53568 Make madvise a weak alias.
53569 * include/sys/mman.h: Declare __madvise.
53570 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
53571 * sysdeps/unix/syscalls.list
53572 (madvise): Make __madvise the strong name, and madvise a weak alias.
53573 * sysdeps/unix/sysv/linux/syscalls.list
53574 (madvise, mmap): Remove redundant entries.
53575 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
53576 * malloc/malloc.c (mtrim): Likewise.
53577 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
53578
53579 2012-10-03 Roland McGrath <roland@hack.frob.com>
53580
53581 * sysdeps/mach/hurd/dl-cache.c: File removed.
53582 * config.h.in (USE_LDCONFIG): New #undef.
53583 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
53584 * configure: Regenerated.
53585 * elf/Makefile (dl-routines): Add dl-cache only under
53586 [$(use-ldconfig) = yes].
53587 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
53588 cache on [USE_LDCONFIG].
53589 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
53590 [USE_LDCONFIG].
53591 * elf/rtld.c (dl_main): Likewise.
53592
53593 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
53594
53595 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
53596 _SC_LEVEL4_CACHE_LINESIZE.
53597
53598 2012-10-03 Roland McGrath <roland@hack.frob.com>
53599
53600 * sysdeps/unix/bsd/confstr.h: File removed.
53601
53602 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
53603
53604 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
53605 sys/sdt-config.h.
53606
53607 2012-10-02 Roland McGrath <roland@hack.frob.com>
53608
53609 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
53610 Make 'mapoff' field ElfW(Off) rather than off_t.
53611
53612 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
53613
53614 * nscd/Makefile: Remove nscd-cflags and all its users.
53615 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
53616 (CFLAGS-nonlib): Add compiler flags for nscd modules.
53617
53618 [BZ #10631]
53619 * malloc.c (malloc_printerr): Clarify error message.
53620
53621 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
53622
53623 [BZ #14648]
53624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53625 Set bit_FMA_Usable if FMA is supported.
53626 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
53627 macro.
53628 (bit_FMA4_Usable): Updated.
53629 (index_FMA_Usable): New macro.
53630 (CPUID_FMA): Likewise.
53631 (HAS_FMA): Defined with bit_FMA_Usable.
53632
53633 2012-10-01 Roland McGrath <roland@hack.frob.com>
53634
53635 * bits/types.h (__swblk_t): Type removed.
53636 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
53637 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
53638 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53639 (__SWBLK_T_TYPE): Likewise.
53640 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53641 (__SWBLK_T_TYPE): Likewise.
53642 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53643 (__SWBLK_T_TYPE): Likewise.
53644 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53645 (__SWBLK_T_TYPE): Likewise.
53646
53647 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
53648 Honza Horak <hhorak@redhat.com>
53649
53650 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
53651 (xdr_mapname): Use YPMAXMAP as maxsize.
53652 (xdr_peername): Use YPMAXPEER as maxsize.
53653 (xdr_keydat): Use YPAXRECORD as maxsize.
53654 (xdr_valdat): Use YPMAXRECORD as maxsize.
53655
53656 2012-10-01 Roland McGrath <roland@hack.frob.com>
53657
53658 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
53659
53660 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
53661 * csu/init-first.c: ... here.
53662 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
53663 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
53664 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
53665 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
53666 * sysdeps/i386/init-first.c: File removed.
53667 * sysdeps/sh/init-first.c: File removed.
53668
53669 2012-10-01 Joseph Myers <joseph@codesourcery.com>
53670
53671 [BZ #14645]
53672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
53673 if x * y might underflow to zero and z is zero.
53674 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53675 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53676 * math/libm-test.inc (min_subnorm_value): New variable.
53677 (fma_test): Add more tests.
53678 (fma_test_towardzero): Likewise.
53679 (fma_test_downward): Likewise.
53680 (fma_test_upward): Likewise.
53681 (initialize): Set min_subnorm_value.
53682
53683 2012-09-29 Joseph Myers <joseph@codesourcery.com>
53684
53685 [BZ #14638]
53686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
53687 0 + 0.
53688 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
53689 mode for addition resulting in exact zero.
53690 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
53691 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
53692 exact 0 + 0.
53693 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53694 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53695 * math/libm-test.inc (fma_test): Add more tests.
53696 (fma_test_towardzero): New function.
53697 (fma_test_downward): Likewise.
53698 (fma_test_upward): Likewise.
53699 (main): Call the new functions.
53700
53701 2012-09-28 David S. Miller <davem@davemloft.net>
53702
53703 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
53704
53705 2012-09-28 Roland McGrath <roland@hack.frob.com>
53706
53707 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
53708 instead of SIGALRM.
53709
53710 * sysdeps/gnu/_G_config.h: Moved to ...
53711 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
53712 * sysdeps/mach/hurd/_G_config.h: Moved to ...
53713 * sysdeps/generic/_G_config.h: ... here.
53714
53715 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
53716
53717 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
53718
53719 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
53720 Conditionalize target on [libnss_test1.so-version].
53721
53722 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
53723
53724 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
53725 (elfobjdir): Move out of conditionals.
53726
53727 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
53728 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
53729 (__nss_lookup_function): Conditionalize label remove_from_tree on
53730 [!DO_STATIC_NSS || SHARED], matching its only use.
53731
53732 2012-09-28 David S. Miller <davem@davemloft.net>
53733
53734 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
53735 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
53736 file.
53737 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53738 sysdep_routines.
53739 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53740 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
53741 when HWCAP_SPARC_CRYPTO is present.
53742
53743 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
53744
53745 * io/tst-mknodat.c: Create a FIFO instead of a socket.
53746
53747 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
53748
53749 [BZ #6530]
53750 * stdio-common/vfprintf.c (process_string_arg): Revert
53751 2000-07-22 change.
53752
53753 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
53754
53755 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
53756 for testcase.
53757 * stdio-common/tst-sprintf.c: Include <locale.h>
53758 (main): Test sprintf's handling of incomplete multibyte
53759 characters.
53760
53761 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
53762
53763 * elf/dl-runtime.c (VERSYMIDX): Removed.
53764 * elf/dl-version.c (VERSYMIDX): Likewise.
53765 * elf/do-rel.h (VERSYMIDX): Likewise.
53766 (VALIDX): Likewise.
53767 * elf/dynamic-link.h (VERSYMIDX): Likewise.
53768 * elf/rtld.c (VALIDX): Likewise.
53769 (ADDRIDX): Likewise.
53770 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
53771 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
53772 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
53773 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53774 (VALIDX): Likewise.
53775 (ADDRIDX): Likewise.
53776
53777 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
53778
53779 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
53780
53781 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
53782
53783 [BZ #11438]
53784 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
53785 to global scope.
53786 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
53787 addresses are in the same scope as 192.0.2/24.
53788 * posix/gai.conf: Document new scope table defaults.
53789
53790 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53791
53792 [BZ #5298]
53793 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
53794 for ftell. Compute offsets from write pointers instead.
53795 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53796
53797 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53798
53799 [BZ #14543]
53800 * libio/Makefile (tests): New test case tst-fseek.
53801 * libio/tst-fseek.c: New test case to verify that fseek/ftell
53802 combination works in wide mode.
53803 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
53804 state when the external buffer state changes.
53805
53806 2012-09-27 David S. Miller <davem@davemloft.net>
53807
53808 [BZ #14376]
53809 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
53810 pass reloc->r_addend in as the 'high' argument to
53811 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53812
53813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53814
53815 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
53816
53817 * rt/tst-aio2.c: Include <pthread.h>.
53818 * rt/tst-aio3.c: Likewise.
53819
53820 2012-09-27 Steve Ellcey <sellcey@mips.com>
53821
53822 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
53823
53824 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
53825
53826 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
53827 contents on [SHARED].
53828
53829 2012-09-26 Marek Polacek <polacek@redhat.com>
53830
53831 [BZ #14530]
53832 [BZ #13741]
53833 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
53834 for C++ and GCC <4.3 as well as for non GCC compilers.
53835
53836 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
53837
53838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53839
53840 2012-09-25 Roland McGrath <roland@hack.frob.com>
53841
53842 * Makefile.in (all, install): Declare with .PHONY.
53843 Reported by Michael Hope <michael.hope@linaro.org>.
53844
53845 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53846
53847 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
53848 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
53849 system header.
53850 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
53851 Likewise.
53852 (sydep_routines): Add the new and the internal functions.
53853 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
53854 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
53855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
53856 (GLIBC_2.17): Add the new function.
53857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53858 (GLIBC_2.17): Likewise.
53859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
53860 (GLIBC_2.17): Likewise.
53861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
53862 (GLIBC_2.17): Likewise.
53863 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
53864
53865 2012-09-25 Alan Modra <amodra@gmail.com>
53866
53867 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
53868 Add release barrier before setting once_control to say
53869 initialisation is done. Add hints on lwarx. Use macro in
53870 place of isync.
53871 (clear_once_control): Add release barrier.
53872
53873 2012-09-25 Joseph Myers <joseph@codesourcery.com>
53874
53875 [BZ #13629]
53876 * math/s_clog.c (__clog): Handle more values close to |z| = 1
53877 specially.
53878 * math/s_clog10.c (__clog10): Likewise.
53879 * math/s_clog10f.c (__clog10f): Likewise.
53880 * math/s_clog10l.c (__clog10l): Likewise.
53881 * math/s_clogf.c (__clogf): Likewise.
53882 * math/s_clogl.c (__clogl): Likewise.
53883 * math/Makefile (libm-calls): Add x2y2m1.
53884 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
53885 (__x2y2m1): Likewise.
53886 (__x2y2m1l): Likewise.
53887 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
53888 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
53889 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
53890 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53891 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
53892 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
53893 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
53894 * sysdeps/i386/fpu/libm-test-ulps: Update.
53895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53896
53897 [BZ #14621]
53898 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
53899 int as type of variable DEPTH.
53900 (glob): Use size_t instead of int as type of variables NEWCOUNT
53901 and OLD_PATHC.
53902
53903 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53904
53905 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53906 Add s_sincosf-sse2.
53907 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
53908 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
53909 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
53910 macros for using routine as __sincosf_ia32.
53911 Use macro for function declaration and weak_alias.
53912 * sysdeps/i386/fpu/libm-test-ulps: Update.
53913
53914 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
53915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53916
53917 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
53918 subnormal argument.
53919 * math/s_cexpf.c (__cexpf): Likewise.
53920 * math/s_csinf.c (__csinf): Likewise.
53921 * math/s_csinhf.c (__csinhf): Likewise.
53922 * math/s_ctanf.c (__ctanf): Likewise.
53923 * math/s_ctanhf.c (__ctanhf): Likewise.
53924 * math/s_ccosh.c (__ccoshf): Likewise.
53925 * math/s_cexp.c (__cexpl): Likewise.
53926 * math/s_csin.c (__csin): Likewise.
53927 * math/s_csinh.c (__csinh): Likewise.
53928 * math/s_ctan.c (__ctan): Likewise.
53929 * math/s_ctanh.c (ctanh): Likewise.
53930 * math/s_ccoshl.c (__ccoshl): Likewise.
53931 * math/s_cexpl.c (__cexpl): Likewise.
53932 * math/s_csinl.c (__csinl): Likewise.
53933 * math/s_csinhl.c (__csinhl): Likewise.
53934 * math/s_ctanl.c (__ctanl): Likewise.
53935 * math/s_ctanhl.c (__ctanhl): Likewise.
53936
53937 2012-09-25 Joseph Myers <joseph@codesourcery.com>
53938
53939 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
53940 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
53941 (_IO_off_t): Define to __off_t, not _G_off_t.
53942 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
53943 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
53944 (_IO_wint_t): Define to wint_t, not _G_wint_t.
53945 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
53946 type of __dummy and __dummy2 fields.
53947 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
53948 (_G_ssize_t): Likewise.
53949 (_G_off_t): Likewise.
53950 (_G_pid_t): Likewise.
53951 (_G_uid_t): Likewise.
53952 (_G_wchar_t): Likewise.
53953 (_G_wint_t): Likewise.
53954 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
53955 (_G_ssize_t): Likewise.
53956 (_G_off_t): Likewise.
53957 (_G_pid_t): Likewise.
53958 (_G_uid_t): Likewise.
53959 (_G_wchar_t): Likewise.
53960 (_G_wint_t): Likewise.
53961 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
53962 (_G_ssize_t): Likewise.
53963 (_G_off_t): Likewise.
53964 (_G_pid_t): Likewise.
53965 (_G_uid_t): Likewise.
53966 (_G_wchar_t): Likewise.
53967 (_G_wint_t): Likewise.
53968
53969 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53970
53971 * malloc/arena.c: Include malloc-sysdep.h.
53972 (shrink_heap): Use check_may_shrink_heap to decide if madvise
53973 is sufficient to shrink the heap or an unmap is needed.
53974 * sysdeps/generic/malloc-sysdep.h: New file. Define
53975 new function check_may_shrink_heap.
53976 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
53977 new function check_may_shrink_heap.
53978
53979 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53980
53981 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
53982 comments.
53983
53984 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
53985
53986 * catgets/test-gencat.sh: Add "set -e".
53987 * elf/tst-pathopt.sh: Likewise.
53988 * grp/tst_fgetgrent.sh: Likewise.
53989 * iconvdata/run-iconv-test.sh: Likewise.
53990 * intl/tst-gettext.sh: Likewise.
53991 * intl/tst-gettext2.sh: Likewise.
53992 * intl/tst-gettext4.sh: Likewise.
53993 * intl/tst-gettext6.sh: Likewise.
53994 * intl/tst-translit.sh: Likewise.
53995 * io/ftwtest-sh: Likewise.
53996 * libio/test-freopen.sh: Likewise.
53997 * malloc/tst-mtrace.sh: Likewise.
53998 * posix/globtest.sh: Likewise.
53999 * posix/tst-getconf.sh: Likewise.
54000 * posix/wordexp-tst.sh: Likewise.
54001 * stdio-common/tst-printf.sh: Likewise.
54002 * stdio-common/tst-unbputc.sh: Likewise.
54003 * stdlib/tst-fmtmsg.sh: Likewise.
54004 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54005 * catgets/Makefile: Do not specify -e option when running
54006 testsuite shell scripts.
54007 * elf/Makefile: Likewise.
54008 * grp/Makefile: Likewise.
54009 * iconvdata/Makefile: Likewise.
54010 * intl/Makefile: Likewise.
54011 * io/Makefile: Likewise.
54012 * libio/Makefile: Likewise.
54013 * malloc/Makefile: Likewise.
54014 * posix/Makefile: Likewise.
54015 * stdio-common/Makefile: Likewise.
54016 * stdlib/Makefile: Likewise.
54017 * sysdeps/x86_64/Makefile: Likewise.
54018
54019 * io/ftwtest-sh: Add copyright header.
54020 * posix/globtest.sh: Likewise.
54021 * posix/tst-getconf.sh: Likewise.
54022 * posix/wordexp-tst.sh: Likewise.
54023 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54024
54025 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
54026
54027 [BZ #13679]
54028 * Makeconfig (+link): Defined as $(+link-static) if
54029 $(build-shared) isn't yes.
54030 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
54031 isn't yes.
54032 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
54033
54034 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
54035
54036 [BZ #14562]
54037 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
54038 new chunk size with MALLOC_ALIGN_MASK.
54039
54040 2012-09-24 Joseph Myers <joseph@codesourcery.com>
54041
54042 [BZ #5044]
54043 * stdio-common/printf_fphex.c: Include <stdbool.h> and
54044 <rounding-mode.h>.
54045 (__printf_fphex): Determine rounding using get_rounding_mode and
54046 round_away.
54047 * stdio-common/tst-printf-round.c (struct hex_test): New
54048 structure.
54049 (hex_tests): New variable.
54050 (test_hex_in_one_mode): New function.
54051 (do_test): Also run tests for hex float output.
54052
54053 2012-09-21 Joseph Myers <joseph@codesourcery.com>
54054
54055 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54056 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54057 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
54058 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54059 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54060 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
54061 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54062 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54063
54064 2012-09-20 Joseph Myers <joseph@codesourcery.com>
54065
54066 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
54067 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
54068 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
54069 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
54070
54071 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
54072
54073 [BZ #14579]
54074 * elf/rtld.c (dl_main): Limit the check for self loading to normal
54075 mode only.
54076 * elf/tst-rtld-load-self.sh: New test.
54077 * elf/Makefile: Run it.
54078
54079 2012-09-18 Joseph Myers <joseph@codesourcery.com>
54080
54081 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
54082 (tst-writev-ENV): Remove.
54083 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
54084
54085 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
54086
54087 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
54088
54089 2012-09-17 Joseph Myers <joseph@codesourcery.com>
54090
54091 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
54092 unconditional.
54093 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
54094 Likewise.
54095 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
54096 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
54097 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
54098 Likewise.
54099
54100 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
54101
54102 [BZ #14587]
54103 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
54104 * config.make.in (have-cpp-asm-debuginfo): Removed.
54105 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
54106 * configure: Regenerated.
54107
54108 2012-09-14 Joseph Myers <joseph@codesourcery.com>
54109
54110 [BZ #5044]
54111 * stdio-common/printf_fp.c: Include <stdbool.h> and
54112 <rounding-mode.h>.
54113 (___printf_fp): Determine rounding using get_rounding_mode and
54114 round_away.
54115 * stdio-common/tst-printf-round.c: New file.
54116 * stdio-common/Makefile (tests): Add tst-printf-round.
54117 (link-libm): New variable.
54118 ($(objpfx)tst-printf-round): Depend in $(link-libm).
54119
54120 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
54121
54122 [BZ #14576]
54123 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
54124 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
54125 Likewise.
54126 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
54127 Likewise.
54128
54129 2012-09-13 Joseph Myers <joseph@codesourcery.com>
54130
54131 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
54132 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54133 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54134 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54135
54136 2012-09-12 Joseph Myers <joseph@codesourcery.com>
54137
54138 [BZ #14518]
54139 * include/rounding-mode.h: New file.
54140 * sysdeps/generic/get-rounding-mode.h: Likewise.
54141 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
54142 * stdlib/strtod_l.c: Include <rounding-mode.h>.
54143 (MAX_VALUE): New macro.
54144 (MIN_VALUE): Likewise.
54145 (overflow_value): New function.
54146 (underflow_value): Likewise.
54147 (round_and_return): Use overflow_value and underflow_value to
54148 determine return values in overflow and underflow cases. Use
54149 round_away to determine rounding depending on rounding mode.
54150 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
54151 determine return values in overflow and underflow cases.
54152 * stdlib/tst-strtod-round.c: Include <fenv.h>.
54153 (struct test_results): New structure.
54154 (struct test): Use struct test_results to store expected results
54155 for all rounding modes.
54156 (TEST): Include expected results for all rounding modes.
54157 (test_in_one_mode): New function.
54158 (do_test): Use test_in_one_mode to compute and check results.
54159 Check results for all rounding modes.
54160 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
54161 $(link-libm).
54162
54163 2012-12-09 Allan McRae <allan@archlinux.org>
54164
54165 * sysdeps/i386/fpu/libm-test-ulps: Update
54166
54167 2012-09-11 Joseph Myers <joseph@codesourcery.com>
54168
54169 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
54170 (_G_int32_t): Likewise.
54171 (_G_uint16_t): Likewise.
54172 (_G_uint32_t): Likewise.
54173 (_G_HAVE_BOOL): Likewise.
54174 (_G_HAVE_ATEXIT): Likewise.
54175 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54176 (_G_HAVE_IO_FILE_OPEN): Likewise.
54177 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
54178 (_G_int32_t): Likewise.
54179 (_G_uint16_t): Likewise.
54180 (_G_uint32_t): Likewise.
54181 (_G_HAVE_BOOL): Likewise.
54182 (_G_HAVE_ATEXIT): Likewise.
54183 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54184 (_G_HAVE_IO_FILE_OPEN): Likewise.
54185 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
54186 (_G_int32_t): Likewise.
54187 (_G_uint16_t): Likewise.
54188 (_G_uint32_t): Likewise.
54189 (_G_HAVE_BOOL): Likewise.
54190 (_G_HAVE_ATEXIT): Likewise.
54191 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54192 (_G_HAVE_IO_FILE_OPEN): Likewise.
54193
54194 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
54195
54196 * csu/libc-tls.c: Update copyright years.
54197
54198 2012-09-10 Joseph Myers <joseph@codesourcery.com>
54199
54200 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
54201 [!_G_USING_THUNKS]: Remove conditional code.
54202 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
54203 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
54204
54205 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
54206 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
54207 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54208 (_G_VTABLE_LABEL_PREFIX): Likewise.
54209 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54210 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54211 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54212 (_G_VTABLE_LABEL_PREFIX): Likewise.
54213 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54214 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54215 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54216 (_G_VTABLE_LABEL_PREFIX): Likewise.
54217 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54218
54219 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
54220
54221 * libio/Makefile: Include ../Makeconfig before tests.
54222 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
54223 only if $(build-shared) is yes.
54224
54225 * iconv/gconv_db.c: Update copyright years.
54226
54227 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54228
54229 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
54230 unwind info if defined PIC. Fix special cases description.
54231 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
54232
54233 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
54234 DP_HI_MASK entry.
54235 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
54236
54237 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
54238
54239 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
54240
54241 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
54242 is NULL.
54243
54244 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
54245 (LDLIBS-tst-chk4): This.
54246 (LDFLAGS-tst-chk5): Renamed to ...
54247 (LDLIBS-tst-chk5): This.
54248 (LDFLAGS-tst-chk6): Renamed to ...
54249 (LDLIBS-tst-chk6): This.
54250 (LDFLAGS-tst-lfschk4): Renamed to ...
54251 (LDLIBS-tst-lfschk4): This.
54252 (LDFLAGS-tst-lfschk5): Renamed to ...
54253 (LDLIBS-tst-lfschk5): This.
54254 (LDFLAGS-tst-lfschk6): Renamed to ...
54255 (LDLIBS-tst-lfschk6): This.
54256
54257 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
54258 on $(common-objpfx)soversions.mk.
54259
54260 2012-09-07 Joseph Myers <joseph@codesourcery.com>
54261
54262 [BZ #10014]
54263 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
54264 example host name.
54265
54266 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
54267
54268 * malloc/arena.c (arena_get_retry): New function that gets
54269 another arena for the caller to try its request on.
54270 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
54271 current arena cannot fulfill the request.
54272 (__libc_memalign): Likewise.
54273 (__libc_memalign): Likewise.
54274 (__libc_pvalloc): Likewise.
54275 (__libc_calloc): Likewise.
54276
54277 2012-09-05 John Tobey <john.tobey@gmail.com>
54278
54279 [BZ #13542]
54280 * manual/arith.texi (Operations on Complex): Fix description
54281 of carg branch cut.
54282
54283 2012-09-06 Joseph Myers <joseph@codesourcery.com>
54284
54285 [BZ #10014]
54286 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
54287 host name.
54288
54289 [BZ #10038]
54290 * manual/memory.texi (Memory): Make order of menu items match
54291 order of sections.
54292
54293 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
54294
54295 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
54296 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
54297 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
54298
54299 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
54300
54301 * csu/libc-tls.c (static_dtv): Renamed to ...
54302 (_dl_static_dtv): This. Make it global.
54303 (_dl_initial_dtv): Removed.
54304 (__libc_setup_tls): Updated.
54305 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
54306 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
54307 DL_INITIAL_DTV.
54308
54309 2012-09-06 Petr Machata <pmachata@redhat.com>
54310
54311 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
54312 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
54313 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
54314 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
54315
54316 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
54317
54318 [BZ #14545]
54319 * csu/libc-tls.c (_dl_initial_dtv): New variable.
54320 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
54321 freeing dtv[-1].
54322
54323 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
54324
54325 [BZ #14544]
54326 * Makeconfig (link-static-before-libc): Replace $(+prector)
54327 with $(+prectorT).
54328 (link-static-after-libc): Replace $(+postctor) with
54329 $(+postctorT).
54330 (link-bounded): Replace $(+prector)/$(+postctor) with
54331 $(+prectorT)/$(+postctorT).
54332 (+prectorT): New macro.
54333 (+postctorT): Likewise.
54334
54335 2012-09-06 Joseph Myers <joseph@codesourcery.com>
54336
54337 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
54338 (round_str): Handle values above the maximum for IBM long double
54339 as inexact.
54340 * stdlib/tst-strtod-round.c (tests): Regenerated.
54341
54342 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54343
54344 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
54345 assembler flag.
54346 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
54347 zarch_nohighgprs around the zarch optimized routines.
54348 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
54349 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
54350 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
54351 for zarch.
54352
54353 2012-09-05 David S. Miller <davem@davemloft.net>
54354
54355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54356
54357 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
54358 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
54359 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
54360 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54361 entries.
54362
54363 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
54364
54365 * malloc/arena.c: Fold copyright years.
54366 * malloc/mcheck.c, malloc/memusage.c: Likewise.
54367
54368 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
54369
54370 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
54371
54372 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
54373
54374 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
54375
54376 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
54377
54378 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
54379 change internal state upon failure.
54380
54381 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
54382
54383 * malloc/mcheck.c (mcheck_check_all): Fix typo.
54384 * malloc/memusage.c (mmap): Likewise.
54385 (mmap64, mremap): Likewise. Adjust name in comment.
54386
54387 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
54388
54389 * libio/fileops.c: Fix typos in comments.
54390 * libio/oldfileops.c: Likewise.
54391 * libio/wfileops.c: Likewise.
54392
54393 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
54394
54395 [BZ #1349]
54396 * malloc/Makefile (tests): Add tst-malloc-usable test case.
54397 (tst-malloc-usable-ENV): Set environment for test case.
54398 * malloc/hooks.c (malloc_check_get_size): New function to get
54399 requested size.
54400 * malloc/malloc.c (musable): Use malloc_check_get_size.
54401 * malloc/tst-malloc-usable.c: New test case.
54402
54403 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
54404
54405 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
54406
54407 2012-09-05 Allan McRae <allan@archlinux.org>
54408
54409 [BZ #13966]
54410 * configure.in (CXX_SYSINCLUDES): Use compiler output to
54411 determine header location.
54412 * configure: Regenerated.
54413
54414 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
54415
54416 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
54417 float format.
54418 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
54419 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
54420 format.
54421 (test): Regenerate.
54422
54423 2012-09-04 David S. Miller <davem@davemloft.net>
54424
54425 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
54426 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
54427 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
54428
54429 2012-09-04 Florian Weimer <fweimer@redhat.com>
54430
54431 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
54432 failures.
54433
54434 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
54435
54436 2012-09-04 Joseph Myers <joseph@codesourcery.com>
54437
54438 [BZ #9914]
54439 * libio/iogetdelim.c: Include <limits.h>.
54440 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
54441 + len + 1 would overflow.
54442
54443 2012-09-03 Andreas Jaeger <aj@suse.de>
54444
54445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54446 * sysdeps/i386/fpu/libm-test-ulps: Update.
54447
54448 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54449
54450 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54451 Add s_sinf-sse2, s_conf-sse2.
54452
54453 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
54454 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
54455 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
54456 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
54457
54458 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
54459 for using routine as __sinf_ia32.
54460 Use macro for function declaration and weak_alias.
54461 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
54462 for using routine as __cosf_ia32.
54463 Use macro for function declaration and weak_alias.
54464
54465 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
54466 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
54467
54468 * sysdeps/x86_64/fpu/s_sinf.S: New file.
54469 * sysdeps/x86_64/fpu/s_cosf.S: New file.
54470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54471
54472 * math/libm-test.inc (cos_test): Add more test cases.
54473 (sin_test): Likewise.
54474 (sincos_test): Likewise.
54475
54476 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54477
54478 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
54479 (IFUNC_RESOLVE): Make pointers to the specialized implementations
54480 hidden.
54481 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54482
54483 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
54484
54485 [BZ #14538]
54486 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
54487 first element of the GOT.
54488 (elf_machine_load_address): Return the difference between
54489 the runtime address of _DYNAMIC and elf_machine_dynamic ().
54490
54491 2012-09-01 Allan McRae <allan@archlinux.org>
54492
54493 [BZ #13412]
54494 * configure.in (AWK): Require gawk version 3.0 or later.
54495 * configure: Regenerated.
54496
54497 2012-09-01 Joseph Myers <joseph@codesourcery.com>
54498
54499 * sysdeps/unix/sysv/linux/kernel-features.h
54500 (__ASSUME_POSIX_CPU_TIMERS): Remove.
54501 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54502 [__NR_clock_getres]: Make code unconditional.
54503 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
54504 (clock_getcpuclockid): Remove code left unreachable by removal of
54505 conditionals.
54506 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
54507 code unconditional.
54508 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54509 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54510 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
54511 Make code unconditional.
54512 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54513 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54514 * sysdeps/unix/sysv/linux/clock_settime.c
54515 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
54516 conditional code.
54517 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
54518 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54519
54520 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
54521
54522 [BZ #14476]
54523 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
54524 scripts/test-installation.pl.
54525
54526 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
54527 and $ld_so_version if it is set.
54528
54529 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
54530
54531 [BZ #14516]
54532 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
54533 failure if reading from procfs failed.
54534 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
54535
54536 2012-08-27 Joseph Myers <joseph@codesourcery.com>
54537
54538 * sysdeps/unix/sysv/linux/kernel-features.h
54539 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
54540 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54541 Remove conditional code.
54542 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54543 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
54544 Remove conditional code.
54545 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54546 * sysdeps/unix/sysv/linux/i386/fxstat.c
54547 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54548 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54549 * sysdeps/unix/sysv/linux/i386/fxstatat.c
54550 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54551 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54552 * sysdeps/unix/sysv/linux/i386/lxstat.c
54553 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54554 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54555 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
54556 Remove conditional code.
54557 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54558 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54559 Remove conditional code.
54560 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54561 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
54562 <kernel-features.h>.
54563 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
54564 Remove.
54565 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
54566 Remove conditional code.
54567 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54568 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
54569 Remove conditional.
54570
54571 2012-08-27 Mike Frysinger <vapier@gentoo.org>
54572
54573 [BZ #5400]
54574 * NEWS: Add fixed bug number.
54575
54576 2012-08-27 Joseph Myers <joseph@codesourcery.com>
54577
54578 [BZ #14519]
54579 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
54580 underflowing exponent in case of negative sign.
54581 * stdlib/tst-strtod-round-data: Add more tests.
54582 * stdlib/tst-strtod-round.c (tests): Regenerated.
54583
54584 [BZ #3479]
54585 * stdlib/strtod_l.c (NDIG): Remove.
54586 (HEXNDIG): Likewise.
54587 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
54588 smallest representable value.
54589 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
54590 lie within an exact representation of 1/2 ulp of the result.
54591 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
54592 unconditionally.
54593 (TENS_P9_IDX): Define unconditionally.
54594 (TENS_P9_SIZE): Likewise.
54595 (TENS_P10_IDX): Likewise.
54596 (TENS_P10_SIZE): Likewise.
54597 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
54598 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
54599 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
54600 entries for 10^2^13 and 10^2^14.
54601 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
54602 (TENS_P13_IDX): Define.
54603 (TENS_P13_SIZE): Likewise.
54604 (TENS_P14_IDX): Likewise.
54605 (TENS_P14_SIZE): Likewise.
54606 (_fpioconst_pow10): Change array size to
54607 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
54608 unconditional.
54609 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
54610 1024]: Add entries for 10^2^13 and 10^2^14.
54611 [LAST_POW10 > _LAST_POW10]: Remove #error.
54612 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
54613 (_fpioconst_pow10): Change array size to
54614 FPIOCONST_POW10_ARRAY_SIZE.
54615 * stdlib/gen-fpioconst.c: New file.
54616 * stdlib/gen-tst-strtod-round.c: Likewise.
54617 * stdlib/tst-strtod-round-data: Likewise.
54618 * stdlib/tst-strtod-round.c: Likewise.
54619 * stdlib/Makefile (tests): Add tst-strtod-round.
54620
54621 [BZ #14459]
54622 * stdlib/strtod_l.c: Include <stdint.h>.
54623 (NDEBUG): Do not define.
54624 (round_and_return): Change EXPONENT parameter to type intmax_t.
54625 Rearrange calculations to avoid internal overflow possibilities.
54626 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
54627 Rearrange calculations to avoid internal overflow possibilities.
54628 Assert that number fits inside MPNSIZE limbs.
54629 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
54630 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
54631 calculations and add assertions to avoid internal overflow
54632 possibilities. Add casts to avoid signed/unsigned operations.
54633 * stdlib/tst-strtod-overflow.c: New file.
54634 * stdlib/Makefile (tests): Add tst-strtod-overflow.
54635
54636 2012-08-25 Marek Polacek <polacek@redhat.com>
54637
54638 * time/time.h: Fix some typos in comments.
54639
54640 2012-08-23 Roland McGrath <roland@hack.frob.com>
54641
54642 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
54643 * posix/tst-rfc3484-2.c: Likewise.
54644 * posix/tst-rfc3484-3.c: Likewise.
54645
54646 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
54647
54648 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
54649 (EF_ARM_ABI_FLOAT_HARD): Likewise.
54650
54651 2012-08-23 Joseph Myers <joseph@codesourcery.com>
54652
54653 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
54654 #include of fxstatat64.c.
54655
54656 2012-08-22 Roland McGrath <roland@hack.frob.com>
54657
54658 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
54659 * shadow/getspent_r.c: Likewise.
54660 * shadow/getspnam.c: Likewise.
54661 * shadow/getspnam_r.c: Likewise.
54662 * gshadow/getsgent.c: Likewise.
54663 * gshadow/getsgent_r.c: Likewise.
54664 * gshadow/getsgnam.c: Likewise.
54665 * gshadow/getsgnam_r.c: Likewise.
54666 * inet/getnetbyad.c: Likewise.
54667 * inet/getnetbyad_r.c: Likewise.
54668 * inet/getnetbynm.c: Likewise.
54669 * inet/getnetbynm_r.c: Likewise.
54670 * inet/getnetent.c: Likewise.
54671 * inet/getnetent_r.c: Likewise.
54672 * inet/getproto.c: Likewise.
54673 * inet/getproto_r.c: Likewise.
54674 * inet/getprtent.c: Likewise.
54675 * inet/getprtent_r.c: Likewise.
54676 * inet/getprtname.c: Likewise.
54677 * inet/getprtname_r.c: Likewise.
54678 * inet/getrpcbyname.c: Likewise.
54679 * inet/getrpcbyname_r.c: Likewise.
54680 * inet/getrpcbynumber.c: Likewise.
54681 * inet/getrpcbynumber_r.c: Likewise.
54682 * inet/getrpcent.c: Likewise.
54683 * inet/getrpcent_r.c: Likewise.
54684 * inet/getaliasent.c: Likewise.
54685 * inet/getaliasent_r.c: Likewise.
54686 * inet/getaliasname.c: Likewise.
54687 * inet/getaliasname_r.c: Likewise.
54688 * nscd/getgrgid_r.c: Likewise.
54689 * nscd/getgrnam_r.c: Likewise.
54690 * nscd/gethstbyad_r.c: Likewise.
54691 * nscd/gethstbynm3_r.c: Likewise.
54692 * nscd/getpwnam_r.c: Likewise.
54693 * nscd/getpwuid_r.c: Likewise.
54694 * nscd/getsrvbynm_r.c: Likewise.
54695 * nscd/getsrvbypt_r.c: Likewise.
54696 * nscd/gai.c: Likewise.
54697
54698 * configure.in (build_nscd): New substituted variable, set
54699 by --disable-build-nscd and defaults to $use_nscd.
54700 * configure: Regenerated.
54701 * config.make.in (build-nscd): New substituted variable.
54702 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
54703 Change conditional to require [$(build-nscd) = yes] as well.
54704 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
54705
54706 [BZ# 13696]
54707 * configure.in (use_nscd): New substituted variable, set by
54708 --disable-nscd. If enabled, define USE_NSCD.
54709 * configure: Regenerated.
54710 * config.h.in: Add USE_NSCD.
54711 * config.make.in (use-nscd): New substituted variable.
54712 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
54713 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
54714 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
54715 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
54716 (CFLAGS-getgrnam_r.c): Likewise.
54717 (CFLAGS-initgroups.c): Likewise.
54718 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
54719 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
54720 Variables removed.
54721 * inet/getnetgrent_r.c
54722 (nscd_setnetgrent): New function, broken out of ...
54723 (setnetgrent): ... here. Call it.
54724 (innetgr): Conditionalize nscd bits on [USE_NSCD].
54725 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
54726 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
54727 * nscd/Makefile (routines, aux): Move definitions after include of
54728 Makeconfig. Conditionalize on [$(use-nscd) != no].
54729 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
54730 Conditionalize on [USE_NSCD].
54731 (is_nscd, nscd_init_cb): Likewise.
54732 (nss_load_library): Conditionalize init callback on [USE_NSCD].
54733 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
54734 * nss/nss_db/db-init.c: Likewise.
54735 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
54736 [USE_NSCD].
54737 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
54738 (make_request): Use it.
54739 (cache_valid_p): New function.
54740 (__check_pf): Use it.
54741 * NEWS: Add item for --disable-nscd.
54742
54743 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
54744
54745 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
54746 to support sed >= 4.2.1-20-ga9bf076.
54747 * configure: Regenerated.
54748
54749 2012-08-22 Roland McGrath <roland@hack.frob.com>
54750
54751 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
54752 Conditionalize whole body on [IREL].
54753
54754 2012-08-22 Jeff Law <law@redhat.com>
54755
54756 [BZ #14505]
54757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
54758 if the family is PF_UNSPEC.
54759
54760 2012-08-22 Mike Frysinger <vapier@gentoo.org>
54761
54762 * Makerules (lib-version): Rename from V.
54763 (install-lib-nosubdir): Change V to lib-version.
54764
54765 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
54766
54767 [BZ #14252]
54768 * powerpc32/power6/wcschr.c: New file.
54769 * powerpc32/power6/wcscpy.c: New file.
54770 * powerpc32/power6/wcsrchr.c: New file.
54771 * powerpc64/power6/wcschr.c: New file.
54772 * powerpc64/power6/wcscpy.c: New file.
54773 * powerpc64/power6/wcsrchr.c: New file.
54774
54775 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
54776
54777 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
54778 (two_way_short_needle): Use it.
54779 * string/strstr.c (AVAILABLE1_USES_J): Define.
54780 * string/strcasestr.c: Likewise.
54781
54782 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
54783 array references.
54784 * string/strcasestr.c (TOLOWER): Make side-effect safe.
54785
54786 [BZ #11607]
54787 * NEWS: Add an entry.
54788 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
54789 define their defaults.
54790 (two_way_short_needle): Detect end-of-string on-the-fly.
54791 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
54792 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
54793 * string/bug-strcasestr1.c: New test.
54794 * string/Makefile: Run it.
54795
54796 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
54797
54798 [BZ #11607]
54799 * string/str-two-way.h (two_way_short_needle): Optimize matching of
54800 the first character.
54801
54802 2012-08-21 Roland McGrath <roland@hack.frob.com>
54803
54804 * csu/elf-init.c (__libc_csu_irel): Function removed.
54805 * csu/libc-start.c (apply_irel): New function.
54806 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
54807
54808 2012-08-21 Joseph Myers <joseph@codesourcery.com>
54809
54810 * sysdeps/unix/sysv/linux/kernel-features.h
54811 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
54812 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54813 <kernel-features.h>.
54814 [__NR_fadvise64_64]: Make code unconditional.
54815 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
54816 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54817 !__NR_fadvise64_64)]: Likewise.
54818 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54819 !__NR_fadvise64_64))]: Likewise.
54820 [__NR_fadvise64]: Make code unconditional.
54821 [!__NR_fadvise64]: Remove conditional code.
54822 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
54823 <kernel-features.h>.
54824 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54825 unconditional.
54826 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54827 conditional code.
54828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
54829 not include <kernel-features.h>.
54830 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54831 unconditional.
54832 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54833 conditional code.
54834 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
54835 include <kernel-features.h>.
54836 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54837 unconditional.
54838 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54839 conditional code.
54840
54841 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
54842
54843 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
54844 slight instruction rearrangements per scrollpipe analysis.
54845 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54846
54847 2012-08-20 Roland McGrath <roland@hack.frob.com>
54848
54849 * manual/syslog.texi (syslog; vsyslog, closelog):
54850 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
54851 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
54852
54853 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
54854 DSOCAPS to match condition on defining it.
54855
54856 2012-08-20 Joseph Myers <joseph@codesourcery.com>
54857
54858 * sysdeps/unix/sysv/linux/kernel-features.h
54859 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
54860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
54861 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54862 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
54864 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54865 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
54867 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54868 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54869
54870 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
54871 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
54872
54873 * sysdeps/unix/sysv/linux/kernel-features.h
54874 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
54875 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
54876 unconditional.
54877 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54878 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
54879 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54880 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54881 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
54882 Make code unconditional.
54883 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54884 (__mmap64) [!__NR_mmap2]: Likewise.
54885 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
54886 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54887 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54888 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
54889 [__NR_mmap2]: Make code unconditional.
54890 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54891 (__mmap64) [!__NR_mmap2]: Likewise.
54892
54893 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54894
54895 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
54896
54897 2012-08-18 Andreas Jaeger <aj@suse.de>
54898
54899 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
54900
54901 2012-08-18 Mike Frysinger <vapier@gentoo.org>
54902
54903 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
54904 * include/unistd.h (__have_sock_cloexec): Likewise.
54905 (__have_pipe2): Likewise.
54906 (__have_dup3): Likewise.
54907
54908 2012-08-18 Mike Frysinger <vapier@gentoo.org>
54909
54910 [BZ #9685]
54911 * include/unistd.h (__have_pipe2): Change define into an extern int.
54912 (__have_dup3): Likewise.
54913 * socket/have_sock_cloexec.c: Include fcntl.h.
54914 (__have_pipe2): New variable.
54915 (__have_dup3): Likewise.
54916
54917 2012-08-17 Mike Frysinger <vapier@gentoo.org>
54918
54919 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
54920
54921 2012-08-17 Marek Polacek <polacek@redhat.com>
54922
54923 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
54924 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
54925
54926 2012-08-17 Roland McGrath <roland@hack.frob.com>
54927
54928 * configure.in: Add AC_SUBST for sysheaders.
54929 * configure: Regenerated.
54930 * config.make.in (sysheaders): New substituted variable.
54931
54932 * sysdeps/unix/mkfifo.c: Moved ...
54933 * sysdeps/posix/mkfifo.c: ... here.
54934 * sysdeps/unix/mkfifoat.c: Moved ...
54935 * sysdeps/posix/mkfifoat.c: ... here.
54936
54937 * sysdeps/unix/utime.c: Moved ...
54938 * sysdeps/posix/utime.c: ... here.
54939
54940 * sysdeps/unix/time.c: Moved ...
54941 * sysdeps/posix/time.c: ... here.
54942 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
54943 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
54944
54945 * sysdeps/unix/nice.c: Moved ...
54946 * sysdeps/posix/nice.c: ... here.
54947
54948 * sysdeps/unix/alarm.c: Moved ...
54949 * sysdeps/posix/alarm.c: ... here.
54950
54951 * intl/Makefile ($(codeset_mo)): Depend on the input file.
54952
54953 2012-08-17 Jeff Law <law@redhat.com>
54954
54955 * intl/Makefile (codeset_mo): New variable.
54956 ($(codeset_mo)): New target.
54957 (tst-codeset.out): Depend on that. Remove explicit rule.
54958 (tst-gettext3.out, tst-gettext5.out): Likewise.
54959 (LOCPATH-ENV, tst-codeset-ENV): New variables.
54960 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
54961 * intl/tst-codeset.sh: Remove.
54962 * intl/tst-gettext3.sh: Likewise.
54963 * intl/tst-gettext5.sh: Likewise.
54964
54965 2012-08-17 Roland McGrath <roland@hack.frob.com>
54966
54967 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
54968 * sysdeps/unix/syscalls.list: ... here.
54969
54970 * sysdeps/posix/getaddrinfo.c
54971 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
54972 (gaiconf_init, gaiconf_reload): Use them.
54973 [!_STATBUF_ST_NSEC]
54974 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
54975 Define using time_t rather than struct timespec.
54976
54977 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
54978 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
54979 Macros removed.
54980 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
54981 [!NO_THREADS].
54982 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
54983 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
54984 Likewise.
54985
54986 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
54987 __libc_cleanup_push argument.
54988
54989 * bits/param.h: New file.
54990 * misc/sys/param.h: New file.
54991 * include/sys/param.h: New file.
54992 * misc/Makefile (headers): Add bits/param.h.
54993 * sysdeps/generic/sys/param.h: File removed.
54994 * sysdeps/unix/sysv/linux/bits/param.h: New file.
54995 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
54996 * sysdeps/mach/hurd/bits/param.h: New file.
54997 * sysdeps/mach/hurd/sys/param.h: File removed.
54998
54999 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
55000 last change.
55001
55002 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
55003 [_IO_MTSAFE_IO].
55004 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
55005 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
55006 New macros.
55007
55008 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
55009 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
55010 rather than -D_IO_MTSAFE_IO conditionally.
55011 * stdio-common/Makefile (CPPFLAGS): Likewise.
55012 * wcsmbs/Makefile (CPPFLAGS): Likewise.
55013 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
55014 Use $(libio-mtsafe).
55015 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
55016 of -D_IO_MTSAFE_IO.
55017 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
55018 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
55019 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
55020 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
55021 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
55022 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
55023 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
55024 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
55025 (CFLAGS-fread_u_chk.c): Likewise.
55026 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
55027 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
55028 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
55029 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
55030 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
55031 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
55032 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
55033 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
55034 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
55035
55036 * libio/Makefile: Test [$(libc-reentrant) = yes]
55037 instead of [$(filter %REENTRANT, $(defines)) nonempty].
55038
55039 * Makeconfig
55040 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
55041 * sysdeps/pthread/configure: File removed.
55042 * sysdeps/pthread/Makeconfig: New file.
55043 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
55044 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
55045
55046 2012-08-16 Gary Benson <gbenson@redhat.com>
55047
55048 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
55049 unmapping the first object in a namespace.
55050
55051 2012-08-16 Roland McGrath <roland@hack.frob.com>
55052
55053 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
55054 (__internal_setnetgrent): ... this. Add internal_function to
55055 definition. Add libc_hidden_def.
55056 (setnetgrent): Update caller.
55057 (internal_endnetgrent): Renamed to ...
55058 (__internal_endnetgrent): ... this. Add internal_function to
55059 definition. Add libc_hidden_def.
55060 (endnetgrent): Update caller.
55061 (internal_getnetgrent_r): Renamed to ...
55062 (__internal_getnetgrent_r): ... this. Add internal_function to
55063 definition. Add libc_hidden_def.
55064 (__getnetgrent_r): Update caller.
55065 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
55066
55067 2012-08-16 Joseph Myers <joseph@codesourcery.com>
55068
55069 * stdlib/longlong.h: Update from GCC.
55070
55071 2012-08-16 Roland McGrath <roland@hack.frob.com>
55072
55073 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
55074 on _QL, which is set by umul_ppmm but never used.
55075 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
55076 variables, which are set by GMP macros but never used.
55077 * stdio-common/_itowa.c (_itowa): Likewise.
55078 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
55079 * stdlib/mod_1.c (mpn_mod_1): Likewise.
55080
55081 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
55082
55083 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
55084 struct La_sh_regs is not constant.
55085 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
55086 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
55087 and struct La_sparc64_regs are not constant.
55088
55089 2012-08-16 Joseph Myers <joseph@codesourcery.com>
55090
55091 * sysdeps/unix/sysv/linux/kernel-features.h
55092 (__ASSUME_POSIX_TIMERS): Remove.
55093 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55094 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55095 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
55096 Make code unconditional.
55097 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55098 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
55099 Make code unconditional.
55100 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55101 * sysdeps/unix/sysv/linux/clock_nanosleep.c
55102 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
55103 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55104 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
55105 Make code unconditional.
55106 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55107 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
55108 (__libc_missing_posix_timers): Remove.
55109
55110 2012-08-15 Roland McGrath <roland@hack.frob.com>
55111
55112 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
55113 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
55114
55115 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
55116
55117 * elf/dl-sym.c: Include <stdlib.h>.
55118
55119 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
55120 constants, which avoids warnings in 32-bit builds.
55121
55122 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
55123 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
55124
55125 * misc/lseek.c: File moved to ...
55126 * io/lseek.c: ... here.
55127
55128 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
55129
55130 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
55131 shifting LEN more than 31 bits at once.
55132
55133 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55134
55135 [BZ #14195]
55136 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
55137 segmentation fault for a case of two empty input strings.
55138 * string/test-strncasecmp.c (check1): Renamed to...
55139 (bz12205): ...this.
55140 (bz14195): Add new testcase for two empty input strings and N > 0.
55141 (test_main): Call new testcase, adapt for renamed function.
55142
55143 2012-08-15 Andreas Jaeger <aj@suse.de>
55144
55145 [BZ #14090]
55146 * crypt/md5test2.c: New test, based on test supplied by Serge
55147 Belyshev <belyshev@depni.sinp.msu.ru>.
55148 * crypt/Makefile (xtests): Add md5test-giant..
55149 * crypt/Makefile ($(objpfx)md5test-giant): Add.
55150
55151 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
55152
55153 [BZ #14090]
55154 * crypt/md5.c (md5_process_block): Don't assume the buffer
55155 length is less than 2**32.
55156 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
55157 length is less than 2**64.
55158
55159 2012-08-15 Roland McGrath <roland@hack.frob.com>
55160
55161 * string/str-two-way.h: Include <sys/param.h>.
55162 (MAX): Macro removed.
55163
55164 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
55165 Move #define and #undef of memmove to just before and after
55166 including <string.h>.
55167
55168 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
55169 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
55170 and after including <string.h>. Move declarations of
55171 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
55172 to before #include "string/memmove.c".
55173
55174 * include/dirent.h: Declare __getdirentries.
55175
55176 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
55177 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
55178
55179 2012-08-14 Mike Frysinger <vapier@gentoo.org>
55180
55181 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
55182 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
55183 * sysdeps/i386/configure: Regenerated.
55184 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
55185 STABS_CURRENT_FILE, and STABS_FUN.
55186 (END): Remove call to STABS_FUN_END.
55187 (STABS_CURRENT_FILE1): Delete.
55188 (STABS_CURRENT_FILE): Likewise.
55189 (STABS_FUN): Likewise.
55190 (STABS_FUN_END): Likewise.
55191 (STABS_FUN2): Likewise.
55192 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
55193 * sysdeps/x86_64/configure: Regenerated.
55194
55195 2012-08-14 Roland McGrath <roland@hack.frob.com>
55196
55197 * elf/dl-open.c: Include <atomic.h>.
55198 * elf/dl-lookup.c: Likewise.
55199
55200 2012-08-14 Joseph Myers <joseph@codesourcery.com>
55201
55202 * sysdeps/unix/sysv/linux/kernel-features.h
55203 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
55204 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
55205 unconditionally.
55206 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
55207 unconditionally.
55208 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
55209 condition on __ASSUME_CLONE_THREAD_FLAGS.
55210
55211 2012-08-14 Andreas Jaeger <aj@suse.de>
55212
55213 * sysdeps/i386/fpu/libm-test-ulps: Update.
55214
55215 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
55216
55217 * include/atomic.h (atomic_exchange_and_add): Split into ...
55218 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
55219 New atomic macros.
55220
55221 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
55222
55223 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55224
55225 2012-08-13 Jeff Law <law@redhat.com>
55226
55227 * manual/stdio.texi (snprintf): Clarify handling of the trailing
55228 null byte in the output string.
55229
55230 2012-08-10 Joseph Myers <joseph@codesourcery.com>
55231
55232 * sysdeps/unix/sysv/linux/kernel-features.h
55233 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
55234 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
55235 (__ASSUME_ARG_MAX_STACK_BASED): Define.
55236 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
55237 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
55238 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
55239 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
55240
55241 2012-08-09 Jeff Law <law@redhat.com>
55242
55243 [BZ #13939]
55244 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
55245 When avoid_arena is set, don't retry in the that arena. Pick the
55246 next one, whatever it might be.
55247 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
55248 (arena_lock): Pass in new parameter to arena_get2.
55249 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
55250 arena_get2.
55251 (__libc_malloc): Unify retrying after main arena failure with
55252 __libc_memalign version.
55253 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
55254
55255 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
55256
55257 [BZ #14166]
55258 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
55259 to __redirect_strstr.
55260 (__strstr_sse42): Use typeof __redirect_strstr.
55261 (__strstr_ia32): Likewise.
55262 (__libc_strstr): New prototype.
55263 (strstr): Renamed to ...
55264 (__libc_strstr): This.
55265 (strstr): New strong alias of __libc_strstr.
55266 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55267 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
55268 __redirect_time.
55269 Include <time.h>.
55270 (__libc_time): New prototype.
55271 (time_ifunc): Replace time with __libc_time.
55272 (time): New strong alias and hidden definition of __libc_time.
55273 (__GI_time): Remove strong alias.
55274 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
55275 Include <stddef.h>.
55276 (memmove): Redefined to __redirect_memmove.
55277 (__memmove_sse2): Use typeof __redirect_memmove.
55278 (__memmove_ssse3): Likewise.
55279 (__memmove_ssse3_back): Likewise.
55280 (__libc_memmove): New prototype.
55281 (memmove): Renamed to ...
55282 (__libc_memmove): This.
55283 (memmove): New strong alias of __libc_memmove.
55284
55285 2012-08-08 Mark Salter <msalter@redhat.com>
55286
55287 * elf/elf.h
55288 (R_MN10300_TLS_GD): Define.
55289 (R_MN10300_TLS_LD): Likewise.
55290 (R_MN10300_TLS_LDO): Likewise.
55291 (R_MN10300_TLS_GOTIE): Likewise.
55292 (R_MN10300_TLS_IE): Likewise.
55293 (R_MN10300_TLS_LE): Likewise.
55294 (R_MN10300_TLS_DTPMOD): Likewise.
55295 (R_MN10300_TLS_DTPOFF): Likewise.
55296 (R_MN10300_TLS_TPOFF): Likewise.
55297 (R_MN10300_SYM_DIFF): Likewise.
55298 (R_MN10300_ALIGN): Likewise.
55299 (R_MN10300_NUM): Update.
55300
55301 2012-08-08 Joseph Myers <joseph@codesourcery.com>
55302
55303 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
55304 Remove.
55305
55306 2012-08-08 Roland McGrath <roland@hack.frob.com>
55307
55308 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
55309
55310 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
55311 sysdeps/unix -> sysdeps/posix move.
55312 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55313
55314 2012-08-07 Allan McRae <allan@archlinux.org>
55315
55316 [BZ #14303]
55317 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
55318 (SUNOS_CPP): Likewise.
55319 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
55320 not found.
55321 (open_input): Call CPP using execvp.
55322
55323 2012-08-07 Joseph Myers <joseph@codesourcery.com>
55324
55325 * sysdeps/unix/sysv/linux/kernel-features.h
55326 (__ASSUME_PROT_GROWSUPDOWN): Remove.
55327 (__ASSUME_NO_CLONE_DETACHED): Likewise.
55328 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55329 (__ASSUME_WAITID_SYSCALL): Likewise.
55330 * sysdeps/unix/sysv/linux/dl-execstack.c
55331 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
55332 code unconditional.
55333 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
55334 conditional code.
55335 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
55336 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
55337 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
55338 code.
55339 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
55340 unconditional.
55341 [__ASSUME_WAITID_SYSCALL]: Likewise.
55342 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
55343
55344 2012-08-07 Roland McGrath <roland@hack.frob.com>
55345
55346 * sysdeps/unix/closedir.c: Renamed to ...
55347 * sysdeps/posix/closedir.c: ... here.
55348 * sysdeps/unix/dirfd.c: Renamed to ...
55349 * sysdeps/posix/dirfd.c: ... here.
55350 * sysdeps/unix/dirstream.h: Renamed to ...
55351 * sysdeps/posix/dirstream.h: ... here.
55352 * sysdeps/unix/fdopendir.c: Renamed to ...
55353 * sysdeps/posix/fdopendir.c: ... here.
55354 * sysdeps/unix/opendir.c: Renamed to ...
55355 * sysdeps/posix/opendir.c: ... here.
55356 * sysdeps/unix/readdir.c: Renamed to ...
55357 * sysdeps/posix/readdir.c: ... here.
55358 * sysdeps/unix/readdir_r.c: Renamed to ...
55359 * sysdeps/posix/readdir_r.c: ... here.
55360 * sysdeps/unix/rewinddir.c: Renamed to ...
55361 * sysdeps/posix/rewinddir.c: ... here.
55362 * sysdeps/unix/seekdir.c: Renamed to ...
55363 * sysdeps/posix/seekdir.c: ... here.
55364 * sysdeps/unix/telldir.c: Renamed to ...
55365 * sysdeps/posix/telldir.c: ... here.
55366 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
55367 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
55368 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
55369 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
55370
55371 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
55372 * bits/fcntl.h: ... here.
55373
55374 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
55375 not 0.
55376 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
55377 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
55378 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
55379 (struct flock): Move l_start, l_len to the beginning.
55380 Use __pid_t for l_pid.
55381 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
55382 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
55383 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
55384 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
55385 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
55386 [__USE_LARGEFILE64] (struct flock64): New type.
55387 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
55388
55389 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
55390 * bits/dirent.h: ... here.
55391
55392 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
55393 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
55394
55395 2012-08-07 Joseph Myers <joseph@codesourcery.com>
55396
55397 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55398 Change from 2.6.0 to 2.6.16.
55399 * sysdeps/unix/sysv/linux/configure: Regenerated.
55400 * sysdeps/unix/sysv/linux/kernel-features.h
55401 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
55402 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
55403 version.
55404 (__ASSUME_UTIMES): Likewise.
55405 (__ASSUME_CLONE_STOPPED): Remove.
55406 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
55407 architectures, not kernel version.
55408 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
55409 (__ASSUME_NO_CLONE_DETACHED): Likewise.
55410 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55411 (__ASSUME_WAITID_SYSCALL): Likewise.
55412 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
55413 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
55414 * README: State 2.6.16 as minimum Linux kernel version. Do not
55415 refer to older versions.
55416
55417 2012-08-06 Roland McGrath <roland@hack.frob.com>
55418
55419 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
55420 Define alphasort64 as an alias.
55421 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
55422 Define versionsort64 as an alias.
55423 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
55424 Define scandir64 as an alias.
55425 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
55426 Define scandirat64 as an alias.
55427 * dirent/alphasort64.c (alphasort64):
55428 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
55429 * dirent/versionsort64.c: Likewise.
55430 * dirent/scandir64.c: Likewise.
55431 * dirent/scandirat64.c: Likewise.
55432 * sysdeps/wordsize-64/alphasort.c: File removed.
55433 * sysdeps/wordsize-64/alphasort64.c: File removed.
55434 * sysdeps/wordsize-64/scandir.c: File removed.
55435 * sysdeps/wordsize-64/scandir64.c: File removed.
55436 * sysdeps/wordsize-64/scandirat.c: File removed.
55437 * sysdeps/wordsize-64/scandirat64.c: File removed.
55438 * sysdeps/wordsize-64/versionsort.c: File removed.
55439 * sysdeps/wordsize-64/versionsort64.c: File removed.
55440 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
55441 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
55442 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
55443 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
55444 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
55445 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
55446 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
55447 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
55448
55449 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
55450 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55451 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
55452 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55453 [defined __arch64__ || defined __sparcv9]
55454 (__INO_T_MATCHES_INO64_T): New macro.
55455 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55456 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
55457 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
55458 * sysdeps/unix/sysv/linux/bits/dirent.h
55459 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
55460 (_DIRENT_MATCHES_DIRENT64): New macro.
55461
55462 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
55463 Define lockf64 as an alias.
55464 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
55465 Define fseeko64 as an alias.
55466 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
55467 Define ftello64 as an alias.
55468 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
55469 Define _IO_fgetpos64 and fgetpos64 as aliases.
55470 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
55471 Define _IO_fsetpos64 and fsetpos64 as aliases.
55472 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
55473 Conditionalize body on this.
55474 * libio/fseeko64.c: Likewise.
55475 * libio/ftello64.c: Likewise.
55476 * libio/iofgetpos64.c: Likewise.
55477 * libio/iofsetpos64.c: Likewise.
55478 * sysdeps/wordsize-64/lockf.c: File removed.
55479 * sysdeps/wordsize-64/lockf64.c: File removed.
55480 * sysdeps/wordsize-64/fseeko.c: File removed.
55481 * sysdeps/wordsize-64/fseeko64.c: File removed.
55482 * sysdeps/wordsize-64/ftello.c: File removed.
55483 * sysdeps/wordsize-64/ftello64.c: File removed.
55484 * sysdeps/wordsize-64/iofgetpos.c: File removed.
55485 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
55486 * sysdeps/wordsize-64/iofsetpos.c: File removed.
55487 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
55488 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
55489 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
55490 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
55491 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
55492 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
55493 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
55494 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
55495 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
55496 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
55497 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
55498
55499 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55500 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55501 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
55502 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55503 [defined __arch64__ || defined __sparcv9]
55504 (__OFF_T_MATCHES_OFF64_T): New macro.
55505 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55506 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55507 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55508 (__OFF_T_MATCHES_OFF64_T): New macro.
55509
55510 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
55511
55512 * stdlib/secure-getenv.c (__secure_getenv): Replace
55513 GLIBC_2_16 with GLIBC_2_17.
55514
55515 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
55516
55517 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
55518 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55519
55520 2012-08-03 David S. Miller <davem@davemloft.net>
55521
55522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55523
55524 2012-08-03 Joseph Myers <joseph@codesourcery.com>
55525
55526 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
55527 Remove.
55528 (__ASSUME_CORRECT_SI_PID): Likewise.
55529 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
55530 (__ASSUME_TMPFS_NAME): Likewise.
55531 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
55532 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
55533 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
55534 (HAVE_AUX_SECURE): Make definition unconditional.
55535 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
55536 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
55537
55538 2012-08-03 Roland McGrath <roland@hack.frob.com>
55539
55540 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
55541 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
55542 * sysdeps/mach/hurd/eloop-threshold.h: New file.
55543 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55544 __eloop_threshold instead of SYMLOOP_MAX.
55545
55546 * sysdeps/generic/eloop-threshold.h: New file.
55547 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
55548 of MAXSYMLINKS.
55549 * elf/chroot_canon.c (chroot_canon): Likewise.
55550
55551 2012-08-03 Joseph Myers <joseph@codesourcery.com>
55552
55553 [BZ #13717]
55554 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55555 Change to 2.6.0 everywhere.
55556 * sysdeps/unix/sysv/linux/configure: Regenerated.
55557 * sysdeps/unix/sysv/linux/kernel-features.h
55558 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
55559 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
55560 kernel versions.
55561 (__ASSUME_POSIX_TIMERS): Define unconditionally.
55562 (__ASSUME_FUTEX_REQUEUE): Remove.
55563 (__ASSUME_STATFS64): Define unconditionally.
55564 (__ASSUME_AT_SECURE): Likewise.
55565 (__ASSUME_CORRECT_SI_PID): Likewise.
55566 (__ASSUME_TGKILL): Define without depending on kernel version for
55567 i386.
55568 (__ASSUME_UTIMES): Likewise.
55569 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
55570 kernel version.
55571 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
55572 (__ASSUME_TMPFS_NAME): Likewise.
55573 * README: Update reference to Linux kernel versions.
55574
55575 2012-08-02 Marek Polacek <polacek@redhat.com>
55576
55577 [BZ# 14150]
55578 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
55579 libc_cv_asm_type_prefix with %.
55580 * configure: Regenerated.
55581 * include/libc-symbols.h: Remove comment about
55582 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55583 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
55584 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
55585 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
55586 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
55587 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55588 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
55589 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
55590 * elf/tst-unique2mod1.c: Likewise.
55591 * elf/tst-unique1mod2.c: Likewise.
55592 * elf/tst-unique1mod1.c: Likewise.
55593 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
55594 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
55595 Replace ASM_TYPE_DIRECTIVE with .type.
55596 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55597 * sysdeps/i386/sysdep.h: Likewise.
55598 * sysdeps/x86_64/sysdep.h: Likewise.
55599 * sysdeps/sh/sysdep.h: Likewise.
55600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55601 Do not define ASM_TYPE_DIRECTIVE.
55602 * sysdeps/powerpc/sysdep.h: Likewise.
55603 * sysdeps/powerpc/powerpc32/sysdep.h:
55604 Replace ASM_TYPE_DIRECTIVE with .type.
55605 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55606 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55607 * sysdeps/i386/fpu/e_powf.S: Likewise.
55608 * sysdeps/i386/fpu/e_expl.S: Likewise.
55609 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55610 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55611 * sysdeps/i386/fpu/e_pow.S: Likewise.
55612 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55613 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55614 * sysdeps/i386/fpu/s_expm1.S: Likewise.
55615 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55616 * sysdeps/i386/fpu/e_log2.S: Likewise.
55617 * sysdeps/i386/fpu/e_log2l.S: Likewise.
55618 * sysdeps/i386/fpu/e_scalb.S: Likewise.
55619 * sysdeps/i386/fpu/e_powl.S: Likewise.
55620 * sysdeps/i386/fpu/e_log10f.S: Likewise.
55621 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55622 * sysdeps/i386/fpu/e_logl.S: Likewise.
55623 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55624 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55625 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55626 * sysdeps/i386/fpu/e_log2f.S: Likewise.
55627 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55628 * sysdeps/i386/fpu/e_log.S: Likewise.
55629 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55630 * sysdeps/i386/fpu/e_logf.S: Likewise.
55631 * sysdeps/i386/fpu/e_log10l.S: Likewise.
55632 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55633 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55634 * sysdeps/i386/fpu/e_log10.S: Likewise.
55635 * sysdeps/i386/fpu/s_frexp.S: Likewise.
55636 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55637 * sysdeps/i386/fpu/s_asinh.S: Likewise.
55638 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55639 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55640 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
55641 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55642 * sysdeps/i386/i686/strtok.S: Likewise.
55643 * sysdeps/i386/i386-mcount.S: Likewise.
55644 * sysdeps/i386/strtok.S: Likewise.
55645 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
55646 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55647 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55648 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55649 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55650 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55651 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55652 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55653 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55654 * sysdeps/x86_64/_mcount.S: Likewise.
55655 * sysdeps/x86_64/strtok.S: Likewise.
55656 * sysdeps/sh/_mcount.S: Likewise.
55657
55658 2012-08-01 Roland McGrath <roland@hack.frob.com>
55659
55660 * libio/iofopen.c: Include <fcntl.h>.
55661 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
55662 (_IO_fopen64, fopen64): Define as aliases.
55663 * libio/iofopen64.c: Include <fcntl.h>.
55664 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
55665 Conditionalize body on this.
55666 * sysdeps/wordsize-64/iofopen.c: File removed.
55667 * sysdeps/wordsize-64/iofopen64.c: File removed.
55668
55669 2012-08-01 Marek Polacek <polacek@redhat.com>
55670
55671 * libc/Makeconfig: Use elf in place of binfmt-subdir.
55672 Use dlfcn directly instead of a variable.
55673 (binfmt-subdir): Do not define.
55674 (dlfcn): Likewise.
55675
55676 2012-08-01 Joseph Myers <joseph@codesourcery.com>
55677
55678 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
55679 Remove all definitions.
55680 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
55681 <kernel-features.h>.
55682 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55683 (miss_F_GETOWN_EX): Remove all definitions.
55684 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
55685 macro definition.
55686 [!__ASSUME_FCNTL64]: Remove conditional code.
55687 [__ASSUME_FCNTL64]: Make code unconditional.
55688 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
55689 <kernel-features.h>.
55690 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55691 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
55692 (lockf64) [__NR_fcntl64]: Make code unconditional.
55693 (lockf64) [__ASSUME_FCNTL64]: Likewise.
55694
55695 * sysdeps/unix/sysv/linux/kernel-features.h
55696 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
55697 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
55698 Make code unconditional.
55699 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55700 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
55702 [__NR_vfork]: Make code unconditional.
55703 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55704 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
55706 [__NR_vfork]: Make code unconditional.
55707 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55708 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55709
55710 2012-08-01 Roland McGrath <roland@hack.frob.com>
55711
55712 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
55713 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
55714
55715 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55716 Define mkstemp64 as an alias.
55717 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55718 Define mkstemps64 as an alias.
55719 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55720 Define mkostemp64 as an alias.
55721 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55722 Define mkostemps64 as an alias.
55723 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
55724 Conditionalize body on this.
55725 * misc/mkostemp64.c: Likewise.
55726 * misc/mkostemps64.c: Likewise.
55727 * misc/mkstemps64.c: Likewise.
55728 * sysdeps/wordsize-64/mkstemp64.c: File removed.
55729 * sysdeps/wordsize-64/mkostemp64.c: File removed.
55730 * sysdeps/wordsize-64/mkostemp.c: File removed.
55731 * sysdeps/wordsize-64/mkstemp.c: File removed.
55732 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
55733 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
55734 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
55735 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
55736
55737 [BZ #14138]
55738 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
55739 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
55740 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
55741 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
55742
55743 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
55744 compat_symbol macros from <shlib-compat.h> rather than the underlying
55745 default_symbol_version and symbol_version macros, so that DEFAULT
55746 lines in shlib-versions are respected.
55747 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
55748
55749 2012-08-01 Florian Weimer <fweimer@redhat.com>
55750
55751 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
55752 Declare with warn_unused_result.
55753 (setgid, setregid, setegid, setresgid): Likewise.
55754 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
55755 Likewise.
55756 * WUR-REPORT: Remove set*id functions.
55757
55758 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
55759
55760 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
55761
55762 2012-07-31 Roland McGrath <roland@hack.frob.com>
55763
55764 [BZ #10191]
55765 * include/sys/socket.h (__libc_accept, __libc_accept4):
55766 Add attribute_hidden.
55767 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
55768
55769 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
55770 use of PTR_MANGLE.
55771 * inet/getnetgrent_r.c (setup): Likewise.
55772
55773 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
55774
55775 2012-07-31 David S. Miller <davem@davemloft.net>
55776
55777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55778
55779 2012-07-31 Joseph Myers <joseph@codesourcery.com>
55780
55781 [BZ #13629]
55782 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
55783 value between 1.0 and 2.0 and smaller part has absolute value less
55784 than 1.0.
55785 * math/s_clog10.c (__clog10): Likewise.
55786 * math/s_clog10f.c (__clog10f): Likewise.
55787 * math/s_clog10l.c (__clog10l): Likewise.
55788 * math/s_clogf.c (__clogf): Likewise.
55789 * math/s_clogl.c (__clogl): Likewise.
55790 * math/libm-test.inc (clog_test): Add more tests.
55791 (clog10_test): Likewise.
55792 * sysdeps/i386/fpu/libm-test-ulps: Update.
55793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55794
55795 2012-07-31 Florian Weimer <fweimer@redhat.com>
55796
55797 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
55798 Exit with zero in case no suitable GID is found, and write a
55799 message to standard error.
55800
55801 2012-07-30 Roland McGrath <roland@hack.frob.com>
55802
55803 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
55804 rather than to 1.
55805 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
55806 (MAXPATHLEN): Removed.
55807 (NOGROUP, NODEV): New macros.
55808 (setbit, clrbit, isset, isclr): New macros.
55809 (howmany, roundup, powerof2): New macros.
55810 (DEV_BSIZE): New macro.
55811
55812 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55813 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
55814
55815 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
55816 definition on [!__NO_LONG_DOUBLE_MATH].
55817
55818 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
55819 PTR_MANGLE and PTR_DEMANGLE.
55820
55821 * socket/accept4.c (accept4): Rename to __libc_accept4.
55822 Define accept4 as a weak alias.
55823
55824 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
55825 on [_DIRENT_HAVE_D_TYPE].
55826 * io/ftw.c (ftw_dir): Likewise.
55827
55828 * io/xmknod.c (__xmknod): Don't check PATH for being null.
55829
55830 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
55831
55832 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
55833 Use the BSD numbers rather than the arbitrary ones we had.
55834 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
55835 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
55836 (SIGXCPU, SIGXFSZ): New macros.
55837 (_NSIG): Now 32.
55838
55839 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
55840 initializer on [_LIBC_REENTRANT].
55841
55842 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
55843 definitions inside [_POSIX_MAPPED_FILES].
55844
55845 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
55846
55847 * dirent/opendir.c: Include <fcntl.h>.
55848
55849 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
55850 (__libc_getspecific): Likewise.
55851 (__libc_key_create): Likewise.
55852
55853 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
55854 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
55855 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
55856 (tmpfile64): Define as alias.
55857 * sysdeps/wordsize-64/tmpfile.c: File removed.
55858 * sysdeps/wordsize-64/tmpfile64.c: File removed.
55859 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
55860 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
55861
55862 * stdio-common/vfscanf.c: Include <stdbool.h>.
55863 * nss/makedb.c: Likewise.
55864 * stdio-common/_i18n_number.h: Likewise.
55865 * argp/argp-help.c: Likewise.
55866 * posix/wordexp.c: Likewise.
55867 * sysdeps/posix/spawni.c: Likewise.
55868 * nss/nss_files/files-initgroups.c: Likewise.
55869 * stdio-common/reg-modifier.c: Include <stdlib.h>.
55870 * nss/nss_files/files-initgroups.c: Likewise.
55871 * nss/nss_db/db-netgrp.c: Likewise.
55872 * nss/nss_db/db-initgroups.c: Likewise.
55873 * io/fchmodat.c: Include <sys/stat.h>.
55874
55875 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
55876 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
55877
55878 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
55879 [HAVE_MMAP].
55880
55881 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
55882 Add multiple inclusion protection.
55883
55884 2012-07-27 David S. Miller <davem@davemloft.net>
55885
55886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55887
55888 2012-07-27 Gary Benson <gbenson@redhat.com>
55889
55890 [BZ #14298]
55891 * elf/rtld.c: Include <stap-probe.h>.
55892 (dl_main): Added static probes "init_start" and "init_complete".
55893 * elf/dl-load.c: Include <stap-probe.h>.
55894 (lose): Take new parameter "nsid".
55895 Added static probe "map_failed".
55896 (_dl_map_object_from_fd): Pass namespace id to lose.
55897 Added static probe "map_start".
55898 (open_verify): Pass namespace id to lose.
55899 * elf/dl-open.c: Include <stap-probe.h>.
55900 (dl_open_worker) Added static probes "map_complete", "reloc_start"
55901 and "reloc_complete".
55902 * elf/dl-close.c: Include <stap-probe.h>.
55903 (_dl_close_worker): Added static probes "unmap_start" and
55904 "unmap_complete".
55905 * elf/rtld-debugger-interface.txt: New file documenting the above.
55906
55907 2012-07-26 Roland McGrath <roland@hack.frob.com>
55908
55909 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
55910 rather than a string variable.
55911 * sunrpc/rpc_main.c (h_output): Likewise.
55912 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
55913
55914 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
55915
55916 * inet/check_native.c: New file.
55917
55918 2012-07-26 Joseph Myers <joseph@codesourcery.com>
55919
55920 [BZ #13629]
55921 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
55922 if larger part has absolute value 1.0.
55923 * math/s_clog10.c (__clog10): Likewise.
55924 * math/s_clog10f.c (__clog10f): Likewise.
55925 * math/s_clog10l.c (__clog10l): Likewise.
55926 * math/s_clogf.c (__clogf): Likewise.
55927 * math/s_clogl.c (__clogl): Likewise.
55928 * math/libm-test.inc (clog_test): Add more tests.
55929 (clog10_test): Likewise.
55930 * sysdeps/i386/fpu/libm-test-ulps: Update.
55931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55932
55933 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
55934 (pltexit): Likewise.
55935 (La_regs): Likewise.
55936 (La_retval): Likewise.
55937 (int_retval): Likewise.
55938 Update #error for removed macros to refer only to definitions in
55939 tst-audit.h.
55940 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
55941 macro.
55942 (pltexit): Likewise.
55943 (La_regs): Likewise.
55944 (La_retval): Likewise.
55945 (int_retval): Likewise.
55946 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
55947 macro.
55948 (pltexit): Likewise.
55949 (La_regs): Likewise.
55950 (La_retval): Likewise.
55951 (int_retval): Likewise.
55952 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
55953 macro.
55954 (pltexit): Likewise.
55955 (La_regs): Likewise.
55956 (La_retval): Likewise.
55957 (int_retval): Likewise.
55958 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
55959 macro.
55960 (pltexit): Likewise.
55961 (La_regs): Likewise.
55962 (La_retval): Likewise.
55963 (int_retval): Likewise.
55964 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
55965 macro.
55966 (pltexit): Likewise.
55967 (La_regs): Likewise.
55968 (La_retval): Likewise.
55969 (int_retval): Likewise.
55970 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
55971 macro.
55972 (pltexit): Likewise.
55973 (La_regs): Likewise.
55974 (La_retval): Likewise.
55975 (int_retval): Likewise.
55976 * sysdeps/generic/tst-audit.h: Update comment to refer only to
55977 macro definitions in tst-audit.h.
55978 * sysdeps/i386/tst-audit.h: New file.
55979 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
55980 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
55981 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
55982 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
55983 * sysdeps/sh/tst-audit.h: Likewise.
55984 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
55985 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
55986 * sysdeps/x86_64/tst-audit.h: Likewise.
55987
55988 2012-07-26 Andreas Jaeger <aj@suse.de>
55989
55990 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
55991 ptrace.
55992
55993 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
55994 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
55995 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
55996 PTRACE_O_MASK.
55997 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
55998 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
55999 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
56000
56001 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
56002 value.
56003
56004 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
56005 _sigsys.
56006 (si_call_addr, si_syscall, si_arch): Define new macro.
56007 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
56008 _sigsys.
56009 (si_call_addr, si_syscall, si_arch): Define new marcro.
56010 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
56011 _sigsys.
56012 (si_call_addr, si_syscall, si_arch): Define new macro.
56013 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
56014 _sigsys.
56015 (si_call_addr, si_syscall, si_arch): Define new macro.
56016
56017 2012-07-25 Joseph Myers <joseph@codesourcery.com>
56018
56019 [BZ #13717]
56020 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56021 Change to 2.4.21 where previously 2.4.1.
56022 * sysdeps/unix/sysv/linux/configure: Regenerated.
56023 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
56024 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
56025 Linux kernel version.
56026 (__ASSUME_STD_AUXV): Remove.
56027 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
56028 kernel version.
56029 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
56030 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
56031 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
56032 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
56033 (__ASSUME_NETLINK_SUPPORT): Likewise.
56034 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
56035 (__no_netlink_support): Remove conditional definition.
56036 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
56037 Remove.
56038 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56039 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
56040 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
56041 (if_nameindex_ioctl): Remove.
56042 (if_nameindex_netlink): Do not handle __no_netlink_support.
56043 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56044 code.
56045 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
56046 Remove conditional code.
56047 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56048 code.
56049 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
56050 unconditional.
56051 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56052 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
56053 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
56054 Remove.
56055 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
56056 [!__ASSUME_STD_AUXV]: Remove conditional code.
56057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
56058 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
56059 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
56060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
56061 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
56062 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56063 code.
56064 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56066 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
56067 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56068 conditional code.
56069 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
56071 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56072 code.
56073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56074 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56075 conditional code.
56076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
56077 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56078 code unconditional.
56079 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56080 conditional code.
56081 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56082 unconditional.
56083 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56084 conditional code.
56085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56086 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56087 unconditional.
56088 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56089 conditional code.
56090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
56091 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56092 code unconditional.
56093 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56094 conditional code.
56095 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56096 unconditional.
56097 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56098 conditional code.
56099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
56100 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56101 code unconditional.
56102 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56103 conditional code.
56104 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56105 unconditional.
56106 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56107 conditional code.
56108
56109 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
56110
56111 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
56112 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
56113 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
56114 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
56115 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
56116 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
56117 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
56118 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
56119 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
56120 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
56121 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
56122 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
56123 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
56124 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
56125 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
56126 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
56127 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
56128 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
56129 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
56130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
56131 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
56132 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
56133 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56134
56135 2012-07-25 Florian Weimer <fweimer@redhat.com>
56136
56137 * Versions.def: Add GLIBC_2.17.
56138 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
56139 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
56140 Introduce __libc_secure_getenv.
56141 * stdlib/Versions (2.17): Add secure_getenv
56142 (GLIBC_PRIVATE): Add __libc_secure_getenv.
56143 * stdlib/secure-getenv.c: Rename __secure_getenv to
56144 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
56145 symbol __secure_getenv for GLIBC_2.0.
56146 * stdlib/tst-secure-getenv.c: New.
56147 * stdlib/Makefile (tests): Add testcase.
56148 * manual/startup.texi (Environment Access): Document
56149 secure_getenv.
56150 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
56151 __libc_secure_getenv.
56152 * inet/ruserpass.c (ruserpass): Likewise.
56153 * malloc/mtrace.c (mtrace): Likewise.
56154 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
56155 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
56156 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
56157 * sysdeps/posix/tempname.c: Likewise. Evaluate
56158 HAVE_SECURE_GETENV.
56159 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
56160 __secure_getenv to __libc_secure_getenv.
56161 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
56162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56163 Likewise.
56164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56165 Likewise.
56166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56168 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56173
56174 2012-07-25 Joseph Myers <joseph@codesourcery.com>
56175
56176 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
56177 (struct La_i86_retval): Likewise.
56178 (struct La_x86_64_regs): Likewise.
56179 (struct La_x86_64_retval): Likewise.
56180 (struct La_x32_regs): Likewise.
56181 (struct La_x32_retval): Likewise.
56182 (struct La_ppc32_regs): Likewise.
56183 (struct La_ppc32_retval): Likewise.
56184 (struct La_ppc64_regs): Likewise.
56185 (struct La_ppc64_retval): Likewise.
56186 (struct La_sh_regs): Likewise.
56187 (struct La_sh_retval): Likewise.
56188 (struct La_s390_32_regs): Likewise.
56189 (struct La_s390_32_retval): Likewise.
56190 (struct La_s390_64_regs): Likewise.
56191 (struct La_s390_64_retval): Likewise.
56192 (struct La_sparc32_regs): Likewise.
56193 (struct La_sparc32_retval): Likewise.
56194 (struct La_sparc64_regs): Likewise.
56195 (struct La_sparc64_retval): Likewise.
56196 (struct audit_ifaces): Remove architecture-specific pltenter and
56197 pltexit members.
56198 * sysdeps/i386/ldsodefs.h: New file.
56199 * sysdeps/powerpc/ldsodefs.h: Likewise.
56200 * sysdeps/s390/ldsodefs.h: Likewise.
56201 * sysdeps/sh/ldsodefs.h: Likewise.
56202 * sysdeps/sparc/ldsodefs.h: Likewise.
56203 * sysdeps/x86_64/ldsodefs.h: Likewise.
56204
56205 2012-07-25 Marek Polacek <polacek@redhat.com>
56206
56207 [BZ #6808]
56208 * math/libm-test.inc (yn_test): Add another test.
56209 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
56210 to ERANGE when the result is +-Inf.
56211 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56212 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
56213 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
56214 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
56215
56216 2012-07-24 Joseph Myers <joseph@codesourcery.com>
56217
56218 * conform/data/time.h-data (NULL): Use macro-constant. Require
56219 equal to 0.
56220 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
56221 clock_t.
56222 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
56223
56224 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
56225
56226 * configure.in <sysdeps resolving>: Correct printing
56227 Implies_before.
56228 * configure: Regenerate.
56229
56230 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
56231
56232 * math/w_ilogb.c: Include <limits.h>.
56233 * math/w_ilogbl.c: Likewise.
56234
56235 2012-07-20 Joseph Myers <joseph@codesourcery.com>
56236
56237 * manual/lang.texi (__va_copy): Document primarily as ISO C99
56238 va_copy. Document allowing for unavailable va_copy only as
56239 pre-C99 compatibility.
56240 * manual/string.texi (Copying and Concatenation): Use va_copy
56241 instead of __va_copy in concat example.
56242
56243 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
56244
56245 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
56246 (__sendto): Use create_address_port. Initialize APORT and deallocate
56247 it if not null.
56248
56249 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
56250 with O_NOLINK passed to __file_name_lookup.
56251
56252 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
56253 with O_NOLINK passed to __file_name_lookup.
56254
56255 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
56256 negative N or less than NGIDS.
56257
56258 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
56259 type to string_t. Set ERANGE as errno and return it if NAME is not big
56260 enough. Use memcpy instead of strncpy.
56261
56262 2012-07-20 Joseph Myers <joseph@codesourcery.com>
56263
56264 * elf/Makefile (check-data): Remove.
56265 (localplt.data): New vpath directive.
56266 ($(objpfx)check-localplt.out): Use localplt.data from vpath
56267 instead of $(check-data).
56268 * scripts/data/localplt-generic.data: Move to ...
56269 * sysdeps/generic/localplt.data: ... here.
56270 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
56271 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
56272 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
56273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
56274 ... here.
56275 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
56276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
56277 ... here.
56278 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
56279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
56280 ... here.
56281 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
56282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
56283 ... here.
56284 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
56285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
56286 ... here.
56287 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
56288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
56289 ... here.
56290
56291 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56292
56293 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
56294 PPC32 and PPC64 files.
56295 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
56296 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
56297
56298 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56299
56300 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
56301 __makecontext_ret to ...
56302 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
56303 ... here and call exit if uc_link is NULL. New file.
56304 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
56305 __makecontext_ret.S.
56306 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
56307 __makecontext_ret to ...
56308 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
56309 ... here and call exit if uc_link is NULL. New file.
56310 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
56311 __makecontext_ret.S.
56312
56313 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56314
56315 * elf/elf.h (R_390_IRELATIVE): New definition.
56316 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
56317 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
56318 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
56319 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
56320 (elf_machine_lazy_rel): Likewise.
56321 * sysdeps/s390/dl-irel.h: New file.
56322 * sysdeps/s390/s390-64/memcpy.S: New asm code.
56323 * sysdeps/s390/s390-64/memset.S: New asm code.
56324 * sysdeps/s390/s390-64/memcmp.S: New asm code.
56325 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
56326 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
56327 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
56328 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
56329 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
56330 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
56331 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
56332 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
56333 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
56334 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
56335 * sysdeps/s390/s390-32/memcpy.S: New asm code.
56336 * sysdeps/s390/s390-32/memset.S: New asm code.
56337 * sysdeps/s390/s390-32/memcmp.S: New asm code.
56338
56339 2012-07-17 Marek Polacek <polacek@redhat.com>
56340
56341 [BZ #14349]
56342 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
56343 * sysdeps/s390/s390-64/configure.in: Likewise.
56344 * sysdeps/sparc/configure.in: Likewise.
56345 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
56346 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
56347 * sysdeps/i386/configure.in: Likewise.
56348 * sysdeps/x86_64/configure.in: Likewise.
56349 * sysdeps/sh/configure.in: Likewise.
56350 * sysdeps/s390/s390-32/configure: Regenerated.
56351 * sysdeps/s390/s390-64/configure: Likewise.
56352 * sysdeps/x86_64/configure: Likewise.
56353 * sysdeps/sh/configure: Likewise.
56354 * sysdeps/powerpc/powerpc64/configure: Likewise.
56355 * sysdeps/powerpc/powerpc32/configure: Likewise.
56356 * sysdeps/sparc/configure: Likwise.
56357 * sysdeps/i386/configure: Likewise.
56358
56359 * elf/dl-open.c: Comment fixes.
56360
56361 2012-07-17 Joseph Myers <joseph@codesourcery.com>
56362
56363 * Makefile [CXX] (check-data): Remove.
56364 [CXX] (c++-types.data): New vpath directive.
56365 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
56366 vpath. Do not allow for C++ type data being missing.
56367 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
56368 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
56369 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
56370 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
56371 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
56372 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
56373 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
56374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
56375 ... here.
56376 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
56377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
56378 ... here.
56379 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
56380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
56381 ... here.
56382 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
56383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
56384 ... here.
56385 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
56386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
56387 ... here.
56388 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
56389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
56390 ... here.
56391 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
56392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
56393 ... here.
56394 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
56395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
56396
56397 * elf/tls-macros.h (TLS_LE): Move architecture-specific
56398 definitions to architecture-specific files.
56399 (TLS_IE): Likewise.
56400 (TLS_LD): Likewise.
56401 (TLS_GD): Likewise.
56402 * sysdeps/i386/tls-macros.h: New file.
56403 * sysdeps/powerpc/tls-macros.h: Likewise.
56404 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
56405 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
56406 * sysdeps/sh/tls-macros.h: Likewise.
56407 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
56408 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
56409 * sysdeps/x86_64/tls-macros.h: Likewise.
56410
56411 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
56412
56413 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
56414 zero value for regular exit case.
56415
56416 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
56417 (__start_context): Preserve zero value for regular exit case.
56418
56419 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
56420 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56421
56422 * manual/setjmp.texi (setcontext): Clarify normal process
56423 termination when uc_link is the null pointer.
56424 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
56425 exit call.
56426
56427 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
56428
56429 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
56430 preprocessor. Test for each exception mask separately.
56431
56432 2012-07-16 Andreas Jaeger <aj@suse.de>
56433
56434 * po/ru.po: Update from translation team.
56435
56436 2012-07-15 Joseph Myers <joseph@codesourcery.com>
56437
56438 * conform/data/string.h-data (NULL): Use macro-constant. Require
56439 equal to 0.
56440 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56441 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56442 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
56443 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
56444 [ISO || ISO99 || ISO11] (*_t): Do not allow.
56445
56446 2012-07-13 Andreas Jaeger <aj@suse.de>
56447
56448 * po/fr.po: Update from translation team.
56449
56450 2012-07-12 Marek Polacek <polacek@redhat.com>
56451
56452 [BZ #14173]
56453 * math/libm-test.inc (yn_test): Add test for BZ #14173.
56454 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
56455 loop condition.
56456
56457 2012-07-12 Joseph Myers <joseph@codesourcery.com>
56458
56459 [BZ #13717]
56460 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56461 Change to 2.4.1 where previously 2.4.0.
56462 * sysdeps/unix/sysv/linux/configure: Regenerated.
56463 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
56464 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
56465 version.
56466 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
56467 (__ASSUME_AT_CLKTCK): Remove.
56468 (__ASSUME_AT_PAGESIZE): Likewise.
56469 (__ASSUME_AT_XID): Likewise.
56470 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
56471 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
56472 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
56473 unconditionally.
56474 (HAVE_AUX_PAGESIZE): Likewise.
56475 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
56476 [__ASSUME_AT_CLKTCK]: Make code unconditional.
56477 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
56478
56479 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
56480
56481 [BZ #14307]
56482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
56483 the temporary buffer used to invoke __gethostbyname2_r,
56484 __gethostbyaddr_r and gethostbyname4_r to make room for struct
56485 host_data / struct gaih_addrtuple.
56486 * resolv/nss_dns/dns-host.c (global scope): Move definition of
56487 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
56488 header file nss/nsswitch.h.
56489 * nss/nsswitch.h (global scope): Add definition of implementation
56490 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
56491 resolv/nss_dns/dns-host.c).
56492
56493 2012-07-11 Andreas Jaeger <aj@suse.de>
56494
56495 * po/fr.po: Update from translation team.
56496
56497 * po/sv.po: Update from translation team
56498 * po/fr.po: Another update from translation team.
56499
56500 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56501
56502 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
56503 for subnormals or multiply small sinh result by itself.
56504 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56506
56507 2012-07-11 David S. Miller <davem@davemloft.net>
56508
56509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56510
56511 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
56512
56513 [BZ #14347]
56514 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
56515 (INTERNAL_MARK): Shift it here.
56516
56517 2012-07-10 Marek Polacek <polacek@redhat.com>
56518
56519 [BZ #14151]
56520 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
56521 libc_cv_asm_global_directive with .globl.
56522 * configure: Regenerated.
56523 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
56524 with .globl.
56525 * sysdeps/i386/configure: Regenerated.
56526 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
56527 with .globl.
56528 * sysdeps/x86_64/configure: Regenerated.
56529 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
56530 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
56531 * elf/tst-unique2mod2.c: Likewise.
56532 * elf/tst-unique2mod1.c: Likewise.
56533 * elf/tst-unique1mod2.c: Likewise.
56534 * elf/tst-unique1mod1.c: Likewise.
56535 * sysdeps/s390/s390-32/sysdep.h: Likewise.
56536 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56537 * sysdeps/s390/s390-64/sysdep.h: Likewise.
56538 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56539 * sysdeps/mach/sysdep.h: Likewise.
56540 * sysdeps/i386/sysdep.h: Likewise.
56541 * sysdeps/i386/i386-mcount.S: Likewise.
56542 * sysdeps/x86_64/_mcount.S: Likewise.
56543 * sysdeps/x86_64/sysdep.h: Likewise.
56544 * sysdeps/sh/_mcount.S: Likewise.
56545 * sysdeps/sh/sysdep.h: Likewise.
56546 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
56547 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
56548 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
56549 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56550 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
56551 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
56552 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
56553 * locale/localeinfo.h: Likewise.
56554 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
56555 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
56556
56557 2012-07-09 Roland McGrath <roland@hack.frob.com>
56558
56559 [BZ #14336]
56560 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
56561 system".
56562 * manual/message.texi (The Uniforum approach): Likewise.
56563 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
56564 (glibc iconv Implementation): Likewise.
56565
56566 2012-07-09 Joseph Myers <joseph@codesourcery.com>
56567
56568 [BZ #14337]
56569 * math/s_clog.c (__clog): Avoid scaling a value down where that
56570 could result in underflow.
56571 * math/s_clog10.c (__clog10): Likewise.
56572 * math/s_clog10f.c (__clog10f): Likewise.
56573 * math/s_clog10l.c (__clog10l): Likewise.
56574 * math/s_clogf.c (__clogf): Likewise.
56575 * math/s_clogl.c (__clogl): Likewise.
56576 * math/libm-test.inc (clog_test): Add more tests.
56577 (clog10_test): Likewise.
56578 * sysdeps/i386/fpu/libm-test-ulps: Update.
56579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56580
56581 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
56582
56583 [BZ #14283]
56584 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
56585 by 7 not 8 to examine high bit of fractional part.
56586
56587 [BZ #14042]
56588 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
56589 for call to __mcount_internal.
56590 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
56591 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
56592 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
56593
56594 2012-07-06 Joseph Myers <joseph@codesourcery.com>
56595
56596 [BZ #14154]
56597 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
56598 approximation for values within 0x1p-13f of an odd multiple of
56599 pi/4.
56600 * math/libm-test.inc (tan_test): Do not allow spurious underflow
56601 exception. Add more tests.
56602 * sysdeps/i386/fpu/libm-test-ulps: Update.
56603
56604 [BZ #6778]
56605 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
56606 inputs and return -1 for them. Do not check for +Inf in case not
56607 reachable for +Inf.
56608 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56609 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
56610 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56611 and return -1 for them. Do not check for +Inf in case not
56612 reachable for +Inf.
56613 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
56614 define.
56615 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56616 and return -1 for them. Do not check for +Inf in case not
56617 reachable for +Inf.
56618 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
56619 spurious underflow.
56620 * sysdeps/i386/fpu/libm-test-ulps: Update.
56621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56622
56623 2012-07-06 Mike Frysinger <vapier@gentoo.org>
56624
56625 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
56626
56627 2012-07-05 Joseph Myers <joseph@codesourcery.com>
56628
56629 [BZ #14157]
56630 [BZ #14331]
56631 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
56632 could result in spurious underflow. Scale down values above
56633 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
56634 * math/s_csqrtf.c (__csqrtf): Likewise.
56635 * math/s_csqrtl.c (__csqrtl): Likewise.
56636 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
56637 spurious underflow.
56638 * sysdeps/i386/fpu/libm-test-ulps: Update.
56639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56640
56641 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
56642
56643 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
56644 xopen-msg.sed.
56645 * catgets/xopen-msg.awk: New file.
56646 * catgets/xopen-msg.sed: Removed.
56647
56648 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
56649 po2text.sed.
56650 * intl/po2test.awk: New file.
56651 * intl/po2test.sed: Removed.
56652
56653 2012-07-04 Joseph Myers <joseph@codesourcery.com>
56654
56655 [BZ #14328]
56656 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
56657 or multiply small sinh result by itself.
56658 * math/s_ctanf.c (__ctanf): Likewise.
56659 * math/s_ctanh.c (__ctanh): Likewise.
56660 * math/s_ctanhf.c (__ctanhf): Likewise.
56661 * math/s_ctanhl.c (__ctanhl): Likewise.
56662 * math/s_ctanl.c (__ctanl): Likewise.
56663 * math/libm-test.inc (ctan_test_tonearest): New function.
56664 (ctan_test_towardzero): Likewise.
56665 (ctan_test_downward): Likewise.
56666 (ctan_test_upward): Likewise.
56667 (ctanh_test_tonearest): Likewise.
56668 (ctanh_test_towardzero): Likewise.
56669 (ctanh_test_downward): Likewise.
56670 (ctanh_test_upward): Likewise.
56671 (main): Call these new functions.
56672 * sysdeps/i386/fpu/libm-test-ulps: Update.
56673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56674
56675 2012-07-03 Mike Frysinger <vapier@gentoo.org>
56676
56677 * .gitignore: Delete /ports entry.
56678
56679 2012-07-03 Andreas Jaeger <aj@suse.de>
56680
56681 * po/bg.po: Update from translation team.
56682 * po/cs.po: Likewise.
56683 * po/de.po: Likewise.
56684 * po/hr.po: Likewise.
56685 * po/nl.pl: Likewise.
56686 * po/pl.po: Likewise.
56687 * po/vi.po: Likewise.
56688
56689 2012-07-03 Joseph Myers <joseph@codesourcery.com>
56690
56691 * Makeconfig [!+link] (+link-before-libc): New variable.
56692 [!+link] (+link-after-libc): Likewise.
56693 [!+link] (+link-tests): Likewise.
56694 [!+link] (+link): Define in terms of $(+link-before-libc) and
56695 $(+link-after-libc).
56696 [!+link-static] (+link-static-before-libc): New variable.
56697 [!+link-static] (+link-static-after-libc): Likewise.
56698 [!+link-static] (+link-static-tests): Likewise.
56699 [!+link-static] (+link-static): Define in terms of
56700 $(+link-static-before-libc) and $(+link-static-after-libc).
56701 [build-shared] (link-libc-before-gnulib): New variable.
56702 [build-shared] (link-libc-tests): Likewise.
56703 [build-shared] (link-libc): Define in terms of
56704 $(link-libc-before-gnulib).
56705 [!build-shared] (link-libc-tests): New variable.
56706 (link-libc-static-tests): New variable.
56707 [!gnulib] (gnulib-arch): New variable.
56708 [!gnulib] (gnulib-tests): Likewise.
56709 [!gnulib] (static-gnulib-arch): Likewise.
56710 [!gnulib] (static-gnulib-tests): Likewise.
56711 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
56712 Define with "=" instead of ":=".
56713 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
56714 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
56715 * Rules (binaries-all-notests): New variable.
56716 (binaries-all-tests): Likewise.
56717 (binaries-static-notests): Likewise.
56718 (binaries-static-tests): Likewise.
56719 (binaries-all): Define using $(binaries-all-notests) and
56720 $(binaries-all-tests).
56721 (binaries-static): Define using $(binaries-static-notests) and
56722 $(binaries-static-tests).
56723 (binaries-shared-tests): New variable.
56724 (binaries-shared-notests): Likewise.
56725 (binaries-shared): Remove variable.
56726 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
56727 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
56728 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
56729 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
56730 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
56731 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
56732 * elf/Makefile (sln-modules): New variable.
56733 (extra-objs): Add $(sln-modules:=.o).
56734 (ldconfig-modules): Add static-stubs.
56735 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
56736 * elf/static-stubs.c: New file.
56737
56738 [BZ #14283]
56739 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
56740 by 7 not 8 to examine high bit of fractional part. Use volatile
56741 variables when splitting into final array of floats if
56742 __FLT_EVAL_METHOD__ != 0.
56743 * math/libm-test.inc (cos_test): Add another test.
56744 (sin_test): Likewise.
56745 * sysdeps/i386/fpu/libm-test-ulps: Update.
56746
56747 [BZ #14273]
56748 * math/libm-test.inc (cosh_test): Add more tests.
56749
56750 * version.h (RELEASE): Set to "development".
56751 (VERSION): Set to "2.16.90".
56752
56753 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
56754
56755 * NEWS: Update copyright. Remove last-updated date.
56756 Mention math library bug fixes and timezone data changes.
56757 * README: Mention GNU/Hurd, x32, and HPPA support status.
56758
56759 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
56760
56761 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
56762
56763 2012-06-27 Andreas Jaeger <aj@suse.de>
56764
56765 * manual/contrib.texi (Contributors): Add Samuel Thibault.
56766
56767 2012-06-25 Andreas Jaeger <aj@suse.de>
56768
56769 * sysdeps/s390/fpu/libm-test-ulps: Update.
56770
56771 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
56772 Thomas Schwinge <thomas@codesourcery.com>
56773
56774 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
56775 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
56776 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
56777 fanotify_mark.
56778
56779 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
56780
56781 * sysdeps/mach/start.c: Remove file.
56782 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
56783 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
56784 * sysdeps/sh/init-first.c: Likewise.
56785
56786 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
56787 registers for frame unwinding purposes, add CFI directives.
56788 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56789 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
56790 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
56791 Likewise.
56792
56793 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
56794 __fortify_fail returning.
56795 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56796
56797 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
56798 sysdeps/sh/____longjmp_chk.S.
56799 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
56800 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
56801 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
56802 (gen-as-const-headers): Append sigaltstack-offsets.sym.
56803
56804 * sysdeps/sh/abort-instr.h: New file.
56805 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
56806 process in case exit returns.
56807
56808 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
56809 initialize the GOT register before use.
56810
56811 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
56812 calculation of ARGC > 4.
56813
56814 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
56815 meaningful names to some local labels.
56816
56817 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56818 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56819
56820 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
56821 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
56822 (__arch_compare_and_exchange_val_16_acq): Likewise.
56823 (__arch_compare_and_exchange_val_32_acq): Likewise.
56824 (atomic_exchange_and_add): Fix gUSA sequence.
56825 (atomic_add): Likewise.
56826 (atomic_add_negative): Likewise.
56827 (atomic_add_zero): Likewise.
56828 (atomic_bit_test_set): Likewise.
56829
56830 2012-06-22 Andreas Schwab <schwab@redhat.com>
56831
56832 [BZ #13579]
56833 * include/link.h (struct link_map): Add l_free_initfini.
56834 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
56835 l_initfini.
56836 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
56837 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
56838 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
56839 set.
56840
56841 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
56842
56843 * configure.in: Use AC_LANG_SOURCE.
56844 * configure: Regenerate.
56845
56846 2012-06-22 Roland McGrath <roland@hack.frob.com>
56847
56848 * configure.in (libc_cv_localstatedir): New substituted variable.
56849 * configure: Regenerated.
56850 * config.make.in (localstatedir): New variable, substituted from
56851 libc_cv_localstatedir.
56852 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
56853 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
56854 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
56855 * sysdeps/gnu/configure: Regenerated.
56856
56857 2012-06-21 Jeff Law <law@redhat.com>
56858
56859 [BZ #14277]
56860 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
56861 free. Simplify list management for _LIBC case.
56862
56863 2012-06-21 Joseph Myers <joseph@codesourcery.com>
56864
56865 [BZ #14273]
56866 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
56867 Clear sign bit of 64-bit integer value before comparing against
56868 overflow value.
56869
56870 * sysdeps/mach/configure: Regenerated.
56871
56872 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
56873
56874 [BZ #14278]
56875 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
56876
56877 2012-06-21 Jeff Law <law@redhat.com>
56878
56879 [BZ #13882]
56880 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
56881 uint16_t for elements in the "seen" array to avoid char overflows.
56882 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56883 * elf/dl-open.c (dl_open_worker): Likewise.
56884
56885 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
56886
56887 * scripts/list-sources.sh: Scan PORTS for translations.
56888 * po/libc.pot: Regenerated.
56889
56890 2012-06-21 Andreas Jaeger <aj@suse.de>
56891
56892 [BZ #12194]
56893 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
56894 warning.
56895 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
56896 * bits/byteswap-16.h (__bswap_16): Likewise.
56897 * bits/byteswap.h (__bswap_constant_16): Likewise.
56898
56899 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
56900
56901 [BZ #14117]
56902 * sysdeps/i386/fpu_control.h: Removed.
56903 * sysdeps/x86_64/fpu_control.h: Moved to ...
56904 * sysdeps/x86/fpu_control.h: Here.
56905
56906 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
56907 (_FPU_SETCW): Likewise.
56908
56909 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
56910
56911 [BZ #14117]
56912 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
56913 * sysdeps/x86/fpu/bits/mathinline.h: This.
56914 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
56915
56916 [BZ #14050]
56917 [BZ #14117]
56918 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
56919 functions if __x86_64__ is defined.
56920
56921 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
56922
56923 * string/endian.h: Add !__ASSEMBLER__ condition for including
56924 conversion interfaces.
56925
56926 2012-06-15 Joseph Myers <joseph@codesourcery.com>
56927
56928 [BZ #14241]
56929 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
56930 of ABS(x) in calculating zero to negative powers other than odd
56931 integers.
56932 * math/libm-test.inc (pow_test): Add more tests.
56933
56934 2012-06-15 Andreas Jaeger <aj@suse.de>
56935
56936 * manual/contrib.texi (Contributors): Update entry of Liubov
56937 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
56938 Machado Filho.
56939
56940 2012-06-15 Cyril Hrubis <metan@ucw.cz>
56941
56942 * string/string.h: Add __wur to GNU version of strerror_r.
56943
56944 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
56945
56946 [BZ #14229]
56947 * string/Makefile (tests): Add tst-strtok_r.
56948 * string/tst-strtok_r.c: New file.
56949 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
56950 RAX_LP/RDX_LP on SAVE_PTR.
56951
56952 2012-06-14 Roland McGrath <roland@hack.frob.com>
56953
56954 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
56955
56956 2012-06-14 Joseph Myers <joseph@codesourcery.com>
56957
56958 * libm_test.inc (csqrt_test): Allow more spurious underflow
56959 exceptions.
56960 (j0_test): Likewise.
56961 (j1_test): Likewise.
56962 (y0_test): Likewise.
56963 (y1_test): Likewise.
56964
56965 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
56966
56967 * po/Makefile (libc.pot): Use UTF-8 charset.
56968
56969 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
56970
56971 [BZ #14210]
56972 Suppress sign-conversion warning from FD_SET.
56973 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
56974 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
56975 not unsigned long int.
56976 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
56977
56978 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
56979
56980 [BZ #14050]
56981 [BZ #14117]
56982 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
56983 __extern_always_inline instead of __extern_inline.
56984 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
56985 (__signbit): Likewise.
56986 (__signbitl): Support C++ namespace.
56987 (lrintf): New inline function.
56988 (lrint): Likewise.
56989 (llrintf): Likewise.
56990 (llrint): Likewise.
56991 (fmaxf): Likewise.
56992 (fmax): Likewise.
56993 (fminf): Likewise.
56994 (fmin): Likewise.
56995 (rint): Likewise.
56996 (rintf): Likewise.
56997 (ceil): Likewise.
56998 (ceilf): Likewise.
56999 (floor): Likewise.
57000 (floorf): Likewise.
57001 (nearbyint): Likewise.
57002 (nearbyintf): Likewise.
57003
57004 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
57005
57006 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
57007 non-default versions.
57008
57009 2012-06-11 Roland McGrath <roland@hack.frob.com>
57010
57011 [BZ #14218]
57012 * manual/argp.texi (Argp): Reword argp_parse description slightly.
57013
57014 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
57015
57016 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
57017 (FE_UPWARD, FE_DOWNWARD): Don't define.
57018 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
57019 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57020
57021 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
57022 reading it.
57023 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57024 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57025
57026 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57027
57028 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
57029 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
57030 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
57031 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
57032
57033 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
57034
57035 [BZ #14117]
57036 * sysdeps/i386/fpu/bits/fenv.h: Removed.
57037 * sysdeps/i386/fpu/Implies: New file.
57038 * sysdeps/x86_64/fpu/Implies: Likewise.
57039 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
57040 * sysdeps/x86/fpu/bits/fenv.h: This.
57041
57042 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
57043 __SSE_MATH__.
57044
57045 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
57046
57047 [BZ #14134]
57048 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
57049 character 0xffff that matches the last element of the
57050 conversion table.
57051
57052 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57053
57054 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
57055 fmodl commit.
57056
57057 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57058
57059 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
57060 values higher than 25.6283.
57061
57062 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57063
57064 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
57065 subnormal exponent extraction and add some __builtin_expect.
57066 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
57067 Fix for subnormal mantissa calculation.
57068
57069 2012-06-04 Mike Frysinger <vapier@gentoo.org>
57070
57071 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
57072 cpu2 is -1 and errno is not ENOSYS.
57073
57074 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
57075
57076 [BZ #14117]
57077 * sysdeps/i386/i486/bits/string.h: Renamed to ...
57078 * sysdeps/x86/bits/string.h: This.
57079 * sysdeps/x86_64/bits/string.h: Removed.
57080
57081 * sysdeps/i386/i486/bits/string.h: Define inline functions only
57082 if not compiling for x86-64, but compiling for >= i486.
57083
57084 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
57085 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
57086
57087 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
57088 New macro from Linux kernel 3.4.0.
57089 (FP_XSTATE_MAGIC2): Likewise.
57090 (FP_XSTATE_MAGIC2_SIZE): Likewise.
57091 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
57092 (struct _fpx_sw_bytes): New struct.
57093 (struct _xsave_hdr): Likewise.
57094 (struct _ymmh_state): Likewise.
57095 (struct _xstate): Likewise.
57096
57097 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
57098 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
57099 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
57100 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
57101 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
57102 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
57103
57104 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
57105 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
57106 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
57107 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
57108 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
57109 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
57110
57111 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57112
57113 [BZ #13743]
57114 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
57115 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
57116 (sysdep_headers): Include sys/platform/ppc.h.
57117 * sysdeps/powerpc/test-gettimebase.c: Test for
57118 __ppc_get_timebase() to catch future ISA opcode/insn changes.
57119 * manual/Makefile (appendices): Include platform.texi.
57120 * manual/contrib.texi (Contributors): Update @node pointers.
57121 * manual/maint.texi (Maintenance): Likewise.
57122 (Platform): New node.
57123 * manual/platform.texi: New file. Document the new features.
57124
57125 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
57126 Jakub Jelinek <jakub@redhat.com>
57127
57128 [BZ #14188]
57129 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
57130 where __builtin_expect is unavailable.
57131
57132 2012-06-03 David S. Miller <davem@davemloft.net>
57133
57134 * stdlib/longlong.h: Updated from GCC.
57135
57136 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
57137
57138 [BZ #14042]
57139 * sysdeps/powerpc/powerpc32/mcount.c: New file.
57140 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
57141 __mcount_internal.
57142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57143 (GLIBC_2.16): Likewise.
57144
57145 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
57146
57147 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
57148
57149 2012-06-01 Joseph Myers <joseph@codesourcery.com>
57150
57151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
57152 (default-abi): New variable.
57153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
57154 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
57155 variable.
57156 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
57157 Likewise.
57158 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
57159 Likewise.
57160 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
57161 Likewise.
57162
57163 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
57164 definition. Document in comment.
57165
57166 2012-06-01 David S. Miller <davem@davemloft.net>
57167
57168 * stdlib/longlong.h: Updated from GCC.
57169
57170 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
57171
57172 [BZ #14117]
57173 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
57174 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
57175 sys/debugreg.h sys/io.h here.
57176 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
57177 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
57178 sys/io.h.
57179 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
57180 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
57181 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
57182 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
57183 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
57184 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
57185
57186 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
57187 Define only if __x86_64__ is defined.
57188
57189 2012-06-01 Joseph Myers <joseph@codesourcery.com>
57190
57191 [BZ #14048]
57192 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
57193 Use int64_t for variable i.
57194 * math/libm-test.inc (fmod_test): Add more tests.
57195
57196 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
57197 z computation is not scheduled after fetestexcept.
57198 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
57199 Use math_force_eval instead of asm to ensure calculation scheduled
57200 before exception test.
57201 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
57202 Ensure a1 + u.d computation is not scheduled after fetestexcept.
57203
57204 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
57205
57206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
57207 computation is not scheduled after fetestexcept.
57208
57209 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
57210
57211 [BZ #14117]
57212 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
57213 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
57214
57215 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57216
57217 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
57218 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57219
57220 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
57221
57222 [BZ #14117]
57223 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
57224 <bits/wordsize.h>.
57225 (__WCHAR_MIN): Support __WORDSIZE == 64.
57226 (__WCHAR_MAX): Likewise.
57227
57228 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
57229 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
57230
57231 [BZ #14183]
57232 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
57233 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
57234
57235 [BZ #14117]
57236 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
57237 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
57238
57239 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
57240 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
57241
57242 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
57243 Defined to 1 if __x86_64__ isn't defined.
57244 (_STAT_VER_LINUX_OLD): New.
57245 (st_atime): Remove duplicate.
57246 (st_mtime): Likewise.
57247 (st_ctime): Likewise.
57248
57249 2012-05-31 David S. Miller <davem@davemloft.net>
57250
57251 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
57252 entries.
57253
57254 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
57255
57256 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
57257 gen-libm-test.pl.
57258
57259 [BZ #14132]
57260 * elf/dl-reloc.c: Include <_itoa.h>.
57261 (_dl_reloc_bad_type): Remove use of INTUSE.
57262 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
57263 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
57264 * stdio-common/psiginfo.c (psiginfo): Likewise.
57265 * stdio-common/psignal.c (psignal): Likewise.
57266 * string/strsignal.c (strsignal): Likewise.
57267 * include/signal.h (_sys_siglist): Declare hidden proto.
57268 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
57269 INTVARDEF with libc_hidden_data_def.
57270 * stdio-common/itoa-udigits.c: Likewise.
57271 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
57272 (_itoa_lower_digits_internal): Remove declaration.
57273 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
57274 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
57275 (_sys_sigabbrev_internal): Remove aliases.
57276 (_sys_siglist): Define hidden alias.
57277
57278 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
57279
57280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57281 bits/sysctl.h.
57282
57283 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
57284
57285 [BZ #14117]
57286 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
57287 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
57288
57289 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
57290 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
57291 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
57292 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
57293 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
57294 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
57295
57296 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
57297 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
57298 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
57299
57300 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
57301 with __addr.
57302 (insw): Likewise.
57303 (insl): Likewise.
57304 (outsb): Likewise.
57305 (outsw): Likewise.
57306 (outsl): Likewise.
57307
57308 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
57309 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
57310 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
57311
57312 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
57313 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
57314 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
57315 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
57316 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
57317 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
57318
57319 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
57320 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
57321
57322 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
57323 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
57324
57325 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
57326 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
57327 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
57328
57329 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
57330 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
57331 to ...
57332 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
57333
57334 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
57335 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
57336 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
57337
57338 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
57339 for x86-64.
57340 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
57341
57342 2012-05-31 Joseph Myers <joseph@codesourcery.com>
57343
57344 * math/math.h (M_El): Use two more decimal places.
57345 (M_LOG2El): Likewise.
57346 (M_LOG10El): Likewise.
57347 (M_LN2l): Likewise.
57348 (M_LN10l): Likewise.
57349 (M_PIl): Likewise.
57350 (M_PI_2l): Likewise.
57351 (M_PI_4l): Likewise.
57352 (M_1_PIl): Likewise.
57353 (M_2_PIl): Likewise.
57354 (M_2_SQRTPIl): Likewise.
57355 (M_SQRT2l): Likewise.
57356 (M_SQRT1_2l): Likewise.
57357
57358 2012-05-31 David S. Miller <davem@davemloft.net>
57359
57360 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
57361 values between float registers.
57362 * sysdeps/sparc/sparc64/memset.S: Likewise.
57363 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57364
57365 2012-05-31 Mike Frysinger <vapier@gentoo.org>
57366
57367 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
57368 -D_FORTIFY_SOURCE=1.
57369 (CPPFLAGS-tst-longjmp_chk.c): Define.
57370 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
57371 (CPPFLAGS-tst-longjmp_chk2.c): Define.
57372 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
57373 CFLAGS-tst-wchar-h.c.
57374
57375 2012-05-31 Marek Polacek <polacek@redhat.com>
57376
57377 [BZ #14132]
57378 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
57379 __endmntent_internal): Remove declaration.
57380 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
57381 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
57382 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
57383
57384 2012-05-30 David S. Miller <davem@davemloft.net>
57385
57386 * sysdeps/sparc/sparc32/soft-fp/q_util.c
57387 (___Q_simulate_exceptions): Use real FP ops rather than writing
57388 into the %fsr.
57389 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
57390 Likewise.
57391
57392 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
57393
57394 [BZ #14117]
57395 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
57396 * sysdeps/x86/bits/xtitypes.h: This.
57397
57398 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
57399 * sysdeps/x86/bits/wordsize.h: This.
57400
57401 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
57402 * sysdeps/x86/bits/huge_vall.h: This.
57403
57404 * sysdeps/i386/bits/select.h: Removed.
57405 * sysdeps/x86_64/bits/select.h: Renamed to ...
57406 * sysdeps/x86/bits/select.h: This.
57407
57408 * sysdeps/i386/bits/setjmp.h: Removed.
57409 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
57410 * sysdeps/x86/bits/setjmp.h: This.
57411
57412 * sysdeps/i386/bits/mathdef.h: Removed.
57413 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
57414 * sysdeps/x86/bits/mathdef.h: This.
57415
57416 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
57417
57418 [BZ #14132]
57419 * include/sys/socket.h (__connect_internal)
57420 (__libc_sa_len_internal): Remove declaration.
57421 (__connect, __libc_sa_len): Declare hidden_proto.
57422 (SA_LEN): Remove use of INTUSE.
57423 * socket/connect.c: Add libc_hidden_def.
57424 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
57425 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
57426 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
57427 alias.
57428 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
57429 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
57430 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
57431 of adding _internal alias.
57432
57433 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
57434
57435 [BZ #14117]
57436 * sysdeps/i386/bits/link.h: Removed.
57437 * sysdeps/i386/bits/linkmap.h: Likewise.
57438 * sysdeps/x86_64/bits/link.h: Renamed to ...
57439 * sysdeps/x86/bits/link.h: This.
57440 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
57441 * sysdeps/x86/bits/linkmap.h: This.
57442
57443 * sysdeps/i386/bits/endian.h: Removed.
57444 * sysdeps/x86_64/bits/endian.h: Renamed to ...
57445 * sysdeps/x86/bits/endian.h: This.
57446
57447 * sysdeps/i386/bits/byteswap.h: Removed.
57448 * sysdeps/i386/bits/byteswap-16.h: Likewise.
57449 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
57450 * sysdeps/x86/bits/byteswap.h: This.
57451 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
57452 * sysdeps/x86/bits/byteswap-16.h: This.
57453 * sysdeps/i386/Implies: Add x86.
57454 * sysdeps/x86_64/Implies: Likewise.
57455
57456 2012-05-30 David S. Miller <davem@davemloft.net>
57457
57458 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
57459 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
57460 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57461 (FP_TRAPPING_EXCEPTIONS): Define.
57462 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57463 (FP_TRAPPING_EXCEPTIONS): Define.
57464 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
57465 subnormals only when inexact has been signalled or underflow
57466 exceptions are enabled.
57467 (_FP_PACK_CANONICAL): Likewise.
57468
57469 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
57470
57471 [BZ #14183]
57472 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
57473 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
57474
57475 2012-05-30 Richard Henderson <rth@twiddle.net>
57476
57477 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
57478 with #ifndef NOT_IN_libc.
57479
57480 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
57481 marked to avoid plt entry.
57482
57483 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
57484
57485 [BZ #14112]
57486 * Makeconfig (default-abi): New macro.
57487 (abi-includes): Likewise.
57488 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
57489 $(abi-$(default-abi)-lib-soname) for soname if defined.
57490 ($(common-objpfx)gnu/lib-names.stmp): Generate from
57491 abi-variants.
57492 * Makefile (installed-stubs): Likewise.
57493 * include/stubs-biarch.h: Removed.
57494 * scripts/lib-names.awk: Only handle one library at a time.
57495 * scripts/soversions.awk: Remove WORDSIZE support.
57496 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
57497 entries.
57498 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
57499 Removed.
57500 (syscall-list-default-condition): Likewise.
57501 (syscall-list-default-condition): Likewise.
57502 (syscall-list-includes): Likewise.
57503 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
57504 syscall-list-* with abi-*. Handle undefined abi-variants.
57505 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
57506 * sysdeps/unix/sysv/linux/i386/Implies: New file.
57507 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
57508 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
57509 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
57510 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
57511 Removed.
57512 (syscall-list-32-options): Likewise.
57513 (syscall-list-32-condition): Likewise.
57514 (syscall-list-64-options): Likewise.
57515 (syscall-list-64-condition): Likewise.
57516 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
57517 macro.
57518 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
57519 Renamed to ...
57520 (abi-*): This.
57521 (abi-64-ld-soname): New macro.
57522 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
57523 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
57524 Renamed to ...
57525 (abi-*): This.
57526 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
57527 * sysdeps/x86_64/x32/shlib-versions: Likewise.
57528
57529 2012-05-30 Joseph Myers <joseph@codesourcery.com>
57530
57531 * sysdeps/unix/sysv/linux/kernel-features.h
57532 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
57533 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
57534 include <kernel-features.h>.
57535 [!__NR_ftruncate64]: Remove conditional code.
57536 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57537 [__NR_ftruncate64]: Make code unconditional.
57538 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57539 * sysdeps/unix/sysv/linux/truncate64.c: Do not
57540 include <kernel-features.h>.
57541 [!__NR_ftruncate64]: Remove conditional code.
57542 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57543 [__NR_ftruncate64]: Make code unconditional.
57544 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
57546 include <kernel-features.h>.
57547 [!__NR_ftruncate64]: Remove conditional code.
57548 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57549 [__NR_ftruncate64]: Make code unconditional.
57550 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57552 include <kernel-features.h>.
57553 [!__NR_ftruncate64]: Remove conditional code.
57554 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57555 [__NR_ftruncate64]: Make code unconditional.
57556 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57557
57558 * configure.in (libc_cv_fpie): Weaken to a compile test using
57559 LIBC_TRY_CC_OPTION.
57560 * configure: Regenerated.
57561
57562 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57563
57564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
57565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
57566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
57567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57568 Refreshed.
57569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
57570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
57571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
57572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
57573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
57574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57575 Refreshed.
57576
57577 2012-05-27 David S. Miller <davem@davemloft.net>
57578
57579 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
57580 (___Q_zero): New.
57581 (__Q_simulate_exceptions): Return void. Change to simulate
57582 exceptions by writing into the %fsr.
57583 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
57584 (__Qp_handle_exceptions): Likewise.
57585 (numbers): Delete.
57586 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
57587 __Qp_handle_exceptions.
57588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
57589 __Qp_handle_exceptions.
57590 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57591 as unused and give dummy FP_RND_NEAREST initializer.
57592 (FP_INHIBIT_RESULTS): Define.
57593 (___Q_simulate_exceptions): Update declaration.
57594 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
57595 formatting.
57596 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57597 as unused and give dummy FP_RND_NEAREST initializer.
57598 (__Qp_handle_exceptions): Update declaration.
57599 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
57600 formatting.
57601
57602 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
57603
57604 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
57605 the temporary FPU control word.
57606 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
57607 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
57608 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
57609 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57610 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57611 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
57612 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
57613 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57614 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
57615 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
57616 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57617
57618 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57619
57620 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
57621 fields.
57622
57623 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
57624
57625 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
57626 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
57627 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
57628 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
57629 Likewise.
57630 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
57631 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
57632 Likewise.
57633
57634 2012-05-27 Ulrich Drepper <drepper@gmail.com>
57635
57636 * po/h.po: Update from translation team.
57637
57638 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
57639
57640 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
57641
57642 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
57643 handling of denormals.
57644 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57645 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57646 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57647 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57648 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57649 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
57650 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
57651 Likewise.
57652
57653 2012-05-26 Marek Polacek <polacek@redhat.com>
57654
57655 [BZ #14152]
57656 * math/libm-test.inc (fma_test): Don't always expect underflow
57657 exception.
57658
57659 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
57660
57661 [BZ #12416]
57662 * elf/tst-execstack.c: Include stackinfo.h.
57663 (do_test): Adjust test case to ensure that pthread_getattr_np
57664 behaviour remains the same after marking stack executable.
57665
57666 2012-05-25 Joseph Myers <joseph@codesourcery.com>
57667
57668 * sysdeps/unix/sysv/linux/kernel-features.h
57669 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
57670 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
57671 kernel-features.h.
57672 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57673 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57674 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
57675 kernel-features.h.
57676 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57677 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57678
57679 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
57680
57681 * configure.in: Define the default includes to being none.
57682 * configure: Regenerated.
57683
57684 2012-05-25 Roland McGrath <roland@hack.frob.com>
57685
57686 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
57687 * sysdeps/x86_64/setjmp.S: Likewise.
57688 * sysdeps/i386/bsd-setjmp.S: Likewise.
57689 * sysdeps/i386/bsd-_setjmp.S: Likewise.
57690 * sysdeps/i386/setjmp.S: Likewise.
57691 * sysdeps/i386/__longjmp.S: Likewise.
57692 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57693 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
57694
57695 * include/stap-probe.h: New file.
57696 * configure.in: Handle --enable-systemtap.
57697 * configure: Regenerated.
57698 * config.h.in (USE_STAP_PROBE): New #undef.
57699 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
57700 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
57701 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
57702
57703 2012-05-25 Joseph Myers <joseph@codesourcery.com>
57704
57705 [BZ #13717]
57706 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57707 to 2.4.0 where earlier.
57708 * sysdeps/unix/sysv/linux/configure: Regenerated.
57709 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
57718 [__ASSUME_32BITUIDS]: Make code unconditional.
57719 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
57720 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
57721 <kernel-features.h>.
57722 [__ASSUME_32BITUIDS]: Make code unconditional.
57723 [!__ASSUME_32BITUIDS]: Remove conditional code.
57724 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
57725 <kernel-features.h>.
57726 [__ASSUME_32BITUIDS]: Make code unconditional.
57727 [!__ASSUME_32BITUIDS]: Remove conditional code.
57728 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
57729 <kernel-features.h>.
57730 [__ASSUME_32BITUIDS]: Make code unconditional.
57731 [!__ASSUME_32BITUIDS]: Remove conditional code.
57732 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
57733 <kernel-features.h>.
57734 [__ASSUME_32BITUIDS]: Make code unconditional.
57735 [!__ASSUME_32BITUIDS]: Remove conditional code.
57736 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57737 <kernel-features.h>.
57738 [__ASSUME_32BITUIDS]: Make code unconditional.
57739 [!__ASSUME_32BITUIDS]: Remove conditional code.
57740 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57741 <kernel-features.h>.
57742 [__ASSUME_32BITUIDS]: Make code unconditional.
57743 [!__ASSUME_32BITUIDS]: Remove conditional code.
57744 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
57745 <kernel-features.h>.
57746 [__ASSUME_32BITUIDS]: Make code unconditional.
57747 [!__ASSUME_32BITUIDS]: Remove conditional code.
57748 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57749 <kernel-features.h>.
57750 [__ASSUME_32BITUIDS]: Make code unconditional.
57751 [!__ASSUME_32BITUIDS]: Remove conditional code.
57752 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57753 <kernel-features.h>.
57754 [__ASSUME_32BITUIDS]: Make code unconditional.
57755 [!__ASSUME_32BITUIDS]: Remove conditional code.
57756 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
57757 <kernel-features.h>.
57758 [__ASSUME_32BITUIDS]: Make code unconditional.
57759 [!__ASSUME_32BITUIDS]: Remove conditional code.
57760 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
57761 <kernel-features.h>.
57762 [__NR_setresgid] (__setresgid): Do not declare.
57763 [__ASSUME_32BITUIDS]: Make code unconditional.
57764 [!__ASSUME_32BITUIDS]: Remove conditional code.
57765 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
57766 <kernel-features.h>.
57767 [__NR_setresuid] (__setresuid): Do not declare.
57768 [__ASSUME_32BITUIDS]: Make code unconditional.
57769 [!__ASSUME_32BITUIDS]: Remove conditional code.
57770 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
57771 <kernel-features.h>.
57772 [__ASSUME_32BITUIDS]: Make code unconditional.
57773 [!__ASSUME_32BITUIDS]: Remove conditional code.
57774 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
57775 <kernel-features.h>.
57776 [__ASSUME_32BITUIDS]: Make code unconditional.
57777 [!__ASSUME_32BITUIDS]: Remove conditional code.
57778 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
57779 <kernel-features.h>.
57780 [__ASSUME_32BITUIDS]: Make code unconditional.
57781 [!__ASSUME_32BITUIDS]: Remove conditional code.
57782 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
57783 <kernel-features.h>.
57784 [__ASSUME_32BITUIDS]: Make code unconditional.
57785 [!__ASSUME_32BITUIDS]: Remove conditional code.
57786 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
57787 <kernel-features.h>.
57788 [__ASSUME_32BITUIDS]: Make code unconditional.
57789 [!__ASSUME_32BITUIDS]: Remove conditional code.
57790 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
57791 <kernel-features.h>.
57792 [__ASSUME_32BITUIDS]: Make code unconditional.
57793 [!__ASSUME_32BITUIDS]: Remove conditional code.
57794 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
57795 <kernel-features.h>.
57796 [__ASSUME_32BITUIDS]: Make code unconditional.
57797 [!__ASSUME_32BITUIDS]: Remove conditional code.
57798 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
57799 <kernel-features.h>.
57800 [__ASSUME_32BITUIDS]: Make code unconditional.
57801 [!__ASSUME_32BITUIDS]: Remove conditional code.
57802 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
57803 <kernel-features.h>.
57804 [__ASSUME_32BITUIDS]: Make code unconditional.
57805 [!__ASSUME_32BITUIDS]: Remove conditional code.
57806 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57807 <kernel-features.h>.
57808 [__ASSUME_32BITUIDS]: Make code unconditional.
57809 [!__ASSUME_32BITUIDS]: Remove conditional code.
57810 * sysdeps/unix/sysv/linux/kernel-features.h
57811 (__ASSUME_SETRESUID_SYSCALL): Remove.
57812 (__ASSUME_SETRESGID_SYSCALL): Likewise.
57813 (__ASSUME_32BITUIDS): Likewise.
57814 (__ASSUME_LDT_WORKS): Likewise.
57815 (__ASSUME_O_DIRECTORY): Likewise.
57816 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
57817 architecture but not kernel version.
57818 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
57819 (__ASSUME_MMAP2_SYSCALL): Likewise.
57820 (__ASSUME_STAT64_SYSCALL): Likewise.
57821 (__ASSUME_IPC64): Likewise.
57822 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
57823 <kernel-features.h>.
57824 [__ASSUME_32BITUIDS]: Make code unconditional.
57825 [!__ASSUME_32BITUIDS]: Remove conditional code.
57826 * sysdeps/unix/sysv/linux/opendir.c: Do not include
57827 <kernel-features.h>.
57828 [__ASSUME_O_DIRECTORY]: Make code unconditional.
57829 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
57830 132096]: Remove conditional code.
57831 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
57832 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57833 <kernel-features.h>.
57834 [__ASSUME_32BITUIDS]: Make code unconditional.
57835 [!__ASSUME_32BITUIDS]: Remove conditional code.
57836 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57837 <kernel-features.h>.
57838 [__ASSUME_32BITUIDS]: Make code unconditional.
57839 [!__ASSUME_32BITUIDS]: Remove conditional code.
57840 * sysdeps/unix/sysv/linux/setegid.c: Do not include
57841 <kernel-features.h>.
57842 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
57843 unconditional.
57844 (__setresgid): Do not declare.
57845 [__ASSUME_32BITUIDS]: Make code unconditional.
57846 [!__ASSUME_32BITUIDS]: Remove conditional code.
57847 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
57848 <kernel-features.h>.
57849 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
57850 unconditional.
57851 (__setresuid): Do not declare.
57852 [__ASSUME_32BITUIDS]: Make code unconditional.
57853 [!__ASSUME_32BITUIDS]: Remove conditional code.
57854 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57855 <kernel-features.h>.
57856 [__ASSUME_32BITUIDS]: Make code unconditional.
57857 [!__ASSUME_32BITUIDS]: Remove conditional code.
57858 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
57859 <kernel-features.h>.
57860 [__ASSUME_32BITUIDS]: Make code unconditional.
57861 [!__ASSUME_32BITUIDS]: Remove conditional code.
57862
57863 2012-05-25 Richard Henderson <rth@twiddle.net>
57864
57865 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
57866 dl_hwcap to ifunc resolver.
57867 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
57868 elf_ifunc_invoke.
57869 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
57870 dl_hwcap to ifunc resolver.
57871 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
57872
57873 2012-05-24 Joseph Myers <joseph@codesourcery.com>
57874
57875 [BZ #14153]
57876 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
57877 for |x| <= 2**-26, not 2**-57.
57878 * math/libm-test.inc (acos_test): Do not allow spurious underflow
57879 exception.
57880
57881 2012-05-24 Jeff Law <law@redhat.com>
57882
57883 * stdio-common/Makefile (tests): Add bug25.
57884 * stdio-common/bug25.c: New test.
57885
57886 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
57887
57888 [BZ #13576]
57889 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
57890 multiple of MALLOC_ALIGNMENT in size.
57891 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
57892
57893 2012-05-24 Joseph Myers <joseph@codesourcery.com>
57894
57895 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
57896 Require >= 256.
57897 (FILENAME_MAX): Use macro-int-constant.
57898 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
57899 (_IOFBF): Use macro-int-constant.
57900 (_IOLBF): Likewise.
57901 (_IONBF): Likewise.
57902 (SEEK_CUR): Likewise.
57903 (SEEK_END): Likewise.
57904 (SEEK_SET): Likewise.
57905 (TMP_MAX): Likewise.
57906 (EOF): Use macro-int-constant. Require < 0.
57907 (NULL): Use macro-constant. Require == 0.
57908 (stdin): Require type to be FILE *.
57909 (stdout): Likewise.
57910 (stderr): Likewise.
57911 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
57912 macro-int-constant.
57913 (EXIT_SUCCESS): Likewise.
57914 (NULL): Use macro-constant. Require == 0.
57915 (RAND_MAX): Use macro-int-constant.
57916 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
57917 [C99-based standards] (strtof): Require function.
57918 [C99-based standards] (strtold): Likewise.
57919 [C99-based standards] (strtoll): Likewise.
57920 [C99-based standards] (strtoull): Likewise.
57921 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57922 [ISO || ISO99 || ISO11] (limits.h): Likewise.
57923 [ISO || ISO99 || ISO11] (math.h): Likewise.
57924 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
57925 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57926 [ISO || ISO99 || ISO11] (*_t): Do not allow.
57927
57928 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
57929
57930 [BZ #14132]
57931 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
57932 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
57933 * intl/dgettext.c (DCGETTEXT): Likewise.
57934 * intl/gettext.c (DCGETTEXT): Likewise.
57935 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
57936 * posix/regex_internal.h (gettext): Likewise.
57937 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
57938 Remove declaration.
57939 * include/argz.h (__argz_count_internal)
57940 (__argz_stringify_internal): Remove declaration.
57941 (__argz_count, __argz_stringify): Declare hidden proto.
57942 * intl/dcgettext.c: Remove use of INTDEF.
57943 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
57944 * string/argz-stringify.c: Likewise.
57945 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57946 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57947 Declare hidden proto.
57948 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57949 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57950 Declare hidden proto.
57951 * include/stdio.h (__asprintf_internal): Don't declare.
57952 (__asprintf): Don't define as macro. Declare hidden proto.
57953 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
57954 (__fsetlocking): Declare hidden proto.
57955 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
57956 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
57957 hidden proto.
57958 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
57959 (_IO_setlinebuf): Remove use of INTUSE.
57960 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
57961 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
57962 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
57963 Remove declaration.
57964 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
57965 (_IO_do_flush): Remove use of INTUSE.
57966 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
57967 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
57968 (_IO_adjust_column, _IO_least_wmarker)
57969 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
57970 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
57971 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
57972 (_IO_default_doallocate, _IO_wdefault_doallocate)
57973 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
57974 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
57975 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
57976 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
57977 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
57978 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
57979 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
57980 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
57981 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
57982 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
57983 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
57984 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
57985 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
57986 proto.
57987 (_IO_flush_all_internal, _IO_adjust_column_internal)
57988 (_IO_default_uflow_internal, _IO_default_finish_internal)
57989 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
57990 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
57991 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
57992 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
57993 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
57994 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
57995 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
57996 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
57997 (_IO_file_close_internal, _IO_file_close_it_internal)
57998 (_IO_file_underflow_internal, _IO_file_overflow_internal)
57999 (_IO_file_init_internal, _IO_file_attach_internal)
58000 (_IO_file_fopen_internal, _IO_file_read_internal)
58001 (_IO_file_sync_internal, _IO_file_seek_internal)
58002 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
58003 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
58004 (_IO_str_underflow_internal, _IO_str_overflow_internal)
58005 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
58006 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
58007 (_IO_list_all_internal, _IO_link_in_internal)
58008 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
58009 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
58010 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
58011 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
58012 (_IO_do_write_internal, _IO_padn_internal)
58013 (_IO_getline_info_internal, _IO_getline_internal)
58014 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
58015 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
58016 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
58017 (_IO_vfscanf_internal, _IO_vfprintf_internal)
58018 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
58019 (_IO_init_internal, _IO_un_link_internal): Don't declare.
58020 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
58021 with libc_hidden_ver, remove use of INTUSE.
58022 * libio/genops.c: Likewise.
58023 * libio/freopen.c: Likewise.
58024 * libio/freopen64.c: Likewise.
58025 * libio/iofclose.c: Likewise.
58026 * libio/iofdopen.c: Likewise.
58027 * libio/iofflush.c: Likewise.
58028 * libio/iofflush_u.c: Likewise.
58029 * libio/iofgets.c: Likewise.
58030 * libio/iofgets_u.c: Likewise.
58031 * libio/iofopen.c: Likewise.
58032 * libio/iofopncook.c: Likewise.
58033 * libio/iofread.c: Likewise.
58034 * libio/iofread_u.c: Likewise.
58035 * libio/ioftell.c: Likewise.
58036 * libio/iofwrite.c: Likewise.
58037 * libio/iogetline.c: Likewise.
58038 * libio/iogets.c: Likewise.
58039 * libio/iogetwline.c: Likewise.
58040 * libio/iopadn.c: Likewise.
58041 * libio/iopopen.c: Likewise.
58042 * libio/ioseekoff.c: Likewise.
58043 * libio/ioseekpos.c: Likewise.
58044 * libio/iosetbuffer.c: Likewise.
58045 * libio/iosetvbuf.c: Likewise.
58046 * libio/ioungetc.c: Likewise.
58047 * libio/ioungetwc.c: Likewise.
58048 * libio/iovdprintf.c: Likewise.
58049 * libio/iovsprintf.c: Likewise.
58050 * libio/iovsscanf.c: Likewise.
58051 * libio/memstream.c: Likewise.
58052 * libio/obprintf.c: Likewise.
58053 * libio/oldfileops.c: Likewise.
58054 * libio/oldiofclose.c: Likewise.
58055 * libio/oldiofdopen.c: Likewise.
58056 * libio/oldiofopen.c: Likewise.
58057 * libio/oldiopopen.c: Likewise.
58058 * libio/oldstdfiles.c: Likewise.
58059 * libio/putc.c: Likewise.
58060 * libio/setbuf.c: Likewise.
58061 * libio/setlinebuf.c: Likewise.
58062 * libio/stdfiles.c: Likewise.
58063 * libio/strops.c: Likewise.
58064 * libio/vasprintf.c: Likewise.
58065 * libio/vscanf.c: Likewise.
58066 * libio/vsnprintf.c: Likewise.
58067 * libio/vswprintf.c: Likewise.
58068 * libio/wfiledoalloc.c: Likewise.
58069 * libio/wfileops.c: Likewise.
58070 * libio/wgenops.c: Likewise.
58071 * libio/wmemstream.c: Likewise.
58072 * libio/wstrops.c: Likewise.
58073 * libio/__fpurge.c: Likewise.
58074 * libio/__fsetlocking.c: Likewise.
58075 * assert/assert.c: Likewise.
58076 * debug/fgets_chk.c: Likewise.
58077 * debug/fgets_u_chk.c: Likewise.
58078 * debug/fread_chk.c: Likewise.
58079 * debug/fread_u_chk.c: Likewise.
58080 * debug/gets_chk.c: Likewise.
58081 * debug/obprintf_chk.c: Likewise.
58082 * debug/vasprintf_chk.c: Likewise.
58083 * debug/vdprintf_chk.c: Likewise.
58084 * debug/vsnprintf_chk.c: Likewise.
58085 * debug/vsprintf_chk.c: Likewise.
58086 * malloc/mtrace.c: Likewise.
58087 * misc/error.c: Likewise.
58088 * misc/syslog.c: Likewise.
58089 * stdio-common/asprintf.c: Likewise.
58090 * stdio-common/fxprintf.c: Likewise.
58091 * stdio-common/getw.c: Likewise.
58092 * stdio-common/isoc99_fscanf.c: Likewise.
58093 * stdio-common/isoc99_scanf.c: Likewise.
58094 * stdio-common/isoc99_vfscanf.c: Likewise.
58095 * stdio-common/isoc99_vscanf.c: Likewise.
58096 * stdio-common/isoc99_vsscanf.c: Likewise.
58097 * stdio-common/printf-prs.c: Likewise.
58098 * stdio-common/printf_fp.c: Likewise.
58099 * stdio-common/printf_fphex.c: Likewise.
58100 * stdio-common/printf_size.c: Likewise.
58101 * stdio-common/putw.c: Likewise.
58102 * stdio-common/scanf.c: Likewise.
58103 * stdio-common/sprintf.c: Likewise.
58104 * stdio-common/tmpfile.c: Likewise.
58105 * stdio-common/vfprintf.c: Likewise.
58106 * stdio-common/vfscanf.c: Likewise.
58107 * stdlib/strfmon_l.c: Likewise.
58108 * sunrpc/openchild.c: Likewise.
58109 * sunrpc/xdr_stdio.c: Likewise.
58110 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
58111 * sysdeps/mach/hurd/tmpfile.c: Likewise.
58112
58113 2012-05-24 Roland McGrath <roland@hack.frob.com>
58114
58115 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58116
58117 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
58118 in the third column, to generate for the shared library an IFUNC
58119 that uses _dl_vdso_vsym.
58120 * Makerules (COMPILE.c, compile-stdin.c): New variables.
58121 * Makeconfig (object-suffixes-noshared): New variable.
58122
58123 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
58124 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
58125 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
58126 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
58127
58128 [BZ #14132]
58129 * include/sys/time.h (__gettimeofday): Remove macro.
58130 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
58131 * time/gettimeofday.c (__gettimeofday): Remove #undef.
58132 Remove INTDEF.
58133 (__gettimeofday): Add libc_hidden_def.
58134 (gettimeofday): Add libc_hidden_weak.
58135 * sysdeps/mach/gettimeofday.c: Likewise.
58136 * sysdeps/posix/gettimeofday.c: Likewise.
58137 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
58138 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
58139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
58140 (__gettimeofday_internal): Remove strong_alias.
58141 (__gettimeofday): Add libc_hidden_def.
58142 (gettimeofday): Add libc_hidden_weak.
58143 * sysdeps/unix/syscalls.list (gettimeofday):
58144 Remove __gettimeofday_internal alias.
58145
58146 2012-05-24 Daniel Jacobowitz <drow@false.org>
58147 H.J. Lu <hongjiu.lu@intel.com>
58148
58149 [BZ #12495]
58150 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
58151 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
58152 (largebin_index_32_big): New.
58153 (largebin_index): Use it for 16-byte alignment.
58154 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
58155 correction with front_misalign.
58156
58157 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
58158
58159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
58160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
58161 Likewise.
58162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
58163 Likewise.
58164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58165 Likewise.
58166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
58167 Likewise.
58168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
58169 Likewise.
58170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
58171 Likewise.
58172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
58173 Likewise.
58174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58175 Likewise.
58176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
58177 Likewise.
58178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
58179 Likewise.
58180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
58181 Likewise.
58182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
58183 Likewise.
58184
58185 * scripts/data/c++-types-x32-linux-gnu.data: New file.
58186 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
58187
58188 2012-05-24 Joseph Myers <joseph@codesourcery.com>
58189
58190 [BZ #10846]
58191 [BZ #14036]
58192 * math/libm-test.inc (exp_test): Add test from bug 14036.
58193 (pow_test): Add test from bug 10846.
58194
58195 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
58196 and other flags.
58197 (special_function): Do not include flags in test name.
58198 (parse_args): Likewise.
58199 * sysdeps/i386/fpu/libm-test-ulps: Update.
58200 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58201 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58202 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58204
58205 * math/gen-libm-test.pl (%beautify): Add entries for underflow
58206 exceptions.
58207 * math/libm-test.inc ("Philosophy"): Update comment about
58208 exception testing.
58209 (UNDERFLOW_EXCEPTION): New macro.
58210 (UNDERFLOW_EXCEPTION_OK): Likewise.
58211 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
58212 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
58213 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
58214 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
58215 (INVALID_EXCEPTION_OK): Update value.
58216 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58217 (OVERFLOW_EXCEPTION_OK): Likewise.
58218 (IGNORE_ZERO_INF_SIGN): Likewise.
58219 (test_exceptions): Handle underflow exceptions.
58220 (acos_test): Update for underflow exception expectations.
58221 (cexp_test): Likewise.
58222 (clog_test): Likewise.
58223 (clog10_test): Likewise.
58224 (csqrt_test): Likewise.
58225 (ctan_test): Likewise.
58226 (ctanh_test): Likewise.
58227 (exp_test): Likewise.
58228 (exp10_test): Likewise.
58229 (exp2_test): Likewise.
58230 (expm1_test): Likewise.
58231 (fma_test): Likewise.
58232 (j0_test): Likewise.
58233 (jn_test): Likewise.
58234 (nexttoward_test): Likewise.
58235 (pow_test): Likewise.
58236 (scalbn_test): Likewise.
58237 (scalbln_test): Likewise.
58238 (tan_test): Likewise.
58239 (y1_test): Likewise.
58240 * sysdeps/i386/fpu/libm-test-ulps: Update.
58241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58242
58243 2012-05-23 David S. Miller <davem@davemloft.net>
58244
58245 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58246 (__libc_sigaction): Remove unused local variables.
58247
58248 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
58249
58250 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
58251
58252 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
58253
58254 mktime: avoid signed integer overflow
58255 * time/mktime.c (__mktime_internal): Do not mishandle the case
58256 where diff == INT_MIN.
58257
58258 mktime: simplify computation of average
58259 * time/mktime.c (ranged_convert): Use new time_t_avg function
58260 instead of rolling our own (probably-slower) code.
58261
58262 mktime: do not assume signed right shift propagates sign bit
58263 * time/mktime.c (isdst_differ): New static function.
58264 (__mktime_internal): No need to normalize tm_isdst now.
58265 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
58266 tm_isdst values.
58267
58268 mktime: merge another wrapv change from gnulib
58269 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
58270 from some compilers.
58271
58272 mktime: remove incorrect attempt at unusual arithmetics
58273 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
58274 The code didn't really work on such machines anyway.
58275 (TYPE_MINIMUM): Assume two's complement.
58276 (twos_complement_arithmetic): Verify that long_int and time_t
58277 are two's complement (or unsigned, in the latter case).
58278
58279 mktime: check signed shifts on long_int and time_t, too
58280 * time/mktime.c (SHR): Check that shifts work as desired
58281 on the types long_int and time_t too, as SHR is used on
58282 such types.
58283
58284 mktime: do not assume 'long' is wide enough
58285 * time/mktime.c (verify): Move decl up.
58286 (long_int): New type.
58287 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
58288 to remove assumption in the code that 'long' is wide enough to
58289 store year values. This assumption is not true on x32 and on
58290 some non-glibc platforms.
58291
58292 mktime: merge wrapv change from gnulib
58293 * time/mktime.c (WRAPV): New macro.
58294 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
58295 (guess_time_tm, __mktime_internal): Do not assume that signed
58296 integer overflow wraps around; modern compilers generate code
58297 where this assumption is no longer valid.
58298
58299 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
58300
58301 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58302 Replace "jmp L(pseudo_end)" with "ret".
58303 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
58304 Likewise.
58305
58306 2012-05-23 Andreas Jaeger <aj@suse.de>
58307
58308 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
58309 * sysdeps/unix/sysv/linux/poll.c: Remove file.
58310
58311 2012-05-23 Andreas Jaeger <aj@suse.de>
58312 Maximilian Attems <max@stro.at>
58313
58314 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
58315 New macros.
58316
58317 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
58318
58319 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
58320 code so that pseudo_end is just ret and the stack pointer is
58321 correct also for static library in error case.
58322
58323 2012-05-23 Joseph Myers <joseph@codesourcery.com>
58324
58325 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
58326 move to syscalls.list.
58327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
58328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
58329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
58330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
58331
58332 * manual/install.texi (Running make install): Do not mention Linux
58333 kernel version for which pt_chown is not needed.
58334 (Linux): Do not mention problems with nscd with 2.0 kernels.
58335 * INSTALL: Regenerated.
58336
58337 2012-05-23 Andreas Jaeger <aj@suse.de>
58338
58339 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
58340 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
58341 macro.
58342 * sysdeps/unix/sysv/linux/s390/bits/mman.h
58343 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58344 * sysdeps/unix/sysv/linux/sh/bits/mman.h
58345 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58346 * sysdeps/unix/sysv/linux/i386/bits/mman.h
58347 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58348 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
58349 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58350 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
58351 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58352 * sysdeps/unix/sysv/linux/bits/in.h
58353 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
58354
58355 2012-05-22 Roland McGrath <roland@hack.frob.com>
58356
58357 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
58358 (PREPARE_VERSION): Just use assert instead, it will be elided
58359 under [NDEBUG] anyway.
58360
58361 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
58362
58363 * sysdeps/unix/sysv/linux/Makefile: Include
58364 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
58365 (sysdep_routines): Remove sysctl.
58366 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
58367 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
58368 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
58369 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
58370 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
58371
58372 2012-05-22 Andreas Jaeger <aj@suse.de>
58373
58374 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
58375 that pseudo_end is just ret and the stack pointer is correct also
58376 for static library in error case.
58377
58378 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
58379
58380 [BZ #14122]
58381 * nss/nsswitch.c (defconfig_entries): New variable.
58382 (__nss_database_lookup): Don't leak defconfig entries.
58383 (nss_parse_service_list): Don't leak on error paths.
58384 (free_database_entries): New function.
58385 (free_defconfig): New function.
58386 (free_mem): Move common code to free_database_entries.
58387
58388 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
58389
58390 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
58391 Add arch_prctl.
58392 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
58393
58394 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
58395 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
58396 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
58397 New macro.
58398 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
58399 (INTERNAL_SYSCALL_TYPES): Likewise.
58400 (LOAD_ARGS_TYPES_[1-6]): Likewise.
58401 (LOAD_REGS_TYPES_[1-6]): Likewise.
58402 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
58403 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
58404
58405 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58406
58407 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
58408 copysignl for GLIBC_2_0.
58409 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
58410 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
58411 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
58412 logbl for GLIBC_2_0.
58413 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
58414 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
58415
58416 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
58417
58418 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
58419 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
58420
58421 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58422 Use "neg %eax".
58423
58424 * time/mktime.c: Update copyright years.
58425
58426 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
58427
58428 mktime: merge comment-quoting-style change from gnulib
58429 * time/mktime.c: Quote 'like this' in comments.
58430 The GNU coding standards suggest that we no longer quote `like this',
58431 as "`" and "'" are typically rendered asymmetrically nowadays.
58432 The typical gnulib style is to quote 'like this' when quoting
58433 code, and "like this" when quoting English.
58434
58435 * time/mktime.c (compile-command): Add "-I.".
58436
58437 mktime: merge mktime-internal.h change from gnulib
58438 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
58439
58440 mktime: merge time_r change from gnulib
58441 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
58442
58443 mktime: merge DEBUG change from gnulib
58444 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
58445 case system <time.h> has a #define.
58446
58447 mktime: merge <sys/types.h> change from gnulib
58448 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
58449 since <time.t> is now guaranteed to define time_t.
58450
58451 mktime: merge HAVE_CONFIG_H change from gnulib
58452 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
58453
58454 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
58455
58456 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58457 Use "neg %eax".
58458
58459 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
58460 __rlim_t cast.
58461 (struct rusage): Use anonymous union to pad each field to
58462 __syscall_slong_t.
58463
58464 2012-05-21 David S. Miller <davem@davemloft.net>
58465
58466 * Makefules (o-iterator): Remove .s cases.
58467 (compile-command.s): Delete.
58468 (COMPILE.s): Delete.
58469 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
58470
58471 2012-05-21 Joseph Myers <joseph@codesourcery.com>
58472
58473 * configure.in (libc_cv_predef_stack_protector): Only consider
58474 "foobar" and "__stack_chk_fail" lines in libc_undefs.
58475 * configure: Regenerated.
58476
58477 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
58478
58479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58480 New macro. Use R*LP on int and pointer.
58481 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
58482 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
58483 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
58484 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
58485
58486 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
58487 [__WORDSIZE_TIME64_COMPAT32] instead of
58488 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
58489 (struct utmp): Likewise.
58490 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
58491 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
58492 Renamed to ...
58493 (__WORDSIZE_TIME64_COMPAT32): This.
58494 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
58495 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
58496 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
58497 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
58498 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
58499 (__WORDSIZE_TIME64_COMPAT32): New macro.
58500
58501 2012-05-21 Andreas Jaeger <aj@suse.de>
58502
58503 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
58504 only if [SHARED]. Add prototype for __wcschr_ia32.
58505
58506 2012-05-21 Roland McGrath <roland@hack.frob.com>
58507
58508 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
58509 of %rbp unmolested in the jmp_buf while mangling the low bits.
58510 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
58511 unmolested high bits of %rbp while demangling the low bits.
58512 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58513
58514 2012-05-21 Andreas Jaeger <aj@suse.de>
58515
58516 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
58517 * sunrpc/svc_simple.c: Use it for registerrpc.
58518 * sunrpc/xcrypt.c: Use it for passwd2des.
58519
58520 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
58521
58522 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
58523
58524 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
58525 Don't define if [__SYSCALL_WORDSIZE != 32].
58526 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
58527 New macro.
58528
58529 2012-05-21 Bruno Haible <bruno@clisp.org>
58530 Andreas Jaeger <aj@suse.de>
58531
58532 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
58533 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
58534 inptr and inend for must_buffer_ch.
58535 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
58536 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
58537 * stdio-common/Makefile (tests): Remove bug15.
58538 (bug15-ENV): Remove macro.
58539 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
58540 anymore.
58541
58542 2012-05-19 Andreas Jaeger <aj@suse.de>
58543 Roland McGrath <roland@hack.frob.com>
58544
58545 * manual/contrib.texi: Completely rewritten. It contains now an
58546 alphabetical list of contributors and their contributions.
58547
58548 2012-05-21 Richard Henderson <rth@twiddle.net>
58549
58550 * misc/getauxval.c (__getauxval): Use unsigned long int.
58551 * misc/sys/auxv.h: Include <sys/cdefs.h>.
58552 (getauxval): Use unsigned long int.
58553
58554 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
58555
58556 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58557
58558 2012-05-21 Roland McGrath <roland@hack.frob.com>
58559
58560 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
58561 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
58562 __alignof__ (long double).
58563
58564 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58565
58566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58567
58568 2012-05-20 Richard Henderson <rth@twiddle.net>
58569
58570 * misc/getauxval.c: New file.
58571 * misc/sys/auxv.h: New file.
58572 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
58573 (routines): Add getauxval.
58574 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
58575 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
58576 * elf/dl-sysdep.c (_dl_auxv): Remove.
58577 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
58578 * elf/dl-support.c (_dl_auxv): New variable.
58579 (_dl_aux_init): Initialize it.
58580 * manual/startup.texi (Auxiliary Vector): New node.
58581 * sysdeps/generic/bits/hwcap.h: New file.
58582 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
58583 * sysdeps/powerpc/sysdep.h: ... here. Include it.
58584 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
58585 * sysdeps/sparc/sysdep.h: ... here. Include it.
58586 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
58587 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
58588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58589 Update.
58590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
58591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
58592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
58593 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
58594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
58597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
58598
58599 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58600
58601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58602
58603 2012-05-19 David S. Miller <davem@davemloft.net>
58604
58605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58606
58607 2012-05-19 Joseph Myers <joseph@codesourcery.com>
58608
58609 [BZ #14123]
58610 * math/s_ccosh.c: Include <float.h>
58611 (__ccosh): Avoid internal overflow calculating sinh and cosh
58612 values before multiplying by sin and cos values.
58613 * math/s_ccoshf.c: Likewise.
58614 * math/s_ccoshl.c: Likewise.
58615 * math/s_csin.c: Likewise.
58616 * math/s_csinf.c: Likewise.
58617 * math/s_csinl.c: Likewise.
58618 * math/s_csinh.c: Likewise.
58619 * math/s_csinhf.c: Likewise.
58620 * math/s_csinhl.c: Likewise.
58621 * math/libm-test.inc (ccos_test): Add more tests.
58622 (ccosh_test): Likewise.
58623 (csin_test): Likewise.
58624 (csinh_test): Likewise.
58625 * sysdeps/i386/fpu/libm-test-ulps: Update.
58626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58627
58628 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
58629
58630 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
58631 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
58632
58633 * sysdeps/x86_64/x32/_itoa.h: Add comment.
58634
58635 2012-05-19 Joseph Myers <joseph@codesourcery.com>
58636
58637 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
58638 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
58639 * sysdeps/powerpc/soft-fp/Versions: Likewise.
58640 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
58641 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
58642 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
58643 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
58644 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
58645 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
58646 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
58647 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
58648 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
58649 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
58650 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
58651 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
58652 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
58653 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
58654 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
58655 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
58656 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
58657 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
58658 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
58659 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
58660 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
58661 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
58662 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
58663 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
58664 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
58665 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
58666 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
58667 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
58668
58669 2012-05-18 Andreas Jaeger <aj@suse.de>
58670
58671 * csu/.gitignore: Delete.
58672
58673 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
58674
58675 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
58676 (timex): Use __syscall_slong_t.
58677
58678 2012-05-18 Andreas Jaeger <aj@suse.de>
58679 Carlos O'Donell <carlos_odonell@mentor.com>
58680
58681 * manual/install.texi (Configuring and compiling): Update
58682 description about files modified in the source directory.
58683 * INSTALL: Regenerated.
58684
58685 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
58686
58687 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
58688 value. Use "or" to set return value to -1.
58689 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
58690 negate return value.
58691
58692 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58693
58694 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
58695 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
58696 failure if the compiler has Graphite support disabled.
58697 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
58698 Likewise.
58699 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
58700 (CFLAGS-memmove.c): Likewise.
58701 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
58702 Likewise.
58703
58704 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
58705
58706 * sysdeps/x86_64/x32/_itoa.h: New file.
58707
58708 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
58709 getdents system call only if kernel and user dirents have the
58710 same d_ino and d_off.
58711
58712 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58713 LLONG_MAX != LONG_MAX.
58714 (_itoa_word): Use _ITOA_WORD_TYPE on value.
58715 (_fitoa_word): Likewise.
58716
58717 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
58718 years.
58719 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
58720 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
58721 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
58722
58723 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
58724 include <bits/wordsize.h>. Check __x86_64__ instead of
58725 __WORDSIZE.
58726 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
58727 if __x86_64__ is defined. Use anonymous union on fpstate.
58728
58729 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
58730 anonymous union.
58731
58732 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
58733
58734 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
58735 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
58736 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
58737 Refer to _rtld_local_ro instead of _rtld_global_ro.
58738 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
58739 Likewise.
58740 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
58741 Likewise.
58742 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
58743 Likewise.
58744 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
58745 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
58746 of _rtld_global, and rtld_progname instead of _dl_argv[0].
58747
58748 [BZ #10882]
58749 * sysdeps/powerpc/powerpc32/dl-machine.c
58750 (__elf_machine_runtime_setup) [PROF]: Don't reference
58751 _dl_prof_resolve.
58752
58753 2012-05-18 Andreas Jaeger <aj@suse.de>
58754
58755 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
58756 function only available for GCCs before 3.4 since GCC 3.4
58757 introduced a builtin.
58758 (lrint): Likewise.
58759 (llrintf): Likewise.
58760 (llrint): Likewise.
58761 (fmaxf): Likewise.
58762 (fmax): Likewise.
58763 (fminf): Likewise.
58764 (fmin): Likewise.
58765 (rint): Likewise.
58766 (rintf): Likewise.
58767 (nearbyint): Likewise.
58768 (nearbyintf): Likewise.
58769 (ceil): Likewise.
58770 (ceilf): Likewise.
58771 (floor): Likewise.
58772 (floorf): Likewise.
58773
58774 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
58775
58776 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
58777 on both fields and cast pointer to __syscall_ulong_t.
58778
58779 * bits/types.h (__fsword_t): New type.
58780 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
58781 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
58782 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58783 (__FSWORD_T_TYPE): Likewise.
58784 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58785 (__FSWORD_T_TYPE): Likewise.
58786 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58787 (__FSWORD_T_TYPE): Likewise.
58788 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
58789 (__FSWORD_T_TYPE): Likewise.
58790 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
58791 __SWORD_TYPE with __fsword_t.
58792 (statfs64): Likewise.
58793
58794 2012-05-17 David S. Miller <davem@davemloft.net>
58795
58796 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
58797
58798 2012-05-17 Andreas Jaeger <aj@suse.de>
58799
58800 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
58801 warning.
58802
58803 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
58804
58805 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
58806
58807 2012-05-17 Andreas Jaeger <aj@suse.de>
58808
58809 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
58810 when it is used.
58811
58812 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
58813
58814 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
58815
58816 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
58817
58818 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
58819 * sysdeps/x86_64/tst-mallocalign1.c: New file.
58820
58821 2012-05-17 Andreas Jaeger <aj@suse.de>
58822 Carlos O'Donell <carlos_odonell@mentor.com>
58823
58824 [BZ #14059]
58825 * sysdeps/x86_64/multiarch/init-arch.h
58826 (bit_YMM_Usable): Rename to...
58827 (bit_AVX_Usable): ... this.
58828 (bit_FMA4_Usable): New macro.
58829 (bit_XMM_state): New macro.
58830 (bit_YMM_state): New macro.
58831 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
58832 [__ASSEMBLER__] (index_AVX_Usable): ... this.
58833 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
58834 (CPUID_OSXSAVE): New macro.
58835 (CPUID_AVX): New macro.
58836 (CPUID_FMA4): New macro.
58837 (index_YMM_Usable): Rename to...
58838 (index_AVX_Usable): ... this.
58839 (HAS_AVX): Use HAS_ARCH_FEATURE.
58840 (HAS_FMA4): Likewise.
58841 (HAS_YMM_USABLE): Remove.
58842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58843 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
58844 are present.
58845 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
58846 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
58847 * sysdeps/x86_64/multiarch/Makefile: Likewise.
58848 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
58849 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
58850
58851 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
58852
58853 * math/libm-test.c: Support platforms without multiple rounding modes.
58854 * math/bug-nextafter.c: Support platforms without FP exceptions.
58855 * math/bug-nexttoward.c: Likewise.
58856 * math/test-fenv.c: Likewise.
58857 * math/test-misc.c: Likewise.
58858 * stdlib/bug-getcontext.c: Likewise.
58859
58860 2012-05-17 Andreas Jaeger <aj@suse.de>
58861
58862 * manual/examples/search.c (critter_cmp): Change signature to
58863 avoid warnings.
58864 * manual/string.texi (Collation Functions): Likewise.
58865
58866 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58867
58868 * bits/types.h: Fold copyright years.
58869 * bits/typesizes.h: Likewise.
58870 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
58871 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
58873 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
58874 * time/time.h: Likewise.
58875
58876 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
58877
58878 [BZ #208]
58879 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
58880 in instead of returning them. Return void.
58881 (__libc_mallinfo): Accumulate over all arenas.
58882 (__malloc_stats): Adjust for change in int_mallinfo interface.
58883
58884 2012-05-16 Roland McGrath <roland@hack.frob.com>
58885
58886 [BZ #10375]
58887 * configure.in (NM): Add AC_CHECK_TOOL for it.
58888 (libc_extra_cflags): New substituted variable.
58889 Check for -fstack-protector being used implicitly.
58890 * configure: Regenerated.
58891 * config.make.in (config-extra-cflags): New variable,
58892 gets @libc_extra_cflags@.
58893 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
58894
58895 [BZ #10375]
58896 * configure.in: Check for _FORTIFY_SOURCE being predefined.
58897 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
58898 * configure: Regenerated.
58899 * config.make.in (CPPUNDEFS): New substituted variable.
58900 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
58901 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
58902 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
58903
58904 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58905
58906 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
58907 (mq_attr): Use __syscall_slong_t.
58908
58909 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58910
58911 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
58912 Check __x86_64__ instead of __WORDSIZE.
58913 (_STAT_VER_LINUX): Likewise.
58914 (stat): Check __x86_64__ instead of __WORDSIZE. Use
58915 __syscall_ulong_t and __syscall_slong_t.
58916 (stat64): Likewise.
58917
58918 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58919
58920 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
58921
58922 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58923
58924 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
58925
58926 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58927
58928 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
58929 __syscall_ulong_t.
58930
58931 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
58932 include <bits/wordsize.h>. Check __x86_64__ instead of
58933 __WORDSIZE.
58934 (greg_t): Use "__extension__ long long int" if __x86_64__ is
58935 defined.
58936 (mcontext_t): Replace "unsigned long" with "unsigned long long".
58937
58938 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
58939 include <bits/wordsize.h>. Check __x86_64__ instead of
58940 __WORDSIZE.
58941 (user_regs_struct): Use "__extension__ unsigned long long"
58942 instead of "unsigned long" if __x86_64__ is defined.
58943 (user): Likewise. Pad after pointer field if __ILP32__ is
58944 defined.
58945
58946 2012-05-16 Joseph Myers <joseph@codesourcery.com>
58947
58948 * configure.in (makeinfo): Require version 4.5 or later. Allow
58949 versions 5 to 9.
58950 * configure: Regenerated.
58951 * manual/install.texi (texinfo): Increase version requirement to
58952 4.5 or later.
58953 * INSTALL: Regenerated.
58954
58955 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
58956
58957 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58958
58959 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
58960
58961 * sysdeps/x86_64/x32/ffs.c: New file.
58962
58963 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
58964 __syscall_ulong_t.
58965 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
58966 defined. Use __syscall_ulong_t.
58967 (shminfo): Use __syscall_ulong_t.
58968 (shm_info): Likewise.
58969
58970 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
58971 __syscall_ulong_t.
58972
58973 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
58974 <bits/wordsize.h>.
58975 (msgqnum_t): Use __syscall_ulong_t.
58976 (msglen_t): Likewise.
58977 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
58978 __syscall_ulong_t.
58979
58980 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
58981 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
58982
58983 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
58984
58985 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
58986 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
58987
58988 * sysvipc/sys/msg.h (msgbuf): Replace long int with
58989 __syscall_slong_t.
58990
58991 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
58992 include <bits/wordsize.h>. Check __x86_64__ instead of
58993 __WORDSIZE.
58994
58995 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
58996 "unsigned long long int" if __x86_64__ is defined.
58997 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
58998
58999 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
59000 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
59001 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
59002
59003 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
59004 <stdint.h>.
59005 (GET_PC): Cast to uintptr_t first.
59006 (GET_FRAME): Likewise.
59007 (GET_STACK): Likewise.
59008
59009 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
59010 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
59011 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
59012 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
59013 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
59014 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
59015 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
59016 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
59017 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
59018 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
59019 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
59020 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
59021 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59022 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
59023 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
59024 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
59025 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
59026 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
59027 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
59028 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
59029 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
59030 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
59031 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
59032 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
59033 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
59034 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
59035 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
59036 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
59037 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
59038
59039 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
59040
59041 * Makerules (+depfiles): Also collect depfiles from .oS in
59042 $(extra-objs).
59043 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
59044 .oS, $(libnldbl-routines)).
59045
59046 * Makerules (native-compile-mkdep-flags): Define.
59047 * sunrpc/Makefile (extra-objs): Add $(addprefix
59048 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
59049 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
59050 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
59051 calling $(make-target-directory).
59052
59053 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59054
59055 * bits/types.h (__snseconds_t): Removed.
59056 * time/time.h (struct timespec): Replace __snseconds_t with
59057 __syscall_slong_t.
59058 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
59059 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
59060 Likewise.
59061 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59062 (__SNSECONDS_T_TYPE): Likewise.
59063 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59064 (__SNSECONDS_T_TYPE): Likewise.
59065 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59066 (__SNSECONDS_T_TYPE): Likewise.
59067
59068 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59069
59070 * sysdeps/mach/hurd/bits/typesizes.h
59071 (__SYSCALL_SLONG_TYPE): New macro.
59072 (__SYSCALL_ULONG_TYPE): Likewise.
59073
59074 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59075
59076 * bits/types.h (__syscall_slong_t): New type.
59077 (__syscall_ulong_t): Likewise.
59078
59079 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
59080 (__SYSCALL_ULONG_TYPE): Likewise.
59081 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59082 (__SYSCALL_SLONG_TYPE): Likewise.
59083 (__SYSCALL_ULONG_TYPE): Likewise.
59084 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59085 (__SYSCALL_SLONG_TYPE): Likewise.
59086 (__SYSCALL_ULONG_TYPE): Likewise.
59087 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59088 (__SYSCALL_SLONG_TYPE): Likewise.
59089 (__SYSCALL_ULONG_TYPE): Likewise.
59090
59091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59092
59093 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
59094 Add sigaltstack-offsets.sym.
59095 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
59096 <sigaltstack-offsets.h>.
59097 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
59098 longjmp_msg pointer.
59099 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
59100 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
59101 signal stack.
59102 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
59103
59104 2012-05-15 Joseph Myers <joseph@codesourcery.com>
59105
59106 * elf/stackguard-macros.h: Remove file.
59107 * sysdeps/generic/stackguard-macros.h: New file.
59108 * sysdeps/i386/stackguard-macros.h: Likewise.
59109 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59110 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59111 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59112 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59113 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59114 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59115 * sysdeps/x86_64/stackguard-macros.h: Likewise.
59116 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
59117 <elf/stackguard-macros.h>.
59118
59119 [BZ #14109]
59120 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
59121 __aligned__ in attribute.
59122 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
59123 (gregset_t): Likewise.
59124
59125 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59126
59127 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
59128 * sysdeps/x86_64/64/Implies-after: Here. New file.
59129 * sysdeps/x86_64/x32/Implies-after: New file.
59130
59131 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59132
59133 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
59134 and access return value for _dl_profile_fixup. Use R10_LP to
59135 load frame size.
59136
59137 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59138
59139 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
59140
59141 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59142
59143 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
59144 * sysdeps/x86_64/x32/sysdep.h: New file.
59145
59146 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59147
59148 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
59149 * sysdeps/x86_64/setjmp.S: Likewise.
59150
59151 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59152
59153 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
59154 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
59155 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
59156 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
59157 remove unused global constant.
59158
59159 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
59160
59161 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
59162 include of <not-cancel.h>.
59163
59164 2012-05-15 Roland McGrath <roland@hack.frob.com>
59165
59166 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
59167
59168 2012-05-15 Jeff Law <law@redhat.com>
59169 Andreas Jaeger <aj@suse.de>
59170
59171 [BZ #13594]
59172 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
59173 out from...
59174 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
59175 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
59176 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
59177 code changing __hst_map_handle.map.
59178
59179 2012-05-15 Roland McGrath <roland@hack.frob.com>
59180
59181 * configure.in (sysnames): Look for Implies-before and Implies-after
59182 files.
59183 * configure: Regenerated.
59184
59185 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59186
59187 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
59188 8-byte data alignment with LP_SIZE alignment.
59189
59190 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59191
59192 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
59193 into R10_LP.
59194
59195 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59196
59197 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
59198
59199 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59200
59201 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
59202 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
59203 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
59204 Likewise.
59205 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59206
59207 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59208
59209 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
59210 (stackinfo_sub_sp): Likewise.
59211
59212 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59213
59214 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
59215 RAX_LP.
59216
59217 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59218
59219 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
59220 into R*_LP.
59221
59222 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59223
59224 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
59225 sizes into R*_LP.
59226
59227 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59228
59229 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
59230
59231 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59232
59233 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
59234 into R11_LP and load __x86_64_shared_cache_size_half into
59235 R8_LP.
59236
59237 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59238
59239 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
59240 R8_LP.
59241
59242 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59243
59244 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
59245 logb for POWER7.
59246 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
59247 logbf for POWER7.
59248 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
59249 logbl for POWER7.
59250 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
59251 powerpc32/power7/fpu/s_logb.c via #include.
59252 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
59253 powerpc32/power7/fpu/s_logbf.c via #include.
59254 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
59255 powerpc32/power7/fpu/s_logbl.c via #include.
59256
59257 2012-05-15 Joseph Myers <joseph@codesourcery.com>
59258
59259 * README.libm: Remove file.
59260
59261 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59262
59263 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
59264 count for x32. Use R*_LP and omit operand-size suffix.
59265
59266 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59267
59268 * shlib-versions: Move x86_64-.*-linux.* entries to ...
59269 * sysdeps/x86_64/64/shlib-versions: Here. New file.
59270 * sysdeps/x86_64/x32/shlib-versions: New file.
59271
59272 2012-05-14 Roland McGrath <roland@hack.frob.com>
59273
59274 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
59275 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
59276 Use _dl_fatal_printf instead.
59277
59278 2012-05-14 Joseph Myers <joseph@codesourcery.com>
59279
59280 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
59281 set if not set by the user. Do not allow for being unset.
59282 * sysdeps/unix/sysv/linux/configure: Regenerated.
59283
59284 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59285
59286 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
59287 the `q' suffix from lea and replace .quad with ASM_ADDR.
59288
59289 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59290
59291 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
59292 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
59293 instead of $17.
59294 (PTR_DEMANGLE): Likewise.
59295
59296 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59297
59298 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
59299 (LP_OP): Likewise.
59300 (ASM_ADDR): Likewise.
59301 (RAX_LP): Likewise.
59302 (RBP_LP): Likewise.
59303 (RBX_LP): Likewise.
59304 (RCX_LP): Likewise.
59305 (RDI_LP): Likewise.
59306 (RSI_LP): Likewise.
59307 (RSP_LP): Likewise.
59308 (R8_LP): Likewise.
59309 (R9_LP): Likewise.
59310 (R10_LP): Likewise.
59311 (R10_LP): Likewise.
59312 (R11_LP): Likewise.
59313 (R12_LP): Likewise.
59314 (R13_LP): Likewise.
59315 (R14_LP): Likewise.
59316 (R15_LP): Likewise.
59317
59318 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59319
59320 * sysdeps/x86_64/x32/dl-machine.h: New file.
59321
59322 2012-05-14 Andreas Jaeger <aj@suse.de>
59323
59324 * manual/Makefile (subdir): Remove export of subdir.
59325 (all): Remove target.
59326 (.PHONY): Remove all from list.
59327 (mkinstalldirs): Remove.
59328 (.PHONY): Remove installdirs from list.
59329 ($(inst_infodir)/libc.info): Use make-target-directory.
59330 (installdirs): Remove.
59331 (subdir_%): Remove.
59332 (glibc-targets): Remove.
59333 (lib): Remove.
59334 (stubs): Remove.
59335 ($(objpfx)stubs ../po/manual.pot): Remove.
59336 ($(objpfx)stamp%): Remove.
59337 (make-target-directory): Remove.
59338 (subdir_install): Remove.
59339 (routines): Remove.
59340 (aux): Remove.
59341 (sources): Remove.
59342 (objects): Remove.
59343 (headers): Remove.
59344
59345 [BZ #13750]
59346 * manual/.gitignore: Remove, it's not needed anymore.
59347 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
59348 all files in it.
59349 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
59350 directory.
59351 (texis): Renamed to $(objpfx)texis.
59352 (texis-path): New, contains path to generated files.
59353 (chapters.%): Use texis-path for complete path, add extra argument
59354 libc-texinfo.sh.
59355 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
59356 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
59357 (summary,texi, stamp-summary): Use complete path of
59358 files. Generate files in build dir.
59359 (dir-add.texi): Build in build dir.
59360 (libm-err.texi,stamp-libm-err): Likewise.
59361 (version.texi, stamp-version): Likewise.
59362 (.%c.texi): Likewise.
59363 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
59364 (mostlyclean): Remove target.
59365 (realclean): Remove target.
59366 (generated): Add new variable with contents from mostlyclean and
59367 realclean, remove entries duplicated in common-mostlyclean, add
59368 stamp-libm-err and stamp-version.
59369 (generated-dirs): Add libc directory.
59370 ($(inst_infodir)/libc.info): Install files from build dir.
59371
59372 * manual/install.texi (Configuring and compiling): Adjust since
59373 the info files are not part of the tar ball anymore.
59374
59375 2012-05-14 Andreas Jaeger <aj@suse.de>
59376
59377 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
59378 variable.
59379
59380 2012-05-14 Joseph Myers <joseph@codesourcery.com>
59381
59382 [BZ #13717]
59383 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59384 to 2.2.0 where earlier.
59385 * sysdeps/unix/sysv/linux/configure: Regenerated.
59386 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
59387 Remove conditional code.
59388 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
59389 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
59390 Remove conditional code.
59391 [!__NR_lchown]: Likewise.
59392 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59393 [__NR_lchown]: Likewise.
59394 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
59395 comment referencing __ASSUME_LCHOWN_SYSCALL.
59396 * sysdeps/unix/sysv/linux/i386/sigaction.c
59397 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59398 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59399 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
59400 Remove conditional code.
59401 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
59402 (__protocol_available): Remove #if 0 code.
59403 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
59404 conditional code.
59405 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
59406 * sysdeps/unix/sysv/linux/kernel-features.h
59407 (__ASSUME_GETCWD_SYSCALL): Don't define.
59408 (__ASSUME_REALTIME_SIGNALS): Likewise.
59409 (__ASSUME_PREAD_SYSCALL): Likewise.
59410 (__ASSUME_PWRITE_SYSCALL): Likewise.
59411 (__ASSUME_POLL_SYSCALL): Likewise.
59412 (__ASSUME_LCHOWN_SYSCALL): Likewise.
59413 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
59414 non-SPARC.
59415 (__ASSUME_SIOCGIFNAME): Don't define.
59416 (__ASSUME_MSG_NOSIGNAL): Likewise.
59417 (__ASSUME_SENDFILE): Define unconditionally.
59418 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
59419 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
59420 conditional code.
59421 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
59422 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
59423 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59424 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59425 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
59426 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59427 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
59429 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59430 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
59432 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59433 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
59435 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59436 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
59438 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59439 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
59441 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59442 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
59444 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59445 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
59447 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59448 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
59450 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59451 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59452 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
59453 Remove conditional code.
59454 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59455 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59456 Remove conditional code.
59457 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59458 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
59459 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
59460 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59461 Remove conditional code.
59462 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59463 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
59464 Remove conditional code.
59465 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59466 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
59467 Remove conditional code.
59468 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59469 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59470 Remove conditional code.
59471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59472 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59473 Remove conditional code.
59474 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59475 * sysdeps/unix/sysv/linux/sh/pwrite64.c
59476 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59477 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59478 * sysdeps/unix/sysv/linux/sigaction.c
59479 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59480 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59481 * sysdeps/unix/sysv/linux/sigpending.c
59482 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59483 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59484 * sysdeps/unix/sysv/linux/sigprocmask.c
59485 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59486 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59487 * sysdeps/unix/sysv/linux/sigsuspend.c
59488 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59489 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59490 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59491 (__libc_missing_rt_sigs): Remove.
59492 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
59493 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
59494 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
59495 Remove conditional code.
59496 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
59497 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
59498 return 1.
59499 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
59500 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
59501 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
59502 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
59503
59504 2012-05-14 Andreas Jaeger <aj@suse.de>
59505
59506 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
59507 it's not used in glibc.
59508 (__coshm1): Likewise.
59509 (__acosh1p): Likewise.
59510 (__sgn): Likewise.
59511
59512 * manual/string.texi (Copying and Concatenation): Add missing
59513 variable in concat example.
59514 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
59515
59516 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59517
59518 [BZ #14103]
59519 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
59520 __builtin_clzl with __builtin_clzll.
59521
59522 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59523
59524 [BZ #14104]
59525 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
59526 libc_freeres_ptr.
59527
59528 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59529
59530 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
59531 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
59532 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
59533 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
59534
59535 2012-05-14 Mike Frysinger <vapier@gentoo.org>
59536
59537 * NEWS: Update ia64 info.
59538
59539 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
59540
59541 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
59542 used as bcopy.
59543
59544 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
59545
59546 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
59547 * sysdeps/unix/syscalls.list (dup3): Likewise.
59548 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
59549 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
59550
59551 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
59552
59553 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
59554 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
59555
59556 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
59557
59558 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
59559 thread pointer.
59560 (TLS_IE): Use mov/add instead of movq/addq to load thread
59561 pointer.
59562 (TLS_GD_PREFIX): New.
59563 (TLS_GD): Use it.
59564
59565 2012-05-11 David S. Miller <davem@davemloft.net>
59566
59567 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
59568 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
59569 (_FPU_SETCW): Likewise.
59570
59571 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
59572
59573 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
59574 is 32-byte aligned.
59575
59576 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
59577
59578 [BZ #11837]
59579 * iconvdata/gb18030.c: Update tables.
59580 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
59581 characters specially.
59582 (BODY for TO_LOOP): Add encoding of missing ranges.
59583
59584 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
59585
59586 [BZ #13673]
59587 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
59588 * sysdeps/mach/hurd/dup3.c: Likewise.
59589 * sysdeps/mach/hurd/readlinkat.c: Likewise.
59590 * sysdeps/powerpc/memmove.c:: Likewise.
59591
59592 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
59593
59594 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
59595 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
59596
59597 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
59598
59599 * elf/elf.h (R_X86_64_RELATIVE64): New.
59600 (R_X86_64_NUM): Updated.
59601 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59602 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
59603 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
59604 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
59605 tst-quad1pie tst-quad2pie
59606 (modules-names): Add tst-quadmod1 tst-quadmod2.
59607 ($(objpfx)tst-quad1): New dependency.
59608 ($(objpfx)tst-quad2): Likewise.
59609 ($(objpfx)tst-quad1pie): Likewise.
59610 ($(objpfx)tst-quad2pie): Likewise.
59611 * sysdeps/x86_64/tst-quad1.c: New file.
59612 * sysdeps/x86_64/tst-quad1pie.c: New file.
59613 * sysdeps/x86_64/tst-quad2.c: Likewise.
59614 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
59615 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
59616 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
59617 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
59618 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
59619
59620 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59621
59622 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
59623 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
59624 * streams/stropts.h (t_scalar_t): Define type.
59625
59626 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
59627 (_PATH_PRESERVE): Set to "/var/lib".
59628 (_PATH_RWHODIR): Set to "/var/spool/rwho".
59629
59630 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
59631 instead of int.
59632
59633 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
59634 if __dir_mkfile succeeded.
59635
59636 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
59637 checking for _hurd_dtablesize. Unlock it right after having
59638 finished _hurd_dtable allocation.
59639
59640 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59641
59642 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
59643 * sysdeps/mach/hurd/configure: Regenerated.
59644 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
59645 special-casing to...
59646 * sysdeps/gnu/configure.in: ... this new file.
59647 * sysdeps/unix/sysv/linux/configure: Regenerated.
59648 * sysdeps/gnu/configure: New generated file.
59649
59650 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
59651 for Linux: use nsec instead of usec, as well as:
59652 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
59653 members of type struct timespec.
59654 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
59655 New macros.
59656 (struct stat64): Likewise.
59657 (_STATBUF_ST_NSEC): New macro.
59658 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
59659
59660 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59661 __strtoul_internal rather than strtoul.
59662
59663 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
59664
59665 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
59666 and reject them.
59667
59668 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59669
59670 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
59671 which preserves existing values.
59672 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
59673
59674 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
59675
59676 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
59677 TIMEOUT values. Return EINVAL for NFDS values either negative or
59678 greater than FD_SETSIZE.
59679
59680 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59681
59682 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
59683 allocated, call __vm_protect to finish enabling the existing space, and
59684 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
59685 allocate the remainder.
59686
59687 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
59688
59689 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
59690 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
59691
59692 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59693
59694 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
59695 sysdeps/mach/hurd/readlink.c.
59696
59697 * posix/tst-sysconf.c (posix_options): Only use
59698 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
59699 _POSIX_SYNCHRONIZED_IO when they are defined
59700 * sysdeps/mach/hurd/bits/posix_opt.h:
59701 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
59702 (_XOPEN_REALTIME): Undefine macro.
59703 (_XOPEN_REALTIME_THREADS): Undefine macro.
59704 (_XOPEN_SHM): Undefine macro.
59705 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
59706 macro to -1.
59707 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
59708 macro to -1.
59709 (_POSIX_ASYNC_IO): Undefine macro.
59710 (_POSIX_PRIORITIZED_IO): Undefine macro.
59711 (_POSIX_SPIN_LOCKS): Define macro to -1.
59712
59713 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
59714 SA_NODEFER, SA_RESETHAND.
59715 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
59716 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
59717 F_DUPFD_CLOEXEC.
59718
59719 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59720
59721 * elf/Makefile (pldd-modules): Define unconditionally.
59722
59723 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59724
59725 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
59726
59727 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59728
59729 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
59730 Return ENOENT when name is empty.
59731 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
59732
59733 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59734
59735 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
59736
59737 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
59738
59739 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59740
59741 Fix mlock in all cases except non-readable pages.
59742 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
59743 instead of VM_PROT_ALL as parameter to __vm_wire function.
59744
59745 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
59746 (__mkdir): When path is `/', just fail with EEXIST.
59747 * sysdeps/mach/hurd/mkdirat.c: Likewise.
59748
59749 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59750
59751 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
59752 <sys/uio.h> (for writev).
59753 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
59754 and <sys/param.h> (for MIN).
59755
59756 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
59757
59758 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
59759 REQUESTED_TIME. Properly set the remaining time and return EINTR
59760 if interrupted.
59761
59762 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59763
59764 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
59765 Depend on against $(link-rpcuserlibs).
59766
59767 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59768
59769 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
59770 (__libc_stack_end): Do not use attribute_relro.
59771 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
59772 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
59773 to libthread-provided value.
59774 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
59775 attribute_relro.
59776
59777 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59778
59779 [BZ #3748]
59780 * bits/libc-lock.h (__libc_once_get): New macro.
59781 * sysdeps/mach/bits/libc-lock.h: Likewise.
59782 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
59783 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
59784 instead of using implementation details.
59785
59786 * libio/fileops.c: Unconditionally include <kernel-features.h>.
59787 * libio/freopen.c: Likewise.
59788 * libio/freopen64.c: Likewise.
59789 * misc/syslog.c: Likewise.
59790 * nscd/connections.c: Likewise.
59791 * nscd/netgroupcache.c: Likewise.
59792 * sysdeps/posix/getcwd.c: Likewise.
59793
59794 2012-05-10 Roland McGrath <roland@hack.frob.com>
59795
59796 * math/w_ilogbf.c: Add #include <limits.h>.
59797
59798 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59799
59800 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
59801 path instead of returning without unlocking.
59802
59803 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
59804 immediate-write ioctls.
59805 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
59806
59807 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59808
59809 * sysdeps/mach/hurd/i386/init-first.c (init): Use
59810 __builtin_frame_address instead of making assumptions about the
59811 location of the return address relative to DATA. Force early load of
59812 the return address.
59813 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
59814 __builtin_frame_address.
59815
59816 dup3 for GNU Hurd.
59817 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
59818 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
59819 implement dup3 and do some further code clean-ups.
59820 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
59821 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
59822
59823 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59824
59825 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
59826
59827 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
59828 HURD_CRITICAL_END around holding _hurd_dtable_lock.
59829 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
59830 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
59831 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
59832 d->port.lock.
59833
59834 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
59835 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
59836 when handler == SIG_ERR, not when handler != SIG_ERR.
59837
59838 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59839
59840 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
59841 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
59842 definitions.
59843
59844 accept4 for GNU Hurd.
59845 * include/sys/socket.h (__libc_accept4): New prototype.
59846 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
59847 to implement __libc_accept4.
59848 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
59849 __libc_accept4.
59850 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
59851
59852 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
59853 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
59854 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
59855 signal-defines.sym.
59856
59857 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59858
59859 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
59860
59861 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59862
59863 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
59864 assertion on O_CLOEXEC flag.
59865 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
59866 * hurd/intern-fd.c: Likewise.
59867 * hurd/port2fd.c: Likewise.
59868
59869 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59870
59871 [BZ #3906]
59872 * bits/in.h (IPV6_PKTINFO): Define new macro.
59873 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
59874
59875 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59876
59877 [BZ #13954]
59878 [BZ #13955]
59879 [BZ #13956]
59880 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
59881 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59882 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
59883 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59884 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59885 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59886 * math/libm-test.inc (logb_test) : Additional logb tests.
59887
59888 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
59889 Andreas Jaeger <aj@suse.de>
59890
59891 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
59892 * configure: Regenerated.
59893 * config.h.in (LINK_OBSOLETE_RPC): New macro.
59894 * config.make.in (link-obsolete-rpc): New substituted variable.
59895 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
59896 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
59897 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59898 (shared-only-routines): Don't set it under [link-obsolete-rpc],
59899 so that libc.a contains the symbols.
59900 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59901 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
59902 * sunrpc/auth_none.c: Likewise.
59903 * sunrpc/auth_unix.c: Likewise.
59904 * sunrpc/authdes_prot.c: Likewise.
59905 * sunrpc/authuxprot.c: Likewise.
59906 * sunrpc/clnt_gen.c: Likewise.
59907 * sunrpc/clnt_perr.c: Likewise.
59908 * sunrpc/clnt_raw.c: Likewise.
59909 * sunrpc/clnt_simp.c: Likewise.
59910 * sunrpc/clnt_tcp.c: Likewise.
59911 * sunrpc/clnt_udp.c: Likewise.
59912 * sunrpc/clnt_unix.c: Likewise.
59913 * sunrpc/des_crypt.c: Likewise.
59914 * sunrpc/des_soft.c: Likewise.
59915 * sunrpc/get_myaddr.c: Likewise.
59916 * sunrpc/key_call.c: Likewise.
59917 * sunrpc/key_prot.c: Likewise.
59918 * sunrpc/netname.c: Likewise.
59919 * sunrpc/pm_getmaps.c: Likewise.
59920 * sunrpc/pm_getport.c: Likewise.
59921 * sunrpc/pmap_clnt.c: Likewise.
59922 * sunrpc/pmap_prot.c: Likewise.
59923 * sunrpc/pmap_prot2.c: Likewise.
59924 * sunrpc/pmap_rmt.c: Likewise.
59925 * sunrpc/publickey.c: Likewise.
59926 * sunrpc/rpc_cmsg.c: Likewise.
59927 * sunrpc/rpc_common.c: Likewise.
59928 * sunrpc/rpc_dtable.c: Likewise.
59929 * sunrpc/rpc_prot.c: Likewise.
59930 * sunrpc/rpc_thread.c: Likewise.
59931 * sunrpc/rtime.c: Likewise.
59932 * sunrpc/svc.c: Likewise.
59933 * sunrpc/svc_auth.c: Likewise.
59934 * sunrpc/svc_raw.c: Likewise.
59935 * sunrpc/svc_run.c: Likewise.
59936 * sunrpc/svc_tcp.c: Likewise.
59937 * sunrpc/svc_udp.c: Likewise.
59938 * sunrpc/svc_unix.c: Likewise.
59939 * sunrpc/svcauth_des.c: Likewise.
59940 * sunrpc/xcrypt.c: Likewise.
59941 * sunrpc/xdr.c: Likewise.
59942 * sunrpc/xdr_array.c: Likewise.
59943 * sunrpc/xdr_float.c: Likewise.
59944 * sunrpc/xdr_intXX_t.c: Likewise.
59945 * sunrpc/xdr_mem.c: Likewise.
59946 * sunrpc/xdr_rec.c: Likewise.
59947 * sunrpc/xdr_ref.c: Likewise.
59948 * sunrpc/xdr_sizeof.c: Likewise.
59949 * sunrpc/xdr_stdio.c: Likewise.
59950
59951 2012-05-10 Roland McGrath <roland@hack.frob.com>
59952
59953 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
59954 change. Update copyright years.
59955
59956 2012-05-10 Joseph Myers <joseph@codesourcery.com>
59957
59958 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
59959
59960 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
59961 Joseph Myers <joseph@codesourcery.com>
59962 Paul Pluzhnikov <ppluzhnikov@google.com>
59963
59964 [BZ #14012]
59965 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
59966 requiring rpcgen.
59967 [cross-compiling] (extra-libs): Likewise.
59968 [cross-compiling] (extra-libs-others): Likewise.
59969 [cross-compiling] (librpcsvc-routines): Likewise.
59970 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
59971 [cross-compiling] (omit-deps): Likewise.
59972 (sunrpc-CPPFLAGS): New variable.
59973 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
59974 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
59975 (cross-rpcgen-objs): New variable.
59976 (extra-objs): Append $(cross-rpcgen-objs).
59977 ($(cross-rpcgen-objs)): New rule.
59978 ($(objpfx)cross-rpcgen): Likewise.
59979 (rpcgen-cmd): Define to use $(built-program-file). Expand
59980 comment.
59981 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
59982 ($(objpfx)x%.stmp): Likewise.
59983 * sunrpc/proto.h [IS_IN_build] (_): Define.
59984 [IS_IN_build] (_libc_intl_domainname): Likewise.
59985
59986 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
59987
59988 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
59989 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
59990 and R_X86_64_TPOFF64.
59991
59992 2012-05-10 Joseph Myers <joseph@codesourcery.com>
59993
59994 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
59995 sysdeps/unix/sysv/syscalls.list.
59996 (stime): Likewise.
59997 (utime): Likewise.
59998 * sysdeps/unix/sysv/syscalls.list: Remove file.
59999
60000 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
60001
60002 [BZ #3440]
60003 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
60004 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
60005 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
60006 (__LC_IDENTIFICATION): Make these macros useful in #if
60007 expressions, as required by C99.
60008
60009 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
60010
60011 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
60012 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
60013 after this.
60014
60015 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
60016
60017 * stdlib/longlong.h: Updated from GCC.
60018
60019 2012-05-09 Andreas Jaeger <aj@suse.de>
60020
60021 * nscd/nscd.c (run_modes): Make named enum, reorder so that
60022 default is first entry.
60023 (run_mode): Set type.
60024 (main): Remove informal message about syslog.
60025 (options): Fix typo.
60026
60027 [BZ #14053]
60028 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
60029 to asm.
60030 (lrint): Likewise.
60031 (llrintf): Likewise.
60032 (llrint): Likewise.
60033 (rint): Likewise.
60034 (rintf): Likewise.
60035 (nearbyint): Likewise.
60036 (nearbyintf): Likewise.
60037
60038 2012-05-09 Andreas Jaeger <aj@suse.de>
60039 Pedro Alves <palves@redhat.com>
60040
60041 * nscd/nscd.c (run_mode): Use enum.
60042 (main): Cleanup coding style issue.
60043
60044 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
60045 Andreas Jaeger <aj@suse.de>
60046
60047 * nscd/nscd.c (go_background): Replaced with...
60048 (run_mode): ... this.
60049 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
60050 (options): Add -F --foreground.
60051 (main): Implement it.
60052 (parse_opt): Parse it.
60053
60054 2012-05-09 Andreas Jaeger <aj@suse.de>
60055
60056 [BZ #14083]
60057 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
60058 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
60059 -Wconversion warning.
60060 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
60061 Likewise.
60062
60063 2012-05-09 Joseph Myers <joseph@codesourcery.com>
60064
60065 * conform/data/locale.h-data (NULL): Use macro-constant. Require
60066 == 0.
60067 (LC_ALL): Use macro-int-constant.
60068 (LC_COLLATE): Likewise.
60069 (LC_CTYPE): Likewise.
60070 (LC_MESSAGES): Likewise.
60071 (LC_MONETARY): Likewise.
60072 (LC_NUMERIC): Likewise.
60073 (LC_TIME): Likewise.
60074 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
60075 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60076 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60077 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
60078 Specify type.
60079 [C99-based standards] (float_t): Expect type.
60080 [C99-based standards] (double_t): Expect type.
60081 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
60082 type.
60083 [C99-based standards] (HUGE_VALL): Likewise.
60084 [C99-based standards] (INFINITY): Likewise.
60085 [C99-based standards] (NAN): Likewise.
60086 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
60087 [C99-based standards] (FP_NAN): Likewise.
60088 [C99-based standards] (FP_NORMAL): Likewise.
60089 [C99-based standards] (FP_SUBNORMAL): Likewise.
60090 [C99-based standards] (FP_ZERO): Likewise.
60091 [C99-based standards] (FP_FAST_FMA): Use
60092 optional-macro-int-constant. Specify type. Require == 1.
60093 [C99-based standards] (FP_FAST_FMAF): Likewise.
60094 [C99-based standards] (FP_FAST_FMAL): Likewise.
60095 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
60096 [C99-based standards] (FP_ILOGBNAN): Likewise.
60097 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
60098 Specify type.
60099 [C99-based standards] (MATH_ERREXCEPT): Likewise.
60100 [C99-based standards] (math_errhandling): Specify type.
60101 [ISO99 || ISO11] (signgam): Do not allow.
60102 [non-C99-based standards] (copysignf): Do not allow.
60103 [non-C99-based standards] (exp2f): Likewise.
60104 [non-C99-based standards] (log2f): Likewise.
60105 [non-C99-based standards] (modff): Allow.
60106 [non-C99-based standards] (erff): Do not allow.
60107 [non-C99-based standards] (erfcf): Likewise.
60108 [non-C99-based standards] (gammaf): Likewise.
60109 [non-C99-based standards] (hypotf): Likewise.
60110 [non-C99-based standards] (j0f): Likewise.
60111 [non-C99-based standards] (j1f): Likewise.
60112 [non-C99-based standards] (jnf): Likewise.
60113 [non-C99-based standards] (lgammaf): Likewise.
60114 [non-C99-based standards] (tgammaf): Likewise.
60115 [non-C99-based standards] (y0f): Likewise.
60116 [non-C99-based standards] (y1f): Likewise.
60117 [non-C99-based standards] (ynf): Likewise.
60118 [non-C99-based standards] (isnanf): Likewise.
60119 [non-C99-based standards] (acoshf): Likewise.
60120 [non-C99-based standards] (asinhf): Likewise.
60121 [non-C99-based standards] (atanhf): Likewise.
60122 [non-C99-based standards] (cbrtf): Likewise.
60123 [non-C99-based standards] (expm1f): Likewise.
60124 [non-C99-based standards] (ilogbf): Likewise.
60125 [non-C99-based standards] (log1pf): Likewise.
60126 [non-C99-based standards] (logbf): Likewise.
60127 [non-C99-based standards] (nextafterf): Likewise.
60128 [non-C99-based standards] (remainderf): Likewise.
60129 [non-C99-based standards] (rintf): Likewise.
60130 [non-C99-based standards] (scalbf): Likewise.
60131 [non-C99-based standards] (copysignl): Likewise.
60132 [non-C99-based standards] (exp2l): Likewise.
60133 [non-C99-based standards] (log2l): Likewise.
60134 [non-C99-based standards] (modfl): Allow.
60135 [non-C99-based standards] (erfl): Do not allow.
60136 [non-C99-based standards] (erfcl): Likewise.
60137 [non-C99-based standards] (gammal): Likewise.
60138 [non-C99-based standards] (hypotl): Likewise.
60139 [non-C99-based standards] (j0l): Likewise.
60140 [non-C99-based standards] (j1l): Likewise.
60141 [non-C99-based standards] (jnl): Likewise.
60142 [non-C99-based standards] (lgammal): Likewise.
60143 [non-C99-based standards] (tgammal): Likewise.
60144 [non-C99-based standards] (y0l): Likewise.
60145 [non-C99-based standards] (y1l): Likewise.
60146 [non-C99-based standards] (ynl): Likewise.
60147 [non-C99-based standards] (isnanl): Likewise.
60148 [non-C99-based standards] (acoshl): Likewise.
60149 [non-C99-based standards] (asinhl): Likewise.
60150 [non-C99-based standards] (atanhl): Likewise.
60151 [non-C99-based standards] (cbrtl): Likewise.
60152 [non-C99-based standards] (expm1l): Likewise.
60153 [non-C99-based standards] (ilogbl): Likewise.
60154 [non-C99-based standards] (log1pl): Likewise.
60155 [non-C99-based standards] (logbl): Likewise.
60156 [non-C99-based standards] (nextafterl): Likewise.
60157 [non-C99-based standards] (remainderl): Likewise.
60158 [non-C99-based standards] (rintl): Likewise.
60159 [non-C99-based standards] (scalbl): Likewise.
60160 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60161 [non-C99-based standards] (FP_*): Do not allow.
60162 [C99-based standards] (FP_*): Change to
60163 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60164 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60165 allow.
60166 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
60167 (SIG_ERR): Likewise.
60168 [X/Open-based standards] (SIG_HOLD): Likewise.
60169 (SIG_IGN): Likewise.
60170 (SIGABRT): Use macro-int-constant. Specify type. Require
60171 positive value.
60172 (SIGFPE): Likewise.
60173 (SIGILL): Likewise.
60174 (SIGINT): Likewise.
60175 (SIGSEGV): Likewise.
60176 (SIGTER): Likewise.
60177 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
60178 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
60179 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
60180 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
60181 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
60182 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
60183 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
60184 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
60185 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
60186 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
60187 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
60188 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
60189 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
60190 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
60191 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
60192 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
60193 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
60194 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
60195 [X/Open-based standards] (SIGTRAP): Likewise.
60196 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
60197 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
60198 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
60199 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
60200 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60201 allow.
60202
60203 2012-05-08 Ian Wienand <ianw@vmware.com>
60204
60205 [BZ #14080]
60206 * time/tzset.c (__tzset_parse_tz): Update default rules for
60207 daylight time changes in the Energy Policy Act of 2005.
60208
60209 2012-05-09 Andreas Jaeger <aj@suse.de>
60210
60211 [BZ #13983]
60212 * elf/ldconfig.c (parse_conf): Change string to make clear that
60213 ldconfig only issued a warning if ld.so.conf does not exist.
60214
60215 2012-05-08 David S. Miller <davem@davemloft.net>
60216
60217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
60218 movxtod instead of popping the value on the stack.
60219
60220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60221
60222 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
60223
60224 * config.h.in: Add HAVE_ARM_PCS_VFP.
60225
60226 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
60227
60228 [BZ #13979]
60229 * include/features.h: Warn if user requests __FORTIFY_SOURCE
60230 checking but the checks are disabled for any reason.
60231
60232 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
60233
60234 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
60235 and ELF64_R_TYPE with ELFW(R_TYPE).
60236
60237 2012-05-08 Joseph Myers <joseph@codesourcery.com>
60238
60239 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
60240 (ulimit): Likewise.
60241
60242 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
60243 (settimeofday): Likewise.
60244
60245 2012-05-08 Mike Frysinger <vapier@gentoo.org>
60246
60247 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
60248 a struct th_u2 inside the union, and move tu_block/tu_code into
60249 a new th_u3 union of tu_block/tu_code inside of that. Move
60250 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
60251 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
60252 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
60253 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
60254 (th_stuff): Change to th_u1.tu_stuff.
60255 (th_data): Define.
60256 (th_msg): Change to th_u1.th_u2.tu_data.
60257
60258 2012-05-07 David S. Miller <davem@davemloft.net>
60259
60260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60261
60262 [BZ #14074]
60263 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
60264 (SETUP_PIC_REG): Use it.
60265 (SETUP_PIC_REG_LEAF): Use it.
60266
60267 2012-05-07 Joseph Myers <joseph@codesourcery.com>
60268
60269 [BZ #13885]
60270 [BZ #13923]
60271 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60272 USE_AS_EXPM1L.
60273 (EXPL_FINITE): Likewise.
60274 (FLDLOG): Likewise.
60275 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60276 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60277 e_expl.S.
60278 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60279 USE_AS_EXPM1L.
60280 (EXPL_FINITE): Likewise.
60281 (FLDLOG): Likewise.
60282 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60283 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60284 e_expl.S.
60285 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
60286 test of -max_value argument for long double.
60287 * sysdeps/i386/fpu/libm-test-ulps: Update.
60288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60289
60290 2012-05-06 David S. Miller <davem@davemloft.net>
60291
60292 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
60293 quad soft-float symbols whose references which are compiler
60294 generated.
60295 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60296
60297 2012-05-06 Joseph Myers <joseph@codesourcery.com>
60298
60299 [BZ #13884]
60300 [BZ #13914]
60301 * sysdeps/i386/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 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
60311 e_expl.S.
60312 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
60313 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
60314 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60315 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
60316 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60317 USE_AS_EXP10L.
60318 (EXPL_FINITE): Likewise.
60319 (FLDLOG): Likewise.
60320 (c0): Likewise.
60321 (c1): Likewise.
60322 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
60323 Adjust comments for base varying.
60324 (__expl_finite): Change alias to EXPL_FINITE.
60325 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
60326 tests for bugs.
60327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60328
60329 [BZ #14064]
60330 * math/libm-test.inc (check_float_internal): Correct ulp
60331 calculation for subnormal expected results.
60332
60333 2012-05-06 Andreas Jaeger <aj@suse.de>
60334
60335 * Makeconfig (+math-flags): New, set to -frounding-math.
60336 (+cflags): Add +math-flags so that all of glibc gets compiled with
60337 it.
60338
60339 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
60340
60341 2012-05-05 Joseph Myers <joseph@codesourcery.com>
60342
60343 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
60344 Disable one test.
60345
60346 [BZ #13787]
60347 [BZ #13922]
60348 [BZ #14036]
60349 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
60350 (__ieee754_expl): Allow for and saturate large arguments.
60351 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
60352 (u_threshold): Likewise.
60353 (__exp): Call __ieee754_exp before checking for overflow and
60354 underflow.
60355 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
60356 (u_threshold): Likewise.
60357 (__expf): Call __ieee754_expf before checking for overflow and
60358 underflow.
60359 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
60360 (u_threshold): Likewise.
60361 (__expl): Call __ieee754_expl before checking for overflow and
60362 underflow.
60363 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
60364 (__ieee754_expl): Allow for and saturate large arguments.
60365 * math/libm-test.inc (exp_test): Add another test. Do not allow
60366 missing overflow exception on overflow.
60367 (expm1_test): Do not allow missing overflow exception on overflow.
60368
60369 * sysdeps/i386/fpu/e_expl.c: Move to ...
60370 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
60371 rather than using inline asm.
60372 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
60373 * sysdeps/x86_64/fpu/e_expl.S: Copy from
60374 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
60375
60376 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
60377 (nice): Likewise.
60378 (poll): Likewise.
60379 (signal): Likewise.
60380 (time): Likewise.
60381 (times): Likewise.
60382
60383 2012-05-04 Joseph Myers <joseph@codesourcery.com>
60384
60385 * sysdeps/unix/syscalls.list (adjtime): Add entry from
60386 sysdeps/unix/common/syscalls.list.
60387 (fchmod): Likewise.
60388 (fchown): Likewise.
60389 (ftruncate): Likewise.
60390 (getrusage): Likewise.
60391 (gettimeofday): Likewise.
60392 (setpgid): Likewise.
60393 (setregid): Likewise.
60394 (setreuid): Likewise.
60395 (sigaction): Likewise.
60396 (truncate): Likewise.
60397 (vhangup): Likewise.
60398 * sysdeps/unix/common/syscalls.list: Remove file.
60399 * sysdeps/unix/bsd/Implies: Don't include unix/common.
60400 * sysdeps/unix/sysv/linux/Implies: Likewise.
60401
60402 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
60403
60404 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
60405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
60406 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
60407 Moved to ...
60408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
60409 Here.
60410 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
60411 to ...
60412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
60413 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
60414 to ...
60415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
60416 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
60417 to ...
60418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
60419 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
60420 to ...
60421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
60422 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
60423 to ...
60424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
60425 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
60426 to ...
60427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
60428 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
60429 to ...
60430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60431 Here.
60432 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
60433 to ...
60434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
60435 Here.
60436 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
60437 to ...
60438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
60439 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
60440 Moved to ...
60441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
60442 Here.
60443 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
60444 to ...
60445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
60446
60447 2012-05-04 Joseph Myers <joseph@codesourcery.com>
60448
60449 * sysdeps/unix/common/bits/dirent.h: Remove file.
60450 * sysdeps/unix/common/bits/fcntl.h: Likewise.
60451
60452 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
60453 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
60454 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
60455 * sysdeps/unix/bsd/isatty.c: Likewise.
60456 * sysdeps/unix/bsd/tcdrain.c: Likewise.
60457 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
60458 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
60459
60460 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60461
60462 [BZ #13563]
60463 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
60464 long double comparison inaccuracies.
60465 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60467
60468 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
60469
60470 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
60471 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
60472
60473 2012-05-04 Joseph Myers <joseph@codesourcery.com>
60474
60475 [BZ #14049]
60476 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
60477 nonzero digits before rounding a hex value.
60478 * stdlib/tst-strtod.c (tests): Add another test.
60479
60480 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60481
60482 * sysdeps/s390/fpu/libm-test-ulps: Update.
60483
60484 2012-05-03 Andreas Jaeger <aj@suse.de>
60485
60486 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
60487 does not get optimized out.
60488 (malloc_opt_barrier): New.
60489
60490 2012-05-03 Andreas Jaeger <aj@suse.de>
60491 Roland McGrath <roland@hack.frob.com>
60492
60493 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
60494 intermediate file deletion.
60495 (generated): Add .symlist files.
60496
60497 2012-05-03 Joseph Myers <joseph@codesourcery.com>
60498
60499 [BZ #13775]
60500 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
60501 Redirect under this condition.
60502 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60503 [__USE_GNU] (__dprintf_chk): Not under this condition.
60504 [__USE_GNU] (__vdprintf_chk): Likewise.
60505 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
60506 under this condition.
60507 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60508 [__USE_XOPEN2K8] (dprintf): Define under this condition.
60509 [__USE_XOPEN2K8] (vdprintf): Likewise.
60510 [__USE_GNU] (__dprintf_chk): Not under this condition.
60511 [__USE_GNU] (__vdprintf_chk): Likewise.
60512 [__USE_GNU] (dprintf): Likewise.
60513 [__USE_GNU] (vdprintf): Likewise.
60514
60515 2012-05-03 Roland McGrath <roland@hack.frob.com>
60516
60517 * elf/Makefile (common-generated): Set this instead of generated for
60518 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
60519 $(all-built-dso)-derived lists.
60520
60521 2012-05-03 Andreas Jaeger <aj@suse.de>
60522
60523 * sysdeps/i386/fpu/libm-test-ulps: Update.
60524
60525 * FAQ: Removed.
60526 * FAQ.in: Likewise.
60527 * scripts/gen-FAQ.pl: Likewise.
60528 * manual/install.texi (Installation): Point to online location of
60529 FAQ.
60530 * Makefile (files-for-dist): Remove FAQ.
60531 (FAQ): Remove.
60532
60533 2012-05-02 Allan McRae <allan@archlinux.org>
60534
60535 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
60536 (LDFLAGS-reldepmod5.so): Likewise.
60537 (LDFLAGS-reldep6mod1.so): Likewise.
60538 (LDFLAGS-reldep6mod4.so): Likewise.
60539 (LDFLAGS-reldep8mod3.so): Likewise.
60540 (LDFLAGS-unload4mod1.so): Likewise.
60541 (LDFLAGS-unload4mod2.so): Likewise.
60542 (LDFLAGS-tst-initorder): Likewise.
60543 (LDFLAGS-tst-initordera2.so): Likewise.
60544 (LDFLAGS-tst-initordera3.so): Likewise.
60545 (LDFLAGS-tst-initordera4.so): Likewise.
60546 (LDFLAGS-tst-initorderb2.so): Likewise.
60547 (LDFLAGS-noload): Likewise.
60548 (LDFLAGS-next): Likewise.
60549 (LDFLAGS-order2mod1.so): Likewise.
60550 (LDFLAGS-order2mod2.so): Likewise.
60551 (LDFLAGS-tst-initorder2): Likewise.
60552 (LDFLAGS-tst-initorder2a.so): Likewise.
60553 (LDFLAGS-tst-initorder2b.so): Likewise.
60554 (LDFLAGS-tst-initorder2c.so): Likewise.
60555 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
60556
60557 2012-05-02 David S. Miller <davem@davemloft.net>
60558
60559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60560
60561 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
60562
60563 [BZ #14055]
60564 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
60565
60566 2012-05-02 Andreas Jaeger <aj@suse.de>
60567
60568 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
60569 since we manipulate rounding mode.
60570 (CPPFLAGS-test-idouble.c): Likewise.
60571 (CPPFLAGS-test-ifloat.c): Likewise.
60572 (CFLAGS-test-ldouble.c): Likewise.
60573 (CFLAGS-test-double.c): Likewise.
60574 (CFLAGS-test-float.c): Likewise.
60575 (CFLAGS-test-misc.c): Likewise.
60576 (CFLAGS-test-test-fenv.c): Likewise.
60577
60578 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60579
60580 [BZ #2550]
60581 [BZ #2570]
60582 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
60583 comparisons to determine direction to adjust input.
60584
60585 2012-05-01 Roland McGrath <roland@hack.frob.com>
60586
60587 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
60588 output to the target.
60589
60590 * scripts/localplt.awk: New file.
60591 * elf/Makefile ($(objpfx)check-localplt): Target removed.
60592 (check-localplt-CFLAGS): Variable removed.
60593 ($(all-built-dso:=.jmprel)): New static pattern rule.
60594 (generated): Add those targets.
60595 (localplt-built-dso): New variable.
60596 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
60597
60598 * elf/check-localplt.c: File removed.
60599
60600 * scripts/check-execstack.awk: New file.
60601 * elf/Makefile ($(objpfx)check-execstack): Target removed.
60602 (check-execstack-CFLAGS): Variable removed.
60603 ($(objpfx)check-execstack.h): Target removed.
60604 ($(objpfx)execstack-default): New target.
60605 (generated): Add that instead of check-execstack.h.
60606 ($(all-built-dso:=.phdr)): New static pattern rule.
60607 (generated): Add those targets.
60608 * elf/check-execstack.c: File removed.
60609
60610 * scripts/check-textrel.awk: New file.
60611 * elf/Makefile ($(objpfx)check-textrel): Target removed.
60612 (check-textrel-CFLAGS): Variable removed.
60613 (all-built-dso): Use := to define.o
60614 ($(all-built-dso:=.dyn)): New static pattern rule.
60615 (generated): Add those targets.
60616 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
60617 * config.make.in (READELF): New substituted variable.
60618 * elf/check-textrel.c: File removed.
60619
60620 2012-05-01 Joseph Myers <joseph@codesourcery.com>
60621
60622 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60623 allow.
60624 * conform/data/ctype.h-data [C99-based standards] (isblank):
60625 Expect function.
60626 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
60627 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
60628 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60629 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
60630 Specify type. Require positive value.
60631 (EILSEQ): Likewise.
60632 (ERANGE): Likewise.
60633 [ISO || POSIX] (EILSEQ): Do not expect.
60634 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
60635 Specify type. Require positive value.
60636 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
60637 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
60638 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
60639 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
60640 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
60641 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
60642 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
60643 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
60644 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
60645 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
60646 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
60647 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
60648 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
60649 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
60650 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
60651 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
60652 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
60653 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
60654 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
60655 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
60656 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
60657 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
60658 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
60659 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
60660 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
60661 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
60662 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
60663 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
60664 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
60665 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
60666 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
60667 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
60668 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
60669 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
60670 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
60671 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
60672 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
60673 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
60674 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
60675 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
60676 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
60677 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
60678 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
60679 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
60680 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
60681 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
60682 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
60683 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
60684 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
60685 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
60686 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
60687 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
60688 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
60689 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
60690 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
60691 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
60692 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
60693 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
60694 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
60695 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
60696 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
60697 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
60698 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
60699 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
60700 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
60701 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
60702 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
60703 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
60704 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
60705 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
60706 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
60707 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
60708 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
60709 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
60710 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
60711 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
60712 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
60713 Require >= 2.
60714 (FLT_ROUNDS): Expect as macro, not constant.
60715 (FLT_MANT_DIG): Use macro-int-constant.
60716 (DBL_MANT_DIG): Likewise.
60717 (LDBL_MANT_DIG): Likewise.
60718 (FLT_DIG): Likewise.
60719 (DBL_DIG): Likewise.
60720 (LDBL_DIG): Likewise.
60721 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
60722 (DBL_MIN_EXP): Likewise.
60723 (LDBL_MIN_EXP): Likewise.
60724 (FLT_MAX_EXP): Use macro-int-constant.
60725 (DBL_MAX_EXP): Likewise.
60726 (LDBL_MAX_EXP): Likewise.
60727 (FLT_MAX_10_EXP): Likewise.
60728 (DBL_MAX_10_EXP): Likewise.
60729 (LDBL_MAX_10_EXP): Likewise.
60730 (FLT_MAX): Use macro-constant.
60731 (DBL_MAX): Likewise.
60732 (LDBL_MAX): Likewise.
60733 (FLT_EPSILON): Use macro-constant. Give upper bound.
60734 (DBL_EPSILON): Likewise.
60735 (LDBL_EPSILON): Likewise.
60736 (FLT_MIN): Likewise.
60737 (DBL_MIN): Likewise.
60738 (LDBL_MIN): Likewise.
60739 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
60740 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
60741 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
60742 [ISO11] (FLT_HAS_SUBNORM): Likewise.
60743 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
60744 [ISO11] (DBL_DECIMAL_DIG): Likewise.
60745 [ISO11] (FLT_DECIMAL_DIG): Likewise.
60746 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
60747 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
60748 [ISO11] (FLT_TRUE_MIN): Likewise.
60749 [ISO11] (LDBL_TRUE_MIN): Likewise.
60750 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60751 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
60752 (SCHAR_MIN): Use macro-int-constant. Specify type.
60753 (SCHAR_MAX): Likewise.
60754 (UCHAR_MAX): Likewise.
60755 (CHAR_MIN): Likewise.
60756 (CHAR_MAX): Likewise.
60757 (MB_LEN_MAX): Use macro-int-constant.
60758 (SHRT_MIN): Use macro-int-constant. Specify type.
60759 (SHRT_MAX): Likewise.
60760 (USHRT_MAX): Likewise.
60761 (INT_MAX): Likewise.
60762 (INT_MIN): Use macro-int-constant. Specify type. Make upper
60763 bound negative.
60764 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
60765 bound with "U".
60766 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
60767 bound with "L".
60768 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
60769 bound negative. Suffix upper bound with "L".
60770 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
60771 bound with "UL".
60772 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
60773 Specify type.
60774 [C99-based standards] (LLONG_MAX): Likewise.
60775 [C99-based standards] (ULLONG_MAX): Likewise.
60776 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
60777 == 0.
60778 [ISO11] (max_align_t): Require type.
60779 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60780
60781 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
60782 from $CFLAGS, without defining away __attribute__ calls.
60783 (checknamespace): Use $CFLAGS_namespace.
60784
60785 * conform/conformtest.pl (@keywords): Only include C99 keywords
60786 for standards based on C99 or C11.
60787
60788 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
60789 Disable tests.
60790 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
60791 UNIX98]: Likewise.
60792
60793 * conform/conformtest.pl: Handle "macro-int-constant" and test for
60794 usability of symbols in #if.
60795
60796 * conform/conformtest.pl: If macro or constant types start
60797 "promoted:", expect the symbol to be of the following type
60798 promoted by the integer promotions.
60799
60800 * conform/conformtest.pl: Parse all "constant" and "macro" lines
60801 in one place. Also handle "macro-constant".
60802
60803 * conform/conformtest.pl: Only accept expected macro values with
60804 "==". Parse all "macro" lines in one place.
60805 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
60806
60807 * conform/conformtest.pl: Handle braced types on "constant" lines
60808 instead of handling "typed-constant".
60809 * conform/data/signal.h-data: Use "constant" instead of
60810 "typed-constant".
60811
60812 * conform/conformtest.pl: Handle "optional-" at start of lines in
60813 one place rather than duplicating several cases. Handle each
60814 format of "macro" line with initial "optional-".
60815
60816 * conform/conformtest.pl: Only accept expected constant or
60817 optional-constant values with "==". Parse all "constant" lines in
60818 one place. Parse all "optional-constant" lines in one place.
60819 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
60820 * conform/data/fmtmsg.h-data: Likewise.
60821 * conform/data/netinet/in.h-data: Likewise.
60822 * conform/data/tar.h-data: Likewise.
60823 * conform/data/limits.h-data: Use "==" form on "constant" and
60824 "optional-constant" lines.
60825
60826 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
60827 Use -std=c99 for XOPEN2K.
60828 (@knownproblems): Remove.
60829 (newtoken): Don't check %isknown.
60830
60831 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
60832 Do not expect macro.
60833 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
60834 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
60835 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
60836 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
60837 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
60838 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
60839 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
60840 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
60841 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
60842 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
60843 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
60844 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
60845 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
60846 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
60847 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
60848 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
60849 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60850 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
60851 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
60852 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
60853 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
60854 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
60855 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
60856 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
60857 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
60858 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
60859 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
60860 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
60861 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
60862 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
60863 [XPG3] (acosh): Likewise.
60864 [XPG3] (asinh): Likewise.
60865 [XPG3] (atanh): Likewise.
60866 [XPG3] (cbrt): Likewise.
60867 [XPG3] (expm1): Likewise.
60868 [XPG3] (ilogb): Likewise.
60869 [XPG3] (log1p): Likewise.
60870 [XPG3] (logb): Likewise.
60871 [XPG3] (nextafter): Likewise.
60872 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60873 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
60874 [XPG3] (remainder): Likewise.
60875 [XPG3] (rint): Likewise.
60876 [XPG3 || XPG4 || UNIX98] (round): Likewise.
60877 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
60878 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
60879 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
60880 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
60881 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
60882 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
60883 [UNIX98 || XOPEN2K] (scalb): Expect.
60884 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
60885 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
60886 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
60887 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
60888 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
60889 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
60890 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
60891 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
60892 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
60893 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
60894 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
60895 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
60896 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
60897 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
60898 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
60899 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
60900 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
60901 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
60902 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
60903 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
60904 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
60905 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
60906 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
60907 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
60908 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
60909 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
60910 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
60911 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
60912 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
60913 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
60914 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
60915 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
60916 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
60917 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
60918 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
60919 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
60920 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
60921 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
60922 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
60923 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
60924 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
60925 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
60926 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
60927 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
60928 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
60929 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
60930 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
60931 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
60932 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
60933 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
60934 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
60935 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
60936 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
60937 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
60938 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
60939 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
60940 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
60941 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
60942 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
60943 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
60944 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
60945 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
60946 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
60947 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
60948 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
60949 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
60950 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
60951 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
60952 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
60953 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
60954 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
60955 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
60956 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
60957 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
60958 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
60959 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
60960 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
60961 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
60962 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
60963 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
60964 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
60965 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
60966 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
60967 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
60968 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
60969 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
60970 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
60971 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
60972 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
60973 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
60974 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
60975 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
60976 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
60977 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
60978 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
60979 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
60980 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
60981 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
60982 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
60983 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
60984 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
60985 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
60986 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
60987 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
60988 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
60989 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
60990 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
60991 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
60992 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
60993 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
60994 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
60995 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
60996 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
60997 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
60998 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
60999 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
61000 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
61001 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
61002 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
61003 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
61004 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
61005 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
61006 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
61007 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
61008 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
61009 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
61010 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
61011 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
61012 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
61013 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
61014 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
61015 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
61016 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
61017 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
61018 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
61019 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
61020 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
61021
61022 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
61023 _XOPEN_SOURCE_EXTENDED for XPG4.
61024
61025 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
61026
61027 * Makeconfig (localtime): Remove variable.
61028 (inst_localtime-file): Likewise.
61029
61030 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
61031
61032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
61033 Update.
61034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61035 Update.
61036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
61037 Update.
61038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61039 Update.
61040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
61041 Update.
61042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
61043 Update.
61044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61045 Update.
61046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
61047 Update.
61048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61049 Update.
61050
61051 2012-05-01 Joseph Myers <joseph@codesourcery.com>
61052
61053 [BZ #2550]
61054 [BZ #2570]
61055 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
61056 comparisons to determine direction to adjust input.
61057 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
61058 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
61059 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
61060 Likewise.
61061 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
61062 Likewise.
61063 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61064 Likewise.
61065 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
61066 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
61067 Likewise.
61068 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
61069 Likewise.
61070 * math/libm-test.inc (nexttoward_test): Add more tests.
61071
61072 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
61073
61074 [BZ #14040]
61075 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
61076 in version GLIBC_2.1, not GLIBC_2.0.
61077 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
61078 Likewise.
61079
61080 2012-04-30 Joseph Myers <joseph@codesourcery.com>
61081
61082 [BZ #13942]
61083 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
61084 (1 - x) * (1 + x).
61085 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61086 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
61087 * math/libm-test.inc (acos_test): Add more tests.
61088 (asin_test): Likewise.
61089 * sysdeps/i386/fpu/libm-test-ulps: Update.
61090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61091
61092 [BZ #14034]
61093 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
61094 of square root.
61095 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
61096 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61097 * math/libm-test.inc (acos_test_tonearest): New function.
61098 (acos_test_towardzero): Likewise.
61099 (acos_test_downward): Likewise.
61100 (acos_test_upward): Likewise.
61101 (asin_test_tonearest): Likewise.
61102 (asin_test_towardzero): Likewise.
61103 (asin_test_downward): Likewise.
61104 (asin_test_upward): Likewise.
61105 (main): Call the new functions.
61106 * sysdeps/i386/fpu/libm-test-ulps: Update.
61107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61108
61109 [BZ #13884]
61110 [BZ #13924]
61111 * math/e_exp10.c: Include <float.h>.
61112 (__ieee754_exp10): Handle underflow here rather than multiplying
61113 large negative argument by M_LN10.
61114 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
61115 of __ieee754_expf.
61116 * math/e_exp10l.c: Include <float.h>.
61117 (__ieee754_exp10l): Handle underflow here rather than multiplying
61118 large negative argument by M_LN10l.
61119 * math/libm-test.inc (exp10_test): Add another test. Do not allow
61120 spurious overflow exception on underflow.
61121
61122 2012-04-29 Marek Polacek <polacek@redhat.com>
61123
61124 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
61125 (__fortify_function): New macro.
61126 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
61127 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
61128 __extern_always_inline.
61129 * libio/bits/stdio2.h: Likewise.
61130 * libio/bits/stdio.h: Likewise.
61131 * string/string.h: Likewise.
61132 * string/bits/string3.h: Likewise.
61133 * include/stdio.h: Likewise.
61134 * stdlib/bits/stdlib.h: Likewise.
61135 * stdlib/stdlib.h: Likewise.
61136 * rt/bits/mqueue2.h: Likewise.
61137 * rt/mqueue.h: Likewise.
61138 * posix/bits/unistd.h: Likewise.
61139 * posix/unistd.h: Likewise.
61140 * io/bits/poll2.h: Likewise.
61141 * io/bits/fcntl2.h: Likewise.
61142 * io/fcntl.h: Likewise.
61143 * io/sys/poll.h: Likewise.
61144 * misc/bits/syslog.h: Likewise.
61145 * misc/bits/syslog-ldbl.h: Likewise.
61146 * misc/sys/syslog.h: Likewise.
61147 * socket/bits/socket2.h: Likewise.
61148 * socket/sys/socket.h: Likewise.
61149 * debug/tst-chk1.c: Likewise.
61150 * wcsmbs/bits/wchar2.h: Likewise.
61151 * wcsmbs/bits/wchar-ldbl.h: Likewise.
61152 * wcsmbs/wchar.h: Likewise.
61153
61154 2012-04-29 Andreas Jaeger <aj@suse.de>
61155
61156 * Makerules (tests): Remove enable-check-abi protection.
61157 (check-abi-warn): Remove.
61158 (check-abi-%): Remove check-abi-warn usage.
61159
61160 * configure.in: Remove check-abi configure option.
61161 * configure: Regenerated.
61162 * config.make.in (enable-check-abi): Remove.
61163
61164 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
61165
61166 [BZ #14033]
61167 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
61168 double functions to double *_finite functions.
61169
61170 [BZ #13941]
61171 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
61172 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
61173 LDBL_MIN_EXP.
61174 * stdio-common/Makefile (tests): Add tst-sprintf3.
61175 * stdio-common/tst-sprintf3.c: New file.
61176
61177 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
61178 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
61179
61180 2012-04-28 Joseph Myers <joseph@codesourcery.com>
61181
61182 * conform/conformtest.pl: Remove duplicate typed-constant
61183 handling.
61184
61185 2012-04-28 David S. Miller <davem@davemloft.net>
61186
61187 * Makerules (%.abilist): Add vpath on sysdep_dirs.
61188 (check-abi-%): Remove AWK script prerequisite and explicit
61189 abilist directory.
61190 (check-abi): Rewrite to just diff the symlist with the abilist.
61191 (config-tls, config-abi-config): Delete, no longer used.
61192 (update-abi-%): Remove AWK script and explicit abilist directory.
61193 (update-abi): Rewrite to simply compare and conditionally copy the
61194 symlist and the sysdep abilist file. Remove update-abi-config
61195 checks.
61196 * abilist/ld.abilist: Remove.
61197 * abilist/libBrokenLocale.abilist: Remove.
61198 * abilist/libanl.abilist: Remove.
61199 * abilist/libcrypt.abilist: Remove.
61200 * abilist/libdl.abilist: Remove.
61201 * abilist/librt.abilist: Remove.
61202 * abilist/libthread_db.abilist: Remove.
61203 * abilist/libutil.abilist: Remove.
61204 * scripts/extract-abilist.awk: Remove.
61205 * scripts/merge-abilist.awk: Remove.
61206 * sysdeps/generic/libcidn.abilist: New file.
61207 * sysdeps/generic/libnss_compat.abilist: New file.
61208 * sysdeps/generic/libnss_db.abilist: New file.
61209 * sysdeps/generic/libnss_dns.abilist: New file.
61210 * sysdeps/generic/libnss_files.abilist: New file.
61211 * sysdeps/generic/libnss_hesiod.abilist: New file.
61212 * sysdeps/generic/libnss_nis.abilist: New file.
61213 * sysdeps/generic/libnss_nisplus.abilist: New file.
61214 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
61215 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
61216 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
61217 file.
61218 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
61219 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
61220 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
61221 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
61222 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
61223 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
61224 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
61225 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
61226 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
61227 file.
61228 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
61229 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
61230 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
61231 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
61232 file.
61233 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
61234 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
61235 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
61236 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
61237 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
61238 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
61239 file.
61240 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
61241 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
61242 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
61243 file.
61244 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
61245 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
61246 New file.
61247 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
61248 New file.
61249 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
61250 New file.
61251 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
61252 New file.
61253 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
61254 New file.
61255 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
61256 New file.
61257 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
61258 New file.
61259 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
61260 New file.
61261 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
61262 New file.
61263 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
61264 New file.
61265 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
61266 New file.
61267 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
61268 New file.
61269 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
61270 New file.
61271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
61272 file.
61273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
61274 New file.
61275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
61276 New file.
61277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
61278 file.
61279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
61280 New file.
61281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
61282 New file.
61283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
61284 file.
61285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
61286 New file.
61287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61288 New file.
61289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
61290 New file.
61291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
61292 New file.
61293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
61294 New file.
61295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
61296 New file.
61297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
61298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
61299 file.
61300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
61301 New file.
61302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
61303 file.
61304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
61305 file.
61306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
61307 file.
61308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
61309 file.
61310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
61311 file.
61312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61313 New file.
61314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
61315 file.
61316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
61317 file.
61318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
61319 New file.
61320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
61321 file.
61322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
61323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
61324 file.
61325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
61326 New file.
61327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
61328 file.
61329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
61330 file.
61331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
61332 file.
61333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
61334 file.
61335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
61336 file.
61337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61338 New file.
61339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
61340 file.
61341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
61342 file.
61343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
61344 New file.
61345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
61346 file.
61347 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61348 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
61349 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
61350 file.
61351 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
61352 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
61353 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
61354 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
61355 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
61356 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
61357 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
61358 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
61359 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
61360 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
61361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
61362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
61363 file.
61364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
61365 New file.
61366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
61367 file.
61368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
61369 file.
61370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
61371 file.
61372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
61373 file.
61374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
61375 file.
61376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61377 New file.
61378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
61379 New file.
61380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
61381 file.
61382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
61383 New file.
61384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
61385 file.
61386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
61387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
61388 file.
61389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
61390 New file.
61391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
61392 file.
61393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
61394 file.
61395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
61396 file.
61397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
61398 file.
61399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
61400 file.
61401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61402 New file.
61403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
61404 New file.
61405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
61406 file.
61407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
61408 New file.
61409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
61410 file.
61411
61412 2012-04-28 Joseph Myers <joseph@codesourcery.com>
61413
61414 * conform/conformtest.pl: Fix typo in handling typed-constant from
61415 allow-header.
61416
61417 2012-04-27 Joseph Myers <joseph@codesourcery.com>
61418
61419 * README: Cut down references to pre-2.6 Linux kernels and
61420 Linuxthreads. Update lists of configurations in libc and ports
61421 and sort alphabetically. Say "or newer" with Linux kernel version
61422 requirements.
61423
61424 * config.h.in [IS_IN_build]: Allow compiling without optimization.
61425
61426 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
61427
61428 [BZ #887]
61429 * math/libm-test.inc (logb_test_downward): New test to expose
61430 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
61431 rounding mode.
61432
61433 2012-04-27 Joseph Myers <joseph@codesourcery.com>
61434
61435 [BZ #14027]
61436 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
61437 to be done.
61438 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
61439 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
61440
61441 2012-04-26 Joseph Myers <joseph@codesourcery.com>
61442
61443 * sysdeps/unix/i386/brk.S: Remove file.
61444 * sysdeps/unix/i386/dl-brk.S: Likewise.
61445 * sysdeps/unix/i386/pipe.S: Likewise.
61446 * sysdeps/unix/i386/sigreturn.S: Likewise.
61447 * sysdeps/unix/i386/syscall.S: Likewise.
61448 * sysdeps/unix/i386/vfork.S: Likewise.
61449 * sysdeps/unix/i386/wait.S: Likewise.
61450
61451 * sysdeps/unix/common/tcsendbrk.c: Move to ...
61452 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
61453
61454 * configure.in (arm*-none*): Do not allow without
61455 --enable-hacker-mode.
61456 (netbsd*): Remove case setting base_os.
61457 (386bsd*): Likewise.
61458 (freebsd*): Likewise.
61459 (bsdi*): Likewise.
61460 (osf*): Likewise.
61461 (sunos*): Likewise.
61462 (ultrix*): Likewise.
61463 (newsos*): Likewise.
61464 (dynix*): Likewise.
61465 (*bsd*): Likewise.
61466 (sysv*): Likewise.
61467 (isc*): Likewise.
61468 (esix*): Likewise.
61469 (sco*): Likewise.
61470 (minix*): Likewise.
61471 (irix4*): Likewise.
61472 (irix6*): Likewise.
61473 (solaris[2-9]*): Likewise.
61474 (none): Likewise.
61475 * configure: Regenerated.
61476
61477 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61478
61479 [BZ #11521]
61480 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
61481 overflow or cancellation in calculating denominator.
61482 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
61483 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
61484 down expression to avoid unexpected rounding in newer GCCs.
61485 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
61486
61487 2012-04-26 David S. Miller <davem@davemloft.net>
61488
61489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
61490 long-double compat symbols.
61491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
61495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
61497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
61498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
61499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
61500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
61501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
61502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
61503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61504
61505 2012-04-25 David S. Miller <davem@davemloft.net>
61506
61507 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
61508 HWCAP_* values only after the memory barriers have been defined.
61509 (atomic_full_barrier): Define.
61510 (atomic_read_barrier): Define.
61511 (atomic_write_barrier): Define.
61512
61513 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
61514
61515 * shlib-versions: Add libgcc_s version information.
61516 * sysdeps/generic/libgcc_s.h: Remove.
61517 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
61518 libgcc_s.h.
61519 * sysdeps/gnu/unwind-resume.c: Likewise.
61520 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
61521
61522 2012-04-25 David S. Miller <davem@davemloft.net>
61523
61524 * sysdeps/unix/sparc/brk.S: Delete.
61525 * sysdeps/unix/sparc/dl-brk.S: Delete.
61526 * sysdeps/unix/sparc/pipe.S: Delete.
61527 * sysdeps/unix/sparc/sysdep.S: Delete.
61528 * sysdeps/unix/sparc/sysdep.h: Delete.
61529 * sysdeps/unix/sparc/vfork.S: Delete.
61530 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
61531 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
61532 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
61533 (ret_ERRVAL, r0, r1, MOVE): Define.
61534 (JUMPTARGET): Remove.
61535 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
61536 sysdeps/unix/sparc/sysdep.h
61537 (ENTRY, END): Remove.
61538 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61539
61540 2012-04-25 Joseph Myers <joseph@codesourcery.com>
61541
61542 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
61543 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
61544 -DIS_IN_build.
61545
61546 * timezone/README: Update upstream location and email address for
61547 tzcode and tzdata.
61548 * timezone/zdump.c: Update from tzcode 2012b.
61549 * timezone/zic.c: Likewise.
61550
61551 * configure.in (libc_cv_as_needed): Remove test.
61552 * configure: Regenerated.
61553 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
61554 conditional definition.
61555 [$(have-as-needed) != yes] (no-as-needed): Likewise.
61556 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
61557 * config.make.in (have-as-needed): Remove variable.
61558
61559 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
61560 Paul Pluzhnikov <ppluzhnikov@google.com>
61561
61562 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
61563 strings correctly.
61564
61565 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
61566
61567 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
61568 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
61569 * sysdeps/sh/strlen.S: Likewise.
61570
61571 2012-04-24 Joseph Myers <joseph@codesourcery.com>
61572
61573 * sysdeps/unix/fork.S: Remove file.
61574 * sysdeps/unix/i386/fork.S: Likewise.
61575 * sysdeps/unix/sparc/fork.S: Likewise.
61576
61577 * sysdeps/unix/system.c: Remove file.
61578 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
61579
61580 * sysdeps/unix/getegid.S: Remove file.
61581 * sysdeps/unix/geteuid.S: Likewise.
61582
61583 2012-04-24 Roland McGrath <roland@hack.frob.com>
61584
61585 * scripts/check-localplt.awk: New file.
61586 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
61587 of diff.
61588 * scripts/data/localplt-generic.data: Add a comment.
61589
61590 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
61591 NODE when __dir_mkfile failed.
61592 * sysdeps/mach/hurd/symlinkat.c: Likewise.
61593 Reported by Ludovic Courtès <ludo@gnu.org>.
61594
61595 2012-04-24 Andreas Jaeger <aj@suse.de>
61596
61597 * Makerules (common-clean): Also remove gen-as-const-headers
61598 files.
61599
61600 2012-04-24 Joseph Myers <joseph@codesourcery.com>
61601
61602 * Makerules (native-compile): Do not change working directory for
61603 build. Use $(OUTPUT_OPTION) in command.
61604 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
61605
61606 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61607
61608 [BZ #13886]
61609 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
61610 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
61611 * math/libm-test.inc (floor_test): Add more tests.
61612 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
61613
61614 2012-04-24 Joseph Myers <joseph@codesourcery.com>
61615
61616 * sysdeps/unix/getdents.c: Remove file.
61617 * sysdeps/unix/sysv/getdents.c: Likewise.
61618 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
61619
61620 * sysdeps/unix/syscalls.list (madvise): Add syscall from
61621 sysdeps/unix/mman/syscalls.list.
61622 (mmap): Likewise.
61623 (mprotect): Likewise.
61624 (msync): Likewise.
61625 (munmap): Likewise.
61626 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
61627 * sysdeps/unix/mman/syscalls.list: Remove.
61628 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
61629
61630 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
61631 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
61632 * configure: Regenerated.
61633 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
61634 $(libgcc_s_suffix).
61635 * config.make.in (libgcc_s_suffix): Remove variable.
61636
61637 2012-04-23 Joseph Myers <joseph@codesourcery.com>
61638
61639 * sysdeps/unix/sysv/gethostname.c: Move to ...
61640 * sysdeps/posix/gethostname.c: ... here.
61641
61642 * sysdeps/unix/execve.S: Remove file.
61643
61644 * sysdeps/unix/_exit.S: Remove file.
61645
61646 2012-04-23 Andreas Jaeger <aj@suse.de>
61647
61648 [BZ #13739]
61649 * manual/Makefile: Remove make dist support, there's no
61650 need for a stand-alone documentation tar ball.
61651 (TEXI2DVI): Define always, it's not in Makeconfig.
61652 (dist): Removed.
61653 (tar-it): Removed.
61654 (edition): Removed.
61655 (glibc-doc-$(edition).tar): Removed
61656 (%.Z): Removed.
61657 (%.gz): Removed.
61658 (%.uu): Removed.
61659 (ETAGS): Remove, it's in Makeconfig.
61660 (move-if-change): Remove, it's in Makeconfig.
61661
61662 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
61663
61664 [BZ #13970]
61665 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
61666 (strtod, strtof, strtold, strtol, strtoul, strtoq)
61667 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
61668 (strtod_l, strtof_l, strtold_l): Remove __wur.
61669 It is not necessarily an error to ignore strtol's return value.
61670 One can reliably look at the stored endptr to decide whether
61671 the number had valid syntax.
61672
61673 2012-04-21 Andreas Jaeger <aj@suse.de>
61674
61675 [BZ #13739]
61676 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
61677
61678 2012-04-21 Joseph Myers <joseph@codesourcery.com>
61679
61680 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
61681 * sysdeps/unix/sysv/Versions: Remove file.
61682
61683 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
61684
61685 [BZ #13927]
61686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61687
61688 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
61689
61690 [BZ #7064]
61691 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
61692 version from __vm86.
61693
61694 2012-04-20 Joseph Myers <joseph@codesourcery.com>
61695
61696 * sysdeps/unix/common/lxstat.c: Remove file.
61697 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
61698
61699 * sysdeps/unix/sysv/Makefile: Remove file.
61700
61701 * sysdeps/unix/sysv/direct.h: Remove file.
61702
61703 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
61704 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
61705 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
61706 * sysdeps/unix/sysv/bits/signum.h: Likewise.
61707 * sysdeps/unix/sysv/bits/stat.h: Likewise.
61708 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
61709 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
61710
61711 * sysdeps/unix/sysv/setrlimit.c: Remove file.
61712
61713 * sysdeps/unix/xmknod.c: Remove file.
61714 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
61715
61716 * sysdeps/unix/sysv/settimeofday.c: Remove file.
61717
61718 * sysdeps/unix/sysv/i386/time.S: Remove file.
61719
61720 * sysdeps/unix/fxstat.c: Remove file.
61721 * sysdeps/unix/xstat.c: Likewise.
61722 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
61723
61724 * sysdeps/unix/sysv/sigaction.c: Remove file.
61725
61726 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
61727 (sysdep_headers): Remove variable.
61728 [termio.h not in sysdep_headers] (generated): Likewise.
61729 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
61730 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
61731 * sysdeps/unix/sysv/tcdrain.c: Likewise.
61732 * sysdeps/unix/sysv/tcflow.c: Likewise.
61733 * sysdeps/unix/sysv/tcflush.c: Likewise.
61734 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
61735 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
61736 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
61737 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
61738 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
61739
61740 * sysdeps/unix/siglist.c: Remove file.
61741
61742 * sysdeps/unix/getppid.S: Remove file.
61743
61744 * sysdeps/unix/mkdir.c: Remove file.
61745 * sysdeps/unix/rmdir.c: Likewise.
61746
61747 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
61748
61749 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
61750 ERR_MAX value.
61751 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
61752 errlist-compat value.
61753
61754 2012-04-18 David S. Miller <davem@davemloft.net>
61755
61756 * sysdeps/generic/memcopy.h (reg_char): Delete.
61757 * debug/strcat_chk.c: Use char, not reg_char.
61758 * debug/strcpy_chk.c: Likewise.
61759 * debug/strncat_chk.c: Likewise.
61760 * debug/strncpy_chk.c: Likewise.
61761 * string/memchr.c: Likewise.
61762 * string/memrchr.c: Likewise.
61763 * string/rawmemchr.c: Likewise.
61764 * string/strcat.c: Likewise.
61765 * string/strchr.c: Likewise.
61766 * string/strchrnul.c: Likewise.
61767 * string/strcmp.c: Likewise.
61768 * string/strcpy.c: Likewise.
61769 * string/strncat.c: Likewise.
61770 * string/strncmp.c: Likewise.
61771 * string/strncpy.c: Likewise.
61772
61773 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
61774
61775 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
61776 __builtin_memcopy is called when src and dest ranges are known to not
61777 overlap.
61778
61779 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
61780
61781 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
61782 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
61783 fwd_align_merge macro call.
61784 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
61785 bwd_align_merge macro call.
61786 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61787
61788 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
61789
61790 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
61791 bwd_align_merge macros.
61792 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
61793 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
61794 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61795
61796 2012-04-18 David S. Miller <davem@davemloft.net>
61797
61798 * sysdeps/sparc/sparc64/memcopy.h: Delete.
61799
61800 2012-04-18 Andreas Jaeger <aj@suse.de>
61801
61802 [BZ# 6794]
61803 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
61804 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
61805 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61806
61807 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
61808 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
61809 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61810
61811 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
61812 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
61813 Adjust for changed ldbl-128 files.
61814
61815 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
61816 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
61817 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61818
61819 2012-04-17 David S. Miller <davem@davemloft.net>
61820
61821 * sysdeps/sparc/sparc32/memcopy.h: Delete.
61822
61823 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
61824
61825 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
61826 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
61827 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
61828 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
61829 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61830 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
61831
61832 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61833
61834 [BZ #6794]
61835 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
61836 * math/libm-test.inc: Add ilogb errno and exception tests.
61837 * math/w_ilogb.c: New file: ilogb wrapper.
61838 * math/w_ilogbf.c: New file: ilogbf wrapper.
61839 * math/w_ilogbl.c: New file: ilogbl wrapper.
61840 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
61841 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
61842 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
61843 exception being thrown with 0.0 as argument.
61844 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
61845 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
61846 exception being thrown with 0.0 as argument.
61847 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
61848 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61849 exception being thrown with 0.0 as argument.
61850 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
61851 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61852 exception being thrown with 0.0 as argument.
61853 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
61854 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
61855 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
61856 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
61857 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
61858 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
61859 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
61860 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
61861 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
61862
61863 2012-04-17 Petr Baudis <pasky@ucw.cz>
61864
61865 * include/sys/uio.h: Change __vector to __iovec to avoid clash
61866 with altivec.
61867
61868 2012-04-16 Marek Polacek <polacek@redhat.com>
61869
61870 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
61871
61872 2012-04-16 Marek Polacek <polacek@redhat.com>
61873
61874 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
61875 operands of fdivp instruction.
61876
61877 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
61878
61879 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
61880 * elf/tst-auditmod3b.c: Likewise.
61881 * elf/tst-auditmod4b.c: Likewise.
61882 * elf/tst-auditmod5b.c: Likewise.
61883 * elf/tst-auditmod6b.c: Likewise.
61884 * elf/tst-auditmod6c.c: Likewise.
61885 * elf/tst-auditmod7b.c: Likewise.
61886 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
61887 * sysdeps/x86_64/preconfigure.in: Likewise.
61888 * sysdeps/x86_64/preconfigure: Regenerated.
61889
61890 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
61891
61892 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
61893 __ILP32__.
61894
61895 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
61896
61897 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61898 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
61899
61900 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
61901
61902 [BZ #13973]
61903 * locale/iso-639.def: Fix gl language name. Spotted by
61904 Yaron Shahrabani.
61905
61906 2012-04-12 Roland McGrath <roland@hack.frob.com>
61907
61908 [BZ #2074]
61909 * libio/libio.h (__io_write_fn): Update comment.
61910
61911 2012-04-12 Petr Baudis <pasky@ucw.cz>
61912
61913 [BZ #2074]
61914 * stdio.texi (Hook Functions): The user provided writer function
61915 is not allowed to return -1.
61916
61917 2012-04-11 David S. Miller <davem@davemloft.net>
61918
61919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61920
61921 2012-04-11 Mike Frysinger <vapier@gentoo.org>
61922
61923 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
61924 Add a leading slash to rtkaio.
61925
61926 2012-04-11 Jim Meyering <meyering@redhat.com>
61927
61928 [BZ #11959]
61929 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
61930 It is not necessarily an error to ignore fwrite's return
61931 value. One can reliably use ferror to test for errors after
61932 the fact.
61933
61934 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
61935
61936 * bits/types.h (__snseconds_t): New type.
61937 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
61938
61939 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
61940 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61941 (__SNSECONDS_T_TYPE): Likewise.
61942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61943 (__SNSECONDS_T_TYPE): Likewise.
61944 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61945 (__SNSECONDS_T_TYPE): Likewise.
61946
61947 2012-04-10 Andreas Jaeger <aj@suse.de>
61948
61949 [BZ #2636]
61950 * manual/time.texi (Processor Time): Return type of times is
61951 elapsed real time since an arbitrary point in the past.
61952 (CPU Time): Move CLK_TCK from here...
61953 (Processor Time): ...to here. Correct description.
61954 * manual/conf.texi (Constants for Sysconf): Correct description of
61955 _SC_CLK_TCK.
61956
61957 2012-04-10 David S. Miller <davem@davemloft.net>
61958
61959 [BZ #13967]
61960 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
61961 where the is a gap between DT_REL(A) and DT_JMPREL.
61962
61963 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
61964
61965 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
61966 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61967 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61968
61969 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
61970
61971 * elf/dl-support.c (_dl_inhibit_cache): New variable.
61972 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
61973 (dl_main): Handle --inhibit-cache.
61974 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
61975 _dl_inhibit_cache.
61976 * elf/dl-load.c (_dl_map_object): Use it.
61977 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
61978
61979 2012-04-09 Joseph Myers <joseph@codesourcery.com>
61980
61981 [BZ #13872]
61982 * sysdeps/i386/fpu/e_powl.S (p78): New object.
61983 (__ieee754_powl): Saturate large exponents rather than testing for
61984 overflow of y*log2(x).
61985 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61986 * math/libm-test.inc (pow_test): Do not permit spurious overflow
61987 exceptions.
61988
61989 [BZ #11521]
61990 * math/s_ctan.c: Include <float.h>.
61991 (__ctan): Avoid internal overflow or cancellation in calculating
61992 denominator.
61993 * math/s_ctanf.c: Likewise.
61994 * math/s_ctanl.c: Likewise.
61995 * math/s_ctanh.c: Likewise.
61996 * math/s_ctanhf.c: Likewise.
61997 * math/s_ctanhl.c: Likewise.
61998 * math/libm-test.inc (ctan_test): Add more tests.
61999 (ctanh_test): Likewise.
62000 * sysdeps/i386/fpu/libm-test-ulps: Update.
62001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62002
62003 2012-04-09 Andreas Jaeger <aj@suse.de>
62004
62005 [BZ #6894]
62006 * manual/filesys.texi (Directory Entries): Mention that d_namlen
62007 is an optional BSD extension.
62008
62009 [BZ #10254]
62010 * manual/stdio.texi (Opening Streams): Document additional fopen
62011 parameters.
62012
62013 2012-04-09 Roland McGrath <roland@hack.frob.com>
62014
62015 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
62016 %eax without telling the compiler.
62017
62018 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
62019
62020 [BZ # 13963]
62021 * manual/install.texi: Use sourceware.org.
62022
62023 2012-04-09 Joseph Myers <joseph@codesourcery.com>
62024
62025 [BZ #13873]
62026 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
62027 (__ieee754_pow): Generate overflow and underflow using huge*huge
62028 and tiny*tiny rather than just returning constant infinity or zero
62029 for large exponents.
62030 * math/libm-test.inc (pow_test): Require overflow exceptions for
62031 applicable cases of large exponents.
62032
62033 [BZ #706]
62034 * sysdeps/i386/fpu/e_pow.S (p10): New object.
62035 (__ieee754_pow): Use iterative multiplication algorithm only for
62036 integer exponents with absolute value below 1024. Check for odd
62037 integer exponents when using algorithm for real exponents.
62038 * math/libm-test.inc (pow_test): Add more tests.
62039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62040
62041 2012-04-08 Joseph Myers <joseph@codesourcery.com>
62042
62043 [BZ #13705]
62044 * math/libm-test.inc (exp_test): Do not allow overflow exception
62045 on underflow test.
62046
62047 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
62048
62049 [BZ #13705]
62050 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
62051 instead of __kernel_standard_f.
62052
62053 2012-04-08 Mike Frysinger <vapier@gentoo.org>
62054
62055 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
62056 * sysdeps/x86_64/memset_chk.S: Likewise.
62057
62058 2012-04-08 Andreas Jaeger <aj@suse.de>
62059
62060 [BZ #10153]
62061 * manual/startup.texi (Environment Access): Describe return value
62062 for putenv and setenv.
62063
62064 [BZ #6895]
62065 * manual/filesys.texi (Directory Entries): Add description for
62066 DT_LNK.
62067
62068 [BZ #6890]
62069 * manual/filesys.texi (Directory Entries): Clarify that it's file
62070 system not operating system in the description of DT_UNKNOWN.
62071
62072 [BZ #6578]
62073 * manual/syslog.texi (closelog): Fix reference, it's openlog.
62074
62075 2012-04-08 Stephen Compall <s11@member.fsf.org>
62076
62077 [BZ #6649]
62078 * manual/llio.texi (Opening and Closing Files): Add cross
62079 reference to explain mode argument.
62080
62081 2012-04-07 Mike Frysinger <vapier@gentoo.org>
62082
62083 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
62084 * sysdeps/x86_64/memset_chk.S: Likewise.
62085
62086 2012-04-07 David S. Miller <davem@davemloft.net>
62087
62088 * elf/elf.h (R_SPARC_WDISP10): Define.
62089 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
62090 R_SPARC_SIZE32.
62091 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
62092 R_SPARC_SIZE64 and R_SPARC_H34.
62093
62094 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
62095
62096 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
62097 conditions and remove no longer applicable assertion.
62098
62099 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
62100
62101 * bits/byteswap.h: Include <features.h>.
62102 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62103 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62104
62105 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
62106
62107 * bits/byteswap.h (__bswap_16): Removed.
62108 Include <bits/byteswap-16.h> to get __bswap_16.
62109 * sysdeps/i386/bits/byteswap.h: Likewise.
62110 * sysdeps/s390/bits/byteswap.h: Likewise.
62111 * sysdeps/x86_64/bits/byteswap.h: Likewise.
62112 * bits/byteswap-16.h: New file.
62113 * sysdeps/i386/bits/byteswap-16.h: Likewise.
62114 * sysdeps/s390/bits/byteswap-16.h: Likewise.
62115 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
62116 * string/Makefile (headers): Add bits/byteswap-16.h.
62117
62118 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
62119
62120 [BZ #13895]
62121 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
62122 extra indirection.
62123 * nss/Makefile (tests-static, tests): Add tst-nss-static.
62124 * nss/tst-nss-static.c: New.
62125
62126 2012-04-06 Robert Millan <rmh@gnu.org>
62127
62128 [BZ #6486]
62129 * manual/llio.texi (File Position Primitive): lseek
62130 refers to WHENCE when it really means OFFSET.
62131
62132 2012-04-06 Andreas Jaeger <aj@suse.de>
62133
62134 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
62135 strncmp declarations.
62136
62137 * abilist/libc.abilist: Add __poll and __ppoll.
62138
62139 2012-04-05 David S. Miller <davem@davemloft.net>
62140
62141 * scripts/check-local-headers.sh: Accept a host triplet in the
62142 path matched by the exclude regexp.
62143
62144 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
62145 definition.
62146 * sysdeps/powerpc/powerpc32/dl-machine.h
62147 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
62148 * sysdeps/s390/s390-32/dl-machine.h
62149 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62150 * sysdeps/sparc/sparc32/dl-machine.h
62151 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62152 * sysdeps/sparc/sparc64/dl-machine.h
62153 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62154
62155 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
62156 lazy binding.
62157 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
62158 undefined symbol errors.
62159
62160 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
62161 DT_NEEDED entries.
62162
62163 2012-04-05 Michael Matz <matz@suse.de>
62164
62165 [BZ #13592]
62166 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
62167
62168 2012-04-05 Andreas Jaeger <aj@suse.de>
62169
62170 [BZ #13908]
62171 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
62172 comment.
62173
62174 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62175
62176 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
62177 which ROUND is no valid rounding mode.
62178
62179 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62180
62181 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
62182 read again.
62183 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
62184
62185 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62186
62187 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
62188 an exception using FPU order intentionally.
62189
62190 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62191
62192 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
62193 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
62194 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
62195 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
62196
62197 2012-04-05 Simon Josefsson <simon@josefsson.org>
62198
62199 [BZ #12340]
62200 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
62201 EINVAL when BUFLEN is too smal.
62202
62203 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
62204
62205 [BZ #13553]
62206 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
62207 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
62208
62209 2012-04-03 Andreas Jaeger <aj@suse.de>
62210
62211 [BZ #13938]
62212 * manual/setjmp.texi (System V contexts): Fix sentence.
62213
62214 [BZ #13926]
62215 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
62216 New macro for this case.
62217 [!__GNUC__] (__bswap_64): New inline function for this case.
62218 * sysdeps/x86_64/bits/byteswap.h: Likewise.
62219 * bits/byteswap.h: Likewise.
62220 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
62221 ull, guard with __GLIBC_HAVE_LONG_LONG.
62222
62223 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
62224 __GLIBC_HAVE_LONG_LONG.
62225
62226 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
62227 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
62228
62229 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62230
62231 [BZ #13691]
62232 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
62233 inptr and inend, rather than using last_ch.
62234
62235 2012-04-02 David S. Miller <davem@davemloft.net>
62236
62237 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
62238 * stdio-common/printf-parse.h (read_int): Change return type to
62239 'int', return -1 on INT_MAX overflow.
62240 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
62241 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
62242 overflows INT_MAX. Check for overflow of in-format-string precision
62243 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
62244 SIZE_MAX not INT_MAX for integer overflow test.
62245 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
62246 skip the construct in the format string but do not record anything.
62247 * stdio-common/bug22.c: Adjust to test both width/prevision
62248 INT_MAX overflow as well as total length INT_MAX overflow. Check
62249 explicitly for proper errno values.
62250
62251 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
62252
62253 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
62254 CHAR_MAX.
62255 * string/test-strcmp.c [! WIDE]: Likewise.
62256 * time/tst-mktime2.c: Likewise for INT_MAX.
62257 * string/test-string.h: #include <sys/param.h> for MIN.
62258
62259 * csu/init-first.c (__libc_init_first): Call __ctype_init.
62260 * sysdeps/i386/init-first.c (init): Likewise.
62261 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
62262 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
62263 * sysdeps/sh/init-first.c (init): Likewise.
62264
62265 2012-04-01 Ulrich Drepper <drepper@gmail.com>
62266
62267 * po/ru.po: Update from translation team.
62268 * po/vi.po: Likewise.
62269
62270 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
62271
62272 * resolv/nss_dns/dns-host.c: Merge copyright years.
62273
62274 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62275
62276 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
62277 Optimize memcpy with prefetch if
62278 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
62279 src, dst pointers have unequal 16 byte alignments.
62280
62281 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
62282
62283 [BZ #13928]
62284 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
62285 from a CNAME entry and return the minimum ttl for the query.
62286 (gaih_getanswer_slice): Likewise.
62287
62288 2012-03-30 Jeff Law <law@redhat.com>
62289
62290 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
62291 due to long keys.
62292 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
62293 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
62294
62295 * resolv/nss_dns/dns-host.c: Update copyright year.
62296
62297 2012-03-30 Ulrich Drepper <drepper@gmail.com>
62298
62299 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
62300 requests to save a system call. Fix check that all bytes are sent.
62301
62302 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
62303 comments for sendmmsg.
62304
62305 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62306
62307 [BZ #13691]
62308 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
62309 with only 1 character between 0x0041 and 0x01b0.
62310 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
62311 * wcsmbs/tst-mbsnrtowcs.c: New file.
62312
62313 2012-03-29 David S. Miller <davem@davemloft.net>
62314
62315 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
62316 small copies by hand.
62317
62318 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62319
62320 [BZ #13761]
62321 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
62322 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
62323 group memberships.
62324
62325 2012-03-28 David S. Miller <davem@davemloft.net>
62326
62327 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
62328 that branches into memcpy.
62329 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62330 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
62331 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62332 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
62333 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
62334 bits.
62335 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
62336 implementation too.
62337 * sysdeps/sparc/mempcpy.S: New file.
62338
62339 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
62340 the IFUNC routine in the libc case.
62341 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62342
62343 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
62344 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
62345 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
62346 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
62347 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
62348 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
62349 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
62350 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
62351
62352 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
62353 loop to 256 bytes instead of 64 bytes and fix test signedness.
62354
62355 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
62356 * sysdeps/sparc/sparc32/Makefile: rather than here...
62357 * sysdeps/sparc/sparc64/Makefile: and here.
62358
62359 2012-03-28 Ulrich Drepper <drepper@gmail.com>
62360
62361 * malloc/mallocbug.c: Avoid warnings about unused variables.
62362
62363 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
62364
62365 [BZ #13760]
62366 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
62367 in the right place. Discard and retry query if response is
62368 larger than input buffer size.
62369
62370 2012-03-28 Joseph Myers <joseph@codesourcery.com>
62371
62372 [BZ #369]
62373 [BZ #2678]
62374 [BZ #3866]
62375 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
62376 x for large integer exponent.
62377 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
62378 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
62379 sign of result as needed afterwards.
62380 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
62381 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
62382 result for underflowing pow the same as for overflow.
62383 (__kernel_standard_l): Handle powl overflow and underflow here
62384 rather than calling __kernel_standard.
62385 * math/libm-test.inc (pow_test): Add more tests.
62386
62387 [BZ #3868]
62388 [BZ #13879]
62389 [BZ #13910]
62390 [BZ #13911]
62391 [BZ #13912]
62392 [BZ #13913]
62393 [BZ #13915]
62394 [BZ #13916]
62395 [BZ #13917]
62396 [BZ #13918]
62397 [BZ #13919]
62398 [BZ #13920]
62399 [BZ #13921]
62400 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
62401 * sysdeps/ieee754/k_standard.c: Include <float.h>.
62402 (__kernel_standard_l): New function.
62403 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
62404 __kernel_standard.
62405 * math/w_acosl.c (__acosl): Likewise.
62406 * math/w_asinl.c (__asinl): Likewise.
62407 * math/w_atan2l.c (__atan2l): Likewise.
62408 * math/w_atanhl.c (__atanhl): Likewise.
62409 * math/w_coshl.c (__coshl): Likewise.
62410 * math/w_exp10l.c (__exp10l): Likewise.
62411 * math/w_exp2l.c (__exp2l): Likewise.
62412 * math/w_fmodl.c (__fmodl): Likewise.
62413 * math/w_hypotl.c (__hypotl): Likewise.
62414 * math/w_j0l.c (__j0l, __y0l): Likewise.
62415 * math/w_j1l.c (__j1l, __y1l): Likewise.
62416 * math/w_jnl.c (__jnl, __ynl): Likewise.
62417 * math/w_lgammal.c (__lgammal): Likewise.
62418 * math/w_log10l.c (__log10l): Likewise.
62419 * math/w_log2l.c (__log2l): Likewise.
62420 * math/w_logl.c (__logl): Likewise.
62421 * math/w_powl.c (__powl): Likewise.
62422 * math/w_remainderl.c (__remainderl): Likewise.
62423 * math/w_scalbl.c (sysv_scalbl): Likewise.
62424 * math/w_sinhl.c (__sinhl): Likewise.
62425 * math/w_sqrtl.c (__sqrtl): Likewise.
62426 * math/w_tgammal.c (__tgammal): Likewise.
62427 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
62428 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
62429 * math/libm-test.inc (acos_test): Add more tests.
62430 (acosh_test): Likewise.
62431 (asin_test): Likewise.
62432 (atanh_test): Likewise.
62433 (exp_test): Likewise.
62434 (exp10_test): Likewise.
62435 (exp2_test): Likewise.
62436 (expm1_test): Likewise.
62437 (lgamma_test): Likewise.
62438 (log_test): Likewise.
62439 (log10_test): Likewise.
62440 (log1p_test): Likewise.
62441 (log2_test): Likewise.
62442 (pow_test): Do not allow some spurious overflow exceptions.
62443 (sqrt_test): Add more tests.
62444 (tgamma_test): Likewise.
62445 (y0_test): Likewise.
62446 (y1_test): Likewise.
62447 (yn_test): Likewise.
62448
62449 2012-03-27 Anton Blanchard <anton@samba.org>
62450
62451 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
62452 MAP_HUGETLB.
62453 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62454 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62455 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62456
62457 2012-03-27 David S. Miller <davem@davemloft.net>
62458
62459 * conform/Makefile: Run run-conformtest.sh using $(BASH).
62460
62461 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
62462 have-as-vis3 check.
62463
62464 2012-03-27 Andreas Jaeger <aj@suse.de>
62465
62466 * sysdeps/x86_64/elf/configure.in: Moved to ...
62467 * sysdeps/x86_64/configure.in: ... here.
62468 * sysdeps/x86_64/elf/start.S: Moved to ...
62469 * sysdeps/x86_64/start.S: ... here.
62470 * sysdeps/x86_64/elf/configure: Delete.
62471
62472 * sysdeps/x86_64/configure.in: Merge contents from
62473 sysdeps/i386/configure.in (without i686 check).
62474
62475 * sysdeps/i386/elf/Versions: Merge into ...
62476 * sysdeps/i386/Versions: ... this.
62477 * sysdeps/i386/elf/Versions: Delete file.
62478 * sysdeps/i386/elf/start.S: Moved to ...
62479 * sysdeps/i386/start.S: ...here.
62480 * sysdeps/i386/elf/configure.in: Merge into...
62481 * sysdeps/i386/configure.in: ...here.
62482 * sysdeps/i386/elf/configure.in: Delete file.
62483 * sysdeps/i386/elf/configure: Delete file.
62484
62485 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
62486 * debug/backtracesyms.c: ... here.
62487 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
62488 * debug/backtracesymsfd.c: ... here.
62489 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
62490 * sysdeps/generic/ifunc-sel.h: ... here.
62491
62492 * sysdeps/unix/i386/start.c: Delete file.
62493 * sysdeps/unix/sparc/start.c: Delete file.
62494 * sysdeps/unix/start.c: Delete file.
62495
62496 * sysdeps/sh/elf/configure.in: Moved to ...
62497 * sysdeps/sh/configure.in: ... here.
62498 * sysdeps/sh/elf/start.S: Moved to ...
62499 * sysdeps/sh/start.S: ... here.
62500 * sysdeps/sh/elf/configure: Delete file.
62501
62502 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
62503 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
62504 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
62505 * sysdeps/powerpc/powerpc64/entry.h: ... here.
62506 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
62507 * sysdeps/powerpc/powerpc64/start.S: here.
62508 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
62509 * sysdeps/powerpc/powerpc64/Makefile: ... this.
62510 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
62511 * sysdeps/powerpc/powerpc64/configure.in: ... this.
62512 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
62513
62514 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
62515 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
62516 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
62517 * sysdeps/powerpc/powerpc32/start.S: ... here.
62518 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
62519 * sysdeps/powerpc/powerpc32/configure.in: ... this.
62520 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
62521
62522 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
62523 * sysdeps/powerpc/ifunc-sel.h: ... here.
62524 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
62525 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
62526
62527 * sysdeps/sparc/elf/configure.in: Moved to ...
62528 * sysdeps/sparc/configure.in: ... here.
62529 * sysdeps/sparc/elf/configure: Delete file.
62530 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
62531 * sysdeps/sparc/sparc32/start.S: ... here.
62532 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
62533 * sysdeps/sparc/sparc64/start.S: ... here.
62534 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
62535 * sysdeps/sparc/sparc32/Makefile: ... this.
62536 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
62537 * sysdeps/sparc/sparc64/Makefile: ... this.
62538
62539 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
62540 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
62541 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
62542 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
62543 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
62544 * sysdeps/s390/s390-32/setjmp.S: ... here.
62545 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
62546 * sysdeps/s390/s390-32/configure.in: ... here.
62547 * sysdeps/s390/s390-32/elf/configure: Delete file.
62548 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
62549 * sysdeps/s390/s390-32/start.S: ... here.
62550
62551 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
62552 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
62553 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
62554 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
62555 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
62556 * sysdeps/s390/s390-64/setjmp.S: ... here.
62557 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
62558 * sysdeps/s390/s390-64/configure.in: ... here
62559 * sysdeps/s390/s390-64/elf/configure: Delete file.
62560 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
62561 * sysdeps/s390/s390-64/start.S: ... here.
62562 * sysdeps/s390/s390-64/elf/configure: Delete.
62563
62564 * configure.in: Remove support for elf directories in sysdeps.
62565
62566 * configure: Regenerated.
62567 * sysdeps/i386/configure: Regenerated.
62568 * sysdeps/powerpc/powerpc32/configure: Regenerated.
62569 * sysdeps/powerpc/powerpc64/configure: Regenerated.
62570 * sysdeps/s390/s390-32/configure: Regenerated.
62571 * sysdeps/s390/s390-64/configure: Regenerated.
62572 * sysdeps/sh/configure: Regenerated.
62573 * sysdeps/sparc/configure: Regenerated.
62574 * sysdeps/x86_64/configure: Regenerated.
62575
62576 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
62577
62578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62579
62580 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
62581 denormal result into account.
62582
62583 2012-03-25 Roland McGrath <roland@hack.frob.com>
62584
62585 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
62586 Reported by Allan McRae <allan@archlinux.org>.
62587
62588 2012-03-23 Jeff Law <law@redhat.com>
62589
62590 * nss/getnssent.c (__nss_getent): Fix typo.
62591
62592 2012-03-23 David S. Miller <davem@davemloft.net>
62593
62594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62595
62596 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
62597
62598 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
62599 to pad to uint64_t for each field.
62600 (dl_tls_index): Replace unsigned long with uint64_t.
62601
62602 2012-03-23 Daniel Jacobowitz <dmj@google.com>
62603 Paul Pluzhnikov <ppluzhnikov@google.com>
62604
62605 [BZ #6528]
62606 * grp/Makefile (otherlibs): Don't set it.
62607 * inet/Makefile (otherlibs): Likewise.
62608 * login/Makefile (otherlibs): Likewise.
62609 * nscd/Makefile (otherlibs): Likewise.
62610 * posix/Makefile (otherlibs): Likewise.
62611 * pwd/Makefile (otherlibs): Likewise.
62612 * rt/Makefile (otherlibs): Likewise.
62613 * sunrpc/Makefile (otherlibs): Likewise.
62614 * nss/Makefile (otherlibs): Likewise.
62615 Add libnss_files to routines and static-only-routines.
62616 ($(objpfx)getent): Remove rule.
62617 * resolv/Makefile: Add libnss_dns and libresolv to routines and
62618 static-only-routines.
62619
62620 2012-03-22 Joseph Myers <joseph@codesourcery.com>
62621
62622 [BZ #13892]
62623 * math/s_cexp.c: Include <float.h>.
62624 (__cexp): Handle exp result overflowing not necessarily
62625 overflowing both real and imaginary parts of result.
62626 * math/s_cexpf.c: Likewise.
62627 * math/s_cexpl.c: Likewise.
62628 * math/libm-test.inc (cexp_test): Add more tests.
62629 * sysdeps/i386/fpu/libm-test-ulps: Update.
62630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62631
62632 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
62633
62634 * include/link.h (ELFW): New macro.
62635 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
62636 Replace ELF64_R_TYPE with ELFW(R_TYPE).
62637
62638 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
62639
62640 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
62641 with uint64_t.
62642
62643 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
62644
62645 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
62646 declaration.
62647 (struct La_x32_retval): Likewise.
62648
62649 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
62650
62651 * sysdeps/x86_64/preconfigure.in: New file.
62652 * sysdeps/x86_64/preconfigure: New generated file.
62653
62654 2012-03-22 Joseph Myers <joseph@codesourcery.com>
62655
62656 [BZ #13824]
62657 * math/e_exp2l.c: Include <float.h>.
62658 (__ieee754_exp2l): Handle overflow and underflow cases
62659 separately. Only pass fractional part of argument to
62660 __ieee754_expl.
62661 * math/libm-test.inc (exp2_test): Add more tests.
62662
62663 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
62664 negating x to take absolute value.
62665 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
62666 Likewise.
62667 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62668 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
62669 Likewise.
62670 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
62671 computing low part if x was negated.
62672 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62673
62674 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
62675
62676 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
62677 la_x32_gnu_pltexit.
62678 (pltexit): Cast int_retval to ptrdiff_t.
62679 * elf/tst-auditmod3b.c: Likewise.
62680 * elf/tst-auditmod4b.c: Likewise.
62681 * elf/tst-auditmod5b.c: Likewise.
62682 * elf/tst-auditmod6b.c: Likewise.
62683 * elf/tst-auditmod6c.c: Likewise.
62684 * elf/tst-auditmod7b.c: Likewise.
62685
62686 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
62687 and x32_gnu_pltexit.
62688
62689 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
62690 __ELF_NATIVE_CLASS.
62691 (La_x32_regs): New macro.
62692 (La_x32_retval): Likewise.
62693 (la_x32_gnu_pltenter): New function prototype.
62694 (la_x32_gnu_pltexit): Likewise.
62695
62696 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
62697
62698 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
62699 exponent.
62700
62701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62702
62703 * configure.in (libc_cv_cc_nofma): Check for option to disable
62704 generation of FMA instructions.
62705 * configure: Regenerate.
62706 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
62707 * sysdeps/ieee754/dbl-64/Makefile: New file.
62708 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
62709 Remove brandred-fma4.
62710 (CFLAGS-brandred-fma4.c): Remove.
62711 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
62712 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
62713 define.
62714 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
62715 define.
62716
62717 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
62718
62719 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62720 LLONG_MAX != LONG_MAX.
62721 (_itoa_word): Use _ITOA_WORD_TYPE on value.
62722 (_fitoa_word): Likewise.
62723 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
62724 LLONG_MAX != LONG_MAX.
62725 * stdio-common/_itowa.h: Include <_itoa.h>.
62726 (_itowa_word): Use _ITOA_WORD_TYPE on value.
62727 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
62728 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
62729 only if not defined.
62730 (_ITOA_WORD_TYPE): Likewise.
62731 (_itoa_word): Use _ITOA_WORD_TYPE on value.
62732 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
62733
62734 2012-03-21 David S. Miller <davem@davemloft.net>
62735
62736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62737
62738 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
62739
62740 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
62741 of x86_64 when setting libc_cv_slibdir, libdir and
62742 libc_cv_localedir.
62743 * sysdeps/unix/sysv/linux/configure: Regenerated.
62744
62745 2012-03-21 Joseph Myers <joseph@codesourcery.com>
62746
62747 * manual/lang.texi (Old Varargs): Remove section.
62748 (How Variadic): Update menu.
62749 (va_start): Do not mention varargs.h.
62750
62751 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
62752 Joseph Myers <joseph@codesourcery.com>
62753
62754 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
62755 link test.
62756 * configure: Regenerated.
62757
62758 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
62759
62760 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
62761 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
62762 conformtest.pl
62763
62764 2012-03-21 Joseph Myers <joseph@codesourcery.com>
62765
62766 * NOTES: Remove.
62767 * Makefile (files-for-dist): Remove NOTES.
62768 (NOTES): Remove rule.
62769 * README: Don't refer to NOTES.
62770 * manual/creature.texi: Don't include macros.texi.
62771 * manual/intro.texi (creature.texi): Remove comment referring to
62772 NOTES.
62773
62774 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
62775 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
62776 * configure: Regenerated.
62777 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
62778 LIBC_TRY_CC_OPTION.
62779 (libc_cv_as_i686): Likewise.
62780 (libc_cv_cc_avx): Likewise.
62781 (libc_cv_cc_sse2avx): Likewise.
62782 (libc_cv_cc_fma4): Likewise.
62783 (libc_cv_cc_novzeroupper): Likewise.
62784 * sysdeps/i386/configure: Regenerated.
62785
62786 [BZ #13883]
62787 * sysdeps/i386/fpu/s_cexp.S: Remove.
62788 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62789 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62790 * math/libm-test.inc (cexp_test): Add more tests.
62791 * sysdeps/i386/fpu/libm-test-ulps: Update.
62792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62793
62794 2012-03-21 Allan McRae <allan@archlinux.org>
62795
62796 * timezone/Makefile: Do not install iso3166.tab and zone.tab
62797
62798 2012-03-21 Joseph Myers <joseph@codesourcery.com>
62799
62800 [BZ #13871]
62801 * math/w_exp2.c: Do not include <float.h>.
62802 (o_threshold, u_threshold): Remove.
62803 (__exp2): Calculate result before checking finiteness and calling
62804 __kernel_standard.
62805 * math/w_exp2f.c: Likewise.
62806 * math/w_exp2l.c: Likewise.
62807 * math/libm-test.inc (exp2_test): Require overflow exception for
62808 1e6 input.
62809
62810 [BZ #3866]
62811 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
62812 range of signed 64-bit integers before using fistpll. Remove
62813 checks for whether integers fit in mantissa bits.
62814 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
62815 the range of signed 32-bit integers before using fistpl. Remove
62816 checks for whether integers fit in mantissa bits.
62817 * sysdeps/i386/fpu/e_powl.S (p64): New object.
62818 (__ieee754_powl): Test for y outside the range of signed 64-bit
62819 integers before using fistpll. Reduce 64-bit values to 63-bit
62820 ones as needed.
62821 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
62822 divide-by-zero is raised for zero to large negative powers.
62823 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
62824 (__ieee754_powl): Test for y outside the range of signed 64-bit
62825 integers before using fistpll. Reduce 64-bit values to 63-bit
62826 ones as needed.
62827 * math/libm-test.inc (pow_test): Add more tests.
62828
62829 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
62830
62831 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
62832 <stdio-common/_itoa.h>.
62833 * debug/segfault.c: Likewise.
62834 * elf/dl-cache.c: Likewise.
62835 * elf/dl-minimal.c: Likewise.
62836 * elf/dl-misc.c: Likewise.
62837 * elf/dl-sysdep.c: Likewise.
62838 * elf/dl-version.c: Likewise.
62839 * elf/rtld.c: Likewise.
62840 * hurd/hurdsock.c: Likewise.
62841 * hurd/lookup-retry.c: Likewise.
62842 * malloc/malloc.c: Likewise.
62843 * malloc/mtrace.c: Likewise.
62844 * nscd/nscd_getgr_r.c: Likewise.
62845 * nscd/nscd_getpw_r.c: Likewise.
62846 * nscd/nscd_getserv_r.c: Likewise.
62847 * posix/getopt_init.c: Likewise.
62848 * posix/wordexp.c: Likewise.
62849 * stdio-common/_itoa.c: Likewise.
62850 * stdio-common/printf_fphex.c: Likewise.
62851 * stdio-common/vfprintf.c: Likewise.
62852 * string/_strerror.c: Likewise.
62853 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
62854 * sysdeps/i386/i686/hp-timing.h: Likewise.
62855 * sysdeps/mach/_strerror.c: Likewise.
62856 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
62857 * sysdeps/mach/hurd/sethostid.c: Likewise.
62858 * sysdeps/mach/hurd/xmknodat.c: Likewise.
62859 * sysdeps/mach/xpg-strerror.c: Likewise.
62860 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62861 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62862 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
62863 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
62864 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62865 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
62866 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
62867 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
62868 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
62869 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
62870 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
62871 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62872 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
62873 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62874 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62875 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
62876 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
62877 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
62878 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
62879 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
62880 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
62881
62882 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
62883
62884 * stdio-common/_itoa.h: Moved to ...
62885 * sysdeps/generic/_itoa.h: Here.
62886
62887 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
62888
62889 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
62890 instead of "_itoa.h" and "_itowa.h".
62891 * stdio-common/vfprintf.: Likewise.
62892
62893 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
62894
62895 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
62896 <bits/wordsize.h>.
62897 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
62898 (__signbit): Likwise.
62899 (llrintf): Likwise.
62900 (llrint): Likwise.
62901
62902 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
62903
62904 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
62905 __WORDSIZE != 64.
62906
62907 2012-03-20 Joseph Myers <joseph@codesourcery.com>
62908
62909 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
62910 OVERFLOW_EXCEPTION_OK.
62911 * math/libm-test.inc ("Philosophy"): Update comment about
62912 exception testing.
62913 (OVERFLOW_EXCEPTION): Define.
62914 (OVERFLOW_EXCEPTION_OK): Likewise.
62915 (INVALID_EXCEPTION_OK): Renumber.
62916 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62917 (IGNORE_ZERO_INF_SIGN): Likewise.
62918 (test_exceptions): Handle FE_OVERFLOW.
62919 (exp10_test): Expect overflow exceptions.
62920 (exp2_test): Likewise.
62921 (expm1_test): Likewise.
62922 (nextafter_test): Likewise.
62923 (pow_test): Likewise.
62924 (scalbn_test): Likewise.
62925 (scalbln_test): Likewise.
62926
62927 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62928
62929 * sysdeps/x86_64/bits/atomic.h
62930 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
62931 64bit integer.
62932 (atomic_exchange_acq): Likewise.
62933 (__arch_exchange_and_add_body): Likewise.
62934 (__arch_add_body): Likewise.
62935 (atomic_add_negative): Likewise.
62936 (atomic_add_zero): Likewise.
62937
62938 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62939
62940 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
62941 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
62942
62943 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62944
62945 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
62946 Check __x86_64__ instead of __WORDSIZE.
62947
62948 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62949
62950 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
62951
62952 2012-03-19 David S. Miller <davem@davemloft.net>
62953
62954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62955
62956 * sysdeps/sparc/fpu/fenv_private.h: New file.
62957 * sysdeps/sparc/fpu/math_private.h: Use it.
62958 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
62959 Remove.
62960 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
62961 (libc_feholdexcept_setroundl): Remove.
62962 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
62963 Remove.
62964 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
62965 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
62966
62967 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62968
62969 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
62970 int64_t instead of long int.
62971 (INSERT_WORDS64): Likwise.
62972
62973 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62974
62975 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
62976 _Unwind_GetCFA return to _Unwind_Ptr first.
62977
62978 2012-03-19 Joseph Myers <joseph@codesourcery.com>
62979
62980 [BZ #13629]
62981 * math/s_clog.c: Include <float.h>.
62982 (__clog): Scale large or subnormal inputs.
62983 * math/s_clogf.c: Likewise.
62984 * math/s_clogl.c: Likewise.
62985 * math/s_clog10.c: Include <float.h>.
62986 (M_LOG10_2): Define.
62987 (__clog10): Scale large or subnormal inputs.
62988 * math/s_clog10f.c: Likewise.
62989 * math/s_clog10l.c: Likewise.
62990 * math/libm-test.inc (clog_test): Add more tests.
62991 (clog10_test): Likewise.
62992 * sysdeps/i386/fpu/libm-test-ulps: Update.
62993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62994
62995 [BZ #11451]
62996 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
62997 x and y.
62998 * math/libm-test.inc (atan2_test): Add another test.
62999
63000 * Makerules (common-objdir-compile): Remove.
63001 * sysdeps/unix/Makefile (config-generated): Do not add
63002 $(unix-generated) to variable.
63003 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
63004 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
63005 Remove rule.
63006 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
63007 Likewise.
63008 [generic bits/local_lim.h] (before-compile): Do not append to
63009 variable.
63010 [generic bits/local_lim.h] (common-generated): Likewise.
63011 [generic sys/param.h] (before-compile): Do not append to variable.
63012 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
63013 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
63014 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
63015 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
63016 include.
63017 [generic sys/param.h] (sys/param.h-includes): Remove variable.
63018 [generic sys/param.h] (sys/param.h-includes): Remove rule.
63019 [generic sys/param.h] ($(addprefix
63020 $(common-objpfx),$(sys/param.h-includes))): Likewise.
63021 [generic sys/param.h] (common-generated): Do not append to
63022 variable.
63023 [generic sys/param.h] (sysdep_headers): Likewise.
63024 [generic bits/errno.h] (before-compile): Do not append to
63025 variable.
63026 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
63027 rule.
63028 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
63029 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
63030 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
63031 [generic bits/errno.h] (common-generated): Do not append to
63032 variable.
63033 [generic bits/ioctls.h] (before-compile): Do not append to
63034 variable.
63035 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
63036 rule.
63037 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
63038 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
63039 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
63040 rule.
63041 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
63042 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
63043 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
63044 [generic bits/ioctls.h] (common-generated): Do not append to
63045 variable.
63046 [generic sys/syscall.h] (syscall.h): Remove variable.
63047 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
63048 rule.
63049 [generic sys/syscall.h] (before-compile): Do not append to
63050 variable.
63051 [generic sys/syscall.h] (common-generated): Likewise.
63052 * sysdeps/unix/errnos-tmpl.c: Remove file.
63053 * sysdeps/unix/errnos.awk: Likewise.
63054 * sysdeps/unix/ioctls-tmpl.c: Likewise.
63055 * sysdeps/unix/ioctls.awk: Likewise.
63056 * sysdeps/unix/mk-local_lim.c: Likewise.
63057 * sysdeps/unix/snarf-ioctls: Likewise.
63058
63059 2012-03-19 Richard Henderson <rth@twiddle.net>
63060
63061 * sysdeps/i386/fpu/fenv_private.h: New file.
63062 * sysdeps/i386/fpu/math_private.h: Use it.
63063 (math_opt_barrier, math_force_eval): Remove.
63064 (libc_feholdexcept_setround_53bit): Remove.
63065 (libc_feupdateenv_53bit): Remove.
63066 * sysdeps/x86_64/fpu/math_private.h: Likewise.
63067 (math_opt_barrier, math_force_eval): Remove.
63068 (libc_feholdexcept): Remove.
63069 (libc_feholdexcept_setround): Remove.
63070 (libc_fetestexcept, libc_fesetenv): Remove.
63071 (libc_feupdateenv_test): Remove.
63072 (libc_feupdateenv, libc_feholdsetround): Remove.
63073 (libc_feresetround): Remove.
63074
63075 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
63076 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
63077
63078 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
63079 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
63080 (libc_feupdateenv_testl): New.
63081 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
63082 (libc_feupdateenv_testf): New.
63083 (libc_feupdateenv): Use libc_feupdateenv_test.
63084 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
63085 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
63086
63087 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
63088 (libc_feholdsetroundf, libc_feholdsetroundl): New.
63089 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
63090 (libc_feresetround_noex): New.
63091 (libc_feresetround_noexf): New.
63092 (libc_feresetround_noexl): New.
63093 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
63094 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
63095 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
63096 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
63097 SET_RESTORE_ROUND.
63098 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63099 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
63100 (__cos): Likewise.
63101 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
63102 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
63103 SET_RESTORE_ROUND_NOEX.
63104 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
63105 SET_RESTORE_ROUND_NOEXF.
63106 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
63107 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
63108 (libc_feholdsetroundf): New.
63109 (libc_feresetround, libc_feresetroundf): New.
63110
63111 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
63112 (libc_feholdexcept_setround_53bit): Convert from macro to function.
63113 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
63114
63115 * sysdeps/generic/math_private.h: Include <fenv.h>.
63116 (default_libc_feholdexcept): New.
63117 (default_libc_feholdexcept_setround): New.
63118 (default_libc_fesetenv, default_libc_feupdateenv): New.
63119 (libc_feholdexcept): Only define if undefined.
63120 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
63121 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
63122 (libc_feholdexcept_setroundl): Likewise.
63123 (libc_feholdexcept_setround_53bit): Likewise.
63124 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
63125 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
63126 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
63127 (libc_feupdateenv_53bit): Likewise.
63128 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
63129 (libc_feholdexcept): Convert from macro to inline function.
63130 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
63131 (libc_fesetenv, libc_feupdateenv): Likewise.
63132
63133 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
63134 not previously defined.
63135 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
63136 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
63137 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
63138 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
63139 * sysdeps/ieee754/flt-32/math_private.h: New file.
63140 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
63141 math_private.h below SET_FLOAT_WORD.
63142 (__isnan, __isinf_ns, __finite): Remove.
63143 (__isnanf, __isinf_nsf, __finitef): Remove.
63144
63145 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
63146
63147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63148
63149 2012-03-17 David S. Miller <davem@davemloft.net>
63150
63151 [BZ #6471]
63152 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
63153 for 2.16.
63154
63155 2012-03-16 David S. Miller <davem@davemloft.net>
63156
63157 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
63158 warnings.
63159
63160 [BZ #6471]
63161 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
63162 properly.
63163 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
63164 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
63165 sysdep_routines when subdir is sysvipc.
63166 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
63167 __getshmlba helper.
63168
63169 * sysdeps/sparc/fpu/libm-test/ulps: Update.
63170
63171 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
63172
63173 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
63174 [__LP64__].
63175
63176 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
63177
63178 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
63179 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
63180 (__lround): Renamed to ...
63181 (__llround): This. Replace long int with long long int.
63182 Define lround functions as aliases of llround functions.
63183 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
63184
63185 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
63186
63187 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
63188 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
63189 adresses to uintptr_t. Replace "long int" and "unsigned long
63190 int" with "greg_t" on va_arg.
63191
63192 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
63193
63194 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
63195 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
63196
63197 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
63198 Move e_machine check before EI_CLASS check. Handle x32
63199 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
63200 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
63201 SKIP_EM_IA_64 and include
63202 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
63203
63204 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
63205 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
63206 (add_system_dir): New macro.
63207
63208 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
63209 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
63210
63211 2012-03-16 Joseph Myers <joseph@codesourcery.com>
63212
63213 [BZ #2551]
63214 [BZ #2552]
63215 [BZ #2553]
63216 [BZ #2554]
63217 [BZ #2562]
63218 [BZ #2563]
63219 [BZ #2565]
63220 [BZ #2566]
63221 [BZ #2576]
63222 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
63223 (y0): Likewise.
63224 * math/w_j0f.c (j0f): Likewise.
63225 (y0f): Likewise.
63226 * math/w_j0l.c (__j0l): Likewise.
63227 (__y0l): Likewise.
63228 * math/w_j1.c (j1): Likewise.
63229 (y1): Likewise.
63230 * math/w_j1f.c (j1f): Likewise.
63231 (y1f): Likewise.
63232 * math/w_j1l.c (__j1l): Likewise.
63233 (__y1l): Likewise.
63234 * math/w_jn.c (jn): Likewise.
63235 (yn): Likewise.
63236 * math/w_jnf.c (jnf): Likewise.
63237 (ynf): Likewise.
63238 * math/w_jnl.c (__jnl): Likewise.
63239 (__ynl): Likewise.
63240 * math/libm-test.inc (j0_test): Add more tests.
63241 (j1_test): Likewise.
63242 (jn_test): Likewise. Add trailing semicolon to existing test.
63243 (y0_test): Likewise.
63244 (y1_test): Likewise.
63245 * sysdeps/i386/fpu/libm-test-ulps: Update.
63246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63247
63248 [BZ #13851]
63249 [BZ #13854]
63250 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
63251 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
63252 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
63253 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
63254 (__tanl): Set errno for infinite argument.
63255 * sysdeps/i386/fpu/mptan.c: Remove.
63256 * sysdeps/i386/fpu/s_tan.S: Likewise.
63257 * sysdeps/i386/fpu/s_tanl.S: Likewise.
63258 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
63259 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
63260 * math/libm-test.inc (tan_test): Add more tests and enable more
63261 tests for double and long double.
63262 * sysdeps/i386/fpu/libm-test-ulps: Update.
63263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63264
63265 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
63266
63267 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
63268 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
63269
63270 2012-03-16 Roland McGrath <roland@hack.frob.com>
63271
63272 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
63273 * configure.in: Use it for both main tree and add-ons.
63274 * configure: Regenerated.
63275
63276 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
63277
63278 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
63279
63280 2012-03-16 Joseph Myers <joseph@codesourcery.com>
63281
63282 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
63283 in comment.
63284
63285 [BZ #13851]
63286 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
63287 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
63288 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
63289 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
63290 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
63291 infinite argument.
63292 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
63293 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
63294 != 0 for prec == 2.
63295 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
63296 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
63297 * sysdeps/i386/fpu/s_cosl.S: Likewise.
63298 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
63299 * sysdeps/i386/fpu/s_sinl.S: Likewise.
63300 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
63301 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
63302 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
63303 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
63304 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
63305 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
63306 * math/libm-test.inc (cos_test): Add more tests and enable more
63307 tests for long double.
63308 (sin_test): Likewise.
63309 (sincos_test): Likewise.
63310 * sysdeps/i386/fpu/libm-test-ulps: Update.
63311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63312
63313 2012-03-16 David S. Miller <davem@davemloft.net>
63314
63315 * sysdeps/sparc/fpu/math_private.h: New file.
63316
63317 2012-03-15 David S. Miller <davem@davemloft.net>
63318
63319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
63320 file.
63321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
63322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
63323 file.
63324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
63325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
63326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
63327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
63328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
63329 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
63330 sysdep routines.
63331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63332
63333 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
63334 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
63335
63336 * sysdeps/sparc/sparc-ifunc.h: New file.
63337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
63338 sparc-ifunc.h
63339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
63341 Likewise.
63342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
63343 Likewise.
63344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
63345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
63346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63348 Likewise.
63349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
63351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
63353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
63354 Likewise.
63355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
63356 Likewise.
63357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
63359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
63360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
63361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63362 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63363 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
63364 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
63365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
63368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
63369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
63370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
63371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
63372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
63373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
63374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
63375 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
63376 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
63377 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
63378 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
63379 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
63380 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
63381
63382 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
63383
63384 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
63385 scaling.
63386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63387
63388 2012-03-15 Andreas Jaeger <aj@suse.de>
63389
63390 [BZ #13852]
63391 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
63392 ieee754/flt-32 implementation for sin, cos and sincos.
63393 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
63394 * sysdeps/i386/fpu/s_cosf.S: Likewise.
63395 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
63396 * sysdeps/i386/fpu/s_sinf.S: Likewise.
63397 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
63398 ieee754/flt-32 implementation for tan.
63399
63400 * math/libm-test.inc (cos_test): Enable some large input tests for
63401 float as well
63402 (sin_test): Likewise.
63403 (sincos_test): Likewise.
63404 (tan_test): Add tests for large input.
63405
63406 * sysdeps/i386/fpu/libm-test-ulps: Update.
63407
63408 2012-03-15 Andreas Jaeger <aj@suse.de>
63409
63410 [BZ #13658]
63411 * math/libm-test.inc (cos_test): Add more test cases.
63412 (sin_test): Likewise.
63413 (sincos_test): Likewise.
63414
63415 2012-03-15 Andreas Jaeger <aj@suse.de>
63416
63417 [BZ #13837]
63418 * math/libm-test.inc (cos_test): Add a test case for large input
63419 value.
63420 (sin_test): Likewise.
63421 (sincos_test): Likewise.
63422
63423 2012-03-15 Andreas Jaeger <aj@suse.de>
63424 Joseph Myers <joseph@codesourcery.com>
63425
63426 [BZ #13658]
63427 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
63428 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
63429 * sysdeps/i386/fpu/branred.c: Likewise.
63430 * sysdeps/i386/fpu/dosincos.c: Likewise.
63431 * sysdeps/i386/fpu/mpa.c: Likewise.
63432 * sysdeps/i386/fpu/s_cos.S: Likewise.
63433 * sysdeps/i386/fpu/s_sin.S: Likewise.
63434 * sysdeps/i386/fpu/s_sincos.S: Likewise.
63435 * sysdeps/i386/fpu/sincos32.c: Likewise.
63436
63437 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
63438 Define.
63439 (libc_feupdateenv_53bit): Define.
63440 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
63441 Define.
63442 (libc_feupdateenv_53bit): Define.
63443
63444 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
63445 53 bit (without extend i386 double precision).
63446
63447 * math/libm-test.inc (sincos_test): Add tests for large input.
63448 (sin): Likewise.
63449 (cos): Likewise.
63450
63451 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
63452
63453 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
63454
63455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63456
63457 2012-03-15 David S. Miller <davem@davemloft.net>
63458
63459 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
63460 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
63461 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
63462 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
63463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
63464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
63465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
63466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
63467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
63468 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
63469 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
63470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
63471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
63472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
63473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
63474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
63475 file.
63476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
63477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
63478 file.
63479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
63480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
63481 file.
63482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
63483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
63484 file.
63485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
63486 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
63487 fmin/fmax sysdep routines.
63488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63489
63490 2012-03-14 David S. Miller <davem@davemloft.net>
63491
63492 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
63493 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
63494 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
63495 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
63496 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
63497 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
63498 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
63499 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
63500 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
63501 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
63502 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
63503 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
63504 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
63505 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
63506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
63507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
63508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
63509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
63510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
63511 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
63512 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
63513 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
63514 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
63515 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
63516 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
63517 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
63518 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
63519 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
63520 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
63521 routines.
63522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
63523 file.
63524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
63525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
63526 file.
63527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
63528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
63529 file.
63530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
63531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
63532 file.
63533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
63534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
63535 file.
63536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
63537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
63538 file.
63539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
63540 file.
63541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
63542 file.
63543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
63544 file.
63545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
63546 New file.
63547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
63548 file.
63549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
63550 file.
63551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
63552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
63553 file.
63554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
63555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
63556 file.
63557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
63558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
63559 file.
63560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
63561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
63562 VIS3 routines.
63563
63564 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63565 New file.
63566
63567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63568
63569 * sysdeps/sparc/configure.in: New file.
63570 * sysdeps/sparc/configure: Generate.
63571 * configure.in (libc_cv_sparc_as_vis3): Substitute.
63572 * configure: Regenerate.
63573 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
63574 * config.make.in (have-as-vis3): New.
63575 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
63576 available use -Av9d instead of -Av9a.
63577 * sysdeps/sparc/sparc64/Makefile: Likewise.
63578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
63579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
63580 New file.
63581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
63582 file.
63583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
63584 New file.
63585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
63586 file.
63587 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
63588 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
63589 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
63590 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
63591 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
63592
63593 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
63594 fzeros/fnegs to load 0x80000000 into a float register instead of
63595 using the stack.
63596 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
63597
63598 2012-03-14 Joseph Myers <joseph@codesourcery.com>
63599
63600 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63601 bits/syscall.h.
63602 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
63603 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
63604 ($(inst_includedir)/bits/syscall.h): Remove rule.
63605 ($(objpfx)bits/syscall.d): Include instead of
63606 $(objpfx)syscall-list.d.
63607 (generated): Change syscall-list.h and syscall-list.d to
63608 bits/syscall.h and bits/syscall.d.
63609
63610 2012-03-14 Roland McGrath <roland@hack.frob.com>
63611
63612 [BZ #13846]
63613 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
63614
63615 2012-03-14 Joseph Myers <joseph@codesourcery.com>
63616
63617 [BZ #13841]
63618 * math/s_csqrt.c: Include <float.h>.
63619 (__csqrt): Scale large or subnormal inputs.
63620 * math/s_csqrtf.c: Likewise.
63621 * math/s_csqrtl.c: Likewise.
63622 * math/libm-test.inc (csqrt_test): Add more tests.
63623 * sysdeps/i386/fpu/libm-test-ulps: Update.
63624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63625
63626 [BZ #13840]
63627 * math/libm-test.inc (hypot_test): Add more tests.
63628
63629 2012-03-13 David S. Miller <davem@davemloft.net>
63630
63631 [BZ #13840]
63632 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
63633 double-precision for the calculation instead of scaling.
63634
63635 2012-03-13 Joseph Myers <joseph@codesourcery.com>
63636
63637 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
63638 manipulate bits before adding and subtracting TWO52[sx].
63639 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
63640 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
63641 Likewise.
63642 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
63643
63644 2012-03-13 David S. Miller <davem@davemloft.net>
63645
63646 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
63647 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
63648 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
63649 rtld-global-offsets.h
63650 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63651
63652 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
63653 large parameters.
63654
63655 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
63656
63657 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
63658 'err' in the ifdef scope in which it is actually used.
63659
63660 * nss/nss_db/db-init.c: Include string.h
63661
63662 2012-03-12 David S. Miller <davem@davemloft.net>
63663
63664 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63665 masking out of the most significant byte of random value used.
63666 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63667 Fix coding style in previous change.
63668
63669 * sysdeps/unix/sysv/linux/kernel-features.h
63670 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
63671 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
63672 expression.
63673 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
63674 later.
63675
63676 2012-03-11 David S. Miller <davem@davemloft.net>
63677
63678 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63679 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
63680 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
63681 for 'resultvar' otherwise things get truncated on 64-bit.
63682
63683 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63684 Fix masking out of the most significant byte of random value used.
63685
63686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63687
63688 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
63689
63690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63691
63692 2012-03-09 David S. Miller <davem@davemloft.net>
63693
63694 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
63695 variables with appropriate CPP guards.
63696 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
63697 from the frame pointer, not the stack pointer. Correct layout
63698 comments. Fix test on resulting framesize and the management of
63699 the outregs buffer for pltexit. Preserve floating point return
63700 values across _dl_call_pltexit call.
63701 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
63702 framesize and the management of the outregs buffer for pltexit.
63703 Preserve floating point return values across _dl_call_pltexit
63704 call.
63705 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
63706 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
63707 (la_sparc64_gnu_pltexit): New functions.
63708 (print_exit): Fix format string for return register value.
63709
63710 2012-03-10 Joseph Myers <joseph@codesourcery.com>
63711
63712 * sunrpc/Makefile (others): Add rpcgen.
63713 ($(objpfx)rpcgen): Remove special build rule and dependency on
63714 libc.
63715 * sunrpc/rpcgen.c: New file.
63716
63717 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
63718
63719 [BZ #13673]
63720 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
63721 * stdio-common/bug-vfprintf-nargs.c: Likewise.
63722 * sysdeps/i386/crti.S: Likewise.
63723 * sysdeps/i386/crtn.S: Likewise.
63724 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
63725 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
63726 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
63727 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
63728 * sysdeps/sh/crti.S: Likewise.
63729 * sysdeps/sh/crtn.S: Likewise.
63730 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63731
63732 [BZ #13673]
63733 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
63734 with URL.
63735 * locale/programs/locfile-kw.gperf: Likewise.
63736 * locale/programs/charmap-kw.h: Regenerated.
63737 * locale/programs/locfile-kw.h: Likewise.
63738
63739 [BZ #13673]
63740 * intl/plural.y: Replace FSF snail mail address with URL.
63741 * intl/plural.c: Regenerated.
63742
63743 2012-03-09 Richard Henderson <rth@twiddle.net>
63744
63745 * include/math_private.h: Remove file.
63746 * math/math_private.h: Move file ...
63747 * sysdeps/generic/math_private.h: ... here.
63748
63749 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
63750 * sysdeps/powerpc/fpu/math_private.h: Likewise.
63751 * sysdeps/x86_64/fpu/math_private.h: Likewise.
63752
63753 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
63754 and <math_private.h>.
63755 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63756 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63757 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63758 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63759 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63760 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
63761 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63762 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63763 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63764 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63765 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63766 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63767 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63768 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63769 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63770 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63771 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63772 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63773 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63774 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63776 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63777 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63778 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63779 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
63780 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63781 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63782 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63783 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63784 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63785 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63786 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63787 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
63788 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63789 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63790 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63791 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63792 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63793 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63794 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63795 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
63796 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63797 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63798 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
63799 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
63800 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63801 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
63802 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
63803 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63804 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63805 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
63806 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
63807 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
63808 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63809 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
63810 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63811 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63812 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
63813 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63814 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
63815 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63816 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
63817 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63818 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63819 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
63820 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63821 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63822 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63823 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
63824 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
63825 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63826 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63827 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63828 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63829 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
63830 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
63831 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
63832 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63833 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
63834 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
63835 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63836 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
63837 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63838 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63839 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63840 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
63841 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
63842 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
63843 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63844 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63845 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63846 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63847 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63848 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63849 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63850 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63851 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63852 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63853 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63854 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63855 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63856 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63857 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63858 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63859 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63860 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63861 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63862 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63863 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63864 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63865 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63866 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63867 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63868 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63869 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
63870 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63871 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63872 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63873 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63874 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63875 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63876 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63877 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63878 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
63879 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63880 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63881 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63882 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
63883 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63884 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
63885 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
63886 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63887 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63888 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
63889 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
63890 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63891 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63892 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63893 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
63894 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63895 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63896 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63897 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63898 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
63899 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
63900 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63901 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63902 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63903 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
63904 * sysdeps/ieee754/k_standard.c: Likewise.
63905 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63906 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63907 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63908 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63909 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63910 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63911 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63912 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63913 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63914 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63915 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63916 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63917 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63918 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63919 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63920 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63921 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63922 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63923 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63924 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
63925 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
63926 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
63927 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63928 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63929 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63930 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
63931 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63932 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63933 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63934 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63935 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63936 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63937 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63938 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63939 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63940 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63941 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63942 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
63943 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
63944 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63945 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63946 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63947 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63948 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63949 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63950 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63951 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63952 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63953 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63954 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63955 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63956 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63957 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63958 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
63959 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63960 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63961 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
63962 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
63963 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63964 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63965 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63966 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63967 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63968 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63969 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63970 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63971 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63972 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63973 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63974 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63975 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63976 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63977 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63978 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63979 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63980 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63981 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
63982 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63983 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63984 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63985 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63986 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63987 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63988 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63989 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
63990 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63991 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63992 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
63993 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63994 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63995 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
63996 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63997 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
63998 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63999 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64000 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64001 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
64002 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
64003 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
64004 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
64005 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64006 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64007 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64008 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64009 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
64010 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64011 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64012 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
64013 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
64014 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64015 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64016 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64017 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
64018 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64019 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
64020 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64021 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
64022 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64023 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64024 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
64025 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64026 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
64027 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
64028 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
64029 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64030 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
64031 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64032 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64033 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64034 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64035 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64036 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64037 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64038 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
64039 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64040 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64041 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
64042 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
64043 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64044 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
64045 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
64046 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64047 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
64048 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
64049 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64050 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64051 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64052 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64053 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64054 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
64055 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64056 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64057 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64058 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64059 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
64060 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
64061 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64062 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64063 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64064 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
64065 * sysdeps/ieee754/s_lib_version.c: Likewise.
64066 * sysdeps/ieee754/s_matherr.c: Likewise.
64067 * sysdeps/ieee754/s_signgam.c: Likewise.
64068 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64069 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64070 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
64071 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
64072 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
64073 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64074 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
64075 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
64076 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
64077 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
64078 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64079 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
64080 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64081 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64082 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
64083 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64084 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64085 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64086 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64087 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64088 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64089
64090 2012-03-09 Joseph Myers <joseph@codesourcery.com>
64091
64092 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
64093 * sunrpc/rpc_main.c: Likewise.
64094 * sunrpc/rpc_svcout.c: Likewise.
64095
64096 2012-03-09 David S. Miller <davem@davemloft.net>
64097
64098 * include/math_private.h: New file.
64099
64100 2012-03-09 Joseph Myers <joseph@codesourcery.com>
64101
64102 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
64103 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
64104 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
64105 from <bits/socket_type.h>.
64106 (enum __socket_type): Don't define here.
64107 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
64108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64109 bits/socket_type.h.
64110
64111 [BZ #13566]
64112 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
64113 checking __USE_GNU.
64114
64115 * Makerules ($(inst_includedir)/%.h): New rule.
64116 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
64117 (install-others): Remove variable setting.
64118 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
64119
64120 2012-03-08 Richard Henderson <rth@twiddle.net>
64121
64122 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
64123 from macro to inline function; merge with the
64124 !__LIBC_INTERNAL_MATH_INLINES version.
64125 (__ieee754_sqrtf): Likewise.
64126
64127 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
64128 to inline function.
64129 (__rintf, __floor, __floorf): Likewise.
64130
64131 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
64132 macro to inline function.
64133 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
64134
64135 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
64136 not <math/math_private.h>.
64137
64138 2012-03-08 David S. Miller <davem@davemloft.net>
64139
64140 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
64141 copyright year.
64142 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
64143
64144 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
64145
64146 * resolv/gai_misc.c (handle_requests): Fix struct timespec
64147 normalization.
64148 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
64149 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
64150
64151 2012-03-08 Ulrich Drepper <drepper@gmail.com>
64152
64153 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
64154 be defined individually, they must be defined as a block. Define
64155 S for printing a string instead of hidint the different by using a
64156 macro for adding the 'l'.
64157 * stdio-common/tst-fphex-wide.c: Adjust.
64158
64159 2012-03-07 Marek Polacek <polacek@redhat.com>
64160
64161 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
64162
64163 2012-03-08 Marek Polacek <polacek@redhat.com>
64164
64165 [BZ #13806]
64166 * stdio-common/Makefile (tests): Add tst-fphex-wide.
64167 * stdio-common/tst-fphex.c: Define a few macros to make the
64168 test reusable. Use them.
64169 * stdio-common/tst-fphex-wide.c: New file.
64170
64171 2012-03-08 Joseph Myers <joseph@codesourcery.com>
64172
64173 [BZ #6911]
64174 * manual/macros.texi (gnusystems): New macro.
64175 (nongnusystems): Likewise.
64176 (gnulinuxhurdsystems): Likewise.
64177 (gnuhurdsystems): Likewise..
64178 (gnulinuxsystems): Likewise.
64179 * manual/charset.texi: Use new macros or @theglibc{} to refer to
64180 variants of the GNU system, not "GNU system".
64181 * manual/conf.texi: Likewise.
64182 * manual/errno.texi: Likewise. Update example of errno macro
64183 expansion.
64184 * manual/filesys.texi: Likewise.
64185 (getumask): Document as specific to GNU/Hurd.
64186 * manual/install.texi: Likewise. Reword some references to
64187 GNU/Linux.
64188 * manual/intro.texi: Likewise.
64189 * manual/io.texi: Likewise.
64190 (File Name Portability): Detail which constraints are inapplicable
64191 to all GNU systems and which are only inapplicable to GNU/Hurd.
64192 * manual/job.texi: Likewise.
64193 * manual/llio.texi: Likewise.
64194 (O_NOCTTY): Document as present on GNU/Linux.
64195 * manual/maint.texi: Likewise.
64196 * manual/memory.texi: Likewise.
64197 * manual/pattern.texi: Likewise.
64198 * manual/pipe.texi: Likewise.
64199 * manual/process.texi: Likewise.
64200 * manual/resource.texi: Likewise.
64201 (RUSAGE_CHILDREN): Remove statement about specifying a particular
64202 child on GNU/Hurd.
64203 * manual/setjmp.texi: Likewise.
64204 * manual/signal.texi: Likewise.
64205 * manual/startup.texi: Likewise.
64206 * manual/stdio.texi: Likewise.
64207 * manual/terminal.texi: Likewise.
64208 (ONLCR): Document as POSIX.
64209 (OXTABS): Document availability on GNU/Linux as XTABS.
64210 (ONOEOT): Document availability separately from other bits.
64211 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
64212 * manual/time.texi: Likewise.
64213 * manual/users.texi: Likewise.
64214 * INSTALL: Regenerated.
64215 * sysdeps/gnu/errlist.c: Regenerated.
64216
64217 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
64218 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
64219 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
64220 puts.
64221 * configure: Regenerated.
64222
64223 2012-03-07 Joseph Myers <joseph@codesourcery.com>
64224
64225 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
64226 default includes instead of AC_HEADER_CHECK.
64227 * sysdeps/i386/configure: Regenerated.
64228
64229 [BZ #10716]
64230 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
64231 * math/s_cacoshf.c (__cacoshf): Likewise.
64232 * math/s_cacoshl.c (__cacoshl): Likewise.
64233 * math/s_casinh.c (__casinh): Set signs of result from argument.
64234 * math/s_casinhf.c (__casinhf): Likewise.
64235 * math/s_casinhl.c (__casinhl): Likewise.
64236 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
64237 (casinh_test): Add more tests.
64238 * sysdeps/i386/fpu/libm-test-ulps: Update.
64239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64240
64241 2012-03-07 Ulrich Drepper <drepper@gmail.com>
64242
64243 * po/zh_TW.po: Update from translation team.
64244
64245 * login/Makefile (distribute): Remove variable.
64246 * catgets/Makefile: Likewise.
64247 * mach/Makefile: Likewise.
64248 * malloc/Makefile: Likewise.
64249 * misc/Makefile: Likewise.
64250 * iconv/Makefile: Likewise.
64251 * nscd/Makefile: Likewise.
64252 * hurd/Makefile: Likewise.
64253 * manual/Makefile: Likewise.
64254 * locale/Makefile: Likewise.
64255 * intl/Makefile: Likewise.
64256 * conform/Makefile: Likewise.
64257 * nss/Makefile: Likewise.
64258 * time/Makefile: Likewise.
64259 * soft-fp/Makefile: Likewise.
64260 * dirent/Makefile: Likewise.
64261 * gmon/Makefile: Likewise.
64262 * po/Makefile: Likewise.
64263 * rt/Makefile: Likewise.
64264 * socket/Makefile: Likewise.
64265 * math/Makefile: Likewise.
64266 * signal/Makefile: Likewise.
64267 * debug/Makefile: Likewise.
64268 * elf/Makefile: Likewise.
64269 * timezone/Makefile: Likewise.
64270 * stdlib/Makefile: Likewise.
64271 * iconvdata/Makefile: Likewise.
64272 * sunrpc/Makefile: Likewise.
64273 * io/Makefile: Likewise.
64274 * argp/Makefile: Likewise.
64275 * inet/Makefile: Likewise.
64276 * hesiod/Makefile: Likewise.
64277 * grp/Makefile: Likewise.
64278 * csu/Makefile: Likewise.
64279 * wctype/Makefile: Likewise.
64280 * crypt/Makefile: Likewise.
64281 * libio/Makefile: Likewise.
64282 * string/Makefile: Likewise.
64283 * nis/Makefile: Likewise.
64284 * resolv/Makefile: Likewise.
64285 * stdio-common/Makefile: Likewise.
64286 * wcsmbs/Makefile: Likewise.
64287 * dlfcn/Makefile: Likewise.
64288 * posix/Makefile: Likewise.
64289
64290 [BZ #6959]
64291 * timezone/Makefile: Don't install timezone files, just the programs
64292 and scripts.
64293
64294 2012-03-06 Ulrich Drepper <drepper@gmail.com>
64295
64296 * nss/databases.def: Add missing gshadow entry.
64297
64298 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
64299
64300 2012-03-06 Marek Polacek <polacek@redhat.com>
64301
64302 [BZ #13726]
64303 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
64304 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
64305 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
64306 * stdio-common/tst-long-dbl-fphex.c: New file.
64307
64308 2012-03-06 David S. Miller <davem@davemloft.net>
64309
64310 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64311 (set_obp_int): New function.
64312 (get_obp_int): New function.
64313 (__get_clockfreq_via_dev_openprom): Likewise.
64314 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
64315 Avoid unused variable warnings on 'val' and use builtin_expect.
64316 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
64317 __builtin_expect.
64318 (INLINE_CLONE_SYSCALL): Likewise.
64319
64320 2012-03-05 David S. Miller <davem@davemloft.net>
64321
64322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64323
64324 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
64325
64326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64327
64328 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
64329 only for |x| >= 40.
64330 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64331
64332 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
64333
64334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
64335 Replace gettimeofday with __vdso_gettimeofday.
64336
64337 * sysdeps/unix/sysv/linux/x86_64/init-first.c
64338 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
64339 __vdso_clock_gettime and __vdso_getcpu.
64340
64341 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
64342 time with __vdso_time.
64343
64344 2012-03-05 Joseph Myers <joseph@codesourcery.com>
64345
64346 * manual/lang.texi (size_t): Note types to which size_t may be
64347 equivalent with the GNU C Library, but do not describe when
64348 differences between them are significant.
64349
64350 2012-03-05 Andreas Jaeger <aj@suse.de>
64351
64352 * sysdeps/i386/fpu/libm-test-ulps: Update.
64353
64354 2012-03-05 Joseph Myers <joseph@codesourcery.com>
64355
64356 [BZ #3976]
64357 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
64358 (__ieee754_pow): Save and restore rounding mode and use
64359 round-to-nearest for main computations.
64360 * math/libm-test.inc (pow_test_tonearest): New function.
64361 (pow_test_towardzero): Likewise.
64362 (pow_test_downward): Likewise.
64363 (pow_test_upward): Likewise.
64364 (main): Call the new functions.
64365 * sysdeps/i386/fpu/libm-test-ulps: Update.
64366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64367
64368 [BZ #3976]
64369 * math/libm-test.inc (cosh_test_tonearest): New function.
64370 (cosh_test_towardzero): Likewise.
64371 (cosh_test_downward): Likewise.
64372 (cosh_test_upward): Likewise.
64373 (sinh_test_tonearest): Likewise.
64374 (sinh_test_towardzero): Likewise.
64375 (sinh_test_downward): Likewise.
64376 (sinh_test_upward): Likewise.
64377 (main): Call the new functions.
64378 * sysdeps/i386/fpu/libm-test-ulps: Update.
64379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64380
64381 2012-03-05 Tom de Vries <tom@codesourcery.com>
64382
64383 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
64384 default stack guard is set in last bytes.
64385 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
64386
64387 2012-03-05 Kees Cook <keescook@chromium.org>
64388
64389 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
64390
64391 [BZ #13656]
64392 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
64393 possibly allocate from heap instead of stack.
64394 * stdio-common/bug-vfprintf-nargs.c: New file.
64395 * stdio-common/Makefile (tests): Add nargs overflow test.
64396
64397 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
64398
64399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64400
64401 2012-03-03 Marek Polacek <polacek@redhat.com>
64402
64403 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
64404 * math/math_private.h: Likewise.
64405 * stdlib/tst-strtod.c: Likewise.
64406 * sysdeps/i386/i486/bits/atomic.h: Likewise.
64407 * sysdeps/x86_64/bits/atomic.h: Likewise.
64408
64409 2012-03-02 David S. Miller <davem@davemloft.net>
64410
64411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
64412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
64413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
64414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
64415 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
64416 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
64417 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
64418 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
64419
64420 2012-03-02 Roland McGrath <roland@hack.frob.com>
64421
64422 [BZ #13792]
64423 * manual/examples/README: New file, says the example source files
64424 can be used under GPL>=2.
64425 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
64426 line containing just "*/".
64427 * manual/examples/add.c: Add copyright header (GPL>=2).
64428 * manual/examples/argp-ex1.c: Likewise.
64429 * manual/examples/argp-ex2.c: Likewise.
64430 * manual/examples/argp-ex3.c: Likewise.
64431 * manual/examples/argp-ex4.c: Likewise.
64432 * manual/examples/atexit.c: Likewise.
64433 * manual/examples/db.c: Likewise.
64434 * manual/examples/dir.c: Likewise.
64435 * manual/examples/dir2.c: Likewise.
64436 * manual/examples/execinfo.c: Likewise.
64437 * manual/examples/filecli.c: Likewise.
64438 * manual/examples/filesrv.c: Likewise.
64439 * manual/examples/fmtmsgexpl.c: Likewise.
64440 * manual/examples/genpass.c: Likewise.
64441 * manual/examples/inetcli.c: Likewise.
64442 * manual/examples/inetsrv.c: Likewise.
64443 * manual/examples/isockad.c: Likewise.
64444 * manual/examples/longopt.c: Likewise.
64445 * manual/examples/memopen.c: Likewise.
64446 * manual/examples/memstrm.c: Likewise.
64447 * manual/examples/mkfsock.c: Likewise.
64448 * manual/examples/mkisock.c: Likewise.
64449 * manual/examples/mygetpass.c: Likewise.
64450 * manual/examples/pipe.c: Likewise.
64451 * manual/examples/popen.c: Likewise.
64452 * manual/examples/rprintf.c: Likewise.
64453 * manual/examples/search.c: Likewise.
64454 * manual/examples/select.c: Likewise.
64455 * manual/examples/setjmp.c: Likewise.
64456 * manual/examples/sigh1.c: Likewise.
64457 * manual/examples/sigusr.c: Likewise.
64458 * manual/examples/stpcpy.c: Likewise.
64459 * manual/examples/strdupa.c: Likewise.
64460 * manual/examples/strftim.c: Likewise.
64461 * manual/examples/strncat.c: Likewise.
64462 * manual/examples/subopt.c: Likewise.
64463 * manual/examples/swapcontext.c: Likewise.
64464 * manual/examples/termios.c: Likewise.
64465 * manual/examples/testopt.c: Likewise.
64466 * manual/examples/testpass.c: Likewise.
64467 * manual/examples/timeval_subtract.c: Likewise.
64468
64469 [BZ #13792]
64470 * manual/time.texi (Elapsed Time): Move timeval_subtract example
64471 function to ...
64472 * manual/timeval_subtract.c.texi: ... here, new file.
64473
64474 2012-03-02 David S. Miller <davem@davemloft.net>
64475
64476 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
64477
64478 2012-03-02 Joseph Myers <joseph@codesourcery.com>
64479
64480 [BZ #3976]
64481 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
64482 (__sin): Save and restore rounding mode and use round-to-nearest
64483 for all computations.
64484 (__cos): Save and restore rounding mode and use round-to-nearest
64485 for all computations.
64486 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
64487 <fenv.h>.
64488 (tan): Save and restore rounding mode and use round-to-nearest for
64489 all computations.
64490 * math/libm-test.inc (cos_test_tonearest): New function.
64491 (cos_test_towardzero): Likewise.
64492 (cos_test_downward): Likewise.
64493 (cos_test_upward): Likewise.
64494 (sin_test_tonearest): Likewise.
64495 (sin_test_towardzero): Likewise.
64496 (sin_test_downward): Likewise.
64497 (sin_test_upward): Likewise.
64498 (tan_test_tonearest): Likewise.
64499 (tan_test_towardzero): Likewise.
64500 (tan_test_downward): Likewise.
64501 (tan_test_upward): Likewise.
64502 (main): Call the new functions.
64503 * sysdeps/i386/fpu/libm-test-ulps: Update.
64504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64505
64506 [BZ #10135]
64507 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
64508 small n, then large n, before computing and testing k+n.
64509 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
64510 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
64511 Likewise.
64512 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
64513 Likewise.
64514 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
64515 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
64516 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
64517 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
64518 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
64519 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
64520 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
64521 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
64522 * math/libm-test.inc (scalbn_test): Add more tests.
64523 (scalbln_test): Likewise.
64524
64525 * manual/filesys.texi (mode_t): Describe constraints on size and
64526 signedness, not exact equivalence to a particular type.
64527 (ino_t): Likewise.
64528 (ino64_t): Likewise.
64529 (dev_t): Likewise.
64530 (nlink_t): Likewise.
64531 (blkcnt_t): Likewise.
64532 (blkcnt64_t): Likewise.
64533 * manual/llio.texi (off_t): Likewise.
64534
64535 [BZ #3976]
64536 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
64537 (__ieee754_exp): Save and restore rounding mode and use
64538 round-to-nearest for all computations.
64539 * math/libm-test.inc (exp_test_tonearest): New function.
64540 (exp_test_towardzero): Likewise.
64541 (exp_test_downward): Likewise.
64542 (exp_test_upward): Likewise.
64543 (main): Call the new functions.
64544 * sysdeps/i386/fpu/libm-test-ulps: Update.
64545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64546
64547 2012-03-01 Chris Demetriou <cgd@google.com>
64548
64549 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
64550 have predictable order.
64551
64552 2012-03-01 David S. Miller <davem@davemloft.net>
64553
64554 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
64555
64556 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
64557 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
64558 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
64559 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
64560
64561 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
64562 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
64563 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
64564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
64565 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
64566 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
64567 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
64568 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
64569 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
64570
64571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64572
64573 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
64574 * sysdeps/sparc/fpu/libm-test-ulps: to here.
64575 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
64576
64577 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
64578 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64579 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64580 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
64581 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
64582 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
64583 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
64584 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64585 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64586 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
64587 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
64588 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64589 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64590 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64591 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64592 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64593 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
64594 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
64595 * sysdeps/sparc/elf/configure: Regenerated.
64596
64597 2012-03-01 Joseph Myers <joseph@codesourcery.com>
64598
64599 * configure.in (AS, LD): Require binutils 2.20 or later.
64600 * configure: Regenerated.
64601 * manual/install.texi (Tools for Compilation): Give binutils 2.20
64602 as required minimum version.
64603 * INSTALL: Regenerated.
64604
64605 [BZ #2541]
64606 [BZ #4108]
64607 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
64608 before squaring exponent.
64609 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
64610 bottom long double and 27 bits of top long double before squaring
64611 exponent.
64612 * math/libm-test.inc (erfc_test): Add more tests.
64613 * sysdeps/i386/fpu/libm-test-ulps: Update.
64614 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64616
64617 2012-03-01 Kai Tietz <ktietz@redhat.com>
64618
64619 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
64620 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
64621 containing bit-fields.
64622 * soft-fp/extended.h (_FP_UNION_E): Likewise.
64623 * soft-fp/single.h (_FP_UNION_S): Likewise.
64624 * soft-fp/double.h (_FP_UNION_D): Likewise.
64625
64626 2012-02-29 Joseph Myers <joseph@codesourcery.com>
64627
64628 [BZ #13786]
64629 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
64630 not include ../strcmp.S.
64631 [USE_AS_STRNCASECMP_L]: Likewise.
64632 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
64633 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
64634 * sysdeps/i386/i686/multiarch/strncase_l-c.c
64635 (__strncasecmp_l_ia32): Define as alias to
64636 __strncasecmp_l_nonascii.
64637
64638 [BZ #5794]
64639 * math/libm-test.inc (expm1_test): Add test for bug 5794.
64640 * sysdeps/i386/fpu/libm-test-ulps: Update.
64641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64642
64643 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
64644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64645
64646 2012-02-29 Jeff Law <law@redhat.com>
64647
64648 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
64649 out of bounds read.
64650
64651 2012-02-29 Marek Polacek <polacek@redhat.com>
64652
64653 [BZ #13706]
64654 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
64655 * elf/Makefile: Add rules to run tst-unused-dep.out.
64656
64657 2012-02-28 David S. Miller <davem@davemloft.net>
64658
64659 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
64660 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
64661 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
64662 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
64663 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
64664 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
64665
64666 2012-02-29 Joseph Myers <joseph@codesourcery.com>
64667
64668 * math/libm-test.inc (llround_test): Move one test from
64669 lround_test. Use TEST_f_L in moved test.
64670 (lround_test): Move misplaced test to llround_test. Add testcase
64671 from bug 2561.
64672
64673 2012-02-28 Ulrich Drepper <drepper@gmail.com>
64674
64675 * sysdeps/x86_64/fpu/e_expf.S: New file.
64676 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
64677
64678 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
64679
64680 [BZ #13637]
64681 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
64682 of remain_len that may cause incomplete multi-byte character and
64683 false match.
64684 * posix/bug-regex33.c: New file.
64685 * posix/Makefile (tests): Add bug-regex33.
64686
64687 2012-02-28 Joseph Myers <joseph@codesourcery.com>
64688
64689 * manual/macros.texi: New file.
64690 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
64691 * manual/libc.texinfo: Include macros.texi.
64692 * manual/creatute.texi: Likewise.
64693 * manual/install.texi: Likewise.
64694 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
64695 @glibcadj{} in references to the GNU C Library.
64696 * manual/charset.texi: Likewise.
64697 * manual/conf.texi: Likewise.
64698 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
64699 when not using those macros.
64700 * manual/creature.texi: Likewise.
64701 * manual/crypt.texi: Likewise.
64702 * manual/errno.texi: Likewise.
64703 * manual/filesys.texi: Likewise.
64704 * manual/header.texi: Likewise.
64705 * manual/install.texi: Likewise.
64706 * manual/intro.texi: Likewise.
64707 * manual/io.texi: Likewise.
64708 * manual/job.texi: Likewise.
64709 * manual/lang.texi: Likewise.
64710 * manual/libc.texiinfo: Likewise.
64711 * manual/llio.texi: Likewise.
64712 * manual/locale.texi: Likewise.
64713 * manual/maint.texi: Likewise.
64714 * manual/math.texi: Likewise.
64715 * manual/memory.texi: Likewise.
64716 * manual/message.texi: Likewise.
64717 * manual/nss.texi: Likewise.
64718 * manual/pattern.texi: Likewise.
64719 * manual/process.texi: Likewise.
64720 * manual/resource.texi: Likewise.
64721 * manual/search.texi: Likewise.
64722 * manual/setjmp.texi: Likewise.
64723 * manual/signal.texi: Likewise.
64724 * manual/socket.texi: Likewise.
64725 * manual/startup.texi: Likewise.
64726 * manual/stdio.texi: Likewise.
64727 * manual/string.texi: Likewise.
64728 * manual/sysinfo.texi: Likewise.
64729 * manual/syslog.texi: Likewise.
64730 * manual/terminal.texi: Likewise.
64731 * manual/time.texi: Likewise.
64732 * manual/users.texi: Likewise.
64733 * INSTALL: Regenerated.
64734 * NOTES: Regenerated.
64735 * sysdeps/gnu/errlist.c: Regenerated.
64736
64737 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
64738
64739 * include/dirent.h: Include <dirstream.h> before
64740 <dirent/dirent.h>.
64741
64742 2012-02-28 David S. Miller <davem@davemloft.net>
64743
64744 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
64745 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
64746 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
64747 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
64748
64749 2012-02-27 David S. Miller <davem@davemloft.net>
64750
64751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
64752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
64753 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
64754 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
64755
64756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
64757 frame pointer instead of stack pointer relative arg slot.
64758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64759 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64760 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64761
64762 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
64763
64764 [BZ #3992]
64765 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
64766
64767 2012-02-27 David S. Miller <davem@davemloft.net>
64768
64769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
64770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
64773 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64774 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64775 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
64776 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
64777
64778 2012-02-27 Joseph Myers <joseph@codesourcery.com>
64779
64780 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
64781 later. Allow versions 5-9.
64782 * configure: Regenerated.
64783 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
64784 required minimum version and 4.6 as recommended version. Do not
64785 mention bugs in GCC 2.7 and 2.8.
64786 * INSTALL: Regenerated.
64787
64788 2012-02-27 David S. Miller <davem@davemloft.net>
64789
64790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
64791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
64792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
64793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
64794 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
64795 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
64796 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
64797 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
64798
64799 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
64800 manipulate bits before adding and subtracting TWO112[sx].
64801 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64802
64803 2012-02-27 Roland McGrath <roland@hack.frob.com>
64804
64805 [BZ #13775]
64806 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
64807 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
64808 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
64809 being in POSIX, because they are in 1003.1-2008.
64810
64811 * rt/tst-aio.c: Include <fcntl.h>.
64812 * rt/tst-aio7.c: Likewise.
64813 * rt/tst-aio64.c: Likewise.
64814
64815 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
64816
64817 2012-02-27 Joseph Myers <joseph@codesourcery.com>
64818
64819 * manual/install.texi (--with-headers): Describe headers as
64820 interface headers, not private headers.
64821 (Specific advice for GNU/Linux systems): Describe use of headers
64822 from "make headers_install", not private headers from older
64823 kernels.
64824 * INSTALL: Regenerated.
64825 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
64826 Change to 2.6.19.
64827 * sysdeps/unix/sysv/linux/configure: Regenerated.
64828
64829 * manual/llio.texi (fclean): Remove documentation.
64830
64831 * manual/Makefile (libc-texi-generated): New variable. Include
64832 version.texi.
64833 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
64834 $(libc-texi-generated), not duplicated list of files.
64835 (version.texi, stamp-version): New rules.
64836 (realclean): Remove $(libc-texi-generated), not individual files
64837 from that list. Do not remove dir-add.texinfo.
64838 * manual/libc.texinfo: Comment out uses of edition numbers and
64839 references to printed manual. Remove last-updated dates.
64840 (EDITION): Comment out.
64841 (ISBN): Likewise.
64842 (VERSION, UPDATED): Remove.
64843 (version.texi): Include.
64844
64845 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
64846
64847 * sysdeps/posix/spawni.c: Include <signal.h>.
64848 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
64849 * sysdeps/pthread/aio_fsync.c: Likewise.
64850
64851 2012-02-26 Ulrich Drepper <drepper@gmail.com>
64852
64853 * conform/Makefile (tests): Run only when not cross-compiling and
64854 when fast-check is not defined.
64855
64856 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
64857 * conform/data/limits.h-data: Fixes for POSIX2008.
64858 * conform/run-conformtest.sh: Run all tests.
64859 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
64860 headers.
64861 * include/bits/dlfcn.h: Likewise.
64862 * include/langinfo.h: Likewise.
64863 * include/monetary.h: Likewise.
64864 * include/sys/poll.h: Likewise.
64865
64866 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
64867 for __USE_GNU.
64868 * posix/spawn.h: Define __need_sigset_t.
64869 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
64870 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
64871 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
64872 to get sigevent_t only.
64873 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
64874 only for __USE_GNU.
64875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64876 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64877 process_vm_writev only for __USE_GNU.
64878 * termios/termios.h: Declare tcgetsid also for POSIX2008.
64879
64880 * conform/Makefile: For now ignore errors from run-conformtest.
64881 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
64882 POSIX to avoid namespace pollution. Don't prepend headers.
64883 * conform/data/aio.h-data: Fixes for POSIX testing.
64884 * conform/data/fcntl.h-data: Likewise.
64885 * conform/data/glob.h-data: Likewise.
64886 * conform/data/grp.h-data: Likewise.
64887 * conform/data/pthread.h-data: Likewise.
64888 * conform/data/pwd.h-data: Likewise.
64889 * conform/data/signal.h-data: Likewise.
64890 * conform/data/spawn.h-data: Likewise.
64891 * conform/data/stdio.h-data: Likewise.
64892 * conform/data/stdlib.h-data: Likewise.
64893 * conform/data/stropts.h-data: Likewise.
64894 * conform/data/sys/mman.h-data: Likewise.
64895 * conform/data/sys/stat.h-data: Likewise.
64896 * conform/data/sys/types.h-data: Likewise.
64897 * conform/data/sys/wait.h-data: Likewise.
64898 * conform/data/time.h-data: Likewise.
64899 * conform/data/unistd.h-data: Likewise.
64900 * conform/data/utime.h-data: Likewise.
64901
64902 * io/sys/stat.h: fchmod was always in POSIX.
64903 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
64904 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
64905 * rt/aio.h: Define __need_timespec before including <time.h>.
64906 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
64907 struct. Add forward declaration of pthread_attr_t and use it in
64908 sigevent.
64909 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64910 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64911 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
64912 always remove CLK_TCK definition.
64913
64914 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
64915
64916 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
64917
64918 2012-02-25 Ulrich Drepper <drepper@gmail.com>
64919
64920 * conform/run-conformtest.sh: New file.
64921 * conform/Makefile: Run run-conformtest for tests.
64922 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
64923 support.
64924
64925 * conform/data/uchar.h-data: New file.
64926 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
64927 * conform/data/arpa/inet.h-data: Likewise.
64928 * conform/data/assert.h-data: Likewise.
64929 * conform/data/complex.h-data: Likewise.
64930 * conform/data/cpio.h-data: Likewise.
64931 * conform/data/ctype.h-data: Likewise.
64932 * conform/data/dirent.h-data: Likewise.
64933 * conform/data/dlfcn.h-data: Likewise.
64934 * conform/data/errno.h-data: Likewise.
64935 * conform/data/fcntl.h-data: Likewise.
64936 * conform/data/float.h-data: Likewise.
64937 * conform/data/fmtmsg.h-data: Likewise.
64938 * conform/data/fnmatch.h-data: Likewise.
64939 * conform/data/ftw.h-data: Likewise.
64940 * conform/data/glob.h-data: Likewise.
64941 * conform/data/grp.h-data: Likewise.
64942 * conform/data/iconv.h-data: Likewise.
64943 * conform/data/inttypes.h-data: Likewise.
64944 * conform/data/langinfo.h-data: Likewise.
64945 * conform/data/libgen.h-data: Likewise.
64946 * conform/data/limits.h-data: Likewise.
64947 * conform/data/locale.h-data: Likewise.
64948 * conform/data/math.h-data: Likewise.
64949 * conform/data/monetary.h-data: Likewise.
64950 * conform/data/mqueue.h-data: Likewise.
64951 * conform/data/ndbm.h-data: Likewise.
64952 * conform/data/net/if.h-data: Likewise.
64953 * conform/data/netdb.h-data: Likewise.
64954 * conform/data/netinet/in.h-data: Likewise.
64955 * conform/data/nl_types.h-data: Likewise.
64956 * conform/data/poll.h-data: Likewise.
64957 * conform/data/pthread.h-data: Likewise.
64958 * conform/data/pwd.h-data: Likewise.
64959 * conform/data/regex.h-data: Likewise.
64960 * conform/data/sched.h-data: Likewise.
64961 * conform/data/search.h-data: Likewise.
64962 * conform/data/semaphore.h-data: Likewise.
64963 * conform/data/setjmp.h-data: Likewise.
64964 * conform/data/signal.h-data: Likewise.
64965 * conform/data/spawn.h-data: Likewise.
64966 * conform/data/stdarg.h-data: Likewise.
64967 * conform/data/stdio.h-data: Likewise.
64968 * conform/data/stdlib.h-data: Likewise.
64969 * conform/data/string.h-data: Likewise.
64970 * conform/data/strings.h-data: Likewise.
64971 * conform/data/stropts.h-data: Likewise.
64972 * conform/data/sys/ipc.h-data: Likewise.
64973 * conform/data/sys/mman.h-data: Likewise.
64974 * conform/data/sys/msg.h-data: Likewise.
64975 * conform/data/sys/resource.h-data: Likewise.
64976 * conform/data/sys/select.h-data: Likewise.
64977 * conform/data/sys/sem.h-data: Likewise.
64978 * conform/data/sys/shm.h-data: Likewise.
64979 * conform/data/sys/socket.h-data: Likewise.
64980 * conform/data/sys/stat.h-data: Likewise.
64981 * conform/data/sys/statvfs.h-data: Likewise.
64982 * conform/data/sys/time.h-data: Likewise.
64983 * conform/data/sys/timeb.h-data: Likewise.
64984 * conform/data/sys/times.h-data: Likewise.
64985 * conform/data/sys/types.h-data: Likewise.
64986 * conform/data/sys/uio.h-data: Likewise.
64987 * conform/data/sys/un.h-data: Likewise.
64988 * conform/data/sys/utsname.h-data: Likewise.
64989 * conform/data/sys/wait.h-data: Likewise.
64990 * conform/data/syslog.h-data: Likewise.
64991 * conform/data/tar.h-data: Likewise.
64992 * conform/data/termios.h-data: Likewise.
64993 * conform/data/utime.h-data: Likewise.
64994 * conform/data/utmpx.h-data: Likewise.
64995 * conform/data/varargs.h-data: Likewise.
64996 * conform/data/wchar.h-data: Likewise.
64997 * conform/data/wctype.h-data: Likewise.
64998 * conform/data/wordexp.h-data: Likewise.
64999
65000 * include/stropts.h: New file.
65001 * include/uchar.h: New file.
65002 * include/aio.h: Changes to allow conformtest.pl to use the headers.
65003 * include/assert.h: Likewise.
65004 * include/ctype.h: Likewise.
65005 * include/dirent.h: Likewise.
65006 * include/dlfcn.h: Likewise.
65007 * include/fcntl.h: Likewise.
65008 * include/fnmatch.h: Likewise.
65009 * include/glob.h: Likewise.
65010 * include/grp.h: Likewise.
65011 * include/libio.h: Likewise.
65012 * include/locale.h: Likewise.
65013 * include/math.h: Likewise.
65014 * include/net/if.h: Likewise.
65015 * include/netdb.h: Likewise.
65016 * include/netinet/in.h: Likewise.
65017 * include/pthread.h: Likewise.
65018 * include/pwd.h: Likewise.
65019 * include/regex.h: Likewise.
65020 * include/sched.h: Likewise.
65021 * include/search.h: Likewise.
65022 * include/setjmp.h: Likewise.
65023 * include/signal.h: Likewise.
65024 * include/stdio.h: Likewise.
65025 * include/stdlib.h: Likewise.
65026 * include/string.h: Likewise.
65027 * include/sys/cdefs.h: Likewise.
65028 * include/sys/mman.h: Likewise.
65029 * include/sys/msg.h: Likewise.
65030 * include/sys/resource.h: Likewise.
65031 * include/sys/select.h: Likewise.
65032 * include/sys/socket.h: Likewise.
65033 * include/sys/stat.h: Likewise.
65034 * include/sys/statvfs.h: Likewise.
65035 * include/sys/time.h: Likewise.
65036 * include/sys/times.h: Likewise.
65037 * include/sys/uio.h: Likewise.
65038 * include/sys/utsname.h: Likewise.
65039 * include/sys/wait.h: Likewise.
65040 * include/termios.h: Likewise.
65041 * include/time.h: Likewise.
65042 * include/ulimit.h: Likewise.
65043 * include/unistd.h: Likewise.
65044 * include/utime.h: Likewise.
65045 * include/wchar.h: Likewise.
65046 * include/wctype.h: Likewise.
65047 * include/wordexp.h: Likewise.
65048
65049 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
65050
65051 * time/time.h: TIME_UTC must be a macro.
65052 Make timespec_get available for ISO C11 only as well.
65053
65054 2012-02-24 Ulrich Drepper <drepper@gmail.com>
65055
65056 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
65057 Reported by Peng Haitao <penght@cn.fujitsu.com>.
65058
65059 2012-02-24 Joseph Myers <joseph@codesourcery.com>
65060
65061 * configure.in: Use -o not -a in test for unsupported multi-arch.
65062
65063 2012-02-24 Joseph Myers <joseph@codesourcery.com>
65064
65065 * manual/texinfo.tex: Update to version 2012-01-19.16.
65066
65067 2012-02-24 Joseph Myers <joseph@codesourcery.com>
65068
65069 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
65070
65071 2012-02-24 Roland McGrath <roland@hack.frob.com>
65072
65073 [BZ #13738]
65074 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
65075 * manual/fdl-1.3.texi: New file.
65076 * manual/fdl-1.1.texi: File removed.
65077
65078 [BZ #13738]
65079 * manual/libc.texinfo (FDL_VERSION): New @set.
65080 Use it for mention of FDL in cover text.
65081 (Documentation License): Use it in @include file name.
65082
65083 2012-02-22 Joseph Myers <joseph@codesourcery.com>
65084 Roland McGrath <roland@hack.frob.com>
65085
65086 [BZ #5461]
65087 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
65088 (not LONG_LONG_MAX and LONG_LONG_MIN.
65089 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
65090 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
65091 name.
65092 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
65093
65094 2012-02-22 Joseph Myers <joseph@codesourcery.com>
65095
65096 [BZ #2547]
65097 [BZ #11365]
65098 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
65099 manipulate bits before adding and subtracting TWO23[sx].
65100 * math/libm-test.inc (nearbyint_test): Add more tests.
65101
65102 2012-02-22 Joseph Myers <joseph@codesourcery.com>
65103
65104 [BZ #2548]
65105 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
65106 bits before adding and subtracting TWO23[sx].
65107 * math/libm-test.inc (rint_test): Add more tests.
65108 (rint_test_tonearest): Likewise.
65109 (rint_test_towardzero): Likewise.
65110 (rint_test_downward): Likewise.
65111 (rint_test_upward: Likewise.
65112
65113 2012-02-22 Joseph Myers <joseph@codesourcery.com>
65114
65115 [BZ #10110]
65116 * include/stdc-predef.h: New file. Extracted from features.h.
65117 * include/features.h: Include stdc-predef.h.
65118 * Makefile (headers): Add stdc-predef.h.
65119 * CONFORMANCE (Compiler limitations): Update.
65120
65121 2012-02-22 Joseph Myers <joseph@codesourcery.com>
65122
65123 * manual/libc.texinfo (VERSION, UPDATED): Revert.
65124
65125 2012-02-21 David S. Miller <davem@davemloft.net>
65126
65127 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
65128 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65129
65130 2012-02-20 David S. Miller <davem@davemloft.net>
65131
65132 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
65133 using a normal save/restore sequence, rather than allocating a
65134 dummy stack frame just to store a frame pointer and restore.
65135 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65136
65137 2012-02-21 Joseph Myers <joseph@codesourcery.com>
65138
65139 * manual/install.texi: Fix stray word in line-wrapped comment.
65140
65141 2012-02-20 David S. Miller <davem@davemloft.net>
65142
65143 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
65144 both binutils and gcc support GOTDATA.
65145
65146 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
65147 "rd %pc" in the PIC register setup sequences.
65148
65149 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
65150 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
65151 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65152 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
65153 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65154 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65155 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65156 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
65158 (SYSCALL_ERROR_HANDLER): Likewise.
65159 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65160 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65161 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
65162 (SYSCALL_ERROR_HANDLER): Likewise.
65163
65164 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
65165 (HAVE_GCC_GOTDATA): New.
65166 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
65167 relocation support in both binutils and gcc.
65168 * sysdeps/sparc/elf/configure: Regenerate.
65169
65170 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
65171 * sysdeps/sparc/sparc32/elf/configure: Delete.
65172 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
65173 * sysdeps/sparc/sparc64/elf/configure: Delete.
65174 * sysdeps/sparc/elf/configure.in: New file.
65175 * sysdeps/sparc/elf/configure: Generate.
65176
65177 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
65178 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
65179 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65180 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
65181 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
65182
65183 2012-02-21 Joseph Myers <joseph@codesourcery.com>
65184
65185 * manual/install.texi: Do not mention specific glibc version
65186 numbers.
65187 * manual/libc.texinfo (VERSION, UPDATED): Update.
65188 (@copying): Use @copyright{} and range of years.
65189
65190 2012-02-21 Joseph Myers <joseph@codesourcery.com>
65191
65192 [BZ #13695]
65193 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
65194 [crti.S not in sysdirs] (generated): Do not append.
65195 [crti.S not in sysdirs] (omit-deps): Likewise.
65196 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
65197 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
65198 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
65199 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
65200 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
65201 Likewise.
65202 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
65203 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
65204 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
65205 * csu/defs.awk: Remove file.
65206 * sysdeps/generic/initfini.c: Likewise.
65207 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
65208 variable.
65209 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
65210 Likewise.
65211
65212 2012-02-20 Joseph Myers <joseph@codesourcery.com>
65213
65214 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
65215 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
65216 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
65217 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
65218 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65219 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
65220 <bits/epoll.h>.
65221 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
65222 (__EPOLL_PACKED): Define to empty if not defined by
65223 <bits/epoll.h>.
65224 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
65225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65226 bits/epoll.h.
65227
65228 2012-02-20 Joseph Myers <joseph@codesourcery.com>
65229
65230 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
65231 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
65232 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
65233 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
65234 <bits/timerfd.h>.
65235 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
65236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65237 bits/timerfd.h.
65238
65239 2012-02-20 Joseph Myers <joseph@codesourcery.com>
65240
65241 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
65242 in C locale.
65243 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65244 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65245 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
65246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65247
65248 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
65249
65250 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65251 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65252
65253 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
65254
65255 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
65256 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
65257 defined.
65258 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
65259 Likewise.
65260 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
65261 entry for 2.16.
65262
65263 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
65264
65265 * math/w_acos.c: Use non-signaling floating-point comparisons.
65266 * math/w_acosf.c: Likewise.
65267 * math/w_acosh.c: Likewise.
65268 * math/w_acoshf.c: Likewise.
65269 * math/w_acoshl.c: Likewise.
65270 * math/w_acosl.c: Likewise.
65271 * math/w_asin.c: Likewise.
65272 * math/w_asinf.c: Likewise.
65273 * math/w_asinl.c: Likewise.
65274 * math/w_atanh.c: Likewise.
65275 * math/w_atanhf.c: Likewise.
65276 * math/w_atanhl.c: Likewise.
65277 * math/w_exp2.c: Likewise.
65278 * math/w_exp2f.c: Likewise.
65279 * math/w_exp2l.c: Likewise.
65280 * math/w_j0.c: Likewise.
65281 * math/w_j0f.c: Likewise.
65282 * math/w_j0l.c: Likewise.
65283 * math/w_j1.c: Likewise.
65284 * math/w_j1f.c: Likewise.
65285 * math/w_j1l.c: Likewise.
65286 * math/w_jn.c: Likewise.
65287 * math/w_jnf.c: Likewise.
65288 * math/w_log.c: Likewise.
65289 * math/w_log10.c: Likewise.
65290 * math/w_log10f.c: Likewise.
65291 * math/w_log10l.c: Likewise.
65292 * math/w_log2.c: Likewise.
65293 * math/w_log2f.c: Likewise.
65294 * math/w_log2l.c: Likewise.
65295 * math/w_logf.c: Likewise.
65296 * math/w_logl.c: Likewise.
65297 * math/w_sqrt.c: Likewise.
65298 * math/w_sqrtf.c: Likewise.
65299 * math/w_sqrtl.c: Likewise.
65300 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65301 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
65302 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65303 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65304 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65305
65306 2012-02-19 Joseph Myers <joseph@codesourcery.com>
65307
65308 [BZ #9739]
65309 * manual/string.texi (strnlen): Use correct parameter name in
65310 equivalent expression.
65311
65312 2012-02-19 Joseph Myers <joseph@codesourcery.com>
65313
65314 [BZ #11174]
65315 * manual/users.texi (seteuid): Consistently use neweuid for
65316 argument name.
65317
65318 2012-02-19 Joseph Myers <joseph@codesourcery.com>
65319
65320 [BZ #13704]
65321 * manual/nss.texi (Services in the NSS configuration): Correct
65322 list of services in example configuration file.
65323
65324 2012-02-19 Nick Bowler <nbowler@draconx.ca>
65325
65326 [BZ #11322]
65327 * manual/arith.texi: Remove statements about negative zero
65328 behaving identically to zero.
65329
65330 2012-02-18 Joseph Myers <joseph@codesourcery.com>
65331
65332 [BZ #5993]
65333 * manual/install.texi: Do not document upgrading from libc5.
65334
65335 2012-02-18 Joseph Myers <joseph@codesourcery.com>
65336
65337 [BZ #4596]
65338 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
65339
65340 2012-02-18 David S. Miller <davem@davemloft.net>
65341
65342 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
65343 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
65344 %o7 across the call.
65345 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
65346 instead.
65347 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
65348 SETUP_PIC_REG_LEAF.
65349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65350 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
65351 * sysdeps/sparc/crtn.S: Likewise.
65352
65353 2012-02-17 Ulrich Drepper <drepper@gmail.com>
65354
65355 * aout/Makefile: Remove.
65356
65357 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
65358
65359 [BZ #13058]
65360 * manual/examples/argp-ex1.c (main): Format definition in GNU
65361 style.
65362 * manual/examples/argp-ex2.c (main): Likewise.
65363 * manual/examples/argp-ex3.c (main): Likewise.
65364 * manual/examples/argp-ex4.c (main): Likewise.
65365 * manual/examples/longopt.c (main): Use new-style prototype
65366 definition.
65367 * manual/examples/strncat.c (main): Specify return type and use
65368 (void) for arguments.
65369 * manual/examples/subopt.c (main): Use char **argv argument.
65370
65371 2012-02-17 Joseph Myers <joseph@codesourcery.com>
65372
65373 [BZ #5077]
65374 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
65375 rounding modes.
65376
65377 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
65378
65379 [BZ #6907]
65380 * manual/string.texi (strchr): Change when strchrnul is
65381 recommended.
65382
65383 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
65384
65385 [BZ #174]
65386 * manual/locale.texi (setlocale): Document LOCPATH.
65387
65388 2012-02-17 Joseph Myers <joseph@codesourcery.com>
65389
65390 [BZ #10210]
65391 * manual/process.texi (execle): Move @dots{} before last argument.
65392
65393 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
65394
65395 [BZ #12047]
65396 * manual/charset.texi (Generic Charset Conversion): Fix typo
65397 (LC_TYPE -> LC_CTYPE).
65398
65399 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
65400
65401 [BZ #5805]
65402 * manual/arith.texi (scalbn): Use @var{} on parameter names.
65403 (scalbnf): Likewise.
65404 (scalbnl): Likewise.
65405 (scalbln): Likewise.
65406 (scalblnf): Likewise.
65407 (scalblnl): Likewise.
65408 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
65409 (vwarnx): Likewise.
65410 (verr): Likewise.
65411 (verrx): Likewise.
65412 * manual/filesys.texi (telldir): Use braces around return type.
65413 * manual/llio.texi (mmap): Add space after comma.
65414 (mmap64): Likewise.
65415 * manual/math.texi (jn): Use @var{} on parameter names.
65416 (jnf): Likewise.
65417 (jnl): Likewise.
65418 (yn): Likewise.
65419 (ynf): Likewise.
65420 (ynl): Likewise.
65421 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
65422 line.
65423 * manual/resource.texi (ulimit): Use @dots{} instead of literal
65424 "...".
65425 (sched_get_priority_min): Remove semicolon on @deftypefun line.
65426 (sched_get_priority_max): Likewise.
65427 * manual/signal.texi (sigvec): Add space after comma.
65428 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
65429 names.
65430 (if_indextoname): Likewise.
65431 (if_freenameindex): Likewise.
65432 (sendto): Use ',' instead of '.' in prototype.
65433 * manual/startup.texi (syscall): Use @dots{} instead of literal
65434 "...".
65435 * manual/stdio.texi (__fpending): Separate initial words of
65436 paragraph from @deftypefun line.
65437 * manual/syslog.texi (syslog): Use @dots{} instead of literal
65438 "...".
65439 (vsyslog): Use @var{} on parameter names.
65440 * manual/terminal.texi (stty): Use @var{} on parameter names.
65441 * manual/users.texi (getutmp): Use @var{} on parameter names.
65442 (getutmpx): Likewise.
65443
65444 2012-02-17 Joseph Myers <joseph@codesourcery.com>
65445
65446 [BZ #6884]
65447 * manual/stdio.texi (fopen): Fix typos in description of
65448 ",ccs=STRING".
65449
65450 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
65451
65452 [BZ #4026]
65453 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
65454 get clock_id definition.
65455
65456 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
65457
65458 [BZ #4822]
65459 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
65460 (madvise): Cast every argument to void on its own.
65461
65462 2012-02-17 Joseph Myers <joseph@codesourcery.com>
65463
65464 [BZ #9902]
65465 * manual/startup.texi (Exit Status): Fix typo.
65466
65467 2012-02-17 Joseph Myers <joseph@codesourcery.com>
65468
65469 [BZ #10140]
65470 * manual/examples/argp-ex1.c: Include <stdlib.h>.
65471 * manual/examples/argp-ex2.c: Likewise.
65472 * manual/examples/argp-ex3.c: Likewise.
65473
65474 2012-02-16 Richard Henderson <rth@redhat.com>
65475
65476 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
65477 * sysdeps/s390/s390-32/initfini.c: Remove.
65478 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
65479 * sysdeps/s390/s390-64/initfini.c: Remove.
65480
65481 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
65482
65483 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
65484 compiler output for sysdeps/generic/initfini.c.
65485 * sysdeps/sh/elf/initfini.c: Remove file.
65486
65487 2012-02-16 David S. Miller <davem@davemloft.net>
65488
65489 [BZ #11494]
65490 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
65491
65492 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
65493 * sysdeps/sparc/crti.S: New file.
65494 * sysdeps/sparc/crtn.S: New file.
65495 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
65496 * sysdeps/sparc/sparc64/Makefile: Likewise.
65497
65498 2012-02-15 Mike Frysinger <vapier@gentoo.org>
65499
65500 [BZ #3335]
65501 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
65502
65503 2012-02-15 Roland McGrath <roland@hack.frob.com>
65504
65505 [BZ #4822]
65506 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
65507
65508 * mach/devstream.c (cookie_io_functions_t): Macro removed.
65509 (write, read, close): Likewise.
65510 Patch by Aurelien Jarno <aurelien@aurel32.net>.
65511
65512 2012-02-15 Joseph Myers <joseph@codesourcery.com>
65513
65514 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
65515 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
65516 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
65517 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
65518 <bits/signalfd.h>.
65519 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
65520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65521 bits/signalfd.h.
65522
65523 2012-02-14 Marek Polacek <polacek@redhat.com>
65524
65525 * sysdeps/x86_64/crti.S: New file.
65526 * sysdeps/x86_64/crtn.S: New file.
65527 * sysdeps/x86_64/elf/initfini.c: Remove file.
65528
65529 2012-02-13 Joseph Myers <joseph@codesourcery.com>
65530
65531 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
65532 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
65533 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
65534 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
65535 <bits/inotify.h>.
65536 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
65537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65538 bits/inotify.h.
65539
65540 2012-02-13 Joseph Myers <joseph@codesourcery.com>
65541
65542 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
65543 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
65544 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
65545 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
65546 <bits/eventfd.h>.
65547 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
65548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65549 bits/eventfd.h.
65550
65551 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
65552
65553 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
65554 __feraiseexcept instead of feraiseexcept.
65555
65556 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
65557 nanosleep invocations.
65558 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
65559 strings, and add error checking for a nanosleep invocations.
65560
65561 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
65562
65563 Replace FSF snail mail address with URLs, as per GNU coding standards.
65564 Most of the snail mail addresses were wrong anyway, and omitting
65565 them makes the source code easier to maintain. Almost all of the
65566 changes are to license notices and to locale LC_IDENTIFICATION
65567 addresses, except for this one:
65568 * manual/libc.texinfo: In "Published by", give the FSF's URL,
65569 not its snail mail address.
65570
65571 2012-02-09 Richard Henderson <rth@twiddle.net>
65572
65573 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
65574 of kernel-features.h.
65575
65576 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
65577
65578 2012-02-08 Marek Polacek <polacek@redhat.com>
65579
65580 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
65581 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
65582 * sysdeps/gnu/_G_config.h: Likewise.
65583 * sysdeps/generic/_G_config.h: Likewise.
65584
65585 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
65586
65587 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
65588 tests.
65589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65590
65591 * sysdeps/powerpc/powerpc32/crti.S: New file.
65592 * sysdeps/powerpc/powerpc32/crtn.S: New file.
65593 * sysdeps/powerpc/powerpc64/crti.S: New file.
65594 * sysdeps/powerpc/powerpc64/crtn.S: New file.
65595
65596 * Makeconfig (have-initfini): Don't set.
65597 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
65598 * configure.in (nopic_initfini): Don't substitute.
65599 * config.h.in (HAVE_INITFINI): Don't #undef.
65600 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
65601 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
65602
65603 2012-02-08 Joseph Myers <joseph@codesourcery.com>
65604
65605 Support crti.S and crtn.S provided directly by architectures.
65606 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
65607 [crti.S in sysdirs] (omit-deps): Likewise.
65608 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
65609 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
65610 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
65611 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
65612 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
65613 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
65614 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
65615 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
65616 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
65617 compiler output for sysdeps/generic/initfini.c.
65618 * sysdeps/i386/elf/Makefile: Remove file.
65619 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
65620
65621 2012-02-07 Marek Polacek <polacek@redhat.com>
65622
65623 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
65624 * sysdeps/gnu/_G_config.h: Likewise.
65625 * sysdeps/mach/hurd/_G_config.h: Likewise.
65626
65627 2012-02-07 Marek Polacek <polacek@redhat.com>
65628
65629 * math/Makefile (tests): Add tst-CMPLX2.
65630 * math/tst-CMPLX2.c: New file.
65631
65632 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
65633
65634 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65635
65636 * math/libm-test.inc (jn_test): Add missing L suffix.
65637
65638 2012-02-06 Marek Polacek <polacek@redhat.com>
65639
65640 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
65641 * sysdeps/i386/fpu/e_powf.S: Likewise.
65642 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65643 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65644 * sysdeps/i386/fpu/e_acosh.S: Likewise.
65645 * sysdeps/i386/fpu/e_pow.S: Likewise.
65646 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65647 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65648 * sysdeps/i386/fpu/s_expm1.S: Likewise.
65649 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65650 * sysdeps/i386/fpu/e_log2.S: Likewise.
65651 * sysdeps/i386/fpu/e_log2l.S: Likewise.
65652 * sysdeps/i386/fpu/e_scalb.S: Likewise.
65653 * sysdeps/i386/fpu/e_powl.S: Likewise.
65654 * sysdeps/i386/fpu/s_log1p.S: Likewise.
65655 * sysdeps/i386/fpu/e_log10f.S: Likewise.
65656 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65657 * sysdeps/i386/fpu/e_logl.S: Likewise.
65658 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65659 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
65660 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65661 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65662 * sysdeps/i386/fpu/e_log2f.S: Likewise.
65663 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65664 * sysdeps/i386/fpu/e_log.S: Likewise.
65665 * sysdeps/i386/fpu/s_cexp.S: Likewise.
65666 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65667 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
65668 * sysdeps/i386/fpu/e_logf.S: Likewise.
65669 * sysdeps/i386/fpu/e_log10l.S: Likewise.
65670 * sysdeps/i386/fpu/e_atanh.S: Likewise.
65671 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
65672 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65673 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65674 * sysdeps/i386/fpu/e_log10.S: Likewise.
65675 * sysdeps/i386/fpu/s_frexp.S: Likewise.
65676 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65677 * sysdeps/i386/fpu/s_asinh.S: Likewise.
65678 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65679 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65680 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65681 * sysdeps/i386/asm-syntax.h: Likewise.
65682 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65683 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65684 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65685 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
65686 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
65687 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65688 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65689 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65690 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65691 * sysdeps/powerpc/sysdep.h: Likewise.
65692 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
65693 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65694
65695 2012-02-06 Joseph Myers <joseph@codesourcery.com>
65696
65697 [BZ #411]
65698 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
65699
65700 2012-02-06 Joseph Myers <joseph@codesourcery.com>
65701
65702 * sysdeps/i386/sysdep.h: Include <features.h>.
65703 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
65704 version.
65705
65706 2012-02-05 Joseph Myers <joseph@codesourcery.com>
65707
65708 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
65709 Define.
65710 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
65711 LOAD_PIC_REG_STR.
65712
65713 2012-02-03 Joseph Myers <joseph@codesourcery.com>
65714
65715 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
65716 (SETUP_PIC_REG): Use GET_PC_THUNK.
65717 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
65718 macro.
65719
65720 2012-02-03 Joseph Myers <joseph@codesourcery.com>
65721
65722 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
65723 for non-PIC compilation.
65724 (SETUP_PIC_REG): Add .p2align directive.
65725 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
65726 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
65727 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65728 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65729 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
65730 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65731 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
65732 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
65733 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65734 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65735 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65736 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65737 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65738 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65739 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65740 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
65741 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
65742 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65743 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65744 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65745 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65746 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
65747 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65748 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65749 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
65750 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
65751 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65752 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
65753 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65754 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65755 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65756 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65757 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65758 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65759 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65760 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65761 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65762 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65763 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65764 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65765 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65766
65767 2012-02-03 Joseph Myers <joseph@codesourcery.com>
65768
65769 * math/tst-CMPLX.c: Include <stdio.h>.
65770
65771 2012-01-31 Joseph Myers <joseph@codesourcery.com>
65772
65773 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
65774 float.
65775 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65776 * sysdeps/sparc/bits/mathdef.h: Likewise.
65777
65778 2012-01-31 Marek Polacek <polacek@redhat.com>
65779
65780 * libio/libio.h: Don't define _PARAMS.
65781 * locale/programs/config.h: Don't define PARAMS.
65782 * stdlib/strtol_l.c: Likewise.
65783 (__strtol_l): Remove PARAMS from the prototype.
65784
65785 2012-01-31 Ulrich Drepper <drepper@gmail.com>
65786
65787 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
65788 names. Just use the correct names. Remove unnecessary wrapper
65789 functions.
65790 * malloc/arena.c: Likewise.
65791 * malloc/hooks.c: Likewise.
65792
65793 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
65794 ARENA_TEST says not to. Simplify test for creation of a new arena.
65795 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
65796
65797 2012-01-30 Ulrich Drepper <drepper@gmail.com>
65798
65799 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
65800 into tail calls.
65801 (update_get_addr): New function.
65802 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
65803 GET_ADDR_MODULE parameter.
65804
65805 2012-01-30 Joseph Myers <joseph@codesourcery.com>
65806
65807 * crypt/cert.c: Remove __STDC__ conditionals.
65808 * crypt/crypt-entry.c: Likewise.
65809 * crypt/crypt_util.c: Likewise.
65810 * libio/filedoalloc.c: Likewise.
65811 * libio/fileops.c: Likewise.
65812 * libio/genops.c: Likewise.
65813 * libio/iofclose.c: Likewise.
65814 * libio/iofdopen.c: Likewise.
65815 * libio/iofopen.c: Likewise.
65816 * libio/iofopen64.c: Likewise.
65817 * libio/iogetdelim.c: Likewise.
65818 * libio/iopopen.c: Likewise.
65819 * libio/obprintf.c: Likewise.
65820 * libio/oldfileops.c: Likewise.
65821 * libio/oldiofclose.c: Likewise.
65822 * libio/oldiofdopen.c: Likewise.
65823 * libio/oldiofopen.c: Likewise.
65824 * libio/oldiopopen.c: Likewise.
65825 * libio/wfiledoalloc.c: Likewise.
65826 * libio/wgenops.c: Likewise.
65827 * locale/programs/xmalloc.c: Likewise.
65828 * misc/syslog.c: Likewise.
65829 * stdio-common/xbug.c: Likewise.
65830 * string/memchr.c: Likewise.
65831 * string/memcmp.c: Likewise.
65832 * string/memrchr.c: Likewise.
65833 * string/rawmemchr.c: Likewise.
65834 * sysdeps/posix/getcwd.c: Likewise.
65835 * time/strftime_l.c: Likewise.
65836
65837 2012-01-30 Joseph Myers <joseph@codesourcery.com>
65838
65839 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
65840 * config.make.in (config-cflags-sse2avx): Define.
65841 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
65842 Fix typo.
65843
65844 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
65845
65846 * scripts/config.guess: Update from upstream config git repository.
65847 * scripts/config.sub: Likewise.
65848
65849 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
65850
65851 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
65852 (EM_NUM): Update.
65853 (R_TILEPRO_*, R_TILEGX_*): New macros.
65854
65855 * scripts/firstversions.awk: Fix bug in version range handling.
65856
65857 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
65858
65859 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
65860
65861 * include/sys/epoll.h: New file.
65862 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
65863 libc_hidden_def.
65864
65865 2012-01-28 Ulrich Drepper <drepper@gmail.com>
65866
65867 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
65868 Avoid unnecessary __WORDSIZE == 64 test.
65869 (fmaxf): Use VEX format if possible.
65870 (fmax): Likewise.
65871 (fminf): Likewise.
65872 (fmin): Likewise.
65873
65874 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
65875 * math/math_private.h: Remove libc_fegetround* and
65876 libc_fesetround*.
65877 * sysdeps/i386/configure.in: Check for -msse2avx.
65878 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
65879 also if SSE2AVX is defined.
65880 Remove libc_fegetround* and libc_fesetround*.
65881 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
65882 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
65883 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
65884 of HAS_YMM_USABLE.
65885 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65886 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65887 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65888 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65889 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65890
65891 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
65892
65893 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65894
65895 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
65896 size is not set.
65897 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65898
65899 2012-01-27 Ulrich Drepper <drepper@gmail.com>
65900
65901 [BZ #13618]
65902 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
65903 relocation.
65904 * Makeconfig (libm): Define.
65905 * elf/Makefile: Add rules to build and run tst-relsort1.
65906 * elf/tst-relsort1.c: New file.
65907 * elf/tst-relsort1mod1.c: New file.
65908 * elf/tst-relsort1mod2.c: New file.
65909
65910 2012-01-27 Joseph Myers <joseph@codesourcery.com>
65911
65912 * math/s_ldexp.c: Remove __STDC__ conditionals.
65913 * math/s_ldexpf.c: Likewise.
65914 * math/s_ldexpl.c: Likewise.
65915 * math/s_nextafter.c: Likewise.
65916 * math/s_nexttowardf.c: Likewise.
65917 * math/s_significand.c: Likewise.
65918 * math/s_significandf.c: Likewise.
65919 * math/s_significandl.c: Likewise.
65920 * math/w_jnl.c: Likewise.
65921 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65922 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65923 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65924 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65925 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65926 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65927 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
65928 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65929 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65930 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65931 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65932 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65933 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65934 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65935 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65936 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65937 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65938 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65939 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65940 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65941 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65942 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65943 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65944 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65945 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65946 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65947 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65948 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65949 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65950 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65951 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65952 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65953 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65954 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65955 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65956 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65957 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65958 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65959 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65960 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65961 * sysdeps/ieee754/k_standard.c: Likewise.
65962 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65963 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65964 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65965 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65966 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65967 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65968 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65969 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65970 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65971 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65972 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65973 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65974 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65975 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65976 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65977 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65978 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65979 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65980 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65981 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65982 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65983 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65984 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65985 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65986 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65987 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65988 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65989 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65991 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65992 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65993 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
65994 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65995 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65996 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65997 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65998 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
65999 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66000 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66001 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
66002 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
66003 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66004 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
66005 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
66006 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66007 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
66008 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
66009 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66010 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66011 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
66012 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
66013 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66014 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66015 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66016 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66017 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66018 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
66019 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66020 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66021 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66022 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66023 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66024 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66025 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66026 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66027 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66028 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66029 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66030 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66031 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66032 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66033 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66034 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66035 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66036 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66037 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66038 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66039 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66040 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66041 * sysdeps/ieee754/s_matherr.c: Likewise.
66042 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66043 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66044 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66045 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66046
66047 2012-01-26 Joseph Myers <joseph@codesourcery.com>
66048
66049 * crypt/md5.h: Remove __STDC__ conditionals.
66050 * libio/libioP.h: Likewise.
66051 * locale/programs/config.h: Likewise.
66052 * sysdeps/generic/sysdep.h: Likewise.
66053 * sysdeps/i386/asm-syntax.h: Likewise.
66054 * sysdeps/s390/asm-syntax.h: Likewise.
66055 * sysdeps/unix/sysdep.h: Likewise.
66056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
66057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66058
66059 2012-01-26 Joseph Myers <joseph@codesourcery.com>
66060
66061 * libio/libio.h: Remove __STDC__ conditionals.
66062 * malloc/obstack.h: Likewise.
66063 * math/complex.h: Likewise.
66064 * math/math.h: Likewise.
66065 * sysdeps/generic/_G_config.h: Likewise.
66066 * sysdeps/gnu/_G_config.h: Likewise.
66067 * sysdeps/mach/hurd/_G_config.h: Likewise.
66068 * sysdeps/powerpc/bits/mathdef.h: Likewise.
66069 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66070 * sysdeps/sparc/bits/mathdef.h: Likewise.
66071
66072 2012-01-26 Ulrich Drepper <drepper@gmail.com>
66073
66074 [BZ #13583]
66075 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
66076 Clean up HAS_* macros.
66077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
66078 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
66079 possible.
66080 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
66081 HAS_AVX.
66082 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66083 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66084 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66085 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66086 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66087
66088 2012-01-25 Joseph Myers <joseph@codesourcery.com>
66089
66090 * elf/tst-unique3.cc (gets): Remove declaration.
66091 * elf/tst-unique3lib.cc (gets): Likewise.
66092 * elf/tst-unique3lib2.cc (gets): Likewise.
66093 * elf/tst-unique4.cc (gets): Likewise.
66094
66095 2012-01-24 Ulrich Drepper <drepper@gmail.com>
66096
66097 * include/stdio.h: Add C++ protection. Add gets declarations and
66098 definitions.
66099 * debug/tst-chk1.c: Don't declare gets here.
66100 * stdio-common/tst-gets.c: Likewise.
66101
66102 2012-01-24 Joseph Myers <joseph@codesourcery.com>
66103
66104 * posix/glob: Remove directory.
66105
66106 2012-01-24 Joseph Myers <joseph@codesourcery.com>
66107
66108 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
66109
66110 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
66111
66112 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
66113 of the non-standard EPFNOSUPPORT.
66114
66115 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
66116
66117 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
66118 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
66119 ANYWHERE set to 1 only on KERN_NO_SPACE error.
66120
66121 2012-01-21 Ulrich Drepper <drepper@gmail.com>
66122
66123 * wcsmbs/uchar.h: Test __STDC_VERSION__.
66124
66125 2012-01-20 Ulrich Drepper <drepper@gmail.com>
66126
66127 * nscd/aicache.c (addhstaiX): Do not cache negative results of
66128 transient errors.
66129 * nscd/grpcache.c (cache_addgr): Likewise.
66130 * nscd/hstcache.c (cache_addhst): Likewise.
66131 * nscd/initgrcache.c (addinitgroupsX): Likewise.
66132 * nscd/pwdcache.c (cache_addpw): Likewise.
66133 * nscd/servicescache.c (cache_addserv): Likewise.
66134
66135 2012-01-16 Ulrich Drepper <drepper@gmail.com>
66136
66137 * malloc/malloc.c: Various cleanups.
66138 * malloc/hooks.c: Likewise.
66139
66140 * stdlib/Makefile (tests): Add bug-fmtmsg1.
66141 * stdlib/bug-fmtmsg1.c: New file.
66142
66143 * stdlib/fmtmsg.c (init): Add missing unlock.
66144 Patch by Peng Haitao <penght@cn.fujitsu.com>.
66145
66146 2012-01-12 Marek Polacek <polacek@redhat.com>
66147
66148 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
66149 and _GNU_SOURCE.
66150
66151 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
66152
66153 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
66154 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
66155 macro to ensure uniqueness of label name.
66156 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66157 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66158
66159 2012-01-11 Ulrich Drepper <drepper@gmail.com>
66160
66161 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
66162
66163 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
66164 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66165 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66166 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
66167
66168 2012-01-10 Ulrich Drepper <drepper@gmail.com>
66169
66170 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
66171
66172 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
66173 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66174 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66175
66176 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
66177
66178 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
66179 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66180 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
66182
66183 * math/bits/math-finite.h: Add ldexp support.
66184
66185 2012-01-10 Marek Polacek <polacek@redhat.com>
66186
66187 * locale/programs/localedef.h (show_archive_content): Add noreturn
66188 attribute.
66189
66190 2012-01-09 Ulrich Drepper <drepper@gmail.com>
66191
66192 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
66193
66194 2012-01-08 Ulrich Drepper <drepper@gmail.com>
66195
66196 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
66197
66198 * io/Makefile (headers): Add bits/poll2.h.
66199
66200 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
66201
66202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
66203 typo #include statement.
66204
66205 2012-01-08 Ulrich Drepper <drepper@gmail.com>
66206
66207 * include/sys/cdefs.h: Define __attribute_alloc_size.
66208 * catgets/gencat.c: Add alloc_size attribute and apply consistently
66209 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
66210 * elf/pldd.c: Likewise.
66211 * iconv/iconv_charmap.c: Likewise.
66212 * iconv/iconvconfig.c: Likewise.
66213 * iconv/strtab.c: Likewise.
66214 * locale/programs/locale.c: Likewise.
66215 * locale/programs/localedef.h: Likewise.
66216 * locale/programs/simple-hash.c: Likewise.
66217 * nscd/nscd.h: Likewise.
66218 * nss/makedb.c: Likewise.
66219 * sysdeps/generic/ldconfig.h: Likewise.
66220 * locale/programs/localedef.c: Remove xmalloc prototype.
66221 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
66222
66223 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
66224
66225 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
66226 appropriate.
66227
66228 2012-01-08 Ulrich Drepper <drepper@gmail.com>
66229
66230 * math/Makefile (tests): Add tst-CMPLX.
66231 * math/tst-CMPLX.c: New file.
66232
66233 * math/complex.h (CMPLXL): Fix typo.
66234
66235 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
66236 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
66237 GLIBC_2.16.
66238 * debug/tst-chk1.c: Add poll and ppoll tests.
66239 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
66240 * include/sys/poll.h: Add hidden proto for ppoll.
66241 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
66242 * sysdeps/mach/hurd/ppoll.c: Likewise.
66243 * io/ppoll.c: Likewise.
66244 * debug/poll_chk.c: New file.
66245 * debug/ppoll_chk.c: New file.
66246 * include/bits/poll2.h: New file.
66247 * io/bits/poll2.h: New file.
66248
66249 [BZ #1350]
66250 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
66251
66252 * configure.in: static is always set to yes. Remove.
66253 * config.make.in: Don't set build-static.
66254 * Makeconfig: Remove use of build-static.
66255 * dlfcn/Makefile: Likewise.
66256 * elf/Makefile: Likewise.
66257 * math/Makefile: Likewise.
66258 * misc/Makefile: Likewise.
66259 * nptl/Makefile: Likewise.
66260 * sysdeps/mach/hurd/Makefile: Likewise.
66261
66262 * configure.in: PWD_P is not used anymore.
66263 * config.make.in: Remove PWD_P entry.
66264
66265 * configure.in: Remove last remnants of RANLIB.
66266 No need to check for signed size_t anymore.
66267 Don't set libc_commonpagesize and libc_relro_required here for Alpha
66268 and IA-64.
66269 Remove __builtin_expect test because we require at least gcc 3.4.
66270 * aclocal.m4: Likewise.
66271
66272 * wcsmbs/mbrtoc16.c: Implement using towc function.
66273 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
66274 * wcsmbs/wcsmbsload.c: Likewise.
66275 * iconv/gconv_simple.c: Likewise.
66276 * iconv/gconv_int.h: Likewise.
66277 * iconv/gconv_builtin.h: Likewise.
66278 * iconv/iconv_prog.c: Remove CHAR16 handling.
66279
66280 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
66281
66282 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
66283
66284 * configure.in: Remove --with-elf and --enable-bounded options.
66285 Dont set base_machine for ia64. More non-ELF conditions removed.
66286 Remove testing and setting of leading underscore information.
66287 * config.make.in (build-bounded): Set to no.
66288 * config.h.in: Remove NO_UNDERSCORES entry.
66289 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
66290 them.
66291 * csu/start.c: Remove !NO_UNDERSCORE code.
66292 * locale/localeinfo.h: Likewise.
66293 * sysdeps/generic/machine-gmon.h: Likewise.
66294 * sysdeps/generic/sysdep.h: Likewise.
66295 * sysdeps/i386/sysdep.h: Likewise.
66296 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66297 * sysdeps/mach/sysdep.h: Likewise.
66298 * sysdeps/s390/s390-32/sysdep.h: Likewise.
66299 * sysdeps/s390/s390-64/sysdep.h: Likewise.
66300 * sysdeps/sh/sysdep.h: Likewise.
66301 * sysdeps/sparc/sparc32/alloca.S: Likewise.
66302 * sysdeps/unix/i386/sysdep.S: Likewise.
66303 * sysdeps/unix/sparc/start.c: Likewise.
66304 * sysdeps/unix/sparc/sysdep.S: Likewise.
66305 * sysdeps/unix/sparc/sysdep.h: Likewise.
66306 * sysdeps/unix/start.c: Likewise.
66307 * sysdeps/unix/x86_64/sysdep.S: Likewise.
66308 * sysdeps/x86_64/sysdep.h: Likewise.
66309
66310 2012-01-07 Ulrich Drepper <drepper@gmail.com>
66311
66312 [BZ #13553]
66313 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
66314 for non-gcc.
66315 * argp/argp-fmtstream.h: Use const instead __const.
66316 * argp/argp.h: Likewise.
66317 * assert/assert.h: Likewise.
66318 * bits/fenv.h: Likewise.
66319 * bits/sched.h: Likewise.
66320 * bits/sigset.h: Likewise.
66321 * bits/sigthread.h: Likewise.
66322 * catgets/nl_types.h: Likewise.
66323 * conform/data/pthread.h-data: Likewise.
66324 * crypt/crypt-private.h: Likewise.
66325 * crypt/crypt.h: Likewise.
66326 * crypt/crypt_util.c: Likewise.
66327 * ctype/ctype.h: Likewise.
66328 * debug/execinfo.h: Likewise.
66329 * debug/mbsnrtowcs_chk.c: Likewise.
66330 * debug/mbsrtowcs_chk.c: Likewise.
66331 * debug/wcsnrtombs_chk.c: Likewise.
66332 * debug/wcsrtombs_chk.c: Likewise.
66333 * debug/wcstombs_chk.c: Likewise.
66334 * dirent/dirent.h: Likewise.
66335 * dlfcn/dlfcn.h: Likewise.
66336 * elf/neededtest4.c: Likewise.
66337 * grp/grp.h: Likewise.
66338 * gshadow/gshadow.h: Likewise.
66339 * iconv/gconv.h: Likewise.
66340 * iconv/gconv_int.h: Likewise.
66341 * iconv/gconv_simple.c: Likewise.
66342 * iconv/iconv.h: Likewise.
66343 * iconv/loop.c: Likewise.
66344 * iconv/skeleton.c: Likewise.
66345 * include/aio.h: Likewise.
66346 * include/aliases.h: Likewise.
66347 * include/argz.h: Likewise.
66348 * include/arpa/inet.h: Likewise.
66349 * include/assert.h: Likewise.
66350 * include/dirent.h: Likewise.
66351 * include/dlfcn.h: Likewise.
66352 * include/execinfo.h: Likewise.
66353 * include/fcntl.h: Likewise.
66354 * include/fenv.h: Likewise.
66355 * include/glob.h: Likewise.
66356 * include/grp.h: Likewise.
66357 * include/libintl.h: Likewise.
66358 * include/mntent.h: Likewise.
66359 * include/netdb.h: Likewise.
66360 * include/pwd.h: Likewise.
66361 * include/rpc/netdb.h: Likewise.
66362 * include/sched.h: Likewise.
66363 * include/search.h: Likewise.
66364 * include/shadow.h: Likewise.
66365 * include/signal.h: Likewise.
66366 * include/stdio.h: Likewise.
66367 * include/stdlib.h: Likewise.
66368 * include/string.h: Likewise.
66369 * include/sys/socket.h: Likewise.
66370 * include/sys/stat.h: Likewise.
66371 * include/sys/statfs.h: Likewise.
66372 * include/sys/statvfs.h: Likewise.
66373 * include/sys/syslog.h: Likewise.
66374 * include/sys/time.h: Likewise.
66375 * include/sys/uio.h: Likewise.
66376 * include/time.h: Likewise.
66377 * include/unistd.h: Likewise.
66378 * include/utmp.h: Likewise.
66379 * include/wchar.h: Likewise.
66380 * include/wctype.h: Likewise.
66381 * inet/aliases.h: Likewise.
66382 * inet/arpa/inet.h: Likewise.
66383 * inet/netinet/ether.h: Likewise.
66384 * inet/netinet/in.h: Likewise.
66385 * intl/libintl.h: Likewise.
66386 * io/bits/fcntl2.h: Likewise.
66387 * io/fcntl.h: Likewise.
66388 * io/ftw.h: Likewise.
66389 * io/sys/poll.h: Likewise.
66390 * io/sys/stat.h: Likewise.
66391 * io/sys/statfs.h: Likewise.
66392 * io/sys/statvfs.h: Likewise.
66393 * io/utime.h: Likewise.
66394 * libio/bits/stdio.h: Likewise.
66395 * libio/bits/stdio2.h: Likewise.
66396 * libio/libio.h: Likewise.
66397 * libio/libioP.h: Likewise.
66398 * libio/stdio.h: Likewise.
66399 * locale/lc-ctype.c: Likewise.
66400 * locale/locale.h: Likewise.
66401 * login/utmp.h: Likewise.
66402 * malloc/arena.c: Likewise.
66403 * malloc/malloc.c: Likewise.
66404 * malloc/malloc.h: Likewise.
66405 * malloc/mcheck.c: Likewise.
66406 * malloc/mtrace.c: Likewise.
66407 * math/bits/mathcalls.h: Likewise.
66408 * math/fenv.h: Likewise.
66409 * math/math_private.h: Likewise.
66410 * misc/bits/error.h: Likewise.
66411 * misc/bits/syslog.h: Likewise.
66412 * misc/err.h: Likewise.
66413 * misc/error.h: Likewise.
66414 * misc/fstab.h: Likewise.
66415 * misc/mntent.h: Likewise.
66416 * misc/regexp.h: Likewise.
66417 * misc/search.h: Likewise.
66418 * misc/sgtty.h: Likewise.
66419 * misc/sys/mman.h: Likewise.
66420 * misc/sys/syslog.h: Likewise.
66421 * misc/sys/uio.h: Likewise.
66422 * misc/sys/xattr.h: Likewise.
66423 * misc/ttyent.h: Likewise.
66424 * nis/rpcsvc/ypclnt.h: Likewise.
66425 * nss/nss.h: Likewise.
66426 * posix/bits/unistd.h: Likewise.
66427 * posix/fnmatch.h: Likewise.
66428 * posix/glob.h: Likewise.
66429 * posix/sched.h: Likewise.
66430 * posix/spawn.h: Likewise.
66431 * posix/sys/wait.h: Likewise.
66432 * posix/unistd.h: Likewise.
66433 * posix/wordexp.h: Likewise.
66434 * pwd/pwd.h: Likewise.
66435 * resolv/netdb.h: Likewise.
66436 * resource/sys/resource.h: Likewise.
66437 * rt/aio.h: Likewise.
66438 * rt/bits/mqueue2.h: Likewise.
66439 * rt/mqueue.h: Likewise.
66440 * shadow/shadow.h: Likewise.
66441 * signal/signal.h: Likewise.
66442 * socket/send.c: Likewise.
66443 * socket/sendto.c: Likewise.
66444 * socket/sys/socket.h: Likewise.
66445 * stdio-common/printf.h: Likewise.
66446 * stdlib/bits/stdlib.h: Likewise.
66447 * stdlib/fmtmsg.h: Likewise.
66448 * stdlib/monetary.h: Likewise.
66449 * stdlib/stdlib.h: Likewise.
66450 * stdlib/ucontext.h: Likewise.
66451 * streams/stropts.h: Likewise.
66452 * string/argz.h: Likewise.
66453 * string/bits/string2.h: Likewise.
66454 * string/string.h: Likewise.
66455 * string/strings.h: Likewise.
66456 * sunrpc/rpc/auth.h: Likewise.
66457 * sunrpc/rpc/auth_des.h: Likewise.
66458 * sunrpc/rpc/clnt.h: Likewise.
66459 * sunrpc/rpc/netdb.h: Likewise.
66460 * sunrpc/rpc/pmap_clnt.h: Likewise.
66461 * sunrpc/rpc/xdr.h: Likewise.
66462 * sysdeps/generic/inttypes.h: Likewise.
66463 * sysdeps/generic/net/if.h: Likewise.
66464 * sysdeps/generic/sys/swap.h: Likewise.
66465 * sysdeps/gnu/net/if.h: Likewise.
66466 * sysdeps/gnu/utmpx.h: Likewise.
66467 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
66468 * sysdeps/i386/i486/bits/string.h: Likewise.
66469 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
66470 * sysdeps/s390/bits/string.h: Likewise.
66471 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
66472 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
66473 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
66474 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
66475 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
66476 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
66477 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
66478 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
66479 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
66480 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
66481 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
66482 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66483 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
66484 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66485 * sysdeps/unix/sysv/linux/readv.c: Likewise.
66486 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
66487 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
66488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66489 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
66490 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
66491 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66492 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
66493 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
66494 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
66495 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
66496 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
66497 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
66498 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66499 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
66500 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
66501 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
66502 * sysvipc/sys/ipc.h: Likewise.
66503 * sysvipc/sys/msg.h: Likewise.
66504 * sysvipc/sys/sem.h: Likewise.
66505 * sysvipc/sys/shm.h: Likewise.
66506 * termios/termios.h: Likewise.
66507 * time/sys/time.h: Likewise.
66508 * time/time.h: Likewise.
66509 * wcsmbs/bits/wchar2.h: Likewise.
66510 * wcsmbs/uchar.h: Likewise.
66511 * wcsmbs/wchar.h: Likewise.
66512 * wctype/wctype.h: Likewise.
66513
66514 [BZ #13551]
66515 * Makeconfig: Remove all but ELF support including AIX support.
66516 * Makerules: Likewise.
66517 * config.h.in: Likewise.
66518 * config.make.in: Likewise.
66519 * configure: Likewise.
66520 * configure.in: Likewise.
66521 * csu/Makefile: Likewise.
66522 * csu/version.c: Likewise.
66523 * debug/Makefile: Likewise.
66524 * dlfcn/Makefile: Likewise.
66525 * elf/Makefile: Likewise.
66526 * extra-lib.mk: Likewise.
66527 * iconv/Makefile: Likewise.
66528 * include/libc-symbols.h: Likewise.
66529 * include/shlib-compat.h: Likewise.
66530 * resolv/Makefile: Likewise.
66531 * resolv/res_libc.c: Likewise.
66532 * rt/Makefile: Likewise.
66533 * sysdeps/i386/asm-syntax.h: Likewise.
66534 * sysdeps/i386/sysdep.h: Likewise.
66535 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66536 * sysdeps/mach/sysdep.h: Likewise.
66537 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
66538 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
66539 * sysdeps/s390/asm-syntax.h: Likewise.
66540 * sysdeps/s390/s390-32/sysdep.h: Likewise.
66541 * sysdeps/s390/s390-64/sysdep.h: Likewise.
66542 * sysdeps/sh/sysdep.h: Likewise.
66543 * sysdeps/unix/sparc/sysdep.h: Likewise.
66544 * sysdeps/wordsize-32/divdi3.c: Likewise.
66545 * sysdeps/x86_64/sysdep.h: Likewise.
66546
66547 * argp/Versions: Remove _argp_unlock_xxx.
66548
66549 [BZ #13559]
66550 * abilist/ld.abilist: Update. Adjust for removal of tls option.
66551 * abilist/libBrokenLocale.abilist: Likewise.
66552 * abilist/libanl.abilist: Likewise.
66553 * abilist/libc.abilist: Likewise.
66554 * abilist/libcrypt.abilist: Likewise.
66555 * abilist/libdl.abilist: Likewise.
66556 * abilist/libm.abilist: Likewise.
66557 * abilist/libnsl.abilist: Likewise.
66558 * abilist/libpthread.abilist: Likewise.
66559 * abilist/libresolv.abilist: Likewise.
66560 * abilist/librt.abilist: Likewise.
66561 * abilist/libthread_db.abilist: Likewise.
66562 * abilist/libutil.abilist: Likewise.
66563 * abilist/libnss_db.abilist: New file.
66564
66565 * scripts/abilist.awk: Add support for indirect functions.
66566
66567 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
66568
66569 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
66570
66571 * shlib-versions: Remove entries for ports architectures.
66572
66573 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
66574 files in ports.
66575 * elf/stackguard-macros.h: Remove support for IA-64.
66576 * elf/tst-auditmod1.c: Likewise.
66577 * sysdeps/generic/ldsodefs.h: Likewise.
66578
66579 * sysdeps/unix/sysv/linux/configure.in: Ports should define
66580 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
66581 configure files.
66582
66583 [BZ #13552]
66584 * configure.in: Remove --enable-omitfp support.
66585 * FAQ.in: Adjust.
66586 * config.make.in: Likewise.
66587 * Makeconfig: Likewise.
66588 * manual/install.texi: Likewise.
66589
66590 In case anyone cares, the IA-64 architecture could move to ports.
66591 * sysdeps/ia64/*: Removed.
66592 * sysdeps/unix/sysv/linux/ia64/*: Removed.
66593 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
66594
66595 [BZ #13555]
66596 * configure.in: Remove entries for unsupported architectures.
66597
66598 [BZ #13533]
66599 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
66600 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
66601 routines.
66602 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
66603 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
66604 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
66605 fall back to using wcrtomb.
66606 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
66607 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
66608 renaming.
66609 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
66610 * wcsmbs/tst-c16c32-1.c: New file.
66611
66612 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
66613 local variable.
66614
66615 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
66616
66617 * elf/tst-unique3.cc: Add explicit declaration of gets.
66618 * elf/tst-unique3lib.cc: Likewise.
66619 * elf/tst-unique3lib2.cc: Likewise.
66620 * elf/tst-unique4.cc: Likewise.
66621
66622 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
66623
66624 2012-01-06 Joseph Myers <joseph@codesourcery.com>
66625
66626 [BZ #13566]
66627 * assert/assert.h (static_assert): Don't define for C++.
66628 * libio/stdio.h (gets): Do declare for C++ <= C++11.
66629 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
66630
66631 2012-01-03 Ulrich Drepper <drepper@gmail.com>
66632
66633 * iconv/loop.c (single loop): Fix assertion in storing of
66634 remaining bytes.
66635
66636 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
66637
66638 2012-01-01 Ulrich Drepper <drepper@gmail.com>
66639
66640 * posix/getconf.c: Update copyright year.
66641 * nss/getent.c: Likewise.
66642 * nss/makedb.c: Likewise.
66643 * iconv/iconvconfig.c: Likewise.
66644 * iconv/iconv_prog.c: Likewise.
66645 * elf/ldconfig.c: Likewise.
66646 * elf/pldd.c: Likewise.
66647 * elf/sotruss.ksh: Likewise.
66648 * catgets/gencat.c: Likewise.
66649 * csu/version.c: Likewise.
66650 * elf/ldd.bash.in: Likewise.
66651 * elf/sprof.c (print_version): Likewise.
66652 * locale/programs/locale.c: Likewise.
66653 * locale/programs/localedef.c: Likewise.
66654 * login/programs/pt_chown.c: Likewise.
66655 * nscd/nscd.c (print_version): Likewise.
66656 * debug/xtrace.sh: Likewise.
66657 * malloc/memusage.sh: Likewise.
66658 * malloc/mtrace.pl: Likewise.
66659 * debug/catchsegv.sh: Likewise.
66660
66661 2011-12-30 Jakub Jelinek <jakub@redhat.com>
66662
66663 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
66664 pure attribute.
66665
66666 2011-12-24 Ulrich Drepper <drepper@gmail.com>
66667
66668 [BZ #13533]
66669 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
66670 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
66671 transformations.
66672 * iconv/gconv_int.h: Likewise.
66673 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
66674 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
66675 from libc for GLIBC_2.16.
66676 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
66677 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
66678 * wcsmbs/uchar.h: Really define mbstate_t.
66679 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
66680 * wcsmbs/c16rtomb.c: New file.
66681 * wcsmbs/mbrtoc16.c: New file.
66682 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
66683 for C/POSIX locale.
66684 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
66685 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
66686
66687 * wcsmbs/wchar.h: Add missing __restrict.
66688
66689 2011-12-23 Ulrich Drepper <drepper@gmail.com>
66690
66691 [BZ #13532]
66692 * time/Makefile (routines): Add timespec_get.
66693 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
66694 * time/time.h: Define TIME_UTC and declare timespec_get. Define
66695 timespec for ISO C11.
66696 * time/timespec_get.c: New file.
66697 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
66698 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
66699
66700 [BZ #13531]
66701 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
66702 * stdlib/stdlib.h: Declare aligned_alloc.
66703 * Versions.def: Add GLIBC_2.16 for libc.
66704 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
66705
66706 [BZ 13527]
66707 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
66708 ISO C11.
66709
66710 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
66711 code.
66712
66713 [BZ #13528]
66714 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
66715
66716 [BZ #13529]
66717 * assert/assert.h (static_assert): Define.
66718
66719 * version.h: Update for 2.16 development version.
66720
66721 [BZ #13526]
66722 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
66723 _ISOC11_SOURCE.
66724
66725 * version.h (RELEASE): Bump for 2.15 release.
66726 * include/features.h (__GLIBC_MINOR__): Bump to 15.
66727
66728 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
66729 Patch by Marek Polacek <mpolacek@redhat.com>.
66730
66731 * bits/byteswap.h: Protect long long constants with __extension__.
66732 * sysdeps/i386/bits/byteswap.h: Likewise.
66733 * sysdeps/ia64/bits/byteswap.h: Likewise.
66734 * sysdeps/s390/bits/byteswap.h: Likewise.
66735 * sysdeps/x86_64/bits/byteswap.h: Likewise.
66736
66737 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66738
66739 [BZ #13540]
66740 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
66741 destination buffer.
66742 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
66743
66744 2011-12-23 Marek Polacek <polacek@redhat.com>
66745
66746 * elf/dl-addr.c (determine_info): Add inline keyword.
66747 * elf/tst-auditmod4b.c (check_avx): Likewise.
66748 * elf/tst-auditmod6b.c (check_avx): Likewise.
66749 * elf/tst-auditmod6c.c (check_avx): Likewise.
66750 * elf/tst-auditmod7b.c (check_avx): Likewise.
66751
66752 2011-12-23 Ulrich Drepper <drepper@gmail.com>
66753
66754 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
66755 !__SSE_MATH__.
66756
66757 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66758
66759 [BZ #13540]
66760 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
66761 processing for last bytes.
66762
66763 2011-08-06 Bruno Haible <bruno@clisp.org>
66764
66765 [BZ #13061]
66766 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
66767 U+0385, not to U+1FEE.
66768
66769 [BZ #13062]
66770 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
66771 entry for U+00A5 U+0301.
66772
66773 2011-12-22 Ulrich Drepper <drepper@gmail.com>
66774
66775 [BZ #13166]
66776 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
66777 buffer for the output is too small.
66778
66779 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
66780 optimization.
66781
66782 [BZ #13185]
66783 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
66784 SSE flags if possible.
66785
66786 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66787
66788 [BZ #13540]
66789 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
66790 processing for last bytes.
66791
66792 2011-12-22 Joseph Myers <joseph@codesourcery.com>
66793
66794 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
66795 (syscall-list-default-options, syscall-list-default-condition)
66796 (syscall-list-includes): Define.
66797 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
66798 list of ABIs and options and #if conditions for each ABI. Do not
66799 handle common syscalls between ABIs specially.
66800 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
66801 Remove.
66802 (syscall-list-variants, syscall-list-32bit-options)
66803 (syscall-list-32bit-condition, syscall-list-64bit-options)
66804 (syscall-list-64bit-condition): Define.
66805 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
66806 (syscall-list-variants, syscall-list-32bit-options)
66807 (syscall-list-32bit-condition, syscall-list-64bit-options)
66808 (syscall-list-64bit-condition): Define.
66809 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
66810 Remove.
66811 (syscall-list-variants, syscall-list-32bit-options)
66812 (syscall-list-32bit-condition, syscall-list-64bit-options)
66813 (syscall-list-64bit-condition): Define.
66814 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
66815 Remove.
66816 (syscall-list-variants, syscall-list-32bit-options)
66817 (syscall-list-32bit-condition, syscall-list-64bit-options)
66818 (syscall-list-64bit-condition): Define.
66819
66820 2011-12-22 Ulrich Drepper <drepper@gmail.com>
66821
66822 * locale/iso-639.def: Add brx entry.
66823
66824 [BZ #13328]
66825 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
66826 Proposed by Mariusz_Cukr <marcukr@op.pl>.
66827
66828 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
66829 __feraiseexcept_renamed.
66830
66831 2011-12-21 Ulrich Drepper <drepper@gmail.com>
66832
66833 [BZ #13538]
66834 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
66835 EPOLLET with unsigned values.
66836 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66837 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66838
66839 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
66840 to large cancellation.
66841 * math/s_cacoshf.c: Likewise.
66842 * math/s_cacoshl.c: Likewise.
66843
66844 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
66845
66846 [BZ #13305]
66847 [BZ #12786]
66848 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
66849 * math/s_cacoshf.c: Likewise.
66850 * math/s_cacoshl.c: Likewise.
66851
66852 2011-12-21 Ulrich Drepper <drepper@gmail.com>
66853
66854 [BZ #13439]
66855 * iconv/gconv.h: Define __GCONV_SWAP.
66856 * iconvdata/unicode.c: The swap bit must be stored in __flags.
66857 * iconvdata/utf-16.c: Likewise.
66858 * iconvdata/utf-32.c: Likewise.
66859
66860 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
66861
66862 [BZ #13524]
66863 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
66864 numerator after shifting it by one limb.
66865
66866 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
66867
66868 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
66869 under [__USE_EXTERN_INLINES].
66870
66871 2011-12-17 Ulrich Drepper <drepper@gmail.com>
66872
66873 [BZ #13446]
66874 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
66875
66876 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66877
66878 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
66879 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
66880 optimized code.
66881 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
66882 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
66883 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
66884 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
66885 for strncasecmp/strncasecmp_l compilation.
66886 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
66887 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
66888
66889 2011-12-08 Marek Polacek <mpolacek@redhat.com>
66890
66891 [BZ #13484]
66892 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
66893 of __asm__.
66894
66895 2011-12-17 Ulrich Drepper <drepper@gmail.com>
66896
66897 [BZ #13506]
66898 * time/tzfile.c (__tzfile_read): Check values from file header.
66899
66900 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
66901
66902 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
66903 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
66904 * powerpc/powerpc32/dl-start.S: Likewise.
66905 * powerpc/powerpc32/elf/start.S: Likewise.
66906 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
66907 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
66908 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
66909 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
66910 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
66911 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
66912 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
66913 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66914 * powerpc/powerpc32/fpu/s_round.S: Likewise.
66915 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
66916 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
66917 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
66918 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
66919 * powerpc/powerpc32/memset.S: Likewise.
66920 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
66921 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66922 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66923 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66924 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66925 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
66926 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
66927 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
66928 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
66929 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
66930 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
66931 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66932 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66933
66934 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66935
66936 * math/libm-test.inc: Added more nearbyint tests.
66937 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
66938 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
66939 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
66940 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
66941
66942 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
66943
66944 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
66945 FD_CLOEXEC.
66946
66947 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66948
66949 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
66950 Add wcscpy-ssse3 wcscpy-c.
66951 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
66952 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
66953 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
66954 * sysdeps/x86_64/wcschr.S: New file.
66955 * sysdeps/x86_64/wcsrchr.S: New file.
66956 * string/test-strcmp.c: Remove checking of wcscmp function for
66957 wrong alignments.
66958 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
66959 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
66960 wcsrchr-sse2 wcsrchr-c.
66961 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
66962 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
66963 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
66964 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
66965 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
66966 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
66967 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
66968 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
66969 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
66970 * wcsmbc/wcschr.c (WCSCHR): New macro.
66971
66972 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66973
66974 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
66975 * wcsmbs/test-wcsrchr.c: New file.
66976 * string/test-strrchr.c: Add wcsrchr support.
66977 (WIDE): New macro.
66978 * wcsmbs/test-wcscpy.c: New file.
66979 * string/test-strcpy.c: Add wcscpy support.
66980 (WIDE): New macro.
66981
66982 2011-12-10 Ulrich Drepper <drepper@gmail.com>
66983
66984 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
66985 the inner loop.
66986
66987 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
66988
66989 [BZ #13472]
66990 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
66991
66992 2011-12-04 Ulrich Drepper <drepper@gmail.com>
66993
66994 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
66995 Minor optimizations.
66996
66997 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
66998 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
66999 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
67000
67001 2011-12-03 Ulrich Drepper <drepper@gmail.com>
67002
67003 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
67004 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
67005 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
67006 for gcc to avoid warnings.
67007 * inet/Makefile (tests): Add tst-checks.
67008 * inet/tst-checks.c: New file.
67009
67010 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
67011 warning.
67012
67013 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
67014 __wmemcmp_sse2.
67015
67016 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
67017 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
67018
67019 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
67020
67021 2011-12-02 Ulrich Drepper <drepper@gmail.com>
67022
67023 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
67024 problem.
67025
67026 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
67027
67028 2011-11-29 Joseph Myers <joseph@codesourcery.com>
67029
67030 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
67031 conditional on GCC version.
67032 (__arch_compare_and_exchange_val_8_acq)
67033 (__arch_compare_and_exchange_val_16_acq)
67034 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
67035 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
67036 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
67037
67038 2011-12-02 Joseph Myers <joseph@codesourcery.com>
67039
67040 * sysdeps/sh/backtrace.c: New file.
67041
67042 2011-12-02 Andreas Schwab <schwab@redhat.com>
67043
67044 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
67045 parenthesis.
67046
67047 2011-12-01 Andreas Schwab <schwab@redhat.com>
67048
67049 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
67050 falling back to utime.
67051
67052 2011-11-30 Andreas Schwab <schwab@redhat.com>
67053
67054 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
67055 expectations for float.
67056
67057 2011-11-29 Andreas Schwab <schwab@redhat.com>
67058
67059 * locale/weight.h (findidx): Add parameter len.
67060 * locale/weightwc.h (findidx): Likewise.
67061 * posix/fnmatch_loop.c (FCT): Adjust caller.
67062 * posix/regcomp.c (build_equiv_class): Likewise.
67063 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
67064 * posix/regexec.c (check_node_accept_bytes): Likewise.
67065 * string/strcoll_l.c (STRCOLL): Likewise.
67066 * string/strxfrm_l.c (STRXFRM): Likewise.
67067
67068 2011-11-17 Ulrich Drepper <drepper@gmail.com>
67069
67070 * Makefile.in: Remove CVSOPT handling.
67071 * configure.in: Remove use of AC_REVISION.
67072 * iconvdata/Makefile (distribute): No need to filter out CVS.
67073 * scripts/list-sources.sh: Remove CVS, subversion and monotone
67074 handling.
67075
67076 2011-11-16 Andreas Schwab <schwab@redhat.com>
67077
67078 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
67079 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
67080 [USE_AS_STRNCASECMP_L]: Likewise.
67081 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
67082 NO_TLS_DIRECT_SEG_REFS.
67083 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
67084 Fix argument offsets for non-PIC.
67085 [USE_AS_STRNCASECMP_L]: Likewise.
67086 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
67087 NO_TLS_DIRECT_SEG_REFS.
67088
67089 2011-11-15 Ulrich Drepper <drepper@gmail.com>
67090
67091 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
67092 O_CLOEXEC.
67093 * locale/loadlocale.c (_nl_load_locale): Likewise.
67094
67095 2011-11-15 Andreas Schwab <schwab@redhat.com>
67096
67097 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
67098 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
67099 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
67100 (SYSCALL_GETTIME): Set errno on error.
67101
67102 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
67103 count references to noai6ai_cached.
67104
67105 2011-11-15 Ulrich Drepper <drepper@gmail.com>
67106
67107 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
67108
67109 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
67110 FD_CLOEXEC for /proc/self/maps.
67111
67112 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
67113 FD_CLOEXEC for /proc/meminfo.
67114
67115 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
67116 gai.conf.
67117
67118 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
67119 FD_CLOEXEC for given file.
67120
67121 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
67122
67123 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
67124 FD_CLOEXEC for /etc/hosts.
67125 (_gethtent): Likewise.
67126
67127 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
67128
67129 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
67130 cancellation and set FD_CLOEXEC for /etc/netgroup.
67131
67132 * nss/nss_files/files-key.c (search): Don't allow cancellation when
67133 reading /etc/publickey.
67134
67135 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
67136 allow cancellation when reading /etc/group.
67137
67138 * nss/nss_files/files-alias.c (internal_setent): Don't allow
67139 cancellation.
67140 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
67141
67142 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
67143 when using data file.
67144
67145 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
67146
67147 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
67148 (write_nis_obj): Use "c" and "e" in fopen.
67149
67150 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
67151
67152 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
67153
67154 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
67155
67156 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
67157
67158 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
67159 locale.alias.
67160
67161 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
67162
67163 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
67164
67165 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
67166
67167 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
67168 file parsing and set FD_CLOEXEC.
67169
67170 2011-11-14 Ulrich Drepper <drepper@gmail.com>
67171
67172 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
67173
67174 2011-11-14 Andreas Schwab <schwab@redhat.com>
67175
67176 * malloc/arena.c (arena_get2): Don't call reused_arena when
67177 _int_new_arena failed.
67178
67179 2011-11-14 Ulrich Drepper <drepper@gmail.com>
67180
67181 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
67182 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
67183 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
67184 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67185 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67186 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
67187 to compile strcasecmp and strncasecmp.
67188 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
67189 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
67190
67191 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
67192
67193 2011-11-13 Ulrich Drepper <drepper@gmail.com>
67194
67195 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
67196 locale-defines.sym to gen-as-const-headers.
67197 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
67198 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
67199 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
67200 to compile strcasecmp and strncasecmp.
67201 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
67202 strcasecmp_l and strncasecmp_l.
67203 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
67204 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
67205 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
67206 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
67207 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
67208 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
67209 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
67210 * sysdeps/i386/i686/multiarch/strncase.S: New file.
67211 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
67212 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
67213 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
67214
67215 2011-11-12 Ulrich Drepper <drepper@gmail.com>
67216
67217 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
67218 result of SYSDEP_GETTIME_CPU to retval.
67219 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
67220 parameter list to macro. Remove trailing semicolon. Adjust users.
67221
67222 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
67223 variable.
67224
67225 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
67226 mantissa words.
67227 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
67228
67229 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
67230 from unused variable.
67231
67232 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
67233 DWARF definitions.
67234 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
67235 for assembling.
67236
67237 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
67238 over namespaces.
67239
67240 * sunrpc/rpc_prot.c (rejected): Fix case value.
67241
67242 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
67243 unsigned long long int to avoid warnings in shift.
67244
67245 * posix/regex_internal.c (re_string_reconstruct): Actually use result
67246 of use of trans.
67247 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
67248 variable tmp.
67249
67250 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
67251 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
67252 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
67253
67254 * nis/nis_table.c (nis_list): Use variable of correct type for
67255 result of __follow_path call.
67256
67257 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67258
67259 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
67260 of math functions ceil, trunc, floor, round, and sqrt, when
67261 avaliable on the platform.
67262 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
67263 name clash.
67264 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67265 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67266 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67267
67268 2011-10-30 Marek Polacek <mpolacek@redhat.com>
67269
67270 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
67271 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67272
67273 2011-11-11 Roland McGrath <roland@hack.frob.com>
67274
67275 * include/unistd.h: Fix __readlink return type.
67276 Reported by Chris Metcalf <cmetcalf@tilera.com>.
67277
67278 2011-11-11 Ulrich Drepper <drepper@gmail.com>
67279
67280 * stdlib/ucontext.h: Undo last change for makecontext.
67281
67282 2011-11-11 Andreas Schwab <schwab@redhat.com>
67283
67284 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
67285
67286 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
67287 * setjmp/setjmp.h: Mark functions as non-leaf.
67288 * setjmp/bits/setjmp2.h: Likewise.
67289 * stdlib/ucontext.h: Likewise.
67290
67291 2011-11-10 Andreas Schwab <schwab@redhat.com>
67292
67293 * malloc/arena.c (_int_new_arena): Don't increment narenas.
67294 (reused_arena): Don't check arena limit.
67295 (arena_get2): Atomically check arena limit.
67296
67297 2011-11-08 Ulrich Drepper <drepper@gmail.com>
67298
67299 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
67300 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
67301
67302 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
67303 instructions.
67304
67305 2011-11-07 Andreas Schwab <schwab@redhat.com>
67306
67307 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
67308 handler when locking.
67309
67310 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67311 Fix size of allocated buffer.
67312
67313 2011-11-04 Andreas Schwab <schwab@redhat.com>
67314
67315 [BZ #10103]
67316 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
67317 declarations for long double functions.
67318 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
67319
67320 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
67321
67322 2011-11-03 Andreas Schwab <schwab@redhat.com>
67323
67324 * nscd/nscd.c (main): Don't start AVC thread until credentials are
67325 installed.
67326
67327 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
67328 is disabled.
67329
67330 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
67331
67332 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
67333
67334 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
67335
67336 * include/alloca.h (stackinfo_alloca_round): Define.
67337 (extend_alloca): Use it.
67338 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
67339 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
67340 here.
67341
67342 * scripts/check-local-headers.sh: Ignore libaudit.h.
67343
67344 * nscd/Makefile (extra-objs): Make recursively expanded.
67345
67346 2011-11-01 Ulrich Drepper <drepper@gmail.com>
67347
67348 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
67349 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
67350
67351 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
67352 * posix/tst-rfc3484-2.c: Likewise.
67353 * posix/tst-rfc3484-3.c: Likewise.
67354
67355 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67356 process_vm_writev.
67357 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
67358 process_vm_writev.
67359 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
67360 process_vm_writev from libc using GLIBC_2.15 version.
67361
67362 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
67363
67364 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
67365
67366 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
67367 stack usage.
67368
67369 2011-10-31 Ulrich Drepper <drepper@gmail.com>
67370
67371 [BZ #13367]
67372 * nss/getent.c (initgroups_keys): Show error message in case no group
67373 names are given.
67374
67375 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
67376 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
67377 __bump_nl_timestamp.
67378 * nscd/connections (nscd_init): When host database is served open
67379 netlink socket and request notification about configuration changes.
67380 (main_loop_poll): Track netlink file descriptor and bump timestamp
67381 in case data becomes available.
67382 (main_loop_epoll): Likewise.
67383 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
67384 (database_pers_head): Add extra_data fileds.
67385 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
67386 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
67387 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
67388 Adjust caller.
67389 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
67390 in6ai data, call __free_in6ai.
67391 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
67392 Add -DHAVE_NETLINK.
67393 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
67394 interface information. Reuse previous data if netlink timestamp
67395 is not changed.
67396 (__bump_nl_timestamp): New function.
67397 (__free_in6ai): New function.
67398
67399 2011-10-30 Ulrich Drepper <drepper@gmail.com>
67400
67401 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
67402 close_not_cancel_no_status here.
67403 (__check_pf): Reorganize code a bit to not call close twice if OOM.
67404
67405 2011-10-29 Ulrich Drepper <drepper@gmail.com>
67406
67407 [BZ #13276]
67408 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
67409 return value.
67410
67411 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
67412 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
67413 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
67414
67415 2011-07-03 Andreas Jaeger <aj@suse.de>
67416
67417 [BZ #10709]
67418 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
67419 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
67420 * math/libm-test.inc (sin_test): Add test case.
67421
67422 2011-10-29 Ulrich Drepper <drepper@gmail.com>
67423
67424 [BZ #13337]
67425 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
67426 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67427
67428 * elf/chroot_canon.c (chroot_canon): Cleanups.
67429
67430 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
67431
67432 [BZ #13335]
67433 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
67434 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67435
67436 * string/test-strchr.c: Make usable for strchrnul testing.
67437 * string/test-strchrnul.c: New file.
67438 * string/Makefile (strop-tests): Add strchrnul.
67439
67440 * po/it.po: Update from translation team.
67441 * po/es.po: Likewise.
67442
67443 2011-10-28 Ulrich Drepper <drepper@gmail.com>
67444
67445 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
67446 the three constants needed as parameters. Drop the others.
67447 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
67448 __m128i_strloadu_tolower.
67449 Create and initialize variable zero and use it in all the places
67450 where _mm_setzero_si128 was used.
67451
67452 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
67453 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
67454 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
67455 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
67456 anymore.
67457 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
67458 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
67459 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
67460 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
67461 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
67462 __mpranred, __mptan.
67463 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
67464 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
67465 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
67466 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
67467 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
67468 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
67469 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
67470 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
67471 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
67472
67473 2011-10-28 Andreas Schwab <schwab@redhat.com>
67474
67475 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
67476 redefine if SHARED.
67477 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
67478
67479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
67480 wide char related routines to wcsmbs subdir.
67481
67482 2011-10-27 Andreas Schwab <schwab@redhat.com>
67483
67484 [BZ #13344]
67485 * misc/sys/cdefs.h (__THROWNL): Define.
67486 * posix/unistd.h: Use __THREADNL instead of __THREAD
67487 for memory synchronization functions.
67488
67489 2011-10-26 Roland McGrath <roland@hack.frob.com>
67490
67491 [BZ #13349]
67492 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
67493 doesn't exist.
67494 * manual/stdio.texi (Obstack Streams): Node removed.
67495
67496 2011-10-26 Andreas Schwab <schwab@redhat.com>
67497
67498 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
67499 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67500 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67501
67502 * math/math_private.h (math_force_eval): Allow non-addressable
67503 arguments.
67504 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
67505
67506 2011-10-25 Ulrich Drepper <drepper@gmail.com>
67507
67508 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
67509 file is not needed.
67510
67511 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
67512 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
67513 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67514 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67515 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67516 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67517 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67518 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
67519 Add AVX variants.
67520 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
67521 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
67522 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
67523 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
67524 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
67525 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
67526 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
67527 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
67528 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
67529 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
67530 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
67531 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
67532 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
67533 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
67534 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
67535 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
67536 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
67537 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
67538 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
67539
67540 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
67541 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
67542
67543 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
67544 place. Use VEX encoding when compiling for AVX.
67545
67546 2011-10-25 Andreas Schwab <schwab@redhat.com>
67547
67548 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
67549 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
67550
67551 * string/test-strchr.c (do_test): Don't generate NUL bytes.
67552
67553 2011-10-25 Ulrich Drepper <drepper@gmail.com>
67554
67555 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
67556 useless if() expression.
67557 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67558 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67559 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67560 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67561 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67562 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67563 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67564 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67565 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67566 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67567 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67568 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67569 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67570 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67571 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67572 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67573 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67574 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67575 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67576
67577 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
67578
67579 2011-10-25 Andreas Schwab <schwab@redhat.com>
67580
67581 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
67582 condition.
67583 * elf/dl-fini.c (_dl_sort_fini): Likewise.
67584
67585 2011-10-25 Ulrich Drepper <drepper@gmail.com>
67586
67587 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
67588 .text section. Avoid duplicate constants.
67589 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67590 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67591 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67595 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67596 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67597 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67598 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
67599 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67600 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67601 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67602 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67603 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67604 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67605 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67606 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67607 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67608 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67609 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67610 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67611 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67612 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
67613 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
67614 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
67615 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
67616 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
67617 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
67618 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
67619 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
67620 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
67621 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67622 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
67623 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
67624 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
67625 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
67626 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
67627 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
67628 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
67629 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
67630 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
67631 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
67632 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
67633 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
67634
67635 2011-10-24 Ulrich Drepper <drepper@gmail.com>
67636
67637 * sysdeps/x86_64/dla.h: Move to ...
67638 * sysdeps/x86_64/fpu/dla.h: ...here.
67639 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
67640 situations. Use __builtin_fma only for gcc 4.6 and up.
67641
67642 * config.make.in: Add have-mfma4 entry.
67643 * configure.in: Substitute libc_cv_cc_fma4.
67644 * math/Makefile (dbl-only-routines): Add sincostab.
67645 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
67646 Use __sincostab not sincos.
67647 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
67648 name is a macro.
67649 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67650 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67651 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67652 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
67653 using __copysign.
67654 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
67655 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
67656 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
67657 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
67658 and __inv.
67659 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
67660 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
67661 __copysign.
67662 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
67663 define aliases when function name is a macro.
67664 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
67665 sysdeps/ieee754/dbl-64/sincos.tbl.
67666 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
67667 fma4-enabled routines.
67668 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
67669 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
67670 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
67671 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
67672 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
67673 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
67674 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
67675 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
67676 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
67677 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
67678 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
67679 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
67680 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
67681 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
67682 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
67683 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
67684 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
67685 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
67686 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
67687 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
67688 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
67689 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
67690 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
67691 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
67692 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
67693 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
67694 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
67695 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
67696 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
67697 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
67698
67699 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
67700 rename.
67701 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67702 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67703 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67705 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67706 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67707 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67708 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67709
67710 2011-10-24 Andreas Schwab <schwab@redhat.com>
67711
67712 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
67713
67714 2011-10-23 Ulrich Drepper <drepper@gmail.com>
67715
67716 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
67717
67718 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
67719 prediction.
67720 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
67721
67722 * string/strnlen.c: Don't define STRNLEN, reverse logic.
67723 Remove unused variable magic_bits.
67724 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
67725
67726 * string/strnlen.c: Define and use STRNLEN macro.
67727 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
67728 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
67729 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
67730 * wcsmbs/wcslen.c: Define and use WCSLEN.
67731 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
67732 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
67733 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
67734 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
67735 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
67736 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
67737 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67738
67739 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67740
67741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67742 strnlen-sse2-no-bsf.
67743 Rename strlen-no-bsf to strlen-sse2-no-bsf.
67744 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
67745 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
67746 Add strnlen support.
67747 (USE_AS_STRNLEN): New macro.
67748 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
67749 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
67750 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
67751 * sysdeps/x86_64/wcslen.S: New file.
67752
67753 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
67754
67755 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67756 XMM-moves are used for copying on small sizes.
67757
67758 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67759
67760 * wcsmbs/Makefile (strop-tests): Add wcschr.
67761 * wcsmbs/test-wcschr.c: New file.
67762 * string/test-strchr.c: Update.
67763 Add wcschr support.
67764 (WIDE): New macro.
67765
67766 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67767
67768 * wcsmbs/Makefile (strop-tests): Add wcslen.
67769 * wcsmbs/test-wcslen.c: New file.
67770 * string/test-strlen.c: Update.
67771 Add wcslen support.
67772 (WIDE): New macro.
67773
67774 2011-10-23 Ulrich Drepper <drepper@gmail.com>
67775
67776 * po/it.po: Update from translation team.
67777
67778 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67779
67780 * sysdeps/x86_64/wcscmp.S: Update.
67781 Fix wrong comparison semantics.
67782 wcscmp shall use signed comparison not unsigned.
67783 Don't use substraction to avoid overflow bug.
67784 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
67785 * wcsmbc/wcscmp.c: Likewise.
67786 * string/test-strcmp.c: Likewise.
67787 Add new tests to check cases with negative values.
67788
67789 2011-10-23 Ulrich Drepper <drepper@gmail.com>
67790
67791 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
67792 * sysdeps/x86_64/dla.h: ...here. New file.
67793 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
67794 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67795 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67797 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67798 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67799 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67800 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67801 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67802
67803 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
67804
67805 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
67806 __ynl_finite aliases.
67807
67808 2011-10-22 Ulrich Drepper <drepper@gmail.com>
67809
67810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67811
67812 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
67813 define DLA_FMA.
67814 [DLA_FMA] (EMULV): Use DLA_FMA.
67815 [DLA_FMA] (MUL12): Use EMULV.
67816 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
67817 that are not needed.
67818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67819 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67821 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67822 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67823 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67824 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67825
67826 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
67827
67828 * math/s_nan.c: Undef __nan.
67829 * math/s_nanf.c: Undef __nanf.
67830 * math/s_nanl.c: Undef __nanl.
67831 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
67832 "math_private.h".
67833
67834 2011-10-22 Ulrich Drepper <drepper@gmail.com>
67835
67836 * math/s_catan.c: Add branch predictions.
67837 * math/s_catanf.c: Likewise.
67838 * math/s_catanh.c: Likewise.
67839 * math/s_catanhf.c: Likewise.
67840 * math/s_catanhl.c: Likewise.
67841 * math/s_catanl.c: Likewise.
67842 * math/s_cexp.c: Likewise.
67843 * math/s_cexpf.c: Likewise.
67844 * math/s_cexpl.c: Likewise.
67845 * math/s_clog.c: Likewise.
67846 * math/s_clog10.c: Likewise.
67847 * math/s_clog10f.c: Likewise.
67848 * math/s_clog10l.c: Likewise.
67849 * math/s_clogf.c: Likewise.
67850 * math/s_clogl.c: Likewise.
67851 * math/s_csqrt.c: Likewise.
67852 * math/s_csqrtf.c: Likewise.
67853 * math/s_csqrtl.c: Likewise.
67854 * math/s_ctanf.c: Likewise.
67855 * math/s_ctanh.c: Likewise.
67856 * math/s_ctanhf.c: Likewise.
67857 * math/s_ctanhl.c: Likewise.
67858 * math/s_ctanl.c: Likewise.
67859
67860 * math/math_private.h: Define __nan, __nanf, __nanl.
67861 * math/s_cacosh.c: Include <math_private.h>.
67862 * math/s_cacoshl.c: Likewise.
67863 * math/s_casinh.c: Likewise.
67864 * math/s_casinhf.c: Likewise.
67865 * math/s_casinhl.c: Likewise.
67866 * math/s_ccos.c: Rely entire on ccosh.
67867 * math/s_ccosf.c: Rely entire on ccoshf.
67868 * math/s_ccosl.c: Rely entirely on ccoshl.
67869 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
67870 Remove tests for FE_INVALID.
67871 * math/s_ccoshf.c: Likewise.
67872 * math/s_ccoshl.c: Likewise.
67873 * math/s_csin.c: Likewise.
67874 * math/s_csinf.c: Likewise.
67875 * math/s_csinh.c Likewise.
67876 * math/s_csinhf.c: Likewise.
67877 * math/s_csinhl.c: Likewise.
67878 * math/s_csinl.c: Likewise.
67879 * math/s_ctan.c: Likewise.
67880 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
67881 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
67882 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
67883
67884 2011-10-21 Ulrich Drepper <drepper@gmail.com>
67885
67886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
67887 compilation problems.
67888
67889 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
67890 __builtin_expect.
67891
67892 2011-10-20 Ulrich Drepper <drepper@gmail.com>
67893
67894 * sysdeps/i386/configure.in: Test for -mfma4 option.
67895 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
67896 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
67897 COMMON_CPUID_INDEX_80000001.
67898 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
67899 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
67900 use it if FMA3 is not supported.
67901 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
67902
67903 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
67904 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67905
67906 2011-10-20 Andreas Schwab <schwab@redhat.com>
67907
67908 [BZ #12892]
67909 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
67910 it would create a cycle with a link time dependency.
67911
67912 2011-10-19 Ulrich Drepper <drepper@gmail.com>
67913
67914 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
67915 instruction.
67916 * string/Makefile (strop-tests): Add rawmemchr.
67917 * string/test-rawmemchr.c: New file.
67918
67919 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
67920 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
67921 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
67922 when compiling str{,n}casecmp and when AVX is available. Hook up
67923 new optimized code in initializers.
67924
67925 2011-10-19 Andreas Schwab <schwab@redhat.com>
67926
67927 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
67928 __feraiseexcept instead of feraiseexcept.
67929
67930 2011-10-18 Ulrich Drepper <drepper@gmail.com>
67931
67932 * math/math_private.h: Define defaults for libc_fetestexcept and
67933 libc_feupdateenv.
67934 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
67935 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
67936 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67937 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67938 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67939 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67940 libc_fetestexcept and libc_feupdateenv.
67941
67942 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
67943 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
67944 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
67945 * sysdeps/x86_64/fpu/math_private.h: Define special version of
67946 libc_feholdexcept_setround.
67947
67948 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
67949 Add s_nearbyint-c and s_nearbyintf-c.
67950 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
67951 nearbyintf inlines.
67952 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
67953 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
67954 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
67955 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
67956
67957 * math/math_private.h: Define defaults for libc_fegetround,
67958 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
67959 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
67960 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
67961 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
67962 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
67963 standard functions.
67964 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67965 Remove comments and hacks for old compiler versions.
67966 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67967 libc_fegetround, libc_fesetround, libc_feholdexcept, and
67968 libc_feholdexceptl.
67969
67970 2011-10-18 Andreas Schwab <schwab@redhat.com>
67971
67972 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
67973 (__feraiseexcept_renamed): Add __NTH.
67974 (feraiseexcept): Add __NTH. Rename local variables to fix
67975 namespace violations.
67976
67977 2011-10-17 Ulrich Drepper <drepper@gmail.com>
67978
67979 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
67980
67981 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
67982
67983 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
67984 recently added interfaces.
67985 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
67986
67987 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
67988 about macro parameter expansion.
67989
67990 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
67991 __NO_MATH_INLINES is defined. Cleanups.
67992
67993 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
67994 and __floorf is target has SSE4.1.
67995 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
67996 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
67997 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
67998 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
67999
68000 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
68001 name.
68002 (floorf): Likewise.
68003
68004 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
68005
68006 2011-10-17 Andreas Schwab <schwab@redhat.com>
68007
68008 * misc/sys/cdefs.h: Fix last change.
68009
68010 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
68011 database lookup.
68012
68013 2011-10-16 Ulrich Drepper <drepper@gmail.com>
68014
68015 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
68016
68017 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
68018 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68019 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68020 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68021 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68022 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68023 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68024 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68025 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68026 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
68027 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
68028 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
68029 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
68030 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
68031 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
68032 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
68033 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
68034 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
68035 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
68036 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
68037 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
68038 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
68039
68040 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
68041 ceil, ceilf, floor, floorf.
68042
68043 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
68044 Perform IRELATIVE relocations last.
68045
68046 * elf/do-rel.h: Add another parameter nrelative, replacing the
68047 local variable with the same name. Change name of the function
68048 to end in Rel or Rela (uppercase).
68049 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
68050 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
68051 elf_dynamic_do_##reloc function.
68052
68053 2011-10-15 Ulrich Drepper <drepper@gmail.com>
68054
68055 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
68056 is sufficient, at least on modern CPUs.
68057
68058 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
68059
68060 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
68061 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
68062
68063 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
68064 __expl_finite.
68065 * math/bits/math-finite.h: Add entries for exp.
68066 * math/e_expl.c: Add __*_finite alias.
68067 * sysdeps/i386/fpu/e_exp.S: Likewise.
68068 * sysdeps/i386/fpu/e_expf.S: Likewise.
68069 * sysdeps/i386/fpu/e_expl.c: Likewise.
68070 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68071 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68072 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
68073 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
68074 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
68075 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68076 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68077
68078 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
68079 is sufficient, at least on modern CPUs.
68080
68081 * ctype/ctype-info.c (__ctype_init): Define.
68082 * include/ctype.h (__ctype_init): Declare.
68083 (__ctype_b_loc): The variable is always initialized.
68084 (__ctype_toupper_loc): Likewise.
68085 (__ctype_tolower_loc): Likewise.
68086 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
68087 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
68088
68089 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
68090
68091 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
68092
68093 * configure.in: Also look in $cxxmachine/include for C++ system
68094 headers.
68095
68096 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68097
68098 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
68099 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
68100 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
68101 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
68102 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
68103 (USE_AS_WMEMCMP): New macro.
68104 Fixing indents.
68105 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
68106 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
68107 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
68108 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
68109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68110 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
68111 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
68112 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
68113 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
68114 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
68115 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
68116 (USE_AS_WMEMCMP): New macro.
68117 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
68118 * sysdeps/string/test-memcmp.c: Update.
68119 Fix simple_wmemcmp.
68120 Add new tests.
68121 * wcsmbs/wmemcmp.c: Update.
68122 (WMEMCMP): New macro.
68123 Fix overflow bug.
68124
68125 2011-10-12 Andreas Jaeger <aj@suse.de>
68126
68127 [BZ #13268]
68128 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
68129
68130 2011-10-15 Ulrich Drepper <drepper@gmail.com>
68131
68132 * libio/iofwide.c (do_length): Avoid warning.
68133
68134 * ctype/ctype.h (__isctype_f): Add missing __THROW.
68135
68136 2011-10-14 Ulrich Drepper <drepper@gmail.com>
68137
68138 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
68139
68140 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
68141 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
68142 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
68143 * sysdeps/i386/i686/fpu/e_log.S: New file.
68144 * sysdeps/i386/i686/fpu/e_logf.S: New file.
68145 * sysdeps/i386/i686/fpu/e_logl.S: New file.
68146
68147 * ctype/ctype.h: Add support for inlined isXXX functions when
68148 compiling C++ code.
68149
68150 2011-10-14 Andreas Schwab <schwab@redhat.com>
68151
68152 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68153
68154 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
68155
68156 2011-10-13 Roland McGrath <roland@hack.frob.com>
68157
68158 [BZ #13291]
68159 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
68160
68161 2011-10-13 Andreas Schwab <schwab@redhat.com>
68162
68163 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
68164 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
68165 feraiseexcept.
68166
68167 * sysdeps/x86_64/memrchr.S: Check for zero size.
68168
68169 * string/stratcliff.c: Add memrchr tests.
68170
68171 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68172
68173 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68174 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
68175 rawmemchr-sse2 rawmemchr-sse2-bsf.
68176 * sysdeps/i386/i686/multiarch/memchr.S: New file.
68177 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
68178 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
68179 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
68180 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
68181 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
68182 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
68183 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
68184 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
68185 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
68186 * string/memrchr.c (MEMRCHR): New macro.
68187
68188 2011-10-12 Ulrich Drepper <drepper@gmail.com>
68189
68190 Add integration with gcc's -ffinite-math-only and optimize wrapper
68191 functions in libm.
68192 * Versions.def: Define GLIBC_2.15 version for libm.
68193 * math/Makefile (headers): Add bits/math-finite.h.
68194 * math/bits/math-finite.h: New file.
68195 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
68196 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
68197 * math/e_acoshl.c: Add __*_finite alias.
68198 * math/e_acosl.c: Likewise.
68199 * math/e_asinl.c: Likewise.
68200 * math/e_atan2l.c: Likewise.
68201 * math/e_atanhl.c: Likewise.
68202 * math/e_coshl.c: Likewise.
68203 * math/e_exp10.c: Likewise.
68204 * math/e_exp10f.c: Likewise.
68205 * math/e_exp10l.c: Likewise.
68206 * math/e_exp2l.c: Likewise.
68207 * math/e_fmodl.c: Likewise.
68208 * math/e_gammal_r.c: Likewise.
68209 * math/e_hypotl.c: Likewise.
68210 * math/e_j0l.c: Likewise.
68211 * math/e_j1l.c: Likewise.
68212 * math/e_jnl.c: Likewise.
68213 * math/e_lgammal_r.c: Likewise.
68214 * math/e_log10l.c: Likewise.
68215 * math/e_log2l.c: Likewise.
68216 * math/e_logl.c: Likewise.
68217 * math/e_powl.c: Likewise.
68218 * math/e_sinhl.c: Likewise.
68219 * math/e_sqrtl.c: Likewise.
68220 * math/e_scalb.c: Completely rewritten and optimized.
68221 * math/e_scalbf.c: Likewise.
68222 * math/e_scalbl.c: Likewise.
68223 * math/w_acos.c: Likewise.
68224 * math/w_acosf.c: Likewise.
68225 * math/w_acosl.c: Likewise.
68226 * math/w_acosh.c: Likewise.
68227 * math/w_acoshf.c: Likewise.
68228 * math/w_acoshl.c: Likewise.
68229 * math/w_asin.c: Likewise.
68230 * math/w_asinf.c: Likewise.
68231 * math/w_asinl.c: Likewise.
68232 * math/w_atan2.c: Likewise.
68233 * math/w_atan2f.c: Likewise.
68234 * math/w_atan2l.c: Likewise.
68235 * math/w_atanh.c: Likewise.
68236 * math/w_atanhf.c: Likewise.
68237 * math/w_atanhl.c: Likewise.
68238 * math/w_exp10.c: Likewise.
68239 * math/w_exp10f.c: Likewise.
68240 * math/w_exp10l.c: Likewise.
68241 * math/w_fmod.c: Likewise.
68242 * math/w_fmodf.c: Likewise.
68243 * math/w_fmodl.c: Likewise.
68244 * math/w_j0.c: Likewise.
68245 * math/w_j0f.c: Likewise.
68246 * math/w_j0l.c: Likewise.
68247 * math/w_j1.c: Likewise.
68248 * math/w_j1f.c: Likewise.
68249 * math/w_j1l.c: Likewise.
68250 * math/w_jn.c: Likewise.
68251 * math/w_jnf.c: Likewise.
68252 * math/w_log.c: Likewise.
68253 * math/w_logf.c: Likewise.
68254 * math/w_logl.c: Likewise.
68255 * math/w_log10.c: Likewise.
68256 * math/w_log10f.c: Likewise.
68257 * math/w_log10l.c: Likewise.
68258 * math/w_log2.c: Likewise.
68259 * math/w_log2f.c: Likewise.
68260 * math/w_log2l.c: Likewise.
68261 * math/w_pow.c: Likewise.
68262 * math/w_powf.c: Likewise.
68263 * math/w_powl.c: Likewise.
68264 * math/w_remainder.c: Likewise.
68265 * math/w_remainderf.c: Likewise.
68266 * math/w_remainderl.c: Likewise.
68267 * math/w_scalb.c: Likewise.
68268 * math/w_scalbf.c: Likewise.
68269 * math/w_scalbl.c: Likewise.
68270 * math/w_sqrt.c: Likewise.
68271 * math/w_sqrtf.c: Likewise.
68272 * math/w_sqrtl.c: Likewise.
68273 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
68274 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
68275 used.
68276 * math/math_private.h: Declare __kernel_standard_f.
68277 * math/w_cosh.c: Remove cruft and optimize a bit.
68278 * math/w_coshf.c: Likewise.
68279 * math/w_coshl.c: Likewise.
68280 * math/w_exp2.c: Likewise.
68281 * math/w_exp2f.c: Likewise.
68282 * math/w_exp2l.c: Likewise.
68283 * math/w_hypot.c: Likewise.
68284 * math/w_hypotf.c: Likewise.
68285 * math/w_hypotl.c: Likewise.
68286 * math/w_lgamma.c: Likewise.
68287 * math/w_lgamma_r.c: Likewise.
68288 * math/w_lgammaf.c: Likewise.
68289 * math/w_lgammaf_r.c: Likewise.
68290 * math/w_lgammal.c: Likewise.
68291 * math/w_lgammal_r.c: Likewise.
68292 * math/w_sinh.c: Likewise.
68293 * math/w_sinhf.c: Likewise.
68294 * math/w_sinhl.c: Likewise.
68295 * math/w_tgamma.c: Likewise.
68296 * math/w_tgammaf.c: Likewise.
68297 * math/w_tgammal.c: Likewise.
68298 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68299 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68300 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
68301 Minor optimizations. Pretty printing. Remove cruft.
68302 * sysdeps/i386/fpu/e_acosf.S: Likewise.
68303 * sysdeps/i386/fpu/e_acosh.S: Likewise.
68304 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68305 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68306 * sysdeps/i386/fpu/e_acosl.c: Likewise.
68307 * sysdeps/i386/fpu/e_asin.S: Likewise.
68308 * sysdeps/i386/fpu/e_asinf.S: Likewise.
68309 * sysdeps/i386/fpu/e_atan2.S: Likewise.
68310 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
68311 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
68312 * sysdeps/i386/fpu/e_atanh.S: Likewise.
68313 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68314 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68315 * sysdeps/i386/fpu/e_exp10.S: Likewise.
68316 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
68317 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
68318 * sysdeps/i386/fpu/e_exp2.S: Likewise.
68319 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
68320 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
68321 * sysdeps/i386/fpu/e_fmod.S: Likewise.
68322 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
68323 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
68324 * sysdeps/i386/fpu/e_hypot.S: Likewise.
68325 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
68326 * sysdeps/i386/fpu/e_log.S: Likewise.
68327 * sysdeps/i386/fpu/e_log10.S: Likewise.
68328 * sysdeps/i386/fpu/e_log10f.S: Likewise.
68329 * sysdeps/i386/fpu/e_log10l.S: Likewise.
68330 * sysdeps/i386/fpu/e_log2.S: Likewise.
68331 * sysdeps/i386/fpu/e_log2f.S: Likewise.
68332 * sysdeps/i386/fpu/e_log2l.S: Likewise.
68333 * sysdeps/i386/fpu/e_logf.S: Likewise.
68334 * sysdeps/i386/fpu/e_logl.S: Likewise.
68335 * sysdeps/i386/fpu/e_pow.S: Likewise.
68336 * sysdeps/i386/fpu/e_powf.S: Likewise.
68337 * sysdeps/i386/fpu/e_powl.S: Likewise.
68338 * sysdeps/i386/fpu/e_remainder.S: Likewise.
68339 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
68340 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
68341 * sysdeps/i386/fpu/e_scalb.S: Likewise.
68342 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68343 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68344 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
68345 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
68346 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
68347 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68348 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68349 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68350 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68351 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68352 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68353 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
68354 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68355 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68356 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68357 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68358 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68359 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68360 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68361 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68362 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68363 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68364 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68365 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68366 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68367 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68368 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68369 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68370 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68371 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68372 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68373 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68374 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68375 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
68376 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68377 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68378 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68379 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68380 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68381 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68382 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68383 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68384 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68385 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68386 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68387 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68388 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68389 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68390 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68391 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68392 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68393 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68394 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68395 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68396 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
68397 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68398 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68399 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68400 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68401 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68402 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68403 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68404 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68405 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68406 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68407 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68408 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68409 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68410 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68411 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68412 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68413 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68414 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68415 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
68416 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68417 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68418 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68419 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68421 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68422 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68423 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68424 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68425 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68426 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68427 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68428 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68429 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
68430 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68431 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68432 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68433 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68434 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68435 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68436 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68437 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68438 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68439 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68440 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
68441 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68442 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68443 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68444 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
68445 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
68446 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
68447 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
68448 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
68449 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
68450 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
68451 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68452 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68453 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68454 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68455 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
68456 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68457 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
68458 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
68459 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
68460 (__isnanf): Likewise.
68461 (__isinf_ns): Likewise.
68462 (__isinf_nsf): Likewise.
68463 (__finite): Likewise.
68464 (__finitef): Likewise.
68465 (__ieee754_sqrt): Define as macro.
68466 (__ieee754_sqrtf): Define as macro.
68467 (__ieee754_sqrtl): Define as macro.
68468 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
68469 inlined copy.
68470 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
68471 __FINITE_MATH_ONLY__ consistent.
68472 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
68473
68474 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
68475
68476 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
68477 of rawmemchr.
68478
68479 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
68480
68481 2011-10-09 Ulrich Drepper <drepper@gmail.com>
68482
68483 * po/ja.po: Update from translation team.
68484
68485 2011-10-08 Roland McGrath <roland@hack.frob.com>
68486
68487 * locale/programs/locarchive.c (prepare_address_space): New function.
68488 (create_archive, enlarge_archive, open_archive): Use it.
68489
68490 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
68491 inside [SHARED], where it is used.
68492
68493 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
68494
68495 * nss/getent.c (netgroup_keys): Remove unused variable.
68496 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68497
68498 2011-10-08 Ulrich Drepper <drepper@gmail.com>
68499
68500 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
68501 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
68502 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
68503 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
68504 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
68505 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
68506 * math/Makefile (libm-calls): Add s_isinf_ns.
68507 * math/divtc3.c: Use __isinf_nsl instead of isinf.
68508 * math/multc3.c: Likewise.
68509 * math/s_casin.c: Likewise.
68510 * math/s_casinf.c: Likewise.
68511 * math/s_casinl.c: Likewise.
68512 * math/s_ccos.c: Likewise.
68513 * math/s_ccosf.c: Likewise.
68514 * math/s_ccosl.c: Likewise.
68515 * math/s_ctan.c: Likewise.
68516 * math/s_ctanf.c: Likewise.
68517 * math/s_ctanh.c: Likewise.
68518 * math/s_ctanhf.c: Likewise.
68519 * math/s_ctanhl.c: Likewise.
68520 * math/s_ctanl.c: Likewise.
68521 * math/w_fmod.c: Likewise.
68522 * math/w_fmodf.c: Likewise.
68523 * math/w_fmodl.c: Likewise.
68524 * math/w_remainder.c: Likewise.
68525 * math/w_remainderf.c: Likewise.
68526 * math/w_remainderl.c: Likewise.
68527 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
68528 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
68529 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
68530 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
68531 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
68532 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
68533 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
68534 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
68535
68536 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
68537 of the number.
68538 * stdio-common/printf_fphex.c: Likewise.
68539 * stdio-common/printf_size.c: Likewise.
68540
68541 * math/e_exp10.c: Include math_private.h using <...> not "...".
68542 * math/e_exp10f.c: Likewise.
68543 * math/e_exp10l.c: Likewise.
68544 * math/e_exp2l.c: Likewise.
68545 * math/e_j0l.c: Likewise.
68546 * math/e_j1l.c: Likewise.
68547 * math/e_jnl.c: Likewise.
68548 * math/e_lgammal_r.c: Likewise.
68549 * math/e_rem_pio2l.c: Likewise.
68550 * math/e_scalb.c: Likewise.
68551 * math/e_scalbf.c: Likewise.
68552 * math/e_scalbl.c: Likewise.
68553 * math/k_cosl.c: Likewise.
68554 * math/k_sinl.c: Likewise.
68555 * math/k_tanl.c: Likewise.
68556 * math/s_cacoshf.c: Likewise.
68557 * math/s_catan.c: Likewise.
68558 * math/s_catanf.c: Likewise.
68559 * math/s_catanh.c: Likewise.
68560 * math/s_catanhf.c: Likewise.
68561 * math/s_catanhl.c: Likewise.
68562 * math/s_catanl.c: Likewise.
68563 * math/s_ccosh.c: Likewise.
68564 * math/s_ccoshf.c: Likewise.
68565 * math/s_ccoshl.c: Likewise.
68566 * math/s_cexp.c: Likewise.
68567 * math/s_cexpf.c: Likewise.
68568 * math/s_cexpl.c: Likewise.
68569 * math/s_clog.c: Likewise.
68570 * math/s_clog10.c: Likewise.
68571 * math/s_clog10f.c: Likewise.
68572 * math/s_clog10l.c: Likewise.
68573 * math/s_clogf.c: Likewise.
68574 * math/s_clogl.c: Likewise.
68575 * math/s_csin.c: Likewise.
68576 * math/s_csinf.c: Likewise.
68577 * math/s_csinh.c: Likewise.
68578 * math/s_csinhf.c: Likewise.
68579 * math/s_csinhl.c: Likewise.
68580 * math/s_csinl.c: Likewise.
68581 * math/s_csqrt.c: Likewise.
68582 * math/s_csqrtf.c: Likewise.
68583 * math/s_csqrtl.c: Likewise.
68584 * math/s_ctan.c: Likewise.
68585 * math/s_ctanf.c: Likewise.
68586 * math/s_ctanh.c: Likewise.
68587 * math/s_ctanhf.c: Likewise.
68588 * math/s_ctanhl.c: Likewise.
68589 * math/s_ctanl.c: Likewise.
68590 * math/s_ldexp.c: Likewise.
68591 * math/s_ldexpf.c: Likewise.
68592 * math/s_ldexpl.c: Likewise.
68593 * math/s_significand.c: Likewise.
68594 * math/s_significandf.c: Likewise.
68595 * math/s_significandl.c: Likewise.
68596 * math/w_acos.c: Likewise.
68597 * math/w_acosf.c: Likewise.
68598 * math/w_acosh.c: Likewise.
68599 * math/w_acoshf.c: Likewise.
68600 * math/w_acoshl.c: Likewise.
68601 * math/w_acosl.c: Likewise.
68602 * math/w_asin.c: Likewise.
68603 * math/w_asinf.c: Likewise.
68604 * math/w_asinl.c: Likewise.
68605 * math/w_atan2.c: Likewise.
68606 * math/w_atan2f.c: Likewise.
68607 * math/w_atan2l.c: Likewise.
68608 * math/w_atanh.c: Likewise.
68609 * math/w_atanhf.c: Likewise.
68610 * math/w_atanhl.c: Likewise.
68611 * math/w_cosh.c: Likewise.
68612 * math/w_coshf.c: Likewise.
68613 * math/w_coshl.c: Likewise.
68614 * math/w_dremf.c: Likewise.
68615 * math/w_exp10.c: Likewise.
68616 * math/w_exp10f.c: Likewise.
68617 * math/w_exp10l.c: Likewise.
68618 * math/w_exp2.c: Likewise.
68619 * math/w_exp2f.c: Likewise.
68620 * math/w_fmod.c: Likewise.
68621 * math/w_fmodf.c: Likewise.
68622 * math/w_fmodl.c: Likewise.
68623 * math/w_hypot.c: Likewise.
68624 * math/w_hypotf.c: Likewise.
68625 * math/w_hypotl.c: Likewise.
68626 * math/w_j0.c: Likewise.
68627 * math/w_j0f.c: Likewise.
68628 * math/w_j0l.c: Likewise.
68629 * math/w_j1.c: Likewise.
68630 * math/w_j1f.c: Likewise.
68631 * math/w_j1l.c: Likewise.
68632 * math/w_jn.c: Likewise.
68633 * math/w_jnf.c: Likewise.
68634 * math/w_jnl.c: Likewise.
68635 * math/w_lgamma.c: Likewise.
68636 * math/w_lgamma_r.c: Likewise.
68637 * math/w_lgammaf.c: Likewise.
68638 * math/w_lgammaf_r.c: Likewise.
68639 * math/w_lgammal.c: Likewise.
68640 * math/w_lgammal_r.c: Likewise.
68641 * math/w_log.c: Likewise.
68642 * math/w_log10.c: Likewise.
68643 * math/w_log10f.c: Likewise.
68644 * math/w_log10l.c: Likewise.
68645 * math/w_log2.c: Likewise.
68646 * math/w_log2f.c: Likewise.
68647 * math/w_log2l.c: Likewise.
68648 * math/w_logf.c: Likewise.
68649 * math/w_logl.c: Likewise.
68650 * math/w_pow.c: Likewise.
68651 * math/w_powf.c: Likewise.
68652 * math/w_powl.c: Likewise.
68653 * math/w_remainder.c: Likewise.
68654 * math/w_remainderf.c: Likewise.
68655 * math/w_remainderl.c: Likewise.
68656 * math/w_scalb.c: Likewise.
68657 * math/w_scalbf.c: Likewise.
68658 * math/w_scalbl.c: Likewise.
68659 * math/w_sinh.c: Likewise.
68660 * math/w_sinhf.c: Likewise.
68661 * math/w_sinhl.c: Likewise.
68662 * math/w_sqrt.c: Likewise.
68663 * math/w_sqrtf.c: Likewise.
68664 * math/w_sqrtl.c: Likewise.
68665 * math/w_tgamma.c: Likewise.
68666 * math/w_tgammaf.c: Likewise.
68667 * math/w_tgammal.c: Likewise.
68668
68669 * po/ja.po: Update from translation team.
68670
68671 2011-09-29 Andreas Jaeger <aj@suse.de>
68672
68673 [BZ #13179]
68674 * sunrpc/netname.c (netname2host): Fix logic.
68675
68676 [BZ #6779]
68677 [BZ #6783]
68678 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
68679 correctly.
68680 * math/w_remainder.c (__remainder): Likewise.
68681 * math/w_remainderf.c (__remainderf): Likewise.
68682 * math/libm-test.inc (remainder_test): Add test cases.
68683
68684 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68685
68686 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
68687 sdiv_qrnnd.
68688
68689 2011-10-07 Ulrich Drepper <drepper@gmail.com>
68690
68691 * string/test-memcmp.c: Avoid unncessary #defines.
68692 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68693
68694 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68695
68696 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
68697 Use new sse2 version for core i3 - i7 as it's faster
68698 than sse42 version.
68699 (bit_Prefer_PMINUB_for_stringop): New.
68700 * sysdeps/x86_64/rawmemchr.S: Update.
68701 Replace with faster SSE2 version.
68702 * sysdeps/x86_64/memrchr.S: New file.
68703 * sysdeps/x86_64/memchr.S: Update.
68704 Replace with faster SSE2 version.
68705
68706 2011-09-12 Marek Polacek <mpolacek@redhat.com>
68707
68708 * elf/dl-load.c (lose): Add cast to avoid warning.
68709
68710 2011-10-07 Ulrich Drepper <drepper@gmail.com>
68711
68712 * po/ca.po: Update from translation team.
68713
68714 * inet/getnetgrent_r.c: Hook up nscd.
68715 * nscd/Makefile (routines): Add nscd_netgroup.
68716 (nscd-modules): Add netgroupcache.
68717 (CFLAGS-netgroupcache.c): Define.
68718 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
68719 (cache_search): Add const to second parameter.
68720 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
68721 INNETGR.
68722 (dbs): Add netgrdb entry.
68723 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
68724 (verify_persistent_db): Handle netgrdb.
68725 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
68726 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
68727 GETFDNETGR.
68728 (netgroup_response_header): Define.
68729 (innetgroup_response_header): Define.
68730 (datahead): Add netgroup_response_header and innetgroup_response_header
68731 elements.
68732 * nscd/nscd.conf: Add entries for netgroup cache.
68733 * nscd/nscd.h (dbtype): Add netgrdb.
68734 (_PATH_NSCD_NETGROUP_DB): Define.
68735 (netgroup_iov_disabled): Declare.
68736 (xmalloc, xcalloc, xrealloc): Move declarations here.
68737 (cache_search): Adjust prototype.
68738 Add netgroup-related prototypes.
68739 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
68740 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
68741 (__nscd_innetgr): Declare.
68742 * nscd/selinux.c (perms): Use access_vector_t as element type and
68743 add netgroup-related initializers.
68744 * nscd/netgroupcache.c: New file.
68745 * nscd/nscd_netgroup.c: New file.
68746 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
68747 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
68748 For four parameters use innetgr.
68749 * nss/nss_files/files-init.c: Add definition and callback for netgr.
68750 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
68751 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
68752 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
68753
68754 * nscd/connections.c (register_traced_file): Don't register file
68755 for disabled databases.
68756
68757 2011-10-06 Ulrich Drepper <drepper@gmail.com>
68758
68759 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
68760
68761 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
68762 from tree and freeing node.
68763
68764 2011-09-25 Jiri Olsa <jolsa@redhat.com>
68765
68766 * nss/nsswitch.c (__nss_database_lookup): Handle
68767 nss_parse_service_list out of memory case.
68768
68769 2011-09-15 Jiri Olsa <jolsa@redhat.com>
68770
68771 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
68772 out of memory case.
68773
68774 2011-10-04 Andreas Schwab <schwab@redhat.com>
68775
68776 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
68777 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
68778 pass it down.
68779 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
68780 elf_machine_rela, elf_machine_lazy_rel.
68781 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
68782 (ELF_DYNAMIC_DO_REL): Likewise.
68783 (ELF_DYNAMIC_DO_RELA): Likewise.
68784 (ELF_DYNAMIC_RELOCATE): Likewise.
68785 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
68786 to ELF_DYNAMIC_DO_REL.
68787 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
68788 (dl_main): In trace mode always set __RTLD_NOIFUNC.
68789 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
68790 elf_machine_rela.
68791 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
68792 skip_ifunc, don't call ifunc function if non-zero.
68793 (elf_machine_rela): Likewise.
68794 (elf_machine_lazy_rel): Likewise.
68795 (elf_machine_lazy_rela): Likewise.
68796 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
68797 (elf_machine_lazy_rel): Likewise.
68798 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
68799 Likewise.
68800 (elf_machine_lazy_rel): Likewise.
68801 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68802 Likewise.
68803 (elf_machine_lazy_rel): Likewise.
68804 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
68805 (elf_machine_lazy_rel): Likewise.
68806 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
68807 (elf_machine_lazy_rel): Likewise.
68808 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
68809 (elf_machine_lazy_rel): Likewise.
68810 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
68811 (elf_machine_lazy_rel): Likewise.
68812 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
68813 (elf_machine_lazy_rel): Likewise.
68814 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
68815 (elf_machine_lazy_rel): Likewise.
68816
68817 2011-09-28 Ulrich Drepper <drepper@gmail.com>
68818
68819 * nss/nss_files/files-init.c (_nss_files_init): Use static
68820 initialization for all the *_traced_file variables.
68821
68822 2011-09-28 Andreas Schwab <schwab@redhat.com>
68823
68824 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68825
68826 2011-09-27 Roland McGrath <roland@hack.frob.com>
68827
68828 [BZ #13226]
68829 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
68830
68831 2011-09-27 Andreas Schwab <schwab@redhat.com>
68832
68833 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68834 Reread the line before reparsing it.
68835
68836 2011-09-26 Andreas Schwab <schwab@redhat.com>
68837
68838 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
68839
68840 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
68841 Maxim Kuvyrkov <maxim@codesourcery.com>
68842 Joseph Myers <joseph@codesourcery.com>
68843
68844 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
68845 if needed for __stack_chk_guard.
68846
68847 2011-09-19 Roland McGrath <roland@hack.frob.com>
68848
68849 * sysdeps/posix/spawni.c (script_execute): Always define it.
68850 It will be optimized away if unused.
68851 (maybe_script_execute): New function.
68852 (__spawni): Call it.
68853
68854 * Makerules: Don't include tls.make.
68855 (config-tls): Always set to thread.
68856 * tls.make.c: File removed.
68857
68858 2011-09-19 Mike Frysinger <vapier@gentoo.org>
68859
68860 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
68861 * config.make.in (CPPFLAGS-config): New substituted variable.
68862
68863 2011-09-15 Ulrich Drepper <drepper@gmail.com>
68864
68865 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
68866
68867 [BZ #13192]
68868 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
68869 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
68870
68871 2011-09-15 Roland McGrath <roland@hack.frob.com>
68872
68873 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
68874 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
68875 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68876 (CALL_FAIL): Likewise.
68877 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
68878 (CALL_FAIL): Macro removed.
68879 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
68880
68881 2011-09-15 Ulrich Drepper <drepper@gmail.com>
68882
68883 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
68884 for __FINITE_MATH_ONLY__ == 1.
68885
68886 2011-09-15 Andreas Schwab <schwab@redhat.com>
68887
68888 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
68889 __ieee754_sqrt instead of sqrt.
68890 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
68891 __ieee754_sqrtf instead of sqrtf.
68892 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
68893 __floorf instead of floorf.
68894 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
68895 __floorf, __truncf instead of floorf, truncf.
68896
68897 2011-09-14 Ulrich Drepper <drepper@gmail.com>
68898
68899 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
68900
68901 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
68902 __extern_always_inline.
68903 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
68904 32-bit.
68905
68906 2011-09-14 Andreas Schwab <schwab@redhat.com>
68907
68908 * elf/rtld.c (dl_main): Also relocate in dependency order when
68909 doing symbol dependency testing.
68910
68911 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
68912
68913 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68914 Always define `refsym'.
68915
68916 2011-09-13 Andreas Schwab <schwab@redhat.com>
68917
68918 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
68919 (__FD_ELT): Renamed from __FDELT.
68920 * misc/bits/select2.h (__FD_ELT): Likewise.
68921 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
68922 __FD_MASK instead of __FDELT, __FDMASK.
68923 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68924 Likewise.
68925 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68926 Likewise.
68927
68928 * elf/Makefile (gen-ldd): Fix pattern.
68929
68930 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
68931 (init_tls): Likewise.
68932
68933 2011-09-12 Ulrich Drepper <drepper@gmail.com>
68934
68935 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
68936
68937 2011-09-12 Andreas Schwab <schwab@redhat.com>
68938
68939 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
68940 `struct cmsghdr *' instead of `void *'.
68941 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
68942 Likewise.
68943
68944 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
68945
68946 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
68947 if non-absolute.
68948 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
68949 ldd_rewrite_script.
68950
68951 2011-09-11 Ulrich Drepper <drepper@gmail.com>
68952
68953 * configure.in: Remove --with-tls option.
68954 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
68955 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
68956 out in case it is missing.
68957 * sysdeps/ia64/elf/configure.in: Likewise.
68958 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
68959 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
68960 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
68961 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
68962 * sysdeps/sh/elf/configure.in: Likewise.
68963 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
68964 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68965 * sysdeps/x86_64/elf/configure.in: Likewise.
68966 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
68967 * sysdeps/mach/hurd/tls.h: Likewise.
68968
68969 [BZ #13067]
68970 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
68971
68972 [BZ #13090]
68973 * configure.in: Fix use of AC_INIT.
68974
68975 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
68976
68977 2011-09-10 Ulrich Drepper <drepper@gmail.com>
68978
68979 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
68980 __set_errno.
68981 * malloc/hooks.c: Likewise.
68982
68983 [BZ #11929]
68984 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
68985 variables statically.
68986 (narenas): Initialize.
68987 (list_lock): Initialize.
68988 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
68989 initializtion of main_arena and list_lock. Small cleanups.
68990 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
68991 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
68992 Add initializers to main_arena and mp_.
68993 (malloc_state): Remove pagesize member. Change all users to use
68994 GLRO(dl_pagesize).
68995
68996 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
68997 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
68998 is always initialized.
68999
69000 * malloc/malloc.c: Removed unused configurations and dead code.
69001 * malloc/arena.c: Likewise.
69002 * malloc/hooks.c: Likewise.
69003 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
69004
69005 * include/tls.h: Removed. USE___THREAD must always be defined.
69006 * bits/libc-tsd.h: Don't handle !USE___THREAD.
69007 * elf/dl-libc.c: Likewise.
69008 * elf/dl-tsd.c: Likewise.
69009 * include/errno.h: Likewise.
69010 * include/netdb.h: Likewise.
69011 * include/resolv.h: Likewise.
69012 * inet/herrno-loc.c: Likewise.
69013 * inet/herrno.c: Likewise.
69014 * malloc/arena.c: Likewise.
69015 * malloc/hooks.c: Likewise.
69016 * malloc/malloc.c: Likewise.
69017 * resolv/res-state.c: Likewise.
69018 * resolv/res_libc.c: Likewise.
69019 * sysdeps/i386/dl-machine.h: Likewise.
69020 * sysdeps/ia64/dl-machine.h: Likewise.
69021 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
69022 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69023 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
69024 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
69025 * sysdeps/sh/dl-machine.h: Likewise.
69026 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69027 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69028 * sysdeps/unix/i386/sysdep.S: Likewise.
69029 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
69030 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
69031 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
69032 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
69033 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
69034 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
69035 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
69036 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69037 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69038 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
69039 * sysdeps/unix/x86_64/sysdep.S: Likewise.
69040 * sysdeps/x86_64/dl-machine.h: Likewise.
69041 * tls.make.c: Likewise.
69042
69043 * configure.in: Remove --with-__thread option. Make tests for
69044 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
69045 tls_model attribute fail if no support is available. Remove
69046 USE_IN_LIBIO.
69047 * Makeconfig: Adjust for dropped configure option. All features are
69048 now mandatory.
69049 * Makerules: Likewise.
69050 * Versions.def: Likewise.
69051 * argp/argp-fmtstream.c: Likewise.
69052 * argp/argp-fmtstream.h: Likewise.
69053 * argp/argp-help.c: Likewise.
69054 * assert/assert.c: Likewise.
69055 * config.h.in: Likewise.
69056 * config.make.in: Likewise.
69057 * configure: Likewise.
69058 * configure.in: Likewise.
69059 * csu/Versions: Likewise.
69060 * csu/init.c: Likewise.
69061 * elf/tst-audit2.c: Likewise.
69062 * elf/tst-tls10.c: Likewise.
69063 * elf/tst-tls10.h: Likewise.
69064 * elf/tst-tls11.c: Likewise.
69065 * elf/tst-tls12.c: Likewise.
69066 * elf/tst-tls14.c: Likewise.
69067 * elf/tst-tlsmod11.c: Likewise.
69068 * elf/tst-tlsmod12.c: Likewise.
69069 * elf/tst-tlsmod13.c: Likewise.
69070 * elf/tst-tlsmod13a.c: Likewise.
69071 * elf/tst-tlsmod14a.c: Likewise.
69072 * elf/tst-tlsmod15b.c: Likewise.
69073 * elf/tst-tlsmod16a.c: Likewise.
69074 * elf/tst-tlsmod16b.c: Likewise.
69075 * elf/tst-tlsmod7.c: Likewise.
69076 * elf/tst-tlsmod8.c: Likewise.
69077 * elf/tst-tlsmod9.c: Likewise.
69078 * gmon/gmon.c: Likewise.
69079 * grp/fgetgrent_r.c: Likewise.
69080 * grp/putgrent.c: Likewise.
69081 * hurd/fopenport.c: Likewise.
69082 * include/libc-symbols.h: Likewise.
69083 * include/tls.h: Likewise.
69084 * intl/gettextP.h: Likewise.
69085 * intl/loadinfo.h: Likewise.
69086 * locale/global-locale.c: Likewise.
69087 * locale/localeinfo.h: Likewise.
69088 * mach/devstream.c: Likewise.
69089 * malloc/arena.c: Likewise.
69090 * malloc/set-freeres.c: Likewise.
69091 * misc/err.c: Likewise.
69092 * misc/getttyent.c: Likewise.
69093 * misc/mntent_r.c: Likewise.
69094 * posix/getopt.c: Likewise.
69095 * posix/wordexp.c: Likewise.
69096 * pwd/fgetpwent_r.c: Likewise.
69097 * resolv/Versions: Likewise.
69098 * resolv/res_hconf.c: Likewise.
69099 * shadow/fgetspent_r.c: Likewise.
69100 * shadow/putspent.c: Likewise.
69101 * stdio-common/printf_fphex.c: Likewise.
69102 * stdio-common/tmpfile.c: Likewise.
69103 * stdlib/abort.c: Likewise.
69104 * stdlib/fmtmsg.c: Likewise.
69105 * sunrpc/auth_unix.c: Likewise.
69106 * sunrpc/clnt_perr.c: Likewise.
69107 * sunrpc/clnt_tcp.c: Likewise.
69108 * sunrpc/clnt_udp.c: Likewise.
69109 * sunrpc/clnt_unix.c: Likewise.
69110 * sunrpc/openchild.c: Likewise.
69111 * sunrpc/svc_simple.c: Likewise.
69112 * sunrpc/svc_tcp.c: Likewise.
69113 * sunrpc/svc_udp.c: Likewise.
69114 * sunrpc/svc_unix.c: Likewise.
69115 * sunrpc/xdr.c: Likewise.
69116 * sunrpc/xdr_array.c: Likewise.
69117 * sunrpc/xdr_rec.c: Likewise.
69118 * sunrpc/xdr_ref.c: Likewise.
69119 * sunrpc/xdr_stdio.c: Likewise.
69120
69121 2011-09-09 Ulrich Drepper <drepper@gmail.com>
69122
69123 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69124
69125 2011-07-03 Andreas Jaeger <aj@suse.de>
69126
69127 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
69128 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
69129 regenerate with gen-libm-tests.pl.
69130
69131 2010-05-12 Petr Baudis <pasky@suse.cz>
69132
69133 [BZ #11589]
69134 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
69135 around j0() zero points by switching to j1().
69136 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69137 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69138 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69139 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69140
69141 2011-09-09 Ulrich Drepper <drepper@gmail.com>
69142
69143 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
69144 instead of 0.
69145 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
69146 instead of 0.
69147 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69148 Patch in part by Pavel Roskin <proski@gnu.org>.
69149
69150 [BZ #13138]
69151 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
69152 realloc.
69153 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
69154 Free memory block if necessary.
69155
69156 [BZ #12847]
69157 * libio/genops.c (INTDEF): For string streams the _lock pointer can
69158 be NULL. Don't lock in this case.
69159
69160 2011-09-09 Roland McGrath <roland@hack.frob.com>
69161
69162 * elf/elf.h (ELFOSABI_GNU): New macro.
69163 (ELFOSABI_LINUX): Define to that.
69164
69165 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
69166
69167 * string/strncat.c (strncat): Undef the symbol in case it has been
69168 defined in bits/string.h.
69169
69170 2011-09-09 Ulrich Drepper <drepper@gmail.com>
69171
69172 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
69173
69174 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
69175 link map.
69176
69177 2011-08-17 Andreas Jaeger <aj@suse.de>
69178
69179 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
69180
69181 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
69182 Ian Lance Taylor <iant@google.com>
69183
69184 * math/libm-test.inc (lround_test): New testcase.
69185 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
69186
69187 2011-09-08 Ulrich Drepper <drepper@gmail.com>
69188
69189 * Makefile: Remove support for automatic cvs check-ins.
69190 * Makerules: Likewise.
69191 * config.make.in: Likewise.
69192 * configure.in: Likewise.
69193 * intl/Makefile: Likewise.
69194 * locale/Makefile: Likewise.
69195 * po/Makefile: Likewise.
69196 * posix/Makefile: Likewise.
69197 * sysdeps/gnu/Makefile: Likewise.
69198 * sysdeps/mach/hurd/Makefile: Likewise.
69199 * sysdeps/sparc/sparc32/Makefile: Likewise.
69200
69201 [BZ #13118]
69202 * posix/Makefile (bug-regex32-ENV): Define.
69203 Patch by John Stanley <jpsinthemix@verizon.net>.
69204
69205 * misc/Makefile (headers): Add bits/select2.h.
69206 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
69207 * misc/bits/select2.h: New file.
69208 * include/bits/select2.h: New file.
69209 * debug/Makefile (routines): Add fdelt_chk.
69210 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
69211 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
69212 FD_ISSET.
69213 * debug/fdelt_chk.c: New file.
69214
69215 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
69216 * wcsmbs/test-wmemcmp.c: Likewise.
69217 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
69218 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
69219
69220 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69221
69222 * string/Makefile (strop-tests): Add memcmp.
69223 * string/test-wmemcmp.c: New file.
69224 * string/test-memcmp.c: Add wmemcmp support.
69225
69226 2011-09-08 Roland McGrath <roland@hack.frob.com>
69227
69228 [BZ #13153]
69229 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
69230 2011-07-19 change.
69231
69232 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
69233 garbage value in a __mach_port_mod_refs call in the cases of the
69234 task-self and thread-self ports.
69235
69236 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
69237
69238 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
69239
69240 2011-09-08 Andreas Schwab <schwab@redhat.com>
69241
69242 * elf/dl-load.c (lose): Check for non-null L.
69243
69244 2011-09-07 Ulrich Drepper <drepper@gmail.com>
69245
69246 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
69247
69248 * elf/dl-libc.c (dlerror_run): Pass back error code from
69249 dl_catch_error.
69250
69251 [BZ #13123]
69252 * elf/dl-load.c (lose): Free l_origin if it is valid.
69253
69254 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
69255 names.
69256 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
69257 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69258 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69259 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69260 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
69261 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
69262
69263 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69264
69265 * sysdeps/powerpc/fpu/e_hypot.c: New file.
69266 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
69267 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
69268 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
69269 * sysdeps/powerpc/fpu/k_cosf.c: New file.
69270 * sysdeps/powerpc/fpu/k_sinf.c: New file.
69271 * sysdeps/powerpc/fpu/s_cosf.c: New file.
69272 * sysdeps/powerpc/fpu/s_sinf.c: New file.
69273 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
69274 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
69275
69276 2011-08-15 Alan Modra <amodra@gmail.com>
69277
69278 [BZ #13092]
69279 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
69280 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
69281 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
69282 ppc_mcount to static-only-routines.
69283 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
69284 __mcount_internal.
69285 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
69286 __mcount_internal with usual JUMPTARGET. Remove useless nop.
69287
69288 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
69289
69290 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
69291 for finite and infinity parameters.
69292
69293 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
69294
69295 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
69296 and add nop instructions for throughput optimization.
69297 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69298
69299 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
69300
69301 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
69302 aligned copy for power7 with vector-scalar instructions.
69303 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
69304
69305 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
69306
69307 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
69308 AVX check.
69309
69310 2011-09-07 Andreas Schwab <schwab@redhat.com>
69311
69312 [BZ #13144]
69313 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
69314 last change.
69315
69316 2011-09-07 Ulrich Drepper <drepper@gmail.com>
69317
69318 * sysdeps/unix/sysv/linux/x86_64/init-first.c
69319 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
69320 syscall wrapper around clock_gettime in __vdso_clock_gettime.
69321 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
69322 clock_gettime.
69323
69324 2011-09-06 Ulrich Drepper <drepper@gmail.com>
69325
69326 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
69327 Forgot to demangle the pointer.
69328
69329 * sysdeps/i386/sysdep.h: Define atom_text_section.
69330 * sysdeps/x86_64/sysdep.h: Likewise.
69331 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
69332 section with atom_text_section.
69333 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69334 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69335 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
69336 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69337 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
69338
69339 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
69340 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
69341 already be defined. Change to take two parameters and don't assign
69342 result to variable. Adjust all users.
69343 Define INTERNAL_GETTIME if not already defined.
69344 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
69345 call.
69346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
69347 HAVE_CLOCK_GETTIME_VSYSCALL.
69348 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
69349
69350 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
69351 gettimeofday vsyscall, just use time.
69352
69353 2011-09-06 Andreas Schwab <schwab@redhat.com>
69354
69355 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
69356 <errno.h>.
69357
69358 2011-09-06 Ulrich Drepper <drepper@gmail.com>
69359
69360 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
69361 syscall on x86-64.
69362 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
69363 syscall.
69364 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
69365 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
69366 syscall if possible.
69367
69368 2011-09-05 Ulrich Drepper <drepper@gmail.com>
69369
69370 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
69371 e_ident. Don't pass to find_mapsXX.
69372 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
69373
69374 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69375
69376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69377 strchr-sse2-no-bsf strrchr-sse2-no-bsf
69378 * sysdeps/x86_64/multiarch/strchr.S: Update.
69379 Check bit_slow_BSF bit.
69380 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69381 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
69382 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
69383
69384 2011-09-05 Ulrich Drepper <drepper@gmail.com>
69385
69386 [BZ #13134]
69387 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
69388 before glibc 2.15.
69389 (tryshell): Define.
69390 (__spawni): Change last parameter to be flag. Test
69391 SPAWN_XFLAGS_USE_PATH flag to use path or not.
69392 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
69393 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
69394 * posix/spawni.c: Likewise.
69395 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
69396 * posix/spawnp.c: Likewise. Change normal version to use
69397 SPAWN_XFLAGS_USE_PATH.
69398 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
69399 SPAWN_XFLAGS_TRY_SHELL.
69400
69401 [BZ #13150]
69402 * posix/glob.h: Remove gcc 1.x support.
69403
69404 [BZ #13068]
69405 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
69406
69407 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69408
69409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69410 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
69411 strrchr-sse2-bsf
69412 * sysdeps/i386/i686/multiarch/strchr.S: New file.
69413 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
69414 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
69415 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
69416 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
69417 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
69418
69419 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69420
69421 * sysdeps/x86_64/wcscmp.S: New file.
69422
69423 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
69424 wcscmp-c wcscmp-sse2
69425 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
69426 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
69427 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
69428 * wcsmbs/wcscmp.c: Allow renaming.
69429
69430 2011-09-05 David S. Miller <davem@davemloft.net>
69431
69432 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
69433 stack slot, rather than the struct return pointer slot.
69434 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
69435 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
69436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
69437 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
69438
69439 2011-09-05 Ulrich Drepper <drepper@gmail.com>
69440
69441 * po/ja.po: Update from translation team.
69442
69443 [BZ #13144]
69444 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
69445 kernel in 64-bit binaries.
69446
69447 2011-09-01 David S. Miller <davem@davemloft.net>
69448
69449 * elf/elf.h (HWCAP_SPARC_*): Move to..
69450 * sysdeps/sparc/sysdep.h: this new file and add new values.
69451 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
69452 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
69453 _DL_HWCAP_COUNT to 24.
69454 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69455 entries.
69456 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
69457 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
69458 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
69459 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
69460 instead of magic constants.
69461 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69462
69463 2011-08-31 David S. Miller <davem@davemloft.net>
69464
69465 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
69466 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
69467 Reimplement to do errno handling inline.
69468 (SYSCALL_ERROR_HANDLER): New macro.
69469 (__SYSCALL_STRING): Do not do errno handling in asm.
69470 (__CLONE_SYSCALL_STRING): Delete.
69471 (__INTERNAL_SYSCALL_STRING): Delete.
69472 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
69473 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
69474 (PSEUDO): Reimplement to do errno handling inline.
69475 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
69476 (SYSCALL_ERROR_HANDLER): New macro.
69477 (__SYSCALL_STRING): Do not do errno handling in asm.
69478 (__CLONE_SYSCALL_STRING): Delete.
69479 (__INTERNAL_SYSCALL_STRING): Delete.
69480 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
69481 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
69482 i386.
69483 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
69484 (inline_syscall*): Add 'err' argument.
69485 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
69486 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
69487 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
69488 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
69489
69490 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
69491 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69492
69493 2011-08-30 Andreas Schwab <schwab@redhat.com>
69494
69495 * elf/rtld.c (dl_main): Relocate objects in dependency order.
69496
69497 2011-08-29 Jiri Olsa <jolsa@redhat.com>
69498
69499 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
69500 directive.
69501
69502 2011-08-24 David S. Miller <davem@davemloft.net>
69503
69504 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
69505
69506 2011-08-24 Andreas Schwab <schwab@redhat.com>
69507
69508 * elf/Makefile: Add rules to build and run unload8 test.
69509 * elf/unload8.c: New file.
69510 * elf/unload8mod1.c: New file.
69511 * elf/unload8mod1x.c: New file.
69512 * elf/unload8mod2.c: New file.
69513 * elf/unload8mod3.c: New file.
69514
69515 * elf/dl-close.c (_dl_close_worker): Reset private search list if
69516 it wasn't used.
69517
69518 2011-08-23 David S. Miller <davem@davemloft.net>
69519
69520 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
69521 subtract stack bias.
69522 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
69523 %sp not %fp in calculations.
69524 (_JMPBUF_UNWINDS_ADJ): Likewise.
69525
69526 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
69527 (aio_suspend): Call it to force an exception region around the
69528 AIO_MISC_WAIT() invocation.
69529
69530 2011-08-23 Andreas Schwab <schwab@redhat.com>
69531
69532 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
69533 backslash.
69534
69535 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
69536
69537 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
69538 protection macro.
69539 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
69540 and <dl-machine.h>.
69541 (Elf64_FuncDesc): Remove.
69542
69543 2011-08-22 David S. Miller <davem@davemloft.net>
69544
69545 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
69546 sigaltstack check, add missing cfi directives.
69547 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
69548 missing cfi directives, and sigaltstack handling.
69549
69550 2011-08-16 Andreas Schwab <schwab@redhat.com>
69551
69552 [BZ #11724]
69553 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
69554 object is seen twice.
69555 * elf/dl-fini.c (_dl_sort_fini): Likewise.
69556
69557 * elf/Makefile (distribute): Add tst-initorder2.c.
69558 (tests): Add tst-initorder2.
69559 (modules-names): Add tst-initorder2a tst-initorder2b
69560 tst-initorder2c tst-initorder2d. Add rules to build them.
69561 ($(objpfx)tst-initorder2.out): New rule.
69562 * elf/tst-initorder2.c: New file.
69563 * elf/tst-initorder2.exp: New file.
69564
69565 2011-08-22 Andreas Schwab <schwab@redhat.com>
69566
69567 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
69568
69569 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
69570 dependencies back to end of function.
69571
69572 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
69573 $(elfobjdir)/ld.so.
69574
69575 2011-08-21 Ulrich Drepper <drepper@gmail.com>
69576
69577 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
69578 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
69579 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
69580 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
69581 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
69582 of __vdso_gettimeofday.
69583 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
69584 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
69585 attribute_hidden.
69586 (_libc_vdso_platform_setup): Remove initialization of
69587 __vdso_gettimeofday and __vdso_time.
69588
69589 2011-08-20 Ulrich Drepper <drepper@gmail.com>
69590
69591 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
69592 and fgetc_unlocked.
69593 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
69594 getc_unlocked.
69595
69596 * elf/dl-open.c (add_to_global): Report additions to the global scope
69597 for LD_DEBUG=scopes.
69598 (dl_open_worker): Also print scope of newly loaded dependencies.
69599 (_dl_show_scope): Indicate if there is no scope.
69600
69601 [BZ #13114]
69602 * stdio-common/Makefile (tests): Add bug24.
69603 * stdio-common/bug24.c: New file.
69604
69605 2011-08-19 Andreas Jaeger <aj@suse.de>
69606
69607 [BZ #13114]
69608 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
69609 non-existant file when using close-on-exec mode.
69610
69611 2011-08-20 Ulrich Drepper <drepper@gmail.com>
69612
69613 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
69614 the very first instruction.
69615
69616 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
69617 the CFI state in the end.
69618 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
69619 inclusion of dl-trampoline.h.
69620 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
69621
69622 2011-08-19 Andreas Schwab <schwab@redhat.com>
69623
69624 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
69625 expectations for long double.
69626
69627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
69628 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
69629
69630 2011-08-14 David S. Miller <davem@davemloft.net>
69631
69632 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
69633 artificual limit depends upon the system page size.
69634
69635 2011-08-17 Ulrich Drepper <drepper@gmail.com>
69636
69637 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
69638 * resolv/Makefile: Define CFLAGS-libresolv.
69639
69640 2011-08-17 Andreas Schwab <schwab@redhat.com>
69641
69642 * nss/makedb.c (compute_tables): Make variables used in nested
69643 function static.
69644
69645 2011-08-17 Ulrich Drepper <drepper@gmail.com>
69646
69647 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
69648 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
69649 if buffer was too small.
69650
69651 * elf/pldd.c (main): Attach to all threads in the process.
69652 Rewrite /proc handling to use *at functions.
69653
69654 2011-08-16 Ulrich Drepper <drepper@gmail.com>
69655
69656 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
69657 specifies first scope to show.
69658 (dl_open_worker): Update callers. Move printing scope of new
69659 object to before the relocation.
69660 * elf/rtld.c (dl_main): Update _dl_show_scope call.
69661 * sysdeps/generic/ldsodefs.h: Update declaration.
69662
69663 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
69664 string for the scope number.
69665
69666 2011-08-14 Ulrich Drepper <drepper@gmail.com>
69667
69668 * nscd/servicescache.c (cache_addserv): Make sure written is always
69669 initialized.
69670
69671 2011-08-14 Roland McGrath <roland@hack.frob.com>
69672
69673 * sysdeps/i386/i486/bits/atomic.h
69674 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
69675 statement expression, so as to suppress "set but not used" warning.
69676 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
69677
69678 * string/strncat.c (STRNCAT): Use prototype definition.
69679
69680 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
69681 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
69682 -Iprograms here.
69683 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
69684 (localedef-modules): Add localedef.
69685 (locale-modules): Add locale.
69686
69687 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
69688 * elf/rtld.c (dl_main): Invert order of assignment in last change,
69689 to avoid a warning.
69690
69691 2011-08-14 David S. Miller <davem@davemloft.net>
69692
69693 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
69694 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
69695
69696 2011-08-13 Ulrich Drepper <drepper@gmail.com>
69697
69698 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
69699 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
69700 * elf/rtld.c (dl_main): Set l_name of vDSO.
69701 Call _dl_show_scope when DL_DEBUG_SCOPES.
69702 (process_dl_debug): Recognize scopes flag and also set it for all.
69703 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
69704 Declare _dl_show_scope.
69705
69706 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
69707 (do_dlopen): Pass caller_dlopen to dl_open.
69708 (__libc_dlopen_mode): Initialize caller_dlopen.
69709
69710 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
69711 of libc. Make tolower call locale-independent. Optimize a bit by
69712 using isdigit instead of isalnum.
69713 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
69714
69715 2011-08-12 Ulrich Drepper <drepper@gmail.com>
69716
69717 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
69718 was a dependency or dynamically loaded.
69719
69720 2011-08-11 Ulrich Drepper <drepper@gmail.com>
69721
69722 * intl/l10nflist.c: Allow architecture-specific pop function.
69723 * sysdeps/x86_64/l10nflist.c: New file.
69724
69725 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
69726 classification.
69727
69728 2011-08-10 Andreas Schwab <schwab@redhat.com>
69729
69730 * include/dirent.h: Add libc_hidden_proto for scandirat and
69731 scandirat64. Don't declare __scandirat64.
69732 * dirent/scandirat.c: Add libc_hidden_def.
69733 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
69734 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
69735
69736 2011-08-10 David S. Miller <davem@davemloft.net>
69737
69738 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
69739 enum.
69740 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69741 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69742 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69743
69744 2011-08-09 Ulrich Drepper <drepper@gmail.com>
69745
69746 * Versions.def [libc]: Add GLIBC_2.15.
69747 * dirent/Makefile (routines): Add scandirat and scandirat64.
69748 * dirent/Versions [libc]: Export scandirat and scandirat64 for
69749 GLIBC_2.15.
69750 * dirent/dirent.h: Declare scandirat and scandirat64.
69751 * dirent/scandirat.c: New file.
69752 * dirent/scandirat64.c: New file.
69753 * sysdeps/wordsize-64/scandirat.c: New file.
69754 * sysdeps/wordsize-64/scandirat64.c: New file.
69755 * dirent/opendir.c: Define opendirat.
69756 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
69757 using scandirat.
69758 * dirent/scandir64.c: Adjust for scandir.c change.
69759 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
69760 __scandirat64, and __scandir_cancel_handler.
69761 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
69762 additional parameter and use openat instead of open (outside of ld.so).
69763 Add new __opendir as wrapper around __opendirat.
69764 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
69765 here without requiring old scandirat implementation.
69766
69767 2011-08-08 Ulrich Drepper <drepper@gmail.com>
69768
69769 * dirent/scandir.c (cancel_handler): Renamed to
69770 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
69771 defined. Adjust users.
69772 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
69773 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
69774
69775 2011-08-04 Ulrich Drepper <drepper@gmail.com>
69776
69777 * string/test-string.h (IMPL): Use __STRING to expand name and then
69778 stringify it.
69779
69780 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
69781 of cleanups.
69782
69783 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69784
69785 * string/Makefile: Update.
69786 (strop-tests): Append strncat.
69787 * string/test-wcscmp.c: New file.
69788 New comprehensive test for wcscmp.
69789 * string/test-strcmp.c: Update.
69790 (WIDE): New define.
69791
69792 2011-07-22 Andreas Schwab <schwab@redhat.com>
69793
69794 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
69795 line.
69796
69797 2011-07-26 Andreas Schwab <schwab@redhat.com>
69798
69799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69800 encoding to ACE if AI_IDN.
69801
69802 2011-08-01 Jakub Jelinek <jakub@redhat.com>
69803
69804 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
69805 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
69806
69807 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69808
69809 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
69810 Fix overflow bug in strncat.
69811 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
69812
69813 * string/test-strncat.c: Update.
69814 Add new tests for checking overflow bugs.
69815
69816 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69817
69818 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69819 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
69820 * sysdeps/i386/i686/multiarch/strcat.S: New file.
69821 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
69822 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
69823 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
69824 * sysdeps/i386/i686/multiarch/strncat.S: New file.
69825 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
69826 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
69827
69828 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
69829 (USE_AS_STRCAT): Define.
69830 Add strcat and strncat support.
69831 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69832
69833 2011-07-25 Andreas Schwab <schwab@redhat.com>
69834
69835 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
69836 __n bigger than INT_MAX+1.
69837 (__strncmp_g): Likewise.
69838
69839 2011-07-23 Ulrich Drepper <drepper@gmail.com>
69840
69841 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
69842 * libio/stido.h: Likewise.
69843
69844 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
69845 (AF_NFC): Define.
69846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
69847 (AF_NFC): Define.
69848
69849 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
69850 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69851 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69852 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
69853 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69854
69855 [BZ #13021]
69856 * scripts/test-installation.pl: Don't expect libnss_test1 to be
69857 installed.
69858
69859 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
69860 typo.
69861 (_dl_x86_64_save_sse): Likewise.
69862
69863 2011-07-22 Ulrich Drepper <drepper@gmail.com>
69864
69865 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
69866 OSXSAVE.
69867 (_dl_x86_64_save_sse): Likewise.
69868
69869 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
69870
69871 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
69872
69873 2011-07-21 Andreas Schwab <schwab@redhat.com>
69874
69875 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
69876 change.
69877 (_dl_x86_64_save_sse): Use correct AVX check.
69878
69879 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69880
69881 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
69882 bug in strncpy/strncat.
69883 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
69884
69885 2011-07-21 Ulrich Drepper <drepper@gmail.com>
69886
69887 * string/tester.c (test_strcat): Add tests for different alignments
69888 of source and destination.
69889 (test_strncat): Likewise.
69890
69891 2011-07-20 Ulrich Drepper <drepper@gmail.com>
69892
69893 [BZ #12852]
69894 * posix/glob.c (glob): Check passed in values before using them in
69895 expressions to avoid some overflows.
69896 (glob_in_dir): Likewise.
69897
69898 [BZ #13007]
69899 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
69900 check for AVX enablement so that we don't crash with old kernels and
69901 new hardware.
69902 * elf/tst-audit4.c: Add same checks here.
69903 * elf/tst-audit6.c: Likewise.
69904
69905 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
69906
69907 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
69908
69909 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
69910
69911 2011-07-20 Ulrich Drepper <drepper@gmail.com>
69912
69913 * po/cs.po: Update from translation team.
69914 * po/bg.po: Likewise.
69915
69916 2011-07-12 Marek Polacek <mpolacek@redhat.com>
69917
69918 * misc/sys/cdefs.h: Add support for const attribute.
69919 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
69920 to gnu_dev_{major,minor,makedev} functions.
69921
69922 2011-07-20 Marek Polacek <mpolacek@redhat.com>
69923
69924 * intl/dcigettext.c (get_output_charset): Add missing bracket.
69925
69926 2011-07-20 Andreas Schwab <schwab@redhat.com>
69927
69928 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
69929 strlen results.
69930
69931 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69932
69933 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
69934 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
69935 register in order to avoid conflicts with the soft frame pointer
69936 being held in r11 when necessary.
69937 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
69938 (INTERNAL_VSYSCALL_NCS): Likewise.
69939
69940 2011-07-14 Marek Polacek <mpolacek@redhat.com>
69941
69942 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
69943 * elf/dl-fini.c (_dl_fini): Adjust caller.
69944 * elf/dl-close.c (_dl_close_worker): Likewise.
69945 * sysdeps/generic/ldsodefs.h: Adjust declaration.
69946
69947 2011-07-15 Marek Polacek <mpolacek@redhat.com>
69948
69949 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
69950 "aux_cache->nlibs < 0".
69951
69952 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
69953 in the reload-count case.
69954
69955 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69956
69957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69958 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
69959 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
69960 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
69961 * sysdeps/x86_64/multiarch/strcat.S: New file.
69962 * sysdeps/x86_64/multiarch/strncat.S: New file.
69963 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
69964 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
69965 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
69966 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
69967 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
69968 (USE_AS_STRCAT): Define.
69969 Add strcat and strncat support.
69970 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69971 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
69972 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
69973 * string/strncat.c: Update.
69974 (USE_AS_STRNCAT): Define.
69975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69976 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
69977 and i7.
69978 * sysdeps/x86_64/multiarch/init-arch.h
69979 (bit_Prefer_PMINUB_for_stringop): New.
69980 (index_Prefer_PMINUB_for_stringop): Likewise.
69981 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
69982 bit_Prefer_PMINUB_for_stringop.
69983
69984 2011-07-19 Ulrich Drepper <drepper@gmail.com>
69985
69986 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
69987 buffer64.
69988 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
69989 of casting of buffer.
69990 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
69991 buffer32 and buffer64.
69992 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
69993 writes instead of casting of buffer.
69994 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
69995 buffer32.
69996 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
69997 casting of buffer.
69998
69999 2011-07-19 Andreas Schwab <schwab@redhat.com>
70000
70001 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
70002
70003 2011-07-19 Ulrich Drepper <drepper@gmail.com>
70004
70005 * nscd/nscd.c (termination_handler): Don't do anything for a database
70006 if it has not yet been initialized.
70007
70008 2011-07-18 Ulrich Drepper <drepper@gmail.com>
70009
70010 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70011
70012 2011-07-15 Marek Polacek <mpolacek@redhat.com>
70013
70014 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70015
70016 2011-07-18 Ulrich Drepper <drepper@gmail.com>
70017
70018 * po/nl.po: Update from translation team.
70019 * po/sv.po: Likewise.
70020
70021 2011-07-16 Roland McGrath <roland@hack.frob.com>
70022
70023 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
70024 now disallowed by GCC.
70025
70026 * configure.in (use-default-link): Default to yes if a test -shared
70027 link meets our qualifications.
70028 * configure: Regenerated.
70029
70030 * config.make.in (output-format): New variable.
70031 * configure.in: Check for ld --print-output-format support.
70032 * configure: Regenerated.
70033 * Makerules ($(common-objpfx)format.lds)
70034 [$(output-format) != unknown]: Just use $(output-format),
70035 instead of the linker-script munging.
70036
70037 2011-07-14 Roland McGrath <roland@hack.frob.com>
70038
70039 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
70040 of $(common-objpfx)shlib.lds.
70041 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
70042
70043 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
70044 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
70045
70046 * configure.in (-z relro check): Adjust test code to add a large
70047 writable data section after it.
70048 * configure: Regenerated.
70049
70050 2011-07-11 Roland McGrath <roland@hack.frob.com>
70051
70052 * configure.in (-z relro check): Fix test code to make the variable
70053 truly const.
70054 * configure: Regenerated.
70055
70056 2011-07-11 Ulrich Drepper <drepper@gmail.com>
70057
70058 * nscd/nscd.h (struct traced_file): Define.
70059 (struct database_dyn): Remove inotify_descr, reset_res, and filename
70060 elements. Add traced_files.
70061 (inotify_fd): Declare.
70062 (register_traced_file): Declare.
70063 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
70064 (inotify_fd): Export.
70065 (resolv_conf_descr): Remove.
70066 (nscd_init): Move inotify descriptor creation to main.
70067 Don't register files for notification here.
70068 (register_traced_file): New function.
70069 (invalidate_cache): Don't use reset_res to determine whether to call
70070 res_init, go through the list of registered files.
70071 (main_loop_poll): The inotify descriptors are now stored in the
70072 structures for the traced files.
70073 (main_loop_epoll): Likewise.
70074 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
70075 to __nss_disable_nscd.
70076 * nscd/cache.c (prune_cache): There is no single inotify descriptor
70077 for a database anymore. Check the records for all the registered
70078 files instead.
70079 * nss/Makefile (libnss_files-routines): Add files-init.
70080 (libnss_db-routines): Add db-init.
70081 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
70082 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
70083 * nss/nss_db/db-init.c: New file.
70084 * nss/nss_files/files-init.c: New file.
70085 * nss/nsswitch.c (nss_load_library): New function. Broken out of
70086 __nss_lookup_function.
70087 (__nss_lookup_function): Call nss_load_library.
70088 (nss_load_all_libraries): New function.
70089 (__nss_disable_nscd): Take parameter with callback function for files
70090 to register. Set is_nscd. Load all the DSOs for the NSS modules
70091 used for the cached services.
70092 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
70093 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
70094 options for features to all the files in nscd.
70095
70096 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
70097
70098 2011-07-10 Roland McGrath <roland@hack.frob.com>
70099
70100 * csu/elf-init.c (__libc_csu_init): Comment typo.
70101
70102 2011-07-09 Ulrich Drepper <drepper@gmail.com>
70103
70104 * po/pl.po: Update from translation team.
70105 * po/ja.po: Likewise.
70106 * po/ru.po: Likewise.
70107 * po/ko.po: Likewise.
70108 * po/fr.po: Likewise.
70109
70110 2011-07-09 Roland McGrath <roland@hack.frob.com>
70111
70112 * configure.in (.ctors/.dtors header and trailer check):
70113 Use an empirical test on a built program.
70114 * configure: Regenerated.
70115
70116 * configure.in (-z relro check): Use an empirical test on a built DSO.
70117 Detect, but do not require, on ia64.
70118 * configure: Regenerated.
70119
70120 * configure.in (READELF): Find it with AC_CHECK_TOOL.
70121 Update tests that use readelf to use $READELF instead.
70122 * configure: Regenerated.
70123
70124 2011-07-08 Ulrich Drepper <drepper@gmail.com>
70125
70126 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
70127 if the result is not used.
70128
70129 2011-07-05 Andreas Jaeger <aj@suse.de>
70130
70131 [BZ#9696]
70132 * stdlib/tst-strtod.c: Add testcase.
70133
70134 2011-07-07 Ulrich Drepper <drepper@gmail.com>
70135
70136 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
70137 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
70138 The latter has a higher limit. Take additional parameter to pass to
70139 the new function.
70140 (__pathconf): Pass file to __statfs_link_max.
70141 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
70142 __statfs_link_max.
70143 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
70144 __statfs_link_max.
70145
70146 [BZ #12868]
70147 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
70148 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70149 Handle Lustre.
70150 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
70151 (__statfs_filesize_max): Likewise.
70152 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
70153
70154 2011-07-05 Andreas Jaeger <aj@suse.de>
70155
70156 * resolv/res_comp.c (dn_skipname): Remove unused variable.
70157
70158 2011-07-06 Marek Polacek <mpolacek@redhat.com>
70159
70160 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
70161 `status' variable.
70162 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
70163 Likewise.
70164
70165 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
70166
70167 * Makefile (strop-tests): Add strncat.
70168 * string/test-strncat.c: New file.
70169
70170 2011-06-30 Marek Polacek <mpolacek@redhat.com>
70171
70172 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
70173
70174 2011-06-21 Andreas Jaeger <aj@suse.de>
70175
70176 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
70177 Copy rule from iconvdata/Makefile.
70178
70179 2011-07-06 Ulrich Drepper <drepper@gmail.com>
70180
70181 [BZ #12922]
70182 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
70183 but no long options are defined, just return 'W'.
70184
70185 2011-06-22 Marek Polacek <mpolacek@redhat.com>
70186
70187 [BZ #9696]
70188 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
70189
70190 2011-07-06 Ulrich Drepper <drepper@gmail.com>
70191
70192 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
70193 netgroups to read.
70194 (innetgr): Likewise.
70195
70196 2011-07-05 Roland McGrath <roland@hack.frob.com>
70197
70198 * config.make.in (install_root): Default to $(DESTDIR).
70199
70200 2011-07-05 Ulrich Drepper <drepper@gmail.com>
70201
70202 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
70203
70204 2011-07-02 Roland McGrath <roland@hack.frob.com>
70205
70206 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
70207
70208 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
70209 containing directory rather than embedding absolute directory names.
70210
70211 * scripts/check-local-headers.sh: Rewritten using awk.
70212 Match by word, not by line. Print error messages for matches.
70213 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
70214
70215 * Makerules [shlib-lds-flags empty]:
70216 ($(common-objpfx)libc_pic.opts): New target.
70217 ($(common-objpfx)libc_pic.os.clean): New target.
70218 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
70219
70220 * config.make.in (OBJCOPY): New variable.
70221 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
70222 * configure: Regenerated.
70223
70224 * config.make.in (use-default-link): New variable.
70225 * configure.in (use_default_link): Grok --with-default-link to set it.
70226 * configure: Regenerated.
70227 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
70228 (shlib-lds, shlib-lds-flags): Define to empty.
70229
70230 * Makerules (shlib-lds): New variable.
70231 (shlib-lds-flags): New variable.
70232 (build-shlib, build-moduile, build-module-asneeded): Use it.
70233 ($(common-objpfx)libc.so): Use $(shlib-lds).
70234 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
70235 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
70236
70237 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
70238 DT_FLAGS/DT_FLAGS_1 with zero flags.
70239
70240 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
70241 linker script munging.
70242
70243 2011-07-02 Ulrich Drepper <drepper@gmail.com>
70244
70245 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
70246 as 128-bit value.
70247 * crypt/sha512.c (sha512_process_block): Perform total addition using
70248 128-bit if possible.
70249 (__sha512_finish_ctx): Likewise.
70250 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
70251 as 64-bit value.
70252 * crypt/sha256.c (SWAP64): Define.
70253 (sha256_process_block): Perform total addition using 64-bit if
70254 possible.
70255 (__sha256_finish_ctx): Likewise.
70256
70257 2011-07-01 Ulrich Drepper <drepper@gmail.com>
70258
70259 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
70260 * nscd/initgrcache.c (addinitgroupsX): Likewise.
70261 * nscd/hstcache.c (cache_addhst): Likewise.
70262 * nscd/grpcache.c (cache_addgr): Likewise.
70263 * nscd/aicache.c (addhstaiX): Likewise.
70264 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
70265
70266 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
70267
70268 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
70269 * nscd/initgrcache.c (addinitgroupsX): Likewise.
70270 * nscd/hstcache.c (cache_addhst): Likewise.
70271 * nscd/grpcache.c (cache_addgr): Likewise.
70272 * nscd/aicache.c (addhstaiX): Likewise.
70273
70274 2011-07-01 Andreas Schwab <schwab@redhat.com>
70275
70276 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
70277 domain only when needed.
70278
70279 2011-06-30 Andreas Schwab <schwab@redhat.com>
70280
70281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
70282 is always restored.
70283
70284 2011-06-29 Ulrich Drepper <drepper@gmail.com>
70285
70286 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
70287 are re-adding the entry.
70288 * nscd/servicescache.c (cache_addserv): Likewise.
70289
70290 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
70291
70292 * sysdeps/generic/dl-irel.h: fix protection against multiple
70293 inclusions.
70294 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
70295
70296 2011-06-28 Ulrich Drepper <drepper@gmail.com>
70297
70298 [BZ #12935]
70299 * malloc/memusage.sh: Fix quoting in message.
70300 * debug/xtrace.sh: Likewise.
70301
70302 * configure.in: Remove support for --experimental-malloc option, make
70303 it the default.
70304 * config.make.in: Likewise.
70305 * malloc/Makefile: Likewise.
70306
70307 2011-06-27 Andreas Schwab <schwab@redhat.com>
70308
70309 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
70310 two-byte characters.
70311
70312 2011-06-27 Roland McGrath <roland@hack.frob.com>
70313
70314 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
70315 AC_CACHE_CHECK invocation.
70316 * configure: Regenerated.
70317
70318 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
70319
70320 2011-06-27 Ulrich Drepper <drepper@gmail.com>
70321
70322 [BZ #12350]
70323 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
70324 bit from old_res_options.
70325
70326 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
70327
70328 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
70329 value type for setfct.
70330
70331 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
70332
70333 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70334 __gettimeofday instead of gettimeofday.
70335
70336 2011-06-26 Ulrich Drepper <drepper@gmail.com>
70337
70338 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
70339
70340 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
70341
70342 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
70343
70344 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
70345 info.
70346
70347 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
70348
70349 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70350 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70351 strcpy-sse2-unaligned strncpy-sse2-unaligned
70352 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
70353 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
70354 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
70355 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
70356 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
70357 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
70358 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
70359 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
70360 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
70361 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
70362 (STRCPY): Support SSE2 and SSSE3 versions.
70363
70364 2011-06-24 Ulrich Drepper <drepper@gmail.com>
70365
70366 [BZ #12874]
70367 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
70368 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
70369 kernels which artificially limit size of requests.
70370
70371 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
70372
70373 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70374 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70375 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
70376 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
70377 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
70378 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
70379 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
70380 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
70381 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
70382 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
70383 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
70384 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
70385 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
70386 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
70387 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
70388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70389 Enable unaligned load optimization for Intel Core i3, i5 and i7
70390 processors.
70391 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
70392 Define.
70393 (index_Fast_Unaligned_Load): Define.
70394 (HAS_FAST_UNALIGNED_LOAD): Define.
70395
70396 2011-06-23 Marek Polacek <mpolacek@redhat.com>
70397
70398 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
70399
70400 2011-06-22 Ulrich Drepper <drepper@gmail.com>
70401
70402 [BZ #12907]
70403 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
70404 until it is clear that the information is realy needed.
70405 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
70406
70407 2011-06-22 Andreas Schwab <schwab@redhat.com>
70408
70409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
70410
70411 2011-06-22 Ulrich Drepper <drepper@gmail.com>
70412
70413 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70414 /sys/devices/system/cpu/online if it is usable.
70415
70416 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
70417 reading the information from the /proc filesystem to once a second.
70418
70419 2011-06-21 Andreas Jaeger <aj@suse.de>
70420
70421 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
70422 NULL after inclusion of kernel headers.
70423
70424 2011-06-21 Ulrich Drepper <drepper@gmail.com>
70425
70426 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
70427 calls to internal_setent.
70428
70429 [BZ #12885]
70430 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
70431 addresses using gethostbyname4_r ignore IPv4 addresses.
70432
70433 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
70434 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
70435
70436 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
70437
70438 2011-06-20 David S. Miller <davem@davemloft.net>
70439
70440 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
70441 inclusions.
70442 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
70443
70444 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
70445 (elf_irel): Use it.
70446 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
70447 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
70448 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
70449 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
70450 * sysdeps/x86_64/dl-irel.h: Likewise.
70451
70452 * elf/dl-runtime.c: Use elf_ifunc_invoke.
70453 * elf/dl-sym.c: Likewise.
70454
70455 2011-06-15 Ulrich Drepper <drepper@gmail.com>
70456
70457 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
70458 need to dereference resplen2.
70459
70460 2011-06-14 Andreas Schwab <schwab@redhat.com>
70461
70462 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
70463
70464 2011-06-15 Ulrich Drepper <drepper@gmail.com>
70465
70466 * Makeconfig: Define vardbdir and inst_vardbdir.
70467 * nss/Makefile: Add rules to install db-Makefile.
70468
70469 * nss/nss_db/db-XXX.c: Cleanup.
70470
70471 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
70472 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
70473 GLIBC_PRIVATE.
70474 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
70475 * nss/makedb.c: Implement -g option to specify that value strings
70476 are generated and should not be added to table iterated over for
70477 get*ent calls.
70478 * nss/nss_db/db-initgroups.c: New file.
70479
70480 * nss/getent.c: Add support for initgroups lookups through getgrouplist
70481 interface.
70482
70483 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
70484 (internal_getgrouplist): Adjust to name change.
70485 Update use_initgroups_entry if this is not the first call.
70486 * nss/databases.def: Add initgroups entry.
70487
70488 * nss/makedb.c (compute_tables): Check result of multiple hash table
70489 sizes to minimize maximum chain length.
70490
70491 2011-06-14 Ulrich Drepper <drepper@gmail.com>
70492
70493 * Versions.def: Add entry for libnss_db.
70494 * shlib-versions: Likewise.
70495 * nss/Makefile: Add rules to build libnss_db.
70496 * nss/Versions: Add libnss_db information. Organize libnss_files
70497 entries better.
70498 * nss/db-Makefile: Add gshadow support. Change rules for the new
70499 makedb progra. Some minor improvements to generate smaller files.
70500 * nss/nss_db/nss_db.h: Move NSS database header data structures to
70501 here from...
70502 * nss/makedb.c: ...here.
70503 Improve database format to be smaller and require less memory at
70504 runtime.
70505 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
70506 db anymore.
70507 * nss/nss_db/db-netgrp.c: Likewise.
70508 * nss/nss_db/db-open.c: Likewise.
70509 * nss/nss_files/flies-XXX.x: Adjust comments.
70510 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
70511 * nss/nss_files/files-grp.c: Likewise.
70512 * nss/nss_files/files-hosts.c: Likewise.
70513 * nss/nss_files/files-network.c: Likewise.
70514 * nss/nss_files/files-proto.c: Likewise.
70515 * nss/nss_files/files-pwd.c: Likewise.
70516 * nss/nss_files/files-rpc.c: Likewise.
70517 * nss/nss_files/files-service.c: Likewise.
70518 * nss/nss_files/files-sgrp.c: Likewise.
70519 * nss/nss_files/files-spwd.c: Likewise.
70520 * nss/nss_db/db-alias.c: Removed.
70521 * nss/nss_db/dummy-db.h: Removed.
70522
70523 2011-06-02 Ulrich Drepper <drepper@gmail.com>
70524
70525 * nss/makedb.c: Rewritten to not use database library.
70526 * nss/Makefile: Update to build new makedb program.
70527
70528 2011-06-14 Andreas Jaeger <aj@suse.de>
70529
70530 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
70531 memset declaration.
70532
70533 2011-06-10 Andreas Schwab <schwab@redhat.com>
70534
70535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
70536 tmpbuf.
70537
70538 2011-06-10 Roland McGrath <roland@hack.frob.com>
70539
70540 * Makerules (shlib.lds): Fail if the linker script comes out empty.
70541 * elf/Makefile ($(objpfx)ld.so): Likewise.
70542
70543 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
70544 Don't list ld.so twice in dependencies.
70545
70546 * posix/bug-regex31.c: Include <stdlib.h>.
70547
70548 * nscd/hstcache.c (cache_addhst): Remove unused variable.
70549
70550 * nis/nss_compat/compat-spwd.c
70551 (getspent_next_nss_netgr): Remove unused variable.
70552 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
70553
70554 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
70555 nonmembers" output to use the right array.
70556
70557 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
70558
70559 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
70560
70561 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
70562 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
70563 * catgets/gencat.c (read_input_file): Likewise.
70564 * locale/programs/locarchive.c (enlarge_archive): Likewise.
70565
70566 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
70567 variable definition inside #if's controlling its use.
70568
70569 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
70570
70571 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
70572
70573 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
70574
70575 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
70576 unreachable code.
70577
70578 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
70579
70580 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
70581 * configure: Regenerated.
70582
70583 * Makerules: Revert last change.
70584 * elf/Makefile: Likewise.
70585
70586 2011-06-09 Roland McGrath <roland@hack.frob.com>
70587
70588 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
70589 * elf/Makefile ($(objpfx)librtld.os): Likewise.
70590 (reloc-link): Likewise.
70591
70592 2011-06-09 Ulrich Drepper <drepper@gmail.com>
70593
70594 * elf/Makefile: Add rules to build pldd.
70595 * elf/pldd.c: New file.
70596 * elf/pldd-xx.c: New file.
70597
70598 2011-06-07 Ulrich Drepper <drepper@gmail.com>
70599
70600 * version.h: Update for 2.15 development version.
70601
70602 2011-06-07 David S. Miller <davem@davemloft.net>
70603
70604 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
70605 ifuncs.
70606 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
70607 elf_machine_lazy_rel): Likewise.
70608 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
70609 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
70610 elf_machine_lazy_rel): Likewise.
70611 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
70612 dl_hwcap via passed in argument.
70613 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
70614 Likewise.
70615
70616 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70617
70618 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
70619
70620 2011-06-06 Roland McGrath <roland@hack.frob.com>
70621
70622 [BZ #12849]
70623 * manual/fdl-1.1.texi: New file, verbatim from:
70624 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
70625 * manual/lgpl-2.1.texi: New file, verbatim from:
70626 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
70627 * manual/Makefile (licenses): New variable, list those new file names.
70628 (texis): Use it.
70629 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
70630
70631 * manual/fdl.texi: File removed.
70632 * manual/lesser.texi: File removed.
70633 * manual/libc.texinfo (Copying, Documentation License):
70634 Use new @include file names, put @appendix directive before @include.
70635
70636 2011-06-04 Jakub Jelinek <jakub@redhat.com>
70637
70638 [BZ #12841]
70639 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
70640 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
70641 (mq_open): Add __NTH.
70642
70643 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
70644
70645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70646 Assume Intel Core i3/i5/i7 processor if AVX is available.
70647
70648 2011-05-31 Ulrich Drepper <drepper@gmail.com>
70649
70650 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70651 typo.
70652
70653 2011-05-31 Andreas Schwab <schwab@redhat.com>
70654
70655 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
70656 memory. Use alloca_account. Fix memory leak when retrying.
70657
70658 2011-05-31 Ulrich Drepper <drepper@gmail.com>
70659
70660 * version.h (RELEASE): Bump for 2.14 release.
70661 * include/features.h (__GLIBC_MINOR__): Bump to 14.
70662
70663 * config.make.in (RANLIB): Remove entry.
70664
70665 2011-05-30 Ulrich Drepper <drepper@gmail.com>
70666
70667 * po/Makefile (po-sed-cmd): Add ksh to extensions.
70668 (libc.pot): Work around missing support for .ksh extension in xgettext.
70669
70670 [BZ #12684]
70671 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
70672 if both request failed.
70673 (send_dg): In case of server errors clear resplen or *resplen2.
70674
70675 [BZ #12454]
70676 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
70677 when there are multiple maps.
70678 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
70679 (_dl_fini): Remove test here.
70680
70681 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
70682
70683 2011-05-29 Ulrich Drepper <drepper@gmail.com>
70684
70685 [BZ #12350]
70686 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
70687 bit from old_res_options.
70688 (gaih_inet): Likewise.
70689
70690 [BZ #11099]
70691 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
70692 as signed.
70693
70694 * resolv/res_init.c (res_setoptions): Make the code more compact.
70695
70696 [BZ #11558]
70697 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
70698 set RES_USEVC.
70699
70700 [BZ #11634]
70701 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
70702
70703 * malloc/malloc.h: Mark malloc hook variables as deprecated.
70704
70705 [BZ #11781]
70706 * malloc/malloc.h: Declare malloc hook variables as volatile.
70707
70708 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
70709 in last patch.
70710
70711 [BZ #11799]
70712 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
70713 raise in the comment.
70714 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70715 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70716 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
70717
70718 2011-05-28 Ulrich Drepper <drepper@gmail.com>
70719
70720 [BZ #12811]
70721 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
70722 grow the buffers more if it already has to be sufficient.
70723 (build_wcs_upper_buffer): Likewise.
70724 * posix/regexec.c (check_matching): Likewise.
70725 (clean_state_log_if_needed): Likewise.
70726 (extend_buffers): Don't enlarge buffers beyond size of the input
70727 buffer.
70728 Patches mostly by Emil Wojak <emil@wojak.eu>.
70729 * posix/bug-regex32.c: New file.
70730 * posix/Makefile (tests): Add bug-regex32.
70731
70732 * locale/findlocale.c (_nl_find_locale): Return right away if
70733 _nl_explode_name failed.
70734 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
70735
70736 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
70737
70738 * debug/xtrace.sh: Unify messages.
70739 * malloc/memusage.sh: Likewise.
70740
70741 [BZ #12813]
70742 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
70743 time symbol from vDSO. Substitute with vsyscall if not available.
70744 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
70745 __vdso_time.
70746
70747 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
70748 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
70749 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
70750 Add sendmmsg and internal_sendmmsg.
70751 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
70752 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
70753 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
70754
70755 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
70756 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
70757 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
70758
70759 2011-05-27 Ulrich Drepper <drepper@gmail.com>
70760
70761 [BZ #12813]
70762 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
70763 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
70764 available.
70765 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
70766 __vdso_getcpu.
70767
70768 [BZ #12814]
70769 * iconvdata/Makefile (tests): Add bug-iconv9.
70770 * iconvdata/bug-iconv9.c: New file.
70771
70772 2011-05-27 Andreas Schwab <schwab@redhat.com>
70773
70774 [BZ #12814]
70775 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
70776
70777 2011-05-25 Jakub Jelinek <jakub@redhat.com>
70778
70779 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70780 (struct user_regs_struct): Change intcs field back to cs.
70781
70782 2011-05-25 Ulrich Drepper <drepper@gmail.com>
70783
70784 * po/ja.po: Update from translation team.
70785
70786 2011-05-23 Ulrich Drepper <drepper@gmail.com>
70787
70788 [BZ #12795]
70789 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
70790 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
70791
70792 2011-05-20 Andreas Schwab <schwab@redhat.com>
70793
70794 * stdlib/longlong.h: Update from GCC.
70795
70796 2011-05-23 Andreas Schwab <schwab@redhat.com>
70797
70798 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
70799 parameter name.
70800 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
70801 Add parameter name.
70802 (__sysconf): Pass it down.
70803
70804 2011-05-22 Ulrich Drepper <drepper@gmail.com>
70805
70806 [BZ #12671]
70807 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
70808 some situations.
70809 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
70810 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
70811 add in in __libc_use_alloca calls. Adjust callers.
70812 (glob): Use malloc in some situations.
70813
70814 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
70815 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
70816 pltexit.
70817
70818 2011-05-21 Ulrich Drepper <drepper@gmail.com>
70819
70820 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
70821 and CLOCK_BOOTTIME_ALARM.
70822
70823 [BZ #12782]
70824 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
70825 is returned.
70826
70827 * string/_strerror.c (__strerror_r): Print negative errors as signed
70828 numbers.
70829
70830 [BZ #12777]
70831 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
70832 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
70833 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
70834
70835 * configure.in: Fix typo in redirection and correct removal of test
70836 files in two cases.
70837
70838 [BZ #12788]
70839 * locale/setlocale.c (new_composite_name): Fix test to check for
70840 identical name of all categories.
70841
70842 [BZ #12792]
70843 * libio/filedoalloc.c (local_isatty): New function.
70844 (_IO_file_doallocate): Use local_isatty.
70845 * stdio-common/perror.c (perror): In case a new stream is used
70846 forward the stream error.
70847 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
70848 error flag.
70849
70850 2011-05-20 Ulrich Drepper <drepper@gmail.com>
70851
70852 [BZ #11884]
70853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
70854 alloca.
70855 * include/alloca.h (extend_alloca_account): Define.
70856
70857 [BZ #11857]
70858 * posix/regex.h: Fix comments with documentation of user-accessible
70859 fields after compilation and describe correct free'ing of pattern
70860 after re_compile_pattern.
70861 Patch by Reuben Thomas <rrt@sc3d.org>.
70862
70863 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
70864
70865 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
70866 and -mno-altivec to prevent the compiler from using Altivec and/or
70867 VSX instructions when the corresponding registers are not available.
70868
70869 2011-05-19 Andreas Schwab <schwab@redhat.com>
70870
70871 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
70872
70873 2011-05-19 Ulrich Drepper <drepper@gmail.com>
70874
70875 * libio/freopen.c (freopen): Use __dup2, not dup2.
70876 * libio/freopen64.c (freopen64): Likewise.
70877
70878 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
70879
70880 [BZ #12775]
70881 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
70882 * math/Makefile (tests): Add test-powl.
70883 (CFLAGS-test-powl.c): Define.
70884 * math/test-powl.c: New file.
70885
70886 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
70887
70888 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
70889
70890 2011-05-17 Ulrich Drepper <drepper@gmail.com>
70891
70892 [BZ #11837]
70893 * iconvdata/gb18030.c: Update to GB18020-2005.
70894
70895 2011-05-16 Ulrich Drepper <drepper@gmail.com>
70896
70897 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
70898 RE_SYNTAX_POSIX_AWK): Update to match recent development.
70899 Patch by Aharon Robbins <arnold@skeeve.com>.
70900
70901 [BZ #11892]
70902 * stdlib/putenv.c (putenv): Don't always create copy of the variable
70903 on the stack.
70904
70905 [BZ #11895]
70906 * misc/pselect.c (__pselect): Handle timeout value errors hidden
70907 through underflows.
70908
70909 [BZ #12766]
70910 * misc/error.c (error_at_line): Ensure file_name and old_file_name
70911 point to strings before performing equality test for error_one_per_line
70912 mode.
70913
70914 [BZ #11697]
70915 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
70916
70917 [BZ #11820]
70918 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70919 (struct user_fpregs_struct): Avoid __uint*_t types.
70920
70921 [BZ #6420]
70922 * malloc/mtrace.c (tr_where): Add additional parameter to point to
70923 symbol info. Use it instead of calling _dl_addr locally.
70924 (lock_and_info): New function.
70925 (tr_freehook): Call lock_and_info and pass symbol info as additional
70926 parameter to tr_where.
70927 (tr_mallochook): Likewise.
70928 (tr_reallochook): Likewise.
70929 (tr_memalignhook): Likewise.
70930
70931 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
70932 used and couldn't be at all thread-safe.
70933
70934 2011-05-15 Ulrich Drepper <drepper@gmail.com>
70935
70936 * libio/freopen.c (freopen): Don't close old file descriptor
70937 before the new one is opened. Instead dup the new file descriptor
70938 to the old one after the new stream is created.
70939 * libio/freopen64.c (freopen64): Likewise.
70940 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
70941 * libio/fileops.c (_IO_new_file_close_it): Handle new
70942 _IO_FLAGS2_NOCLOSE flag.
70943 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
70944 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
70945 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
70946 _IO_FLAGS2_NOCLOSE flag.
70947 * include/unistd.h: Add hidden_proto for dup3.
70948 Define __have_dup3.
70949 * io/dup3.c: Define hidden symbol.
70950 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
70951
70952 [BZ #7101]
70953 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
70954 when an incomplete long option is used.
70955 * posix/tst-getopt_long1.c: New file.
70956 * posix/Makefile (tests): Add tst-getopt_long1.
70957
70958 [BZ #10138]
70959 * scripts/config.guess: Update from autoconf-2.68.
70960 * scripts/config.sub: Likewise.
70961
70962 [BZ #10157]
70963 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
70964 tests into ...
70965 (has_cpuclock): ...this. New function.
70966 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
70967 macro here based on has_cpuclock code.
70968
70969 [BZ #10149]
70970 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70971 First byte (not low byte) is now always NUL.
70972 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
70973
70974 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70975 Use non-cancelable interfaces.
70976
70977 [BZ #9809]
70978 * locale/iso-639.def: Add entry for Sorani.
70979
70980 [BZ #11901]
70981 * include/stdlib.h: Move include protection to the right place.
70982 Define abort_msg_s. Declare __abort_msg with it.
70983 * stdlib/abort.c (__abort_msg): Adjust type.
70984 * assert/assert.c (__assert_fail_base): New function. Majority
70985 of code from __assert_fail. Allocate memory for __abort_msg with
70986 mmap.
70987 (__assert_fail): Now call __assert_fail_base.
70988 * assert/assert-perr.c: Remove bulk of implementation. Use
70989 __assert_fail_base.
70990 * include/assert.hL Declare __assert_fail_base.
70991 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
70992 mmap.
70993 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
70994
70995 2011-05-14 Ulrich Drepper <drepper@gmail.com>
70996
70997 [BZ #11952]
70998 [BZ #12453]
70999 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
71000 until all modules are registered in the DTV.
71001 * elf/Makefile: Add rules to build and run tst-tls19.
71002 * elf/tst-tls19.c: New file.
71003 * elf/tst-tls19mod1.c: New file.
71004 * elf/tst-tls19mod2.c: New file.
71005 * elf/tst-tls19mod3.c: New file.
71006 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
71007
71008 [BZ #12083]
71009 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
71010 correctly.
71011
71012 [BZ #12601]
71013 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
71014 two-byte sequence errors.
71015 * iconvdata/Makefile (tests): Add bug-iconv8.
71016 * iconvdata/bug-iconv8.c: New file.
71017
71018 [BZ #12626]
71019 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
71020 buf2 definition.
71021
71022 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
71023
71024 [BZ #12432]
71025 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
71026 (dummy_getcfa): New function.
71027 (init): Get _Unwind_GetCFA address, use dummy if not found.
71028 (backtrace_helper): In recursion check, also check whether CFA changes.
71029 (__backtrace): Completely initialize arg.
71030
71031 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
71032 storing incomplete byte sequence in state object. Avoid testing for
71033 guaranteed too small input if we know there is enough data available.
71034
71035 2011-05-11 Andreas Schwab <schwab@redhat.com>
71036
71037 * Makeconfig (+link-pie): Indent.
71038 * Rules (binaries-pie): Define if $(have-fpie) and
71039 $(build-shared).
71040 (binaries-shared): Also filter out $(binaries-pie).
71041 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
71042 * nscd/Makefile (others-pie): Add nscd.
71043 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
71044 ($(objpfx)nscd): Remove command override.
71045 * login/Makefile (others-pie): Add pt_chown.
71046 ($(objpfx)pt_chown): Remove command override.
71047 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
71048 remove command overrides.
71049
71050 2011-05-13 Ulrich Drepper <drepper@gmail.com>
71051
71052 * libio/tst_putwc.c: Fix error messages.
71053
71054 [BZ #12724]
71055 * libio/fileops.c (_IO_new_file_close_it): Always flush when
71056 currently writing and seek to current position when not.
71057 * libio/Makefile (tests): Add bug-fclose1.
71058 * libio/bug-fclose1.c: New file.
71059
71060 2011-05-12 Ulrich Drepper <drepper@gmail.com>
71061
71062 [BZ #12511]
71063 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
71064 don't set DF_1_NODELETE here.
71065 (do_lookup_x): When entering new entry test for copy relocation
71066 and if necessary set DF_1_NODELETE flag.
71067 * elf/tst-unique4.cc: New file.
71068 * elf/tst-unique4.h: New file.
71069 * elf/tst-unique4lib.cc: New file.
71070 * elf/Makefile: Add rules to build and run tst-unique4.
71071 Patch by Piotr Bury <pbury@goahead.com>.
71072
71073 2011-05-11 Ulrich Drepper <drepper@gmail.com>
71074
71075 [BZ #12052]
71076 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
71077
71078 [BZ #12625]
71079 * misc/mntent_r.c (addmntent): Flush the stream after the output
71080
71081 [BZ #12393]
71082 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
71083 (is_trusted_path_normalize): Skip initial colon. Append slash
71084 to empty buffer. Duplicate is_trusted_path code but allow
71085 constructed patch to be prefix.
71086 (is_dst): Allow $ORIGIN followed by /.
71087 (_dl_dst_substitute): Correct clearing of check_for_trusted.
71088 Correct testing of result of is_trusted_path_normalize
71089 (decompose_rpath): Fix warning.
71090
71091 2011-05-10 Ulrich Drepper <drepper@gmail.com>
71092
71093 [BZ #11257]
71094 * grp/initgroups.c (internal_getgrouplist): When we found the service
71095 list through the initgroups entry in nsswitch.conf do not always
71096 continue on a successful lookup. Don't always use the
71097 __nss_group_database value if it is set.
71098 * nss/nsswitch.conf (initgroups): Change action for successful db
71099 lookup to continue for compatibility.
71100
71101 2011-05-09 Ulrich Drepper <drepper@gmail.com>
71102
71103 [BZ #11532]
71104 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
71105 and CP774 modules.
71106 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
71107 and CP774 modules.
71108 * iconvdata/tst-tables.sh: Likewise.
71109 * iconvdata/cp770.c: New file.
71110 * iconvdata/cp771.c: New file.
71111 * iconvdata/cp772.c: New file.
71112 * iconvdata/cp773.c: New file.
71113 * iconvdata/cp774.c: New file.
71114 * iconvdata/testdata/CP770: New file.
71115 * iconvdata/testdata/CP770..UTF8: New file.
71116 * iconvdata/testdata/CP771: New file.
71117 * iconvdata/testdata/CP771..UTF8: New file.
71118 * iconvdata/testdata/CP772: New file.
71119 * iconvdata/testdata/CP772..UTF8: New file.
71120 * iconvdata/testdata/CP773: New file.
71121 * iconvdata/testdata/CP773..UTF8: New file.
71122 * iconvdata/testdata/CP774: New file.
71123 * iconvdata/testdata/CP774..UTF8: New file.
71124
71125 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
71126 END CHARMAP line.
71127 * iconvdata/gen-8bit-gap.sh: Likewise.
71128 * iconvdata/gen-8bit.sh: Likewise.
71129
71130 * locale/iso-639.def: Add ary entry.
71131
71132 [BZ #11258]
71133 * locale/C-translit.h.in: Add U20A1 transliteration.
71134
71135 [BZ #12178]
71136 * locale/iso-639.def: Add wae entry.
71137 Patch by Kevin Bortis <bortis@translate-wae.ch>.
71138
71139 [BZ #12545]
71140 * locale/programs/localedef.c (construct_output_path): Use ssize_t
71141 for n.
71142
71143 [BZ #12711]
71144 * locale/C-translit.h.in: Add entry for U20B9.
71145 Patch by pravin.d.s@gmail.com.
71146
71147 2011-05-08 Ulrich Drepper <drepper@gmail.com>
71148
71149 [BZ #12713]
71150 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
71151 ENAMETOOLONG use generic getcwd.
71152 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
71153 in rtld. Use *stat64.
71154 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
71155 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
71156 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
71157 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
71158 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
71159 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
71160 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
71161 __fstatat64 macros.
71162 * include/dirent.h: Add libc_hidden_proto for rewinddir.
71163 * dirent/rewinddir.c: Add libc_hidden_def.
71164 * sysdeps/mach/hurd/rewinddir.c: Likewise.
71165 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
71166
71167 * include/dirent.h (__alloc_dir): Add flags parameter.
71168 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
71169 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
71170 __alloc_dir.
71171 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
71172 from fdopendir if O_CLOEXEC is already set.
71173
71174 2011-03-15 Alan Modra <amodra@gmail.com>
71175
71176 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
71177 l_tls_firstbyte_offset non-zero. Save padding offset in
71178 l_tls_firstbyte_offset for later use.
71179 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
71180 freeing static tls block.
71181
71182 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
71183
71184 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
71185 where #ifdef was intended. The intent is to prevent ARG_MAX from
71186 being defined by the kernel headers.
71187
71188 2011-05-07 Ulrich Drepper <drepper@gmail.com>
71189
71190 [BZ #12734]
71191 * resolv/resolv.h: Define RES_NOTLDQUERY.
71192 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
71193 no-tld-query and set RES_NOTLDQUERY.
71194 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
71195 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
71196 modern BIND to search name as TLD unless forbidden.
71197
71198 2011-05-07 Petr Baudis <pasky@suse.cz>
71199 Ulrich Drepper <drepper@gmail.com>
71200
71201 [BZ #12393]
71202 * elf/dl-load.c (fillin_rpath): Move trusted path check...
71203 (is_trusted_path): ...to here.
71204 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
71205 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
71206 using is_trusted_path_normalize() in setuid scripts.
71207
71208 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
71209
71210 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
71211 __BEGIN/__END_DECLS.
71212
71213 2011-05-06 Ulrich Drepper <drepper@gmail.com>
71214
71215 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
71216 NSS_STATUS_NOTFOUND if no record was found.
71217
71218 2011-05-05 Andreas Schwab <schwab@redhat.com>
71219
71220 * sunrpc/Makefile (headers): Add rpc/netdb.h.
71221 (headers-not-in-tirpc): Remove rpc/netdb.h
71222 * resolv/netdb.h: Revert last change.
71223
71224 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
71225
71226 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
71227 circular dependency between libgcc.a and libc.a.
71228
71229 2011-05-05 Andreas Schwab <schwab@redhat.com>
71230
71231 * resolv/netdb.h: Don't include <rpc/netdb.h>.
71232 * nis/Makefile: Don't install rpcsvc/*.
71233 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
71234 instead of <rpc/types.h>.
71235 (MAXHOSTNAMELEN): Define.
71236
71237 2011-05-03 Andreas Schwab <schwab@redhat.com>
71238
71239 * elf/ldconfig.c (add_dir): Don't crash on empty path.
71240
71241 2011-04-28 Maciej Babinski <mbabinski@google.com>
71242
71243 [BZ #12714]
71244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
71245 gethostbyname4_r when IPv6 results are possible.
71246
71247 2011-05-02 Ulrich Drepper <drepper@gmail.com>
71248
71249 [BZ #12723]
71250 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
71251 _PC_PIPE_BUF handling.
71252
71253 2011-04-30 Bruno Haible <bruno@clisp.org>
71254
71255 [BZ #12717]
71256 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
71257 * resolv/netdb.h (getnameinfo): Change type of flags parameter
71258 to 'int'.
71259 * inet/getnameinfo.c (getnameinfo): Likewise.
71260
71261 2011-04-29 Ulrich Drepper <drepper@gmail.com>
71262
71263 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
71264 to groups setting in database lookup.
71265 * nss/nsswitch.conf: Add initgroups entry.
71266
71267 2011-04-22 Ulrich Drepper <drepper@gmail.com>
71268
71269 [BZ #12685]
71270 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
71271 mode string.
71272 Patch by Eric Blake <eblake@redhat.com>.
71273
71274 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
71275
71276 * sunrpc/Makefile (need-export-routines): Add svc_run.
71277 (routines): Remove svc_run.
71278 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
71279 * sunrpc/clnt_perr.c (clnt_perrno): Export.
71280 * sunrpc/svc_run.c (svc_run): Likewise.
71281 * sunrpc/svc_udp.c (svcudp_create): Likewise.
71282
71283 2011-04-21 Ulrich Drepper <drepper@gmail.com>
71284
71285 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
71286 problem in reallocation in last patch.
71287
71288 2011-04-20 Ulrich Drepper <drepper@gmail.com>
71289
71290 * sunrpc/Makefile: Move inclusion of Rules.
71291
71292 2011-04-19 Ulrich Drepper <drepper@gmail.com>
71293
71294 * nss/nss_files/files-initgroups.c: New file.
71295 * nss/Makefile (libnss_files-routines): Add files-initgroups.
71296 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
71297 _nss_files_initgroups_dyn.
71298
71299 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
71300
71301 * elf/elf.h (R_ARM_IRELATIVE): Define.
71302
71303 2011-04-19 Ulrich Drepper <drepper@gmail.com>
71304
71305 * po/ru.po: Update from translation team.
71306
71307 2011-04-17 Ulrich Drepper <drepper@gmail.com>
71308
71309 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
71310 dependencies.
71311
71312 2011-02-06 Mike Frysinger <vapier@gentoo.org>
71313
71314 [BZ #12653]
71315 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
71316 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
71317 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71318 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71319 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71320
71321 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
71322
71323 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
71324 differing bytes.
71325 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71326 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71327 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71328
71329 2011-04-17 Ulrich Drepper <drepper@gmail.com>
71330
71331 [BZ #12420]
71332 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
71333 storing it.
71334 * stdlib/bug-getcontext.c: New file.
71335 * stdlib/Makefile: Add rules to build and run bug-getcontext.
71336
71337 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71338
71339 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
71340 instructions into .machine "z9-109".
71341 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
71342 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
71343
71344 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71345
71346 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
71347 between environment variables and auxiliary vector.
71348
71349 2011-04-16 Ulrich Drepper <drepper@gmail.com>
71350
71351 * Makefile: Add rules to build linkobj/libc.so.
71352 * include/libc-symbols.h: Define libc_hidden_nolink.
71353 * include/rpc/auth.h: Mark functions which are to be hidden.
71354 * include/rpc/auth_des.h: Likewise.
71355 * include/rpc/auth_unix.h: Likewise.
71356 * include/rpc/clnt.h: Likewise.
71357 * include/rpc/des_crypt.h: Likewise.
71358 * include/rpc/key_prot.h: Likewise.
71359 * include/rpc/pmap_clnt.h: Likewise.
71360 * include/rpc/pmap_prot.h: Likewise.
71361 * include/rpc/pmap_rmt.h: Likewise.
71362 * include/rpc/rpc_msg.h: Likewise.
71363 * include/rpc/svc.h: Likewise.
71364 * include/rpc/svc_auth.h: Likewise.
71365 * include/rpc/xdr.h: Likewise.
71366 * nis/Makefile: Link all DSOs against linkobj/libc.so.
71367 * nss/Makefile: Likewise.
71368 * sunrpc/Makefile: Don't install headers. Build library with normal
71369 entry points. Don't build rpcinfo. Link RPC tests appropriately.
71370 * sunrpc/auth_des.c: Hide exported symbols by default, export some
71371 for the compat linking library. Remove use of INTDEF/INTUSE.
71372 * sunrpc/auth_none.c: Likewise.
71373 * sunrpc/auth_unix.c: Likewise.
71374 * sunrpc/authdes_prot.c: Likewise.
71375 * sunrpc/authuxprot.c: Likewise.
71376 * sunrpc/clnt_gen.c: Likewise.
71377 * sunrpc/clnt_perr.c: Likewise.
71378 * sunrpc/clnt_raw.c: Likewise.
71379 * sunrpc/clnt_simp.c: Likewise.
71380 * sunrpc/clnt_tcp.c: Likewise.
71381 * sunrpc/clnt_udp.c: Likewise.
71382 * sunrpc/clnt_unix.c: Likewise.
71383 * sunrpc/des_crypt.c: Likewise.
71384 * sunrpc/des_soft.c: Likewise.
71385 * sunrpc/get_myaddr.c: Likewise.
71386 * sunrpc/key_call.c: Likewise.
71387 * sunrpc/key_prot.c: Likewise.
71388 * sunrpc/netname.c: Likewise.
71389 * sunrpc/pm_getmaps.c: Likewise.
71390 * sunrpc/pm_getport.c: Likewise.
71391 * sunrpc/pmap_clnt.c: Likewise.
71392 * sunrpc/pmap_prot.c: Likewise.
71393 * sunrpc/pmap_prot2.c: Likewise.
71394 * sunrpc/pmap_rmt.c: Likewise.
71395 * sunrpc/publickey.c: Likewise.
71396 * sunrpc/rpc_cmsg.c: Likewise.
71397 * sunrpc/rpc_common.c: Likewise.
71398 * sunrpc/rpc_dtable.c: Likewise.
71399 * sunrpc/rpc_prot.c: Likewise.
71400 * sunrpc/rpc_thread.c: Likewise.
71401 * sunrpc/rtime.c: Likewise.
71402 * sunrpc/svc.c: Likewise.
71403 * sunrpc/svc_auth.c: Likewise.
71404 * sunrpc/svc_authux.c: Likewise.
71405 * sunrpc/svc_raw.c: Likewise.
71406 * sunrpc/svc_run.c: Likewise.
71407 * sunrpc/svc_simple.c: Likewise.
71408 * sunrpc/svc_tcp.c: Likewise.
71409 * sunrpc/svc_udp.c: Likewise.
71410 * sunrpc/svc_unix.c: Likewise.
71411 * sunrpc/svcauth_des.c: Likewise.
71412 * sunrpc/xcrypt.c: Likewise.
71413 * sunrpc/xdr.c: Likewise.
71414 * sunrpc/xdr_array.c: Likewise.
71415 * sunrpc/xdr_float.c: Likewise.
71416 * sunrpc/xdr_intXX_t.c: Likewise.
71417 * sunrpc/xdr_mem.c: Likewise.
71418 * sunrpc/xdr_rec.c: Likewise.
71419 * sunrpc/xdr_ref.c: Likewise.
71420 * sunrpc/xdr_sizeof.c: Likewise.
71421 * sunrpc/xdr_stdio.c: Likewise.
71422
71423 2011-04-10 Ulrich Drepper <drepper@gmail.com>
71424
71425 [BZ #12650]
71426 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
71427 * sysdeps/ia64/dl-tls.h: Likewise.
71428 * sysdeps/powerpc/dl-tls.h: Likewise.
71429 * sysdeps/s390/dl-tls.h: Likewise.
71430 * sysdeps/sh/dl-tls.h: Likewise.
71431 * sysdeps/sparc/dl-tls.h: Likewise.
71432 * sysdeps/x86_64/dl-tls.h: Likewise.
71433 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
71434
71435 2011-03-14 Andreas Schwab <schwab@redhat.com>
71436
71437 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
71438 rpath element also skip the following colon.
71439 (expand_dynamic_string_token): Add is_path parameter and pass
71440 down to DL_DST_REQUIRED and _dl_dst_substitute.
71441 (decompose_rpath): Call expand_dynamic_string_token with
71442 non-zero is_path. Ignore empty rpaths.
71443 (_dl_map_object_from_fd): Call expand_dynamic_string_token
71444 with zero is_path.
71445
71446 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
71447
71448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71449 Make cancelable.
71450
71451 2011-04-09 Ulrich Drepper <drepper@gmail.com>
71452
71453 [BZ #12655]
71454 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
71455 Patch by Filipe David Manana <fdmanana@apache.org>.
71456
71457 2011-04-07 Andreas Schwab <schwab@redhat.com>
71458
71459 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
71460 Maintain aligned stack.
71461 (CHECK_RSP): Remove unused macro.
71462
71463 2011-04-03 Ulrich Drepper <drepper@gmail.com>
71464
71465 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
71466 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
71467
71468 2011-04-02 Ulrich Drepper <drepper@gmail.com>
71469
71470 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
71471
71472 * include/features.h: Mention __USE_XOPEN2K8 in comment.
71473
71474 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
71475
71476 [BZ #12518]
71477 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
71478 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
71479 * sysdeps/x86_64/memmove.c: New file.
71480 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
71481 (memcpy): Renamed to ...
71482 (__new_memcpy): This.
71483 (memcpy): Provide GLIBC_2_14 memcpy.
71484 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
71485 (memcpy): Provide GLIBC_2_2_5 memcpy.
71486
71487 2011-04-01 Ulrich Drepper <drepper@gmail.com>
71488
71489 [BZ #12631]
71490 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
71491
71492 2011-03-30 Andreas Schwab <schwab@redhat.com>
71493
71494 * misc/syncfs.c: New file.
71495 * misc/Makefile (routines): Add syncfs.
71496 * posix/unistd.h: Declare syncfs.
71497 * sysdeps/unix/syscalls.list: Add syncfs.
71498
71499 2011-04-01 Andreas Schwab <schwab@redhat.com>
71500
71501 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
71502 open_by_handle_at.
71503 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71504 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71505 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71506 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71507 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71508 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
71509 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71510
71511 2011-04-01 Ulrich Drepper <drepper@gmail.com>
71512
71513 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
71514 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71515 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
71516 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71517 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71518 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71519 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71520
71521 * io/Makefile: Compile fallocate.c, fallocate64.c, and
71522 sync_file_range.c with -fexceptions.
71523 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
71524 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
71525 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
71526 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
71527 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
71528 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71529 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
71530 sync_file_range as cancellation point
71531 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
71532 now a wrapper around __call_sync_file_range with cancellation handling.
71533 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
71534 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
71535 function name to __call_sync_file_range.
71536 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
71537 Add call_sync_file_range.
71538
71539 2011-04-01 Andreas Schwab <schwab@redhat.com>
71540
71541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71542 bits/timex.h.
71543
71544 2011-04-01 Ulrich Drepper <drepper@gmail.com>
71545
71546 * iconv/iconv.h: Fix typo in comment.
71547 * io/fcntl.h: Likewise.
71548 * libio/stdio.h: Likewise.
71549 * posix/spawn.h: Likewise.
71550 * posix/unistd.h: Likewise.
71551 * stdlib/stdlib.h: Likewise.
71552 * time/time.h: Likewise.
71553 * wcsmbs/wchar.h: Likewise.
71554
71555 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
71556 open_by_handle): Add.
71557 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
71558 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
71559 Augment a few comments.
71560 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71561 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71562 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71563 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71564 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71565 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
71566 open_by_handle.
71567
71568 * io/fcntl.h (AT_EMPTY_PATH): Define.
71569
71570 2011-03-30 Ulrich Drepper <drepper@gmail.com>
71571
71572 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
71573 * sysdeps/unix/sysv/linux/bits/time.h: New file.
71574 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
71575 to...
71576 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
71577 * Versions.def: Add GLIBC_2.14.
71578 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
71579 Export.
71580
71581 2011-03-22 Ulrich Drepper <drepper@gmail.com>
71582
71583 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
71584 round counter.
71585 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71586
71587 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
71588
71589 [BZ #12597]
71590 * string/test-strncmp.c (do_page_test): New function.
71591 (check2): Likewise.
71592 (test_main): Call check2.
71593 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
71594
71595 2011-03-20 Ulrich Drepper <drepper@gmail.com>
71596
71597 [BZ #12587]
71598 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
71599 Handle cache information in CPU leaf 4.
71600 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71601
71602 2011-03-18 Ulrich Drepper <drepper@gmail.com>
71603
71604 [BZ #12583]
71605 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
71606 character representation.
71607 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
71608
71609 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
71610
71611 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
71612 END(__isnan) to END(__isnanf) to match function entry point/label
71613 EALIGN(__isnanf,...).
71614
71615 2011-03-10 Jakub Jelinek <jakub@redhat.com>
71616
71617 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
71618
71619 2011-03-10 Ulrich Drepper <drepper@gmail.com>
71620
71621 [BZ #12510]
71622 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
71623 copy from the symbol referenced in the relocation to initialize the
71624 used variable.
71625 Patch by Piotr Bury <pbury@goahead.com>.
71626 * elf/Makefile: Add rules to build and tst-unique3.
71627 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
71628 * elf/tst-unique3.cc: New file.
71629 * elf/tst-unique3.h: New file.
71630 * elf/tst-unique3lib.cc: New file.
71631 * elf/tst-unique3lib2.cc: New file.
71632
71633 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
71634
71635 2011-03-10 Mike Frysinger <vapier@gentoo.org>
71636
71637 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
71638 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
71639 to _start.
71640
71641 2011-03-06 Ulrich Drepper <drepper@gmail.com>
71642
71643 * elf/dl-load.c (_dl_map_object): If we are looking for the first
71644 to-be-loaded object along a path to loader is ld.so.
71645
71646 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
71647 Ulrich Drepper <drepper@gmail.com>
71648
71649 * sysdeps/x86_64/memset.S: After aligning destination, code
71650 branches to different locations depending on the value of
71651 misalignment, when multiarch is enabled. Fix this.
71652
71653 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
71654
71655 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
71656 Set _x86_64_preferred_memory_instruction for AMD processsors.
71657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71658 Set bit_Prefer_SSE_for_memop for AMD processors.
71659
71660 2011-03-04 Ulrich Drepper <drepper@gmail.com>
71661
71662 * libio/fmemopen.c (fmemopen): Optimize a bit.
71663
71664 2011-03-03 Andreas Schwab <schwab@redhat.com>
71665
71666 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
71667
71668 2011-03-03 Roland McGrath <roland@redhat.com>
71669
71670 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
71671
71672 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
71673
71674 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
71675 __bzero_ultra1 instead of __memset_ultra1.
71676
71677 2011-02-23 Andreas Schwab <schwab@redhat.com>
71678 Ulrich Drepper <drepper@gmail.com>
71679
71680 [BZ #12509]
71681 * include/link.h (struct link_map): Add l_orig_initfini.
71682 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
71683 returning unsuccessfully.
71684 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
71685 close of a file loaded at startup, restore the original l_initfini
71686 list.
71687 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
71688 list, store the pointer.
71689 * elf/Makefile ($(objpfx)noload-mem): New rule.
71690 (noload-ENV): Define.
71691 (tests): Add $(objpfx)noload-mem.
71692 * elf/noload.c: Include <memcheck.h>.
71693 (main): Call mtrace. Close all opened handles.
71694
71695 2011-02-17 Andreas Schwab <schwab@redhat.com>
71696
71697 [BZ #12454]
71698 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
71699 dependencies are missing.
71700
71701 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
71702
71703 Fix __if_freereq crash: Unlike the generic version which uses free,
71704 Hurd needs munmap.
71705 * sysdeps/mach/hurd/ifreq.h: New file.
71706
71707 2011-01-27 Petr Baudis <pasky@suse.cz>
71708 Ulrich Drepper <drepper@gmail.com>
71709
71710 [BZ 12445]#
71711 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
71712 to extend_alloca().
71713 * stdio-common/bug23.c: New file.
71714 * stdio-common/Makefile (tests): Add bug23.
71715
71716 2010-09-28 Andreas Schwab <schwab@redhat.com>
71717 Ulrich Drepper <drepper@gmail.com>
71718
71719 [BZ #12489]
71720 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
71721 before performing relro protection. At old place add assertion
71722 to make sure nothing changed.
71723
71724 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
71725 Glauber de Oliveira Costa <glommer@gmail.com>
71726
71727 * elf/elf.h: Add new ARM TLS relocs.
71728
71729 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
71730
71731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71732 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
71733 cast from r3.
71734 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
71735 'tests' variable.
71736 * sysdeps/wordsize-64/tst-writev.c: New file.
71737
71738 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
71739
71740 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
71741 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
71742 insns in _dl_start to prevent a TOC reference before relocs are
71743 resolved.
71744
71745 2011-02-15 Ulrich Drepper <drepper@gmail.com>
71746
71747 [BZ #12469]
71748 * Makeconfig: Remove RANLIB definition.
71749 * Makerules: Don't use RANLIB.
71750 * aclocal.m4: Remove ranlib test.
71751 * configure.in: No need to check for ranlib.
71752 * elf/rtld-Rules: Don't use RANLIB.
71753
71754 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
71755
71756 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
71757 protection macro.
71758 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
71759 inclusion protection macro.
71760
71761 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
71762 SIGRTMIN and SIGRTMAX and print information in that case only when
71763 SIGRTMIN is defined.
71764
71765 2011-02-11 Jakub Jelinek <jakub@redhat.com>
71766
71767 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
71768 arginfo fn returning -1.
71769
71770 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
71771 and thousands string is zero terminated.
71772
71773 2011-02-03 Andreas Schwab <schwab@redhat.com>
71774
71775 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
71776 sysdeps/unix/sysv/linux/bits/socket.h.
71777
71778 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
71779
71780 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
71781 (__CPU_COUNT): Remove old macros.
71782 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
71783 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
71784 (__CPU_ALLOC, __CPU_FREE): Add macros.
71785 (__sched_cpualloc, __sched_cpufree): Add declarations.
71786
71787 2011-02-05 Ulrich Drepper <drepper@gmail.com>
71788
71789 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
71790 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
71791 * nscd/aicache.c (addhstaiX): Return timeout of added value.
71792 (readdhstai): Return value of addhstaiX call.
71793 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
71794 (addgrbyX): Return value returned by cache_addgr.
71795 (readdgrbyname): Return value returned by addgrbyX.
71796 (readdgrbygid): Likewise.
71797 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
71798 (addpwbyX): Return value returned by cache_addpw.
71799 (readdpwbyname): Return value returned by addhstbyX.
71800 (readdpwbyuid): Likewise.
71801 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
71802 (addservbyX): Return value returned by cache_addserv.
71803 (readdservbyname): Return value returned by addservbyX:
71804 (readdservbyport): Likewise.
71805 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
71806 (addhstbyX): Return value returned by cache_addhst.
71807 (readdhstbyname): Return value returned by addhstbyX.
71808 (readdhstbyaddr): Likewise.
71809 (readdhstbynamev6): Likewise.
71810 (readdhstbyaddrv6): Likewise.
71811 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
71812 (readdinitgroups): Return value returned by addinitgroupsX.
71813 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
71814 (prune_cache): Keep track of timeout value of re-added entries.
71815 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
71816 * nscd/nscd.h: Adjust prototypes of readd* functions.
71817
71818 2011-02-04 Roland McGrath <roland@redhat.com>
71819
71820 * nis/nis_server.c (nis_servstate): Use the right name for 0.
71821 (nis_stats): Likewise.
71822 * nis/nis_modify.c (nis_modify): Likewise.
71823 * nis/nis_remove.c (nis_remove): Likewise.
71824 * nis/nis_add.c (nis_add): Likewise.
71825
71826 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
71827
71828 * posix/fnmatch_loop.c: Add some consts.
71829
71830 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
71831
71832 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
71833
71834 [BZ #12460]
71835 * config.make.in (config-cflags-novzeroupper): Define.
71836 * configure.in: Substitute libc_cv_cc_novzeroupper.
71837 * elf/Makefile (AVX-CFLAGS): Define.
71838 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
71839 (CFLAGS-tst-auditmod4a.c): Likewise.
71840 (CFLAGS-tst-auditmod4b.c): Likewise.
71841 (CFLAGS-tst-auditmod6b.c): Likewise.
71842 (CFLAGS-tst-auditmod6c.c): Likewise.
71843 (CFLAGS-tst-auditmod7b.c): Likewise.
71844 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
71845
71846 2011-02-02 Ulrich Drepper <drepper@gmail.com>
71847
71848 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
71849 function to the callback.
71850 Patch partly by Jiri Olsa <jolsa@redhat.com>.
71851
71852 2011-02-02 Andreas Schwab <schwab@redhat.com>
71853
71854 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
71855 of errno.
71856
71857 2011-01-19 Ulrich Drepper <drepper@gmail.com>
71858
71859 [BZ #11724]
71860 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
71861 of constructors.
71862 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
71863 of destructors.
71864 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
71865
71866 [BZ #11724]
71867 * elf/Makefile: Add rules to build and run new test.
71868 * elf/tst-initorder.c: New file.
71869 * elf/tst-initorder.exp: New file.
71870 * elf/tst-initordera1.c: New file.
71871 * elf/tst-initordera2.c: New file.
71872 * elf/tst-initordera3.c: New file.
71873 * elf/tst-initordera4.c: New file.
71874 * elf/tst-initorderb1.c: New file.
71875 * elf/tst-initorderb2.c: New file.
71876 * elf/tst-order-a1.c: New file.
71877 * elf/tst-order-a2.c: New file.
71878 * elf/tst-order-a3.c: New file.
71879 * elf/tst-order-a4.c: New file.
71880 * elf/tst-order-b1.c: New file.
71881 * elf/tst-order-b2.c: New file.
71882 * elf/tst-order-main.c: New file.
71883 New test case by George Gensure <werkt0@gmail.com>.
71884
71885 2010-10-01 Andreas Schwab <schwab@redhat.com>
71886
71887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71888 decoding ACE if AI_CANONIDN.
71889
71890 2011-01-18 Ulrich Drepper <drepper@gmail.com>
71891
71892 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
71893
71894 2011-01-17 Ulrich Drepper <drepper@gmail.com>
71895
71896 * version.h (RELEASE): Bump for 2.13 release.
71897 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
71898
71899 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
71900
71901 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
71902 MADV_NOHUGEPAGE.
71903 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
71904 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
71905 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71906 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71907 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71908 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71909
71910 * posix/getconf.c: Update copyright year.
71911 * catgets/gencat.c: Likewise.
71912 * csu/version.c: Likewise.
71913 * debug/catchsegv.sh: Likewise.
71914 * debug/xtrace.sh: Likewise.
71915 * elf/ldconfig.c: Likewise.
71916 * elf/ldd.bash.in: Likewise.
71917 * elf/sprof.c (print_version): Likewise.
71918 * iconv/iconv_prog.c: Likewise.
71919 * iconv/iconvconfig.c: Likewise.
71920 * locale/programs/locale.c: Likewise.
71921 * locale/programs/localedef.c: Likewise.
71922 * malloc/memusage.sh: Likewise.
71923 * malloc/mtrace.pl: Likewise.
71924 * nscd/nscd.c (print_version): Likewise.
71925 * nss/getent.c: Likewise.
71926
71927 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
71928 PF_CAIF, and PF_ALG.
71929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71930
71931 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
71932
71933 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
71934 (modules-names): Use them.
71935 (ifunc-test-modules, ifunc-pie-tests): Define.
71936 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
71937 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
71938 (test-extras): Likewise.
71939 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
71940 $(compile-command.c).
71941 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
71942 (all-built-dso): Define.
71943 (check-textrel.out, check-execstack.out): Depend on it.
71944
71945 * configure.in: Don't override --enable-multi-arch.
71946
71947 2011-01-15 Ulrich Drepper <drepper@gmail.com>
71948
71949 [BZ #6812]
71950 * nscd/hstcache.c (tryagain): Define.
71951 (cache_addhst): Return tryagain not notfound for temporary errors.
71952 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
71953 failed.
71954
71955 2011-01-14 Ulrich Drepper <drepper@gmail.com>
71956
71957 [BZ #10563]
71958 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
71959 to make the syscall.
71960 * sysdeps/unix/sysv/linux/setgroups.c: New file.
71961
71962 [BZ #12378]
71963 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
71964 and fall back to matching as normal character if the string ends before
71965 the matching ']' is found. This is what POSIX requires.
71966 * posix/testfnm.c: Adjust test result.
71967 * posix/globtest.sh: Adjust test result. Add new test.
71968 * posix/tst-fnmatch.input: Likewise.
71969 * posix/tst-fnmatch2.c: Add new test.
71970
71971 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
71972
71973 * elf/Makefile (check-execstack): Revert last change. Depend on
71974 check-execstack.h.
71975 (check-execstack.h): New target.
71976 (generated): Add check-execstack.h.
71977 * elf/check-execstack.c: Include "check-execstack.h".
71978 (main): Revert last change.
71979 (handle_file): Return zero if GNU_STACK is absent and
71980 DEFAULT_STACK_PERMS doesn't include PF_X.
71981
71982 2011-01-13 Ulrich Drepper <drepper@gmail.com>
71983
71984 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
71985 in child fails because the descriptor is already closed.
71986 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
71987 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
71988 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
71989
71990 [BZ #12397]
71991 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
71992 syscall.
71993
71994 [BZ #10484]
71995 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
71996 temporary buffer used to handle multi lookups locally.
71997 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
71998
71999 2011-01-12 Ulrich Drepper <drepper@gmail.com>
72000
72001 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
72002 loader is ld.so.
72003
72004 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
72005
72006 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
72007 alignment for SSE2.
72008
72009 2011-01-12 Ulrich Drepper <drepper@gmail.com>
72010
72011 [BZ #12394]
72012 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
72013 characters. When rounding increased number of integer digits recompute
72014 number of groups.
72015 * stdio-common/tst-grouping.c: New file.
72016 * stdio-common/Makefile: Add rules to build and run tst-grouping.
72017
72018 2011-01-09 Ulrich Drepper <drepper@gmail.com>
72019
72020 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
72021 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
72022
72023 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
72024 void.
72025 * bits/select.h: Likewise.
72026
72027 2011-01-08 Ulrich Drepper <drepper@gmail.com>
72028
72029 * po/ja.po: Update from translation team.
72030
72031 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
72032
72033 [BZ #11155]
72034 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
72035 implementation just like for lxstat, fxstatat, et al.
72036
72037 2010-12-27 Jim Meyering <meyering@redhat.com>
72038
72039 [BZ #12348]
72040 * posix/regexec.c (build_trtable): Return failure indication upon
72041 calloc failure. Otherwise, re_search_internal could infloop on OOM.
72042
72043 2010-12-25 Ulrich Drepper <drepper@gmail.com>
72044
72045 [BZ #12201]
72046 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
72047 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
72048 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
72049 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
72050
72051 [BZ #12207]
72052 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
72053
72054 [BZ #12204]
72055 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
72056 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
72057
72058 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
72059
72060 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
72061 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
72062 script has SORT_BY_INIT_PRIORITY.
72063 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
72064 NO_CTORS_DTORS_SECTIONS is defined.
72065 * elf/soinit.c: Likewise.
72066 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
72067 NO_CTORS_DTORS_SECTIONS is defined.
72068 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
72069 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
72070 * sysdeps/sh/init-first.c: Likewise.
72071 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
72072
72073 2010-12-24 Ulrich Drepper <drepper@gmail.com>
72074
72075 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
72076 always use the slow path.
72077
72078 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
72079
72080 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
72081 similar rule which adds the sysdep directories to the header search in
72082 order to pick up the correct platform stackinfo.h.
72083 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
72084 perform test if it is, otherwise return successfully without testing.
72085 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
72086 DEFAULT_STACK_PERMS define in stackinfo.h.
72087 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
72088 defined in stackinfo.h.
72089 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
72090 DEFAULT_STACK_PERMS defined in stackinfo.h.
72091 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
72092 * sysdeps/ia64/stackinfo.h: Likewise.
72093 * sysdeps/s390/stackinfo.h: Likewise.
72094 * sysdeps/sh/stackinfo.h: Likewise.
72095 * sysdeps/sparc/stackinfo.h: Likewise.
72096 * sysdeps/x86_64/stackinfo.h: Likewise.
72097 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
72098 PF_X for powerpc64. Retain PF_X for powerpc32.
72099
72100 2010-12-19 Ulrich Drepper <drepper@gmail.com>
72101
72102 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
72103 accurately.
72104 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
72105 GETDENTS_64BIT_ALIGNED.
72106
72107 2010-12-14 Ulrich Drepper <dreper@gmail.com>
72108
72109 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
72110
72111 2010-12-10 Andreas Schwab <schwab@redhat.com>
72112
72113 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
72114 _GNU_SOURCE.
72115
72116 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
72117 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
72118 Remove __restrict.
72119 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
72120 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
72121
72122 2010-12-09 Ulrich Drepper <drepper@gmail.com>
72123
72124 [BZ #11655]
72125 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
72126 are initialized.
72127
72128 2010-12-09 Jakub Jelinek <jakub@redhat.com>
72129
72130 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
72131
72132 2010-12-03 Ulrich Drepper <drepper@gmail.com>
72133
72134 * po/it.po: Update from translation team.
72135
72136 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
72137
72138 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
72139 unused codes.
72140
72141 2010-11-30 Ulrich Drepper <drepper@gmail.com>
72142
72143 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
72144
72145 2010-11-24 Andreas Schwab <schwab@redhat.com>
72146
72147 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
72148 specially.
72149 (gaih_getanswer_slice): Likewise.
72150
72151 2010-10-20 Jakub Jelinek <jakub@redhat.com>
72152
72153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
72154
72155 2010-05-31 Petr Baudis <pasky@suse.cz>
72156
72157 [BZ #11149]
72158 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
72159 silently even in the chroot mode.
72160
72161 2010-11-22 Ulrich Drepper <drepper@gmail.com>
72162
72163 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
72164 last patch a bit. Pretty printing
72165
72166 2010-05-31 Petr Baudis <pasky@suse.cz>
72167
72168 [BZ #10085]
72169 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
72170 initialization of skip_initgroups_dyn.
72171
72172 2010-11-19 Ulrich Drepper <drepper@gmail.com>
72173
72174 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
72175 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72176
72177 2010-11-16 Ulrich Drepper <drepper@gmail.com>
72178
72179 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
72180
72181 2010-11-11 Andreas Schwab <schwab@redhat.com>
72182
72183 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
72184 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
72185 (tst-fnmatch-ENV): Set MALLOC_TRACE.
72186 ($(objpfx)tst-fnmatch-mem): New rule.
72187 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
72188 * posix/tst-fnmatch.c (main): Call mtrace.
72189
72190 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
72191
72192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72193 Support Intel processor model 6 and model 0x2c.
72194
72195 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
72196
72197 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
72198 signed comparison.
72199
72200 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
72201
72202 [BZ #12205]
72203 * string/test-strncasecmp.c (check_result): New function.
72204 (do_one_test): Use it.
72205 (check1): New function.
72206 (test_main): Use it.
72207 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
72208 Support strcasecmp and strncasecmp.
72209
72210 2010-11-08 Ulrich Drepper <drepper@gmail.com>
72211
72212 [BZ #12194]
72213 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
72214 * sysdeps/x86_64/bits/byteswap.h: Likewise.
72215
72216 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
72217
72218 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
72219 IFUNC support.
72220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72221 memset-x86-64.
72222 * sysdeps/x86_64/multiarch/bzero.S: New file.
72223 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
72224 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
72225 * sysdeps/x86_64/multiarch/memset.S: New file.
72226 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
72227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72228 Set bit_Prefer_SSE_for_memop for Intel processors.
72229 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
72230 Define.
72231 (index_Prefer_SSE_for_memop): Define.
72232 (HAS_PREFER_SSE_FOR_MEMOP): Define.
72233
72234 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
72235
72236 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
72237 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
72238
72239 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
72240
72241 [BZ #12191]
72242 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72243 (__x86_64_raw_data_cache_size_half): Likewise.
72244 (__x86_64_raw_shared_cache_size): Likewise.
72245 (__x86_64_raw_shared_cache_size_half): Likewise.
72246
72247 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72248 (__x86_64_raw_data_cache_size_half): Likewise.
72249 (__x86_64_raw_shared_cache_size): Likewise.
72250 (__x86_64_raw_shared_cache_size_half): Likewise.
72251 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
72252 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
72253 and __x86_64_raw_shared_cache_size_half. Round
72254 __x86_64_data_cache_size_half, __x86_64_data_cache_size
72255 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
72256 to multiple of 256 bytes.
72257
72258 2010-11-03 Ulrich Drepper <drepper@gmail.com>
72259
72260 [BZ #12167]
72261 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
72262 of inacessible symlinks. Verify result of symlink before returning it.
72263 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
72264 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
72265
72266 2010-10-28 Erich Ritz <erichritz@gmail.com>
72267
72268 * math/math.h (isinf): Fix typo in comment.
72269
72270 2010-11-01 Ulrich Drepper <drepper@gmail.com>
72271
72272 * po/da.po: Update from translation team.
72273
72274 2010-10-26 Ulrich Drepper <drepper@gmail.com>
72275
72276 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
72277 is added to the list.
72278
72279 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72280 Ulrich Drepper <drepper@gmail.com>
72281
72282 * elf/dl-object.c (_dl_new_object): Don't append the new object to
72283 the global list here. Move code to...
72284 (_dl_add_to_namespace_list): ...here. New function.
72285 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
72286 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
72287 * elf/dl-load.c (lose): Don't remove the element from the list.
72288 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
72289 (_dl_map_object): Likewise.
72290
72291 2010-10-25 Ulrich Drepper <drepper@gmail.com>
72292
72293 [BZ #12159]
72294 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
72295 into all bytes of SSE register.
72296 Patch by Richard Li <richardpku@gmail.com>.
72297
72298 2010-10-24 Ulrich Drepper <drepper@gmail.com>
72299
72300 [BZ #12140]
72301 * malloc/malloc.c (_int_free): Fill correct number of bytes when
72302 perturbing.
72303
72304 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
72305
72306 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
72307 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
72308 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
72309 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
72311 submachine.
72312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
72313
72314 2010-10-22 Andreas Schwab <schwab@redhat.com>
72315
72316 * include/dlfcn.h (__RTLD_SECURE): Define.
72317 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
72318 mode & __RTLD_SECURE instead.
72319 (open_path): Rename preloaded parameter to secure.
72320 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
72321 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
72322 * elf/dl-deps.c (openaux): Likewise.
72323 * elf/rtld.c (struct map_args): Remove is_preloaded.
72324 (map_doit): Don't use it.
72325 (dl_main): Likewise.
72326 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
72327 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
72328
72329 2010-09-09 Andreas Schwab <schwab@redhat.com>
72330
72331 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
72332 (sysd-rules-targets): Remove duplicates.
72333 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
72334 rtld-%.$o dependency.
72335
72336 2010-10-18 Andreas Schwab <schwab@redhat.com>
72337
72338 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
72339 _dl_map_object do it.
72340
72341 2010-10-19 Ulrich Drepper <drepper@gmail.com>
72342
72343 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
72344 fast fma builtins, define the macros in the C99 standard.
72345 (FP_FAST_FMAF): Likewise.
72346 (FP_FAST_FMAL): Likewise.
72347 * sysdeps/x86_64/bits/mathdef.h: Likewise.
72348
72349 * bits/mathdef.h: Update copyright year.
72350 * sysdeps/powerpc/bits/mathdef.h: Likewise.
72351
72352 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
72353
72354 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
72355 builtins, define the macros in the C99 standard.
72356 (FP_FAST_FMAF): Likewise.
72357 (FP_FAST_FMAL): Likewise.
72358 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
72359 multiply/add.
72360 (FP_FAST_FMAF): Likewise.
72361
72362 2010-10-15 Jakub Jelinek <jakub@redhat.com>
72363
72364 [BZ #3268]
72365 * math/libm-test.inc (fma_test): Some new testcases.
72366 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
72367 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
72368 y and infinite z. Do multiplication by C already in long double.
72369 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
72370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
72371 y and infinite z. Do bitwise or of inexact bit into u.d.
72372 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
72373 * sysdeps/i386/fpu/s_fmaf.S: Removed.
72374 * sysdeps/i386/fpu/s_fma.S: Removed.
72375 * sysdeps/i386/fpu/s_fmal.S: Removed.
72376
72377 2010-10-16 Jakub Jelinek <jakub@redhat.com>
72378
72379 [BZ #3268]
72380 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
72381 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
72382 computation is not scheduled after fetestexcept. Fix value
72383 of minimum denormal long double.
72384
72385 2010-10-14 Jakub Jelinek <jakub@redhat.com>
72386
72387 [BZ #3268]
72388 * math/libm-test.inc (fma_test): Add some more tests.
72389 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
72390 correctly.
72391
72392 2010-10-15 Andreas Schwab <schwab@redhat.com>
72393
72394 * scripts/data/localplt-s390-linux-gnu.data: New file.
72395 * scripts/data/localplt-s390x-linux-gnu.data: New file.
72396
72397 2010-10-13 Jakub Jelinek <jakub@redhat.com>
72398
72399 [BZ #3268]
72400 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
72401 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
72402 instead of dbl-64.
72403 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
72404 inlines.
72405 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
72406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
72407 if one of x and y is very large and the other is subnormal.
72408 * sysdeps/s390/fpu/s_fmaf.c: New file.
72409 * sysdeps/s390/fpu/s_fma.c: New file.
72410 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
72411 * sysdeps/powerpc/fpu/s_fma.S: New file.
72412 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
72413 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
72414 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
72415
72416 2010-10-12 Jakub Jelinek <jakub@redhat.com>
72417
72418 [BZ #3268]
72419 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
72420 fma tests.
72421 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
72422 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
72423 * sysdeps/i386/i686/multiarch/s_fma.c: Include
72424 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
72425 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
72426 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
72427 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
72428
72429 2010-10-12 Ulrich Drepper <drepper@redhat.com>
72430
72431 [BZ #12078]
72432 * posix/regcomp.c (parse_branch): One more memory leak plugged.
72433 * posix/bug-regex31.input: Add test case.
72434
72435 2010-10-11 Ulrich Drepper <drepper@gmail.com>
72436
72437 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
72438 * posix/bug-regex31.input: New file.
72439
72440 [BZ #12078]
72441 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
72442 (parse_sub_exp): Fix last change, use postorder.
72443
72444 * posix/bug-regex31.c: New file.
72445 * posix/Makefile: Add rules to build and run bug-regex31.
72446
72447 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
72448
72449 [BZ #12078]
72450 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
72451
72452 [BZ #12108]
72453 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
72454 to have entries in sys_siglist.
72455
72456 [BZ #12093]
72457 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
72458 be NULL.
72459
72460 2010-10-07 Jakub Jelinek <jakub@redhat.com>
72461
72462 [BZ #3268]
72463 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
72464 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
72465 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
72466 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
72467 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72468 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
72469 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
72470 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
72471 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
72472 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
72473 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
72474 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
72475 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
72476 * math/ftestexcept.c (fetestexcept): Likewise.
72477 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
72478 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
72479 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
72480 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
72481 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
72482 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
72483 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72484
72485 2010-10-11 Ulrich Drepper <drepper@gmail.com>
72486
72487 [BZ #12107]
72488 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
72489 newline.
72490
72491 2010-10-06 Ulrich Drepper <drepper@gmail.com>
72492
72493 * string/bug-strstr1.c: New file.
72494 * string/Makefile: Add rules to build and run bug-strstr1.
72495
72496 2010-10-05 Eric Blake <eblake@redhat.com>
72497
72498 [BZ #12092]
72499 * string/str-two-way.h (two_way_long_needle): Always clear memory
72500 when skipping input due to the shift table.
72501
72502 2010-10-03 Ulrich Drepper <drepper@gmail.com>
72503
72504 [BZ #12005]
72505 * malloc/mcheck.c: Handle large requests.
72506
72507 [BZ #12077]
72508 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
72509 for strncmp and strncasecmp.
72510 * string/stratcliff.c: Add tests for strcmp and strncmp.
72511 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
72512
72513 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
72514
72515 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
72516 __set_fpscr.
72517
72518 2010-09-30 Andreas Jaeger <aj@suse.de>
72519
72520 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
72521 (CGROUP_SUPER_MAGIC): Define.
72522 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72523 Handle btrfs and cgroup file systems.
72524 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
72525 Likewise.
72526
72527 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
72528
72529 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
72530 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
72531
72532 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72533
72534 [BZ #12067]
72535 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
72536 trying to locate the ELF header.
72537
72538 2010-09-27 Andreas Schwab <schwab@redhat.com>
72539
72540 [BZ #11611]
72541 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
72542 Mask out sign-bit copies when constructing f_fsid.
72543
72544 2010-09-24 Petr Baudis <pasky@suse.cz>
72545
72546 * debug/stack_chk_fail_local.c: Add missing licence exception.
72547 * debug/warning-nop.c: Likewise.
72548
72549 2010-09-15 Joseph Myers <joseph@codesourcery.com>
72550
72551 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
72552 implementing getdents64 using getdents syscall, set d_type if
72553 __ASSUME_GETDENTS32_D_TYPE.
72554
72555 2010-09-16 Andreas Schwab <schwab@redhat.com>
72556
72557 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
72558 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
72559
72560 2010-09-21 Ulrich Drepper <drepper@redhat.com>
72561
72562 [BZ #12037]
72563 * posix/unistd.h: Undo change of feature selection for ftruncate from
72564 2010-01-11.
72565
72566 2010-09-20 Ulrich Drepper <drepper@redhat.com>
72567
72568 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
72569 detection.
72570
72571 2010-09-20 Andreas Schwab <schwab@redhat.com>
72572
72573 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
72574 fanotify_mark.
72575 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72576
72577 2010-09-14 Andreas Schwab <schwab@redhat.com>
72578
72579 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
72580 variables after CHECK_SP call.
72581 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
72582
72583 2010-09-13 Andreas Schwab <schwab@redhat.com>
72584 Ulrich Drepper <drepper@redhat.com>
72585
72586 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
72587 re-relocationg ld.so.
72588 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
72589 _dl_init_paths call.
72590 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
72591 here anymore.
72592
72593 2010-09-14 Ulrich Drepper <drepper@redhat.com>
72594
72595 * resolv/res_init.c (__res_vinit): Count the default server we added.
72596
72597 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
72598 Ulrich Drepper <drepper@redhat.com>
72599
72600 [BZ #11968]
72601 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72602 (____longjmp_chk): Use %ebx for saving value across system call.
72603 Add unwind info.
72604
72605 2010-09-06 Andreas Schwab <schwab@redhat.com>
72606
72607 * manual/Makefile: Don't mix pattern rules with normal rules.
72608
72609 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
72610
72611 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
72612 operation.
72613 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
72614 * libio/iofopncook.c (_IO_cookie_init): Likewise.
72615 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
72616 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
72617 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72618 Likewise.
72619
72620 2010-09-04 Ulrich Drepper <drepper@redhat.com>
72621
72622 [BZ #11979]
72623 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
72624 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
72625
72626 2010-09-02 Ulrich Drepper <drepper@redhat.com>
72627
72628 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
72629 * sysdeps/x86_64/addmul_1.S: Likewise.
72630 * sysdeps/x86_64/lshift.S: Likewise.
72631 * sysdeps/x86_64/mul_1.S: Likewise.
72632 * sysdeps/x86_64/rshift.S: Likewise.
72633 * sysdeps/x86_64/sub_n.S: Likewise.
72634 * sysdeps/x86_64/submul_1.S: Likewise.
72635
72636 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
72637
72638 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
72639 Define __sched_param instead of SCHED_* and sched_param when
72640 <bits/sched.h> is included with __need_schedparam defined.
72641 * bits/sched.h [__need_schedparam]
72642 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
72643 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
72644 (__defined_schedparam): Define to 1.
72645 (__sched_param): New structure, identical to sched_param.
72646 (__need_schedparam): Undefine.
72647
72648 2010-08-31 Mike Frysinger <vapier@gentoo.org>
72649
72650 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
72651 (epoll_create1): Declare.
72652
72653 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
72654
72655 2010-08-31 Andreas Schwab <schwab@redhat.com>
72656
72657 [BZ #7066]
72658 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
72659 shifting retval into place.
72660
72661 2010-09-01 Ulrich Drepper <drepper@redhat.com>
72662
72663 * nis/rpcsvc/nis.h: Update copyright notice.
72664 * nis/rpcsvc/nis.x: Likewise.
72665 * nis/rpcsvc/nis_callback.h: Likewise.
72666 * nis/rpcsvc/nis_callback.x: Likewise.
72667 * nis/rpcsvc/nis_object.x: Likewise.
72668 * nis/rpcsvc/nis_tags.h: Likewise.
72669 * nis/rpcsvc/yp.h: Likewise.
72670 * nis/rpcsvc/yp.x: Likewise.
72671 * nis/rpcsvc/ypupd.h: Likewise.
72672 * nis/yp_xdr.c: Likewise.
72673 * nis/ypupdate_xdr.c: Likewise.
72674
72675 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
72676 mainly the body of pmap_getport. Add parameters to specify timeouts.
72677 (pmap_getport): Use __libc_rpc_getport.
72678 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
72679 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
72680 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
72681
72682 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
72683
72684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
72685 fanotify_mark.
72686
72687 2010-08-27 Roland McGrath <roland@redhat.com>
72688
72689 * sysdeps/i386/i686/multiarch/Makefile
72690 (CFLAGS-varshift.c): New variable.
72691
72692 2010-08-27 Ulrich Drepper <drepper@redhat.com>
72693
72694 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
72695 * sysdeps/i386/i686/multiarch/varshift.c: New file.
72696
72697 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
72698
72699 * sysdeps/x86_64/strlen.S: Minimal code improvement.
72700
72701 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
72702
72703 * sysdeps/x86_64/strlen.S: Unroll the loop.
72704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72705 strlen-sse2 strlen-sse2-bsf.
72706 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
72707 __strlen_no_bsf if bit_Slow_BSF is set.
72708 (__strlen_sse42): Removed.
72709 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
72710 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
72711
72712 2010-08-25 Roland McGrath <roland@redhat.com>
72713
72714 * sysdeps/x86_64/multiarch/varshift.S: File removed.
72715 * sysdeps/x86_64/multiarch/varshift.c: New file.
72716 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
72717 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
72718 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
72719 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72720
72721 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
72722
72723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72724 strlen-sse2 strlen-sse2-bsf.
72725 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
72726 __strlen_sse2_bsf if bit_Slow_BSF is unset.
72727 (__strlen_sse2): Removed.
72728 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
72729 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
72730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
72731 bit_Slow_BSF for Atom.
72732 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
72733 (index_Slow_BSF): Define.
72734 (HAS_SLOW_BSF): Define.
72735
72736 2010-08-25 Ulrich Drepper <drepper@redhat.com>
72737
72738 [BZ #10851]
72739 * resolv/res_init.c (__res_vinit): When no server address at all
72740 is given default to loopback.
72741
72742 2010-08-24 Roland McGrath <roland@redhat.com>
72743
72744 * configure.in: Remove config-name.h generation.
72745 * configure: Regenerated.
72746 * config-name.in: File removed.
72747 * scripts/config-uname.sh: New file.
72748 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
72749 ($(objdir)config-name.h): New target.
72750
72751 * sunrpc/rpc_parse.h: Avoid nested comment.
72752
72753 2010-08-24 Richard Henderson <rth@redhat.com>
72754 Ulrich Drepper <drepper@redhat.com>
72755 H.J. Lu <hongjiu.lu@intel.com>
72756
72757 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
72758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
72759 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
72760 Replace _mm_srli_si128 with __m128i_shift_right. Replace
72761 _mm_alignr_epi8 with _mm_loadu_si128.
72762 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
72763 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
72764 (__m128i_shift_right): Removed.
72765 * sysdeps/i386/i686/multiarch/varshift.h: New file.
72766 * sysdeps/i386/i686/multiarch/varshift.S: New file.
72767 * sysdeps/x86_64/multiarch/varshift.h: New file.
72768 * sysdeps/x86_64/multiarch/varshift.S: New file.
72769
72770 2010-08-21 Mike Frysinger <vapier@gentoo.org>
72771
72772 * configure.in: Move assembler checks to before sysdep dir checking.
72773
72774 2010-08-20 Petr Baudis <pasky@suse.cz>
72775
72776 * LICENSES: Sync the sunrpc license.
72777
72778 2010-08-19 Ulrich Drepper <drepper@redhat.com>
72779
72780 * sunrpc/auth_des.c: Update copyright notice once again.
72781 * sunrpc/auth_none.c: Likewise.
72782 * sunrpc/auth_unix.c: Likewise.
72783 * sunrpc/authdes_prot.c: Likewise.
72784 * sunrpc/authuxprot.c: Likewise.
72785 * sunrpc/bindrsvprt.c: Likewise.
72786 * sunrpc/clnt_gen.c: Likewise.
72787 * sunrpc/clnt_perr.c: Likewise.
72788 * sunrpc/clnt_raw.c: Likewise.
72789 * sunrpc/clnt_simp.c: Likewise.
72790 * sunrpc/clnt_tcp.c: Likewise.
72791 * sunrpc/clnt_udp.c: Likewise.
72792 * sunrpc/clnt_unix.c: Likewise.
72793 * sunrpc/des_crypt.c: Likewise.
72794 * sunrpc/des_soft.c: Likewise.
72795 * sunrpc/get_myaddr.c: Likewise.
72796 * sunrpc/getrpcport.c: Likewise.
72797 * sunrpc/key_call.c: Likewise.
72798 * sunrpc/key_prot.c: Likewise.
72799 * sunrpc/openchild.c: Likewise.
72800 * sunrpc/pm_getmaps.c: Likewise.
72801 * sunrpc/pm_getport.c: Likewise.
72802 * sunrpc/pmap_clnt.c: Likewise.
72803 * sunrpc/pmap_prot.c: Likewise.
72804 * sunrpc/pmap_prot2.c: Likewise.
72805 * sunrpc/pmap_rmt.c: Likewise.
72806 * sunrpc/rpc/auth.h: Likewise.
72807 * sunrpc/rpc/auth_unix.h: Likewise.
72808 * sunrpc/rpc/clnt.h: Likewise.
72809 * sunrpc/rpc/des_crypt.h: Likewise.
72810 * sunrpc/rpc/key_prot.h: Likewise.
72811 * sunrpc/rpc/netdb.h: Likewise.
72812 * sunrpc/rpc/pmap_clnt.h: Likewise.
72813 * sunrpc/rpc/pmap_prot.h: Likewise.
72814 * sunrpc/rpc/pmap_rmt.h: Likewise.
72815 * sunrpc/rpc/rpc.h: Likewise.
72816 * sunrpc/rpc/rpc_des.h: Likewise.
72817 * sunrpc/rpc/rpc_msg.h: Likewise.
72818 * sunrpc/rpc/svc.h: Likewise.
72819 * sunrpc/rpc/svc_auth.h: Likewise.
72820 * sunrpc/rpc/types.h: Likewise.
72821 * sunrpc/rpc/xdr.h: Likewise.
72822 * sunrpc/rpc_clntout.c: Likewise.
72823 * sunrpc/rpc_cmsg.c: Likewise.
72824 * sunrpc/rpc_common.c: Likewise.
72825 * sunrpc/rpc_cout.c: Likewise.
72826 * sunrpc/rpc_dtable.c: Likewise.
72827 * sunrpc/rpc_hout.c: Likewise.
72828 * sunrpc/rpc_main.c: Likewise.
72829 * sunrpc/rpc_parse.c: Likewise.
72830 * sunrpc/rpc_parse.h: Likewise.
72831 * sunrpc/rpc_prot.c: Likewise.
72832 * sunrpc/rpc_sample.c: Likewise.
72833 * sunrpc/rpc_scan.c: Likewise.
72834 * sunrpc/rpc_scan.h: Likewise.
72835 * sunrpc/rpc_svcout.c: Likewise.
72836 * sunrpc/rpc_tblout.c: Likewise.
72837 * sunrpc/rpc_util.c: Likewise.
72838 * sunrpc/rpc_util.h: Likewise.
72839 * sunrpc/rpcinfo.c: Likewise.
72840 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
72841 * sunrpc/rpcsvc/key_prot.x: Likewise.
72842 * sunrpc/rpcsvc/klm_prot.x: Likewise.
72843 * sunrpc/rpcsvc/mount.x: Likewise.
72844 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
72845 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
72846 * sunrpc/rpcsvc/rex.x: Likewise.
72847 * sunrpc/rpcsvc/rstat.x: Likewise.
72848 * sunrpc/rpcsvc/rusers.x: Likewise.
72849 * sunrpc/rpcsvc/sm_inter.x: Likewise.
72850 * sunrpc/rpcsvc/spray.x: Likewise.
72851 * sunrpc/rpcsvc/yppasswd.x: Likewise.
72852 * sunrpc/rtime.c: Likewise.
72853 * sunrpc/svc.c: Likewise.
72854 * sunrpc/svc_auth.c: Likewise.
72855 * sunrpc/svc_authux.c: Likewise.
72856 * sunrpc/svc_raw.c: Likewise.
72857 * sunrpc/svc_run.c: Likewise.
72858 * sunrpc/svc_simple.c: Likewise.
72859 * sunrpc/svc_tcp.c: Likewise.
72860 * sunrpc/svc_udp.c: Likewise.
72861 * sunrpc/svc_unix.c: Likewise.
72862 * sunrpc/svcauth_des.c: Likewise.
72863 * sunrpc/xcrypt.c: Likewise.
72864 * sunrpc/xdr.c: Likewise.
72865 * sunrpc/xdr_array.c: Likewise.
72866 * sunrpc/xdr_float.c: Likewise.
72867 * sunrpc/xdr_mem.c: Likewise.
72868 * sunrpc/xdr_rec.c: Likewise.
72869 * sunrpc/xdr_ref.c: Likewise.
72870 * sunrpc/xdr_sizeof.c: Likewise.
72871 * sunrpc/xdr_stdio.c: Likewise.
72872
72873 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
72874 handling.
72875
72876 2010-08-19 Andreas Schwab <schwab@redhat.com>
72877
72878 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
72879
72880 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
72881
72882 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
72883 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
72884 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
72885 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
72886 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
72887 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
72888 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
72889 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
72890 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
72891 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
72892 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
72893 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
72894 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
72895 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
72896
72897 2010-07-26 Anton Blanchard <anton@samba.org>
72898
72899 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
72900 * malloc/arena.c (heap_trim): Likewise.
72901
72902 2010-08-16 Ulrich Drepper <drepper@redhat.com>
72903
72904 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
72905 here. Not...
72906 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
72907 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
72908
72909 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
72910
72911 * sysdeps/i386/elf/Makefile: New file.
72912
72913 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
72914
72915 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
72916 from fanotify_init.
72917 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
72918 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72919
72920 2010-08-15 Ulrich Drepper <drepper@redhat.com>
72921
72922 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
72923 of strncasecmp_l.
72924 * sysdeps/multiarch/strcmp.S: Likewise.
72925
72926 2010-08-14 Ulrich Drepper <drepper@redhat.com>
72927
72928 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72929 strncase_l-nonascii.
72930 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72931 Add strncase_l-ssse3.
72932 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
72933 * sysdeps/x86_64/strcmp.S: Likewise.
72934 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
72935 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
72936 * sysdeps/x86_64/strncase.S: New file.
72937 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
72938 * sysdeps/x86_64/strncase_l.S: New file.
72939 * string/Makefile (strop-tests): Add strncasecmp.
72940 * string/test-strncasecmp.c: New file.
72941
72942 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
72943 warning.
72944
72945 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
72946 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
72947
72948 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
72949
72950 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
72951
72952 2010-08-12 Ulrich Drepper <drepper@redhat.com>
72953
72954 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
72955 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
72956 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
72957
72958 2010-05-01 Alan Modra <amodra@gmail.com>
72959
72960 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
72961 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
72962 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
72963 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
72964 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
72965 tidying. Don't tail-call __sigjmp_save for static lib.
72966 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
72967 save location.
72968 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
72969 (CALL_MCOUNT): Add eh info, and nop after bl.
72970 (TAIL_CALL_SYSCALL_ERROR): New macro.
72971 (PSEUDO_RET): Use it.
72972 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
72973 Correct save location of integer regs and cr.
72974 (_dl_profile_resolve): Correct cr save location. Delete nops
72975 after bl when SHARED. Reduce cfi size a little by better
72976 placement of cfi directives.
72977 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
72978 make a stack frame. Instead use parm save area as a temp.
72979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
72980 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
72981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
72982 Don't make a stack frame for parent, use parm save area.
72983 Increase child stack frame to 112 bytes. Don't save unused reg,
72984 and adjust reg usage. Set up cfi on error recovery and
72985 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
72986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72987 (__makecontext): Add dummy nop after jump to exit.
72988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
72989 Use correct parm save area and cr save, reduce stack frame.
72990 Correct cfi for possible PSEUDO_RET frame setup.
72991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
72992 Branch to local label emitted by PSEUDO_RET rather than
72993 __syscall_error.
72994
72995 2010-08-12 Andreas Schwab <schwab@redhat.com>
72996
72997 [BZ #11904]
72998 * locale/programs/locale.c (print_assignment): New function.
72999 (show_locale_vars): Use it.
73000
73001 2010-08-11 Ulrich Drepper <drepper@redhat.com>
73002
73003 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
73004 field.
73005 (struct statfs64): Likewise.
73006 (_STATFS_F_FLAGS): Define.
73007 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
73008 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73009 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
73010 (ST_VALID): Define locally.
73011 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
73012 __statvfs_getflags, use the provided value.
73013 * sysdeps/unix/sysv/linux/kernel-features.h: Define
73014 __ASSUME_STATFS_F_FLAGS.
73015
73016 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
73017
73018 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
73019 Add sys/fanotify.h.
73020 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
73021 fanotify_mask for GLIBC_2.13.
73022 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
73023 fanotify_init and fanotify_mark.
73024 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73025 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
73026
73027 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
73028 Add prlimit.
73029 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
73030 prlimit64 for GLIBC_2.13.
73031 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
73032 prlimit64.
73033 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
73034 syscall.
73035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
73036 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
73037 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
73038 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
73039 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
73040 add prlimit alias.
73041 * sysdeps/unix/sysv/linux/prlimit.c: New file.
73042
73043 [BZ #11903]
73044 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
73045 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
73046
73047 * nss/Makefile: Add rules to build and run tst-nss-test1.
73048 * shlib-versions: Add entry for libnss_test1.
73049 * nss/nss_test1.c: New file.
73050 * nss/tst-nss-test1.c: New file.
73051
73052 * nss/nsswitch.c (__nss_database_custom): Define new variable.
73053 (__nss_configure_lookup): Set appropriate entry in
73054 __nss_configure_lookup to true.
73055 * nss/nsswitch.h: Define enum with indeces of databases in
73056 databases and __nss_database_custom arrays. Declare
73057 __nss_database_custom.
73058 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
73059 to avoid using nscd when custom rules are installed.
73060 * nss/getXXbyYY_r.c: Likewise.
73061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
73062
73063 * nss/nss_files/files-parse.c: Whitespace fixes.
73064
73065 2010-08-09 Ulrich Drepper <drepper@redhat.com>
73066
73067 [BZ #11883]
73068 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
73069 * posix/fnmatch_loop.c: Likewise.
73070
73071 2010-07-17 Andi Kleen <ak@linux.intel.com>
73072
73073 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
73074 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
73075 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
73076 * Versions.def [GLIBC_2.13]: Add.
73077
73078 2010-08-06 Ulrich Drepper <drepper@redhat.com>
73079
73080 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73081 Also fail if tpwd after pwuid call is NULL.
73082
73083 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
73084
73085 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
73086 when converting to ms.
73087
73088 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
73089
73090 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
73091 EOPNOTSUPP errors with ENOTTY.
73092 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
73093 EOPNOTSUPP errors with ENOTTY.
73094
73095 2010-07-31 Ulrich Drepper <drepper@redhat.com>
73096
73097 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73098 Add strcasecmp_l-ssse3.
73099 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
73100 strcasecmp.
73101 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
73102 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
73103 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
73104
73105 2010-07-30 Ulrich Drepper <drepper@redhat.com>
73106
73107 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
73108
73109 * string/Makefile (strop-tests): Add strcasecmp.
73110 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73111 strcasecmp_l-nonascii.
73112 (gen-as-const-headers): Add locale-defines.sym.
73113 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
73114 * sysdeps/x86_64/strcasecmp.S: New file.
73115 * sysdeps/x86_64/strcasecmp_l.S: New file.
73116 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
73117 * sysdeps/x86_64/locale-defines.sym: New file.
73118 * string/test-strcasecmp.c: New file.
73119
73120 * string/test-strcasestr.c: Test both ends of the range of characters.
73121 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
73122
73123 2010-07-29 Roland McGrath <roland@redhat.com>
73124
73125 [BZ #11856]
73126 * manual/locale.texi (Yes-or-No Questions): Fix example code.
73127
73128 2010-07-27 Ulrich Drepper <drepper@redhat.com>
73129
73130 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
73131 for ld.so.
73132
73133 2010-07-27 Andreas Schwab <schwab@redhat.com>
73134
73135 * manual/memory.texi (Malloc Tunable Parameters): Document
73136 M_PERTURB.
73137
73138 2010-07-26 Roland McGrath <roland@redhat.com>
73139
73140 [BZ #11840]
73141 * configure.in (-fgnu89-inline check): Set and substitute
73142 gnu89_inline, not libc_cv_gnu89_inline.
73143 * configure: Regenerated.
73144 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
73145
73146 2010-07-26 Ulrich Drepper <drepper@redhat.com>
73147
73148 * string/test-strnlen.c: New file.
73149 * string/Makefile (strop-tests): Add strnlen.
73150 * string/tester.c (test_strnlen): Add a few more test cases.
73151 * string/tst-strlen.c: Better error reporting.
73152
73153 * sysdeps/x86_64/strnlen.S: New file.
73154
73155 2010-07-24 Ulrich Drepper <drepper@redhat.com>
73156
73157 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
73158 lower-latency instructions.
73159
73160 2010-07-23 Ulrich Drepper <drepper@redhat.com>
73161
73162 * string/test-strcasestr.c: New file.
73163 * string/test-strstr.c: New file.
73164 * string/Makefile (strop-tests): Add strstr and strcasestr.
73165 * string/str-two-way.h: Don't undefine MAX.
73166 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
73167
73168 2010-07-21 Andreas Schwab <schwab@redhat.com>
73169
73170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73171 strcasestr-nonascii.
73172 (CFLAGS-strcasestr-nonascii.c): Define.
73173 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
73174 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
73175 Remove unused attribute.
73176
73177 2010-07-20 Roland McGrath <roland@redhat.com>
73178
73179 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
73180 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
73181 ld.so.cache was broken. With it, there is no way to disable dsocaps
73182 like LD_HWCAP_MASK can disable hwcaps.
73183
73184 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
73185
73186 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
73187
73188 2010-07-16 Ulrich Drepper <drepper@redhat.com>
73189
73190 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
73191 call in strcasestr.
73192 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
73193 __strcasestr_sse42_nonascii.
73194 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
73195 strcasestr-nonascii.c.
73196 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
73197
73198 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
73199
73200 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
73201 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
73202 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
73203 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
73204
73205 2010-07-09 Ulrich Drepper <drepper@redhat.com>
73206
73207 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
73208 fcntl.
73209
73210 2010-07-06 Andreas Schwab <schwab@redhat.com>
73211
73212 [BZ #11577]
73213 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
73214 dl_signal_cerror.
73215
73216 2010-07-06 Ulrich Drepper <drepper@redhat.com>
73217
73218 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
73219 _PC_PIPE_BUF using F_GETPIPE_SZ.
73220
73221 2010-07-05 Roland McGrath <roland@redhat.com>
73222
73223 * manual/arith.texi (Rounding Functions): Fix rint description
73224 implicit in round description.
73225
73226 2010-07-02 Ulrich Drepper <drepper@redhat.com>
73227
73228 * elf/Makefile: Fix linking for a few tests to make recent linker
73229 happy.
73230
73231 2010-06-30 Andreas Schwab <schwab@redhat.com>
73232
73233 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73234 $(common-objpfx)libc_nonshared.a.
73235
73236 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
73237
73238 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
73239 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
73240 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73241 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73242 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
73243 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
73244 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73245 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
73247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
73248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
73249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
73251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
73253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
73254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
73255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
73256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
73258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
73260 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
73261 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
73262 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
73263 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
73264 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
73265 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
73266 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
73267 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
73268 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
73269 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
73270 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
73271 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
73272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
73273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
73274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
73275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
73276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
73277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
73278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
73279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
73280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
73281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
73282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
73283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
73284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
73285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
73286
73287 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
73288
73289 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
73290 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
73291 * string/memmove.c (memmove): Renamed to ...
73292 (MEMMOVE): ...this. Default to memmove.
73293 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
73294 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
73295 (END_CHK): Define.
73296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73297 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
73298 mempcpy-ssse3-back memmove-ssse3-back.
73299 * sysdeps/x86_64/multiarch/bcopy.S: New file .
73300 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
73301 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
73302 * sysdeps/x86_64/multiarch/memcpy.S: New file.
73303 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
73304 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
73305 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
73306 * sysdeps/x86_64/multiarch/memmove.c: New file.
73307 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
73308 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
73309 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
73310 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
73311 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
73312 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
73313 Define.
73314 (index_Fast_Copy_Backward): Define.
73315 (HAS_ARCH_FEATURE): Define.
73316 (HAS_FAST_REP_STRING): Define.
73317 (HAS_FAST_COPY_BACKWARD): Define.
73318
73319 2010-06-21 Andreas Schwab <schwab@redhat.com>
73320
73321 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73322 Restore proper fallback handling.
73323
73324 2010-06-19 Ulrich Drepper <drepper@redhat.com>
73325
73326 [BZ #11701]
73327 * posix/group_member.c (__group_member): Correct checking loop.
73328
73329 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
73330 OOM in getpwuid_r correctly. Return error number when the caller
73331 should return, otherwise -1.
73332 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
73333 call returning > 0 value.
73334 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
73335
73336 2010-06-07 Andreas Schwab <schwab@redhat.com>
73337
73338 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
73339 libc_nonshared.a from targets in modules-names.
73340
73341 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
73342
73343 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
73344 requires it.
73345
73346 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
73347
73348 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
73349 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
73350 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
73351 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
73352
73353 2010-06-02 Andreas Schwab <schwab@redhat.com>
73354
73355 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
73356
73357 2010-06-14 Ulrich Drepper <drepper@redhat.com>
73358
73359 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
73360 and F_GETPIPE_SZ.
73361 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73362 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73363 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73364 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73365 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73366 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73367
73368 2010-06-14 Roland McGrath <roland@redhat.com>
73369
73370 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
73371
73372 2010-06-07 Jakub Jelinek <jakub@redhat.com>
73373
73374 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
73375 __REDIRECT followed by __THROW.
73376 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
73377 * posix/getopt.h (getopt): Likewise.
73378
73379 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
73380
73381 * hurd/lookup-at.c (__file_name_lookup_at): Accept
73382 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
73383 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
73384 in AT_FLAGS.
73385 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
73386 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
73387
73388 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
73389
73390 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
73391
73392 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
73393
73394 [BZ #11640]
73395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73396 Properly check family and model.
73397
73398 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
73399
73400 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
73401
73402 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
73403
73404 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
73405
73406 2010-05-21 Ulrich Drepper <drepper@redhat.com>
73407
73408 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
73409 symbol reference.
73410
73411 2010-05-19 Andreas Schwab <schwab@redhat.com>
73412
73413 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
73414 symbol reference.
73415
73416 2010-05-21 Andreas Schwab <schwab@redhat.com>
73417
73418 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
73419 and internal_recvmmsg.
73420 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
73421 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
73422 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
73423 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
73424
73425 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
73426 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73427 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73428
73429 2010-05-20 Andreas Schwab <schwab@redhat.com>
73430
73431 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
73432
73433 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
73434
73435 POWER7 optimizations.
73436 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
73437 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
73438
73439 2010-05-19 Ulrich Drepper <drepper@redhat.com>
73440
73441 * version.h: Update for 2.13 development version.
73442
73443 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
73444
73445 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
73446 exceptions. Return 0.
73447
73448 2010-05-07 Roland McGrath <roland@redhat.com>
73449
73450 * elf/ldconfig.c (main): Add a const.
73451
73452 2010-05-06 Ulrich Drepper <drepper@redhat.com>
73453
73454 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
73455 (args_options): Add no-idn option.
73456 (ahosts_keys_int): Add idn_flags to ai_flags.
73457 (parse_option): Handle 'i' option to clear idn_flags.
73458
73459 * malloc/malloc.c (_int_free): Possible race in the most recently
73460 added check. Only act on the data if no current modification
73461 happened.
73462
73463 See ChangeLog.17 for earlier changes.